Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2624462rwd; Mon, 22 May 2023 01:33:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7V+pYQsdEpxsuolo+7rhn+rM9v2LgPwFh+ibB1uQdMpRyKiNKldZxWrDzDaVW+R2nKHK0w X-Received: by 2002:a05:6a21:6d95:b0:10b:ce6e:656b with SMTP id wl21-20020a056a216d9500b0010bce6e656bmr1824602pzb.46.1684744380196; Mon, 22 May 2023 01:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684744380; cv=none; d=google.com; s=arc-20160816; b=XXQcQ6xFl+WLB6lNSgAbFa8SF1Ddx277fAGCfrk/Fz8diKgoXPH9dcpGyxekbbNDVq PnNmC6+jvJvjsp5KC1O/Lx3K1P0+MPYhSKNu6rqTt9aB0OnnI5AXix1MnK0LWQH2npSO D1NhJYNxfHP7sIyzucWBzEnY92WJKACr4A/8bU50/Hyb1hzrLHPUwjsEgIq5RhSCl8uR A+Fekycqwrs18rOozH/GsMJzTzhHJpFZDZH6sNOod9HZx7J4oXk8/p0yP7uTgzx7fmq0 sncRr+udaUp61SOLJvz2GKZLbEwPIo1gEJJT4ryRPOB5ZJQVADoKUujvlgmj2LjADIn+ K4gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Mnl+35rWuQ0WPJSep/IhVa3wdrXbrSBJBfP497c2oHs=; b=uux+t55j7T1cdJ07+eh6XtLBSry9pXvIKdJMzBRFuOzT2uFHRzB5kQrTcK9x+aew2R Z7pixyo50X2o8YsQG1CNSHzqnzOm5MEDPhLlOwbPNhJPSIbyL6Ziv803WhU5m9HCAAOT jCTjxhkFQ/8tk/RdNPaeWdQouGFqsv0dXgnCt6+i9eCJv4Jio1Qu08Qd7Uutsb/Hrbrz RI8gA2j9BS80ANhFOxDg9gkMr+HrCvcLPNR0o2gfqw4r342RKmWJpl1JkX9cbNT0DLxt XArwSBOEM0nM8tmYhV4r8/2MOBmzF5TmVbb/uHqid3atp00sXc4N3BcndaBj26Q/nkeK /WjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZYGUcb8e; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f30-20020a63381e000000b0053040aaf8adsi4422223pga.112.2023.05.22.01.32.47; Mon, 22 May 2023 01:33:00 -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=@kernel.org header.s=k20201202 header.b=ZYGUcb8e; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbjEVIYG (ORCPT + 99 others); Mon, 22 May 2023 04:24:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbjEVIYE (ORCPT ); Mon, 22 May 2023 04:24:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CB79B6; Mon, 22 May 2023 01:24:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AB9F061261; Mon, 22 May 2023 08:24:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3097C433D2; Mon, 22 May 2023 08:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684743842; bh=0n7M+nhoujC6lGE2NpxPQoL8mXQVSH4ipk/JaoRH43E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZYGUcb8eRRD6jBw9u2Jk/5fYxXYr7NphWZ36oG28vw+ZN2zlxmwvdoe11EgKXU3x/ Fg9FydthNuPF6trYJ66ErAHVYHbCIIfV+nbXa+9iKq/9aO60IPOcuxuyc7GJuyUxeT B3xr56Jy2WgBIi46HHFGYulyOkXqAR0w2m5WxFO+egczFukG3JKhcVEUU6W8lRieMy A54FvPbv2SaTafPjIKdMwRu48S8Po2iYvaVA+7UTtf/Lp18y9JYo3iK8MkyomIo2qE fwiFdz7D5DNtIMRZnan+vAcSlsDs8ZJ9lSu0nELeHvaHnQaDyYlFRThgAf/heNiWsN mLhoNAjQXweIQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1q10pm-0004NV-1C; Mon, 22 May 2023 10:24:02 +0200 Date: Mon, 22 May 2023 10:24:02 +0200 From: Johan Hovold To: Srinivas Kandagatla Cc: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, 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 Subject: Re: [PATCH 2/5] dt-bindings: clock: Add YAML schemas for LPASS AUDIOCC and reset on SC8280XP Message-ID: References: <20230518113800.339158-1-srinivas.kandagatla@linaro.org> <20230518113800.339158-3-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230518113800.339158-3-srinivas.kandagatla@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Thu, May 18, 2023 at 12:37:57PM +0100, Srinivas Kandagatla wrote: > The LPASS(Low Power Audio Subsystem) Audio clock provider provides reset Missing space after "LPASS". Same comments as on previous patch seem to apply to the reset of the commit message. > controller support when is driven by the Q6DSP. > This patch adds support for those resets and adds IDs for clients > to request the reset. > > Signed-off-by: Srinivas Kandagatla > --- > .../bindings/clock/qcom,sc8280xp-lpasscc.yaml | 11 +++++++++++ > include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h | 5 +++++ > 2 files changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml > index 7c30614a0af9..394833819ba3 100644 > --- a/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml > +++ b/Documentation/devicetree/bindings/clock/qcom,sc8280xp-lpasscc.yaml > @@ -22,6 +22,7 @@ properties: > compatible: > enum: > - qcom,sc8280xp-lpasscc > + - qcom,sc8280xp-lpassaudiocc Add before lpasscc to maintain alphabetical sorting. > > '#reset-cells': > const: 1 > @@ -45,6 +46,16 @@ required: > additionalProperties: false > > examples: > + - | > + #include > + lpass_audiocc: clock-controller@3300000 { > + compatible = "qcom,sc8280xp-lpassaudiocc"; 4-space indentation. > + reg = <0x32a9000 0x1000>; Does not match node unit address either. > + #reset-cells = <1>; > + #clock-cells = <1>; > + qcom,adsp-pil-mode; Keep cells provider cells properties last? > + }; > + > - | > #include > lpasscc: clock-controller@3900000 { > diff --git a/include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h b/include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h > index df800ea2741c..d190d57fc81a 100644 > --- a/include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h > +++ b/include/dt-bindings/clock/qcom,lpasscc-sc8280xp.h > @@ -6,6 +6,11 @@ > #ifndef _DT_BINDINGS_CLK_QCOM_LPASSCC_SC8280XP_H > #define _DT_BINDINGS_CLK_QCOM_LPASSCC_SC8280XP_H > > +/* LPASS AUDIO CC CSR */ > +#define LPASS_AUDIO_SWR_RX_CGCR 0 > +#define LPASS_AUDIO_SWR_WSA_CGCR 1 > +#define LPASS_AUDIO_SWR_WSA2_CGCR 2 > + > /* LPASS TCSR */ > #define LPASS_AUDIO_SWR_TX_CGCR 0 Johan