From patchwork Mon Oct 26 12:02:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 11856987 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 817AFC2D0A3 for ; Mon, 26 Oct 2020 12:02:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 463FA22265 for ; Mon, 26 Oct 2020 12:02:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uZPtgb0t" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403827AbgJZMC1 (ORCPT ); Mon, 26 Oct 2020 08:02:27 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40016 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1737328AbgJZMC1 (ORCPT ); Mon, 26 Oct 2020 08:02:27 -0400 Received: by mail-wr1-f67.google.com with SMTP id h5so12117944wrv.7 for ; Mon, 26 Oct 2020 05:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rzDcAsPcv9VfA3khTArkxlqmE18NNhfd2DKZyq6irZY=; b=uZPtgb0tzTa6z7hyIgpYYeiGvN2Lk58Yu7JfKzN5prXR7zq4DIVxngBEFXTIbE4I2H hg1HKf2qLDXQ+CpaVf85YEXzB7p+UuQM+G1c0mHhp7TcksAehhrvvra95s0tR9r/bfdg XlLspjjirubQjw+r2vhKqx5PfN+kCZHlcJiGvnggxMzagxPDtleeMqVbFdMzgcbVStfp IPgTqucPsZ6Poqp5yHmAnGPa6WebVhvE2sBZm7oEpm4Yl0vSd4xIEVVGeM7boDsKdT9r aGQNtEt6gECNemFc6EI8ZpefOKB7DmG/+Or25J+vJ78EzpJVnFvJrkNVu5K04KDnv1gW GdaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rzDcAsPcv9VfA3khTArkxlqmE18NNhfd2DKZyq6irZY=; b=BR1D3jT6N5XCKMFu1ZhPlMD2J4wnmIPp8XZ1oZKzrf+tiUmiK5IVEkPGJWxpyYHnxO jxoLqo82bpUUedRPrBo00CtTh5yHgLLZuup6YvOMsY+j4UQe2Pm6STZZ1NXIiSCNByQT PVuVrwWgPB28vwvIrr6fDEsAAyuGVHUi8RHTI4HEcd0mGRIWqT6z3buLSQOd9j0dXKFy u5rMfY/rhP8iPzJ475hEZYUBOL+H2vu00clKTEgkaHRr2NUj5o45vXfC8zVqBWmpa+IW xKg2ttDA2Dy5NZZpfqHUcldUM7DeUYTF/538DenKtuDDIokCgkbBvR89POdORGyQYnnz G9GQ== X-Gm-Message-State: AOAM532v4CuLKz49wHCysBzpwk8Xj3XaJIWA/SHOebehC8DsCS0KYdy4 KpM8mysintNpU2aQ7laIvcRw+Q== X-Google-Smtp-Source: ABdhPJypvNXJuxmMM7Zf/cRBse301AwywIM5EX/nLsZGHuYZNtWiSXQSa4Qtp2BQvHZqpu18jMUbug== X-Received: by 2002:adf:fe81:: with SMTP id l1mr17322530wrr.11.1603713744985; Mon, 26 Oct 2020 05:02:24 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id i33sm23659337wri.79.2020.10.26.05.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 05:02:24 -0700 (PDT) From: Srinivas Kandagatla To: sboyd@kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Cc: bjorn.andersson@linaro.org, mturquette@baylibre.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Srinivas Kandagatla Subject: [RESEND PATCH v3 0/4] clk: qcom : add sm8250 LPASS GFM drivers Date: Mon, 26 Oct 2020 12:02:17 +0000 Message-Id: <20201026120221.18984-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org This is resend of v3, due to dt_bindings check failure as rc1 was not out when previous v3 was sent! This patchset adds support for GFM Muxes found in LPASS (Low Power Audio SubSystem) IP in Audio Clock Controller and Always ON clock controller. Clocks derived from these muxes are consumed by LPASS Digital Codec. Currently the driver for Audio and Always ON clock controller only supports GFM Muxes, however it should be easy to add more clock support when required Changes since v2: - updated Kconfig text and help as suggested by Stephen - removed unnecessary header file include - use fw_name instead of name for parents - use devm_platform_ioremap_resource verified dt_binding_check to pass on rc1, Srinivas Kandagatla (4): dt-bindings: clock: Add support for LPASS Audio Clock Controller dt-bindings: clock: Add support for LPASS Always ON Controller clk: qcom: Add support to LPASS AUDIO_CC Glitch Free Mux clocks clk: qcom: Add support to LPASS AON_CC Glitch Free Mux clocks .../bindings/clock/qcom,aoncc-sm8250.yaml | 58 ++++ .../bindings/clock/qcom,audiocc-sm8250.yaml | 58 ++++ drivers/clk/qcom/Kconfig | 6 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/lpass-gfm-sm8250.c | 320 ++++++++++++++++++ .../clock/qcom,sm8250-lpass-aoncc.h | 11 + .../clock/qcom,sm8250-lpass-audiocc.h | 13 + 7 files changed, 467 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,aoncc-sm8250.yaml create mode 100644 Documentation/devicetree/bindings/clock/qcom,audiocc-sm8250.yaml create mode 100644 drivers/clk/qcom/lpass-gfm-sm8250.c create mode 100644 include/dt-bindings/clock/qcom,sm8250-lpass-aoncc.h create mode 100644 include/dt-bindings/clock/qcom,sm8250-lpass-audiocc.h