public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: Alim Akhtar <alim.akhtar@samsung.com>,
	Avri Altman <avri.altman@wdc.com>,
	Rob Herring <robh+dt@kernel.org>, Wei Xu <xuwei5@hisilicon.com>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Chanho Park <chanho61.park@samsung.com>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	Jan Kotas <jank@cadence.com>, <linux-scsi@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-samsung-soc@vger.kernel.org>,
	<linux-arm-msm@vger.kernel.org>
Subject: Re: [RFC PATCH 8/8] arm64: dts: ti: use 'freq-table' in UFS node
Date: Tue, 22 Feb 2022 08:07:21 -0600	[thread overview]
Message-ID: <20220222140721.bzbspfcethml2psm@running> (raw)
In-Reply-To: <19705501-2391-14a4-0eac-4b2b647a9735@canonical.com>

On 14:20-20220221, Krzysztof Kozlowski wrote:
> On 21/02/2022 14:13, Nishanth Menon wrote:
> > On 19:45-20220219, Krzysztof Kozlowski wrote:
> >> The 'freq-table-hz' property is deprecated by UFS bindings.
> >> The uint32-array requires also element to be passed within one <> block.
> >>
> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> >> ---
> >>  arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 4 +++-
> >>  1 file changed, 3 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> >> index 599861259a30..c3afef0321ae 100644
> >> --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> >> +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> >> @@ -1257,7 +1257,9 @@ ufs@4e84000 {
> >>  			compatible = "cdns,ufshc-m31-16nm", "jedec,ufs-2.0";
> >>  			reg = <0x0 0x4e84000 0x0 0x10000>;
> >>  			interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
> >> -			freq-table-hz = <250000000 250000000>, <19200000 19200000>, <19200000 19200000>;
> >> +			freq-table = <250000000 250000000
> > 
> > <min max> is much more readable and less error prone in case of a large
> > set.
> 
> Pairs are easily visible if split per line, so readability is similar.
> Not much is lost.
> 
> > 
> >> +				      19200000 19200000
> >> +				      19200000 19200000>;
> > 
> > are you sure the removal of the tuple adds value?
> 
> DT schema requires it, or rather: I do not know how to express uint32
> tuples in DT schema. All my tries failed.

https://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp-v1.yaml
comes to mind..

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

  reply	other threads:[~2022-02-22 14:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-19 18:42 [RFC PATCH 0/8] dt-bindings: ufs: add common platform bindings + fixes Krzysztof Kozlowski
2022-02-19 18:42 ` [RFC PATCH 1/8] dt-bindings: ufs: add common platform bindings Krzysztof Kozlowski
2022-02-19 18:42 ` [RFC PATCH 2/8] dt-bindings: ufs: samsung,exynos-ufs: use common bindings Krzysztof Kozlowski
2022-02-19 18:42 ` [RFC PATCH 3/8] dt-bindings: ufs: cdns,ufshc: convert to dtschema Krzysztof Kozlowski
2022-02-20 17:06   ` Krzysztof Kozlowski
2022-02-21  2:36   ` Rob Herring
2022-02-19 18:42 ` [RFC PATCH 4/8] scsi: ufs: deprecate 'freq-table-hz' property Krzysztof Kozlowski
2022-02-19 18:42 ` [RFC PATCH 5/8] arm64: dts: hi3670: use 'freq-table' in UFS node Krzysztof Kozlowski
2022-02-19 18:42 ` [RFC PATCH 6/8] arm64: dts: exynos: " Krzysztof Kozlowski
2022-02-19 18:44 ` [RFC PATCH 7/8] arm64: dts: qcom: " Krzysztof Kozlowski
2022-02-19 18:45 ` [RFC PATCH 8/8] arm64: dts: ti: " Krzysztof Kozlowski
2022-02-21 13:13   ` Nishanth Menon
2022-02-21 13:20     ` Krzysztof Kozlowski
2022-02-22 14:07       ` Nishanth Menon [this message]
2022-02-22 14:24         ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220222140721.bzbspfcethml2psm@running \
    --to=nm@ti.com \
    --cc=agross@kernel.org \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=chanho61.park@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jank@cadence.com \
    --cc=jejb@linux.ibm.com \
    --cc=kristo@kernel.org \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=robh+dt@kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=vigneshr@ti.com \
    --cc=xuwei5@hisilicon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox