Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2212527rwd; Fri, 2 Jun 2023 06:32:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4enNa19ZqTk7MsWhiYInLOa5oz7onhChIQzf4YGu94an4sIhayNfhgGEeRJXBtKeH74ffU X-Received: by 2002:a17:903:2301:b0:1ab:675:3e0c with SMTP id d1-20020a170903230100b001ab06753e0cmr1676444plh.33.1685712734979; Fri, 02 Jun 2023 06:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712734; cv=none; d=google.com; s=arc-20160816; b=Lgmo3LUmbwc0xhGU3zDh4WrzYw1jLyf87+ocAs1pmRMBZ7As9o86q/F5VpzFrfpraO t9gLBZVygfgb784NgrFLG4Z8z9GtNdaG+YWj+EDf+8+BD6bfKwcDpAcCeYl/hWqZr6Ux 9RcwkfNm2C2FTVf0/pcm6AwY+oTzhOwh0s2gLh7zeyS4oCCU+M6e4k3jBL0PI2Bv6HEW KqUjGW2IGCZLaTH5X07u3dl7U3aFiW7/RvBHrB48FE0uPYGQ9JuGXNXrHoycWnJbhEQb 9L/88MnzPQIAP7nLX9oxyMjsv1u/rBJe2RN5XRV3OMEU+CV+qy51uQSc0CVd7cIgZeIl rfVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=JwF8cKHicld7kwqHMzUbVeRLWFJ7BH702LKOXAuZJco=; b=h+adVJ1JFBd848Y+4p/SxxiojMp2tBMjF+6uhxcRjUQOTBGX0jVRI42vmBd9jp10cR wTPknHjbl8LZTn506HvWgz8ajZxEAYkxeXNB6KpRvOgEuIJ/MfUDLJ1F2rRAgM7+QR8l 1FztzEtwKhlN+oDQDmV0UhMlX5KSyuGonxPIxB/MowvAJkjTZDc3EJRvz9NP8BChNDGf GbY0me0lltMwiWY/fFoMAQmS8G3bLsYILrxO3bVkrfE+FpPutdgVlYvn6uBuh5F7U6xH JgdC1/7+pkNWbuDhizBVfwnprEvifkp+QDRTB194rGu16BqAM5BygmOfFBkR7dXEHpgv tyzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoY+NU5Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a17090322c400b001ae5e5c275asi913288plg.364.2023.06.02.06.31.58; Fri, 02 Jun 2023 06:32:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoY+NU5Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236112AbjFBNSD (ORCPT + 99 others); Fri, 2 Jun 2023 09:18:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbjFBNR7 (ORCPT ); Fri, 2 Jun 2023 09:17:59 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0813FE46 for ; Fri, 2 Jun 2023 06:17:46 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-97392066d04so290053566b.3 for ; Fri, 02 Jun 2023 06:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685711864; x=1688303864; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=JwF8cKHicld7kwqHMzUbVeRLWFJ7BH702LKOXAuZJco=; b=zoY+NU5Y6PiNfdLA/h3+RX2B6aQxqApaIJuCIQBXUKQQNOyCMbc4wvlkTW3Jdz8KzV CW1bMcKbal5t6u9JEX1aw98ZqjEkgFDvWYq4m+rSlKG4atUXtQx+1jI65AqgUa0cG8hx lpmJ525GUXJJuHzOQ6gzwvn+JeUqVL6AuIQIK8axZWdH+pOvOU9vU0kjWOzihh2S1kQc 6Zo0spJEJCU4FAuvHJRR2YTCQNvmZUUdBjgFO5TkB8QD1/jIyh7uOjbe6jlgxyhx81mo gfBZ9AT2ZB/rf8tLMZhBujuxWLfDghppXexU+xqSB9crZsqxTWANzlerLLKruOHjjK1A Gq/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685711864; x=1688303864; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JwF8cKHicld7kwqHMzUbVeRLWFJ7BH702LKOXAuZJco=; b=SIAsAZpSQ66FZr7Ca52UXzdWijHQcbQ+4URwGZbPPmuGh3sBi/5SJSH2zzDjT4+nE3 uW7Xc74r3xyP1nneemuZFiJiYC7mQfVtooVqyCG3ywuoapn8EMehZ/QtpGdTfQc0+XzV +eG6l2Y8lOm4mdGqY+a/3saGbjIpw4rIc6hl/LDN5cnb2g3m8B+Vv4FXq1IJuwOd8tOF cjrJW+G5NX3t2ruizmTi5Kf/n2xeV/vBFwxElnijbPCOW8S7ND2rUZ522pXeGsp/eCcw oNXTjNbA97d2wJ/zoZtmPkH0NfJkELULSyLpefQzU/XTBvkGvgN3II9bwIDqxz+TKTKg LugA== X-Gm-Message-State: AC+VfDx4lvIFiaK3swDgpjXCPOjclQa6aRTYAoo9HOCP88OoieDf98kB bpflqZ0Ud9tHU3JS/yYzTHM7xA== X-Received: by 2002:a17:906:9755:b0:974:1ced:6a56 with SMTP id o21-20020a170906975500b009741ced6a56mr12569506ejy.32.1685711864497; Fri, 02 Jun 2023 06:17:44 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id dk7-20020a170906f0c700b00974e7559fbfsm483707ejb.144.2023.06.02.06.17.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 06:17:43 -0700 (PDT) Message-ID: <894a5ed1-71aa-d9ef-1301-54f4e3583cf3@linaro.org> Date: Fri, 2 Jun 2023 15:17:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 From: Krzysztof Kozlowski Subject: Re: [PATCH v2 3/6] clk: qcom: Add lpass clock controller driver for SC8280XP To: Srinivas Kandagatla , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: johan+linaro@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230525122930.17141-1-srinivas.kandagatla@linaro.org> <20230525122930.17141-4-srinivas.kandagatla@linaro.org> Content-Language: en-US In-Reply-To: <20230525122930.17141-4-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resending as my previous email probably got lost. If you got it twice, apologies. On 25/05/2023 14:29, Srinivas Kandagatla wrote: > Add support for the lpass clock controller found on SC8280XP based devices. > This would allow lpass peripheral loader drivers to control the clocks and > bring the subsystems out of reset. > > Currently this patch only supports resets as the Q6DSP is in control of > LPASS IP which manages most of the clocks via Q6PRM service on GPR rpmsg > channel. > > Signed-off-by: Srinivas Kandagatla > --- > drivers/clk/qcom/Kconfig | 8 ++++ > drivers/clk/qcom/Makefile | 1 + > drivers/clk/qcom/lpasscc-sc8280xp.c | 63 +++++++++++++++++++++++++++++ > 3 files changed, 72 insertions(+) > create mode 100644 drivers/clk/qcom/lpasscc-sc8280xp.c > > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 85869e7a9f16..e25993abb519 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -523,6 +523,14 @@ config SC_LPASSCC_7280 > Say Y if you want to use the LPASS branch clocks of the LPASS clock > controller to reset the LPASS subsystem. > > +config SC_LPASSCC_8280XP > + tristate "SC8280 Low Power Audio Subsystem (LPASS) Clock Controller" depends on ARM64 || COMPILE_TEST Best regards, Krzysztof