Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1392365rwd; Wed, 31 May 2023 13:18:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4yWI/tgjr/wH2JFpHBnf7pSq0qRPyLa5+66Tpx/aNXln2fy6K0D4dQbEywU0W9aXTYsusJ X-Received: by 2002:a05:6358:4287:b0:127:b1d1:743b with SMTP id s7-20020a056358428700b00127b1d1743bmr1969716rwc.11.1685564293044; Wed, 31 May 2023 13:18:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685564293; cv=none; d=google.com; s=arc-20160816; b=dvJepeWiw5K8NcIBEsIv3s+QL9Mcnxn8ZsLimXYYYCNKefx1mcUuW0srQ1TdUfPDQV POkACYOZZtPWwaa2YVkbICBbepYtUagQs2edtKzvo7V0oLUSbVEXZa4YnNJXMxJLeoF2 nazPSiygFERNLHgk0uVRBPnJhgZN+oA9DXA8z2r1HCU4Uoll5sWmGRm/dST0sGWWQjgv st1GlKiRS4mxTiU825HJXx3WbGKr03cAhlh0Q4idOW0QK76HUzLrCBd50nHD/r6zp7Eq Mt5WFfvVKB62cqYeZczilj9c+0xTU+tLJpMnxCUmrg5aqlNVDuSs1TUK7rtMtRzfTCed 8o0g== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p3eDjHnNMpBAuyn9jnH2JCTHF3bUcGt++WX3Jdu1m5k=; b=Iv07oW5kcephPIbuuYarupYoTPoegro0qPia3/hU1S9/y4PjtakaeiE7z6vkLiANTl nz8z8zhHZ0xB7Spv9q9VffN2p5++4eK741sIHn+EhAxF1WvqeWyzp3blcKbMOMJmnzkA WB+DH8krUA7aiDljdBS+iJxmSQ/RVXf4Bm/+d2BOBoEFPKvSfljcAeWzRlZoMRqbL3QB I99DDBzmpmxDoPjNlKCzkTA9zWAemsNI+xrJLqkYEQOx1vXMzgKee4GBCqxpQvKPHQ27 PIB66c5ohkWQEeF0617nYCLNxwA8+F2KgvUHzZER8cLTCvjzr3sdSp2bKkAo5xJ8GJuK Jq7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kN9/nocB"; 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 21-20020a17090a001500b002565555d1ebsi1513509pja.110.2023.05.31.13.18.00; Wed, 31 May 2023 13:18:13 -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="kN9/nocB"; 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 S229498AbjEaUBm (ORCPT + 99 others); Wed, 31 May 2023 16:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbjEaUBi (ORCPT ); Wed, 31 May 2023 16:01:38 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010D312B for ; Wed, 31 May 2023 13:01:35 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-96fa4a6a79bso903630166b.3 for ; Wed, 31 May 2023 13:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685563294; x=1688155294; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=p3eDjHnNMpBAuyn9jnH2JCTHF3bUcGt++WX3Jdu1m5k=; b=kN9/nocBEZ85wU61yadCgB1E6us8CKIFiWknQm+/35514hsQ1LQga0Flo4hpJnqcRn ZY/g/i6qao3FMm37IB7vtPvhYIAbTg5+DB71j6I27n0Jn3qnDW6g6/N8t9RmC3DDjAKI vcOEB9mJT63945QNYACTKeKrJJfeFNNkACFYjla4e8ROs5yBuZxd2KB6kPx1zSTUjBIx OBKRfo68pu2o//vn5Nbaxa0ZxVfpMBT66bPnjom7YLiyDMu7+obPSrGF8DUKuNqkNsI2 uPUYI/S40G+4IXXkbmXB8qe/LnKz1AIoYEPGaku1Pv0bQLt6WysSXRkBDBdMHa6D92jS UGKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685563294; x=1688155294; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p3eDjHnNMpBAuyn9jnH2JCTHF3bUcGt++WX3Jdu1m5k=; b=bUO9d8B+iarUqxxLev3xu975qTt2n4iw8nl7hXy3nKK2lW4XIf4D76FcLTVPe10xXe zHoTHXpnRVOAz24UKN8VcTagiBN7IZtdwyvAnSaMN6Jlwn5oVYNm/VRInBeSCitzX3XG JlXaYyN8irGh6IYU7vvmKOwdi7cPhjil1FYQBeGy0RMbovZ/Z43ci29muSaGUyiPIpyr FjZLVsUcyp+w7vtqyZ+B/00nT9kHkaB66VkYSatY6Jk522vD28eiO1+CbhGU7jgKbOBk I0bzFwa3FiJ8FXxWP9CXYWmvgHdQCOyMEhqa+TwhK6j/sJxG2DUOKOoMGNlhGSQG2qnT 5eEA== X-Gm-Message-State: AC+VfDyW8zVkLUpDqZNG7eSrruc3BKO6vNqQpwbpzZvei5Ht8JLX6wUq VIehfLf7MbJwPiG8IBYYmKqWQA== X-Received: by 2002:a17:907:6d86:b0:94e:dd30:54b5 with SMTP id sb6-20020a1709076d8600b0094edd3054b5mr7096787ejc.6.1685563294437; Wed, 31 May 2023 13:01:34 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id l13-20020a170906078d00b00968a2286749sm9550858ejc.77.2023.05.31.13.01.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 May 2023 13:01:34 -0700 (PDT) Message-ID: <098883dd-f517-d541-de00-1a7fc0ada017@linaro.org> Date: Wed, 31 May 2023 22:01:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 3/6] clk: qcom: Add lpass clock controller driver for SC8280XP Content-Language: en-US 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> From: Krzysztof Kozlowski 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 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