From patchwork Thu Sep 17 13:28:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 250195 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 4BEDDC433E2 for ; Thu, 17 Sep 2020 13:49:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 02A2F21734 for ; Thu, 17 Sep 2020 13:49:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="j1Ewtdfm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbgIQN3X (ORCPT ); Thu, 17 Sep 2020 09:29:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726756AbgIQN3L (ORCPT ); Thu, 17 Sep 2020 09:29:11 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85903C06174A for ; Thu, 17 Sep 2020 06:28:57 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id k15so2070816wrn.10 for ; Thu, 17 Sep 2020 06:28:57 -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=XLbqqZ/vpJpcdXaFd7VC2pcNFTGY4Iy4LUzor+NVcxg=; b=j1Ewtdfm6q53Q0PWp1kjz54MdZK6+8duFS/Rm1nvXupcPFqa5lJGyQfshtwmUPbmpD 9wrB+PtDcm7gvGgJF9xsckuIV14q5YPCh1LFfSpJVfJjfXZ352DVACm1ZyzWzXKI3l44 UhbIKHf6FGlCYxLYvTmCXJXzzLVXL3chdpMh1GA3d0wOYgwsPdpL9/P6Nvgo6tHw43ji JGqyWSHQ008Zubvbp7XuON2nTFcoIq63W1b5c09bmu3jVsicdkHNOrDVp5IW9hVab9KC BU4RjO+eBxzaWf5bAqaU3HqCGiNJbNEslZOlXfQ7QTuoPCssCbFFarFLtJFHT69jbMnX dfcg== 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=XLbqqZ/vpJpcdXaFd7VC2pcNFTGY4Iy4LUzor+NVcxg=; b=mXnzq1SovAbA+s5D1PBO6y4CutOb8aX4CpWlYAXM1/hSo0tHxkbv0Bsy5b+GoWc92K SYwFiq02rbJOz9npkAKAAzy4r2I2NBU1V3fagSJNJ7P48UeTMHfBtMttWdTC5s91j3kO g/+xeynS37YjP4ZachyABSEEq7vhKtby77RSuzXsk9/FQfiQNt7fmxHeTy4p7FaLiZ+E BzRLzYJNlfYLSe0VVT6Xc28A6KgRvyXBxhZvMc6oGB3w3Z1MvKoT8XtBglPhpeZyBcUU BoYNl+wdUqaLIcDLQS0A8QzHbjTJcYC3nsfbKYEQOEvbGd9nXB4n0FxwRGDNN6Kc7SLo TikA== X-Gm-Message-State: AOAM532kWLoZ3BubXXTauWNSZpzMYftOvcM7XNAxiVukT8dbZf+8MQnZ KIFEZnl79k4UdLB9d5BAZeKzqg== X-Google-Smtp-Source: ABdhPJxIxoY8/oezHyrHk5clz6STxjXu6oZ+2wLqR+YmY169D2v/URS3C6DnnrbMi+fUKqOGeugFhQ== X-Received: by 2002:adf:e289:: with SMTP id v9mr32408611wri.14.1600349336204; Thu, 17 Sep 2020 06:28:56 -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 n10sm11486910wmk.7.2020.09.17.06.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 06:28:55 -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-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 0/4] clk: qcom : add sm8250 LPASS GFM drivers Date: Thu, 17 Sep 2020 14:28:46 +0100 Message-Id: <20200917132850.7730-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-arm-msm@vger.kernel.org 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. 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 | 7 + drivers/clk/qcom/Makefile | 1 + drivers/clk/qcom/lpass-gfm-sm8250.c | 296 ++++++++++++++++++ .../clock/qcom,sm8250-lpass-aoncc.h | 11 + .../clock/qcom,sm8250-lpass-audiocc.h | 13 + 7 files changed, 444 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