[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1e89183a-b42a-b447-0c1a-bbfe646705ef@linaro.org>
Date: Thu, 14 Sep 2023 09:16:15 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Ziqi Chen <quic_ziqichen@...cinc.com>, quic_asutoshd@...cinc.com,
quic_cang@...cinc.com, bvanassche@....org, mani@...nel.org,
adrian.hunter@...el.com, beanhuo@...ron.com, avri.altman@....com,
martin.petersen@...cle.com, quic_nguyenb@...cinc.com,
quic_nitirawa@...cinc.com
Cc: linux-scsi@...r.kernel.org, Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
"open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] scsi: ufs: qcom: dt-bindings: Add MCQ properties
On 14/09/2023 09:05, Ziqi Chen wrote:
> Remove the maxItem limitation to property 'reg',
> and add description for the property 'msi-parent'.
>
> Signed-off-by: Ziqi Chen <quic_ziqichen@...cinc.com>
> ---
> Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
> index bdfa86a..5ec2717 100644
> --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
> +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
> @@ -77,7 +77,13 @@ properties:
>
> reg:
> minItems: 1
> - maxItems: 2
So 20 items are allowed? No, that's not correct.
> + description:
> + Register base addresses and lengths of the UFS areas.
Drop description - it's useless and redundant.
> +
> + reg-names:
> + minItems: 1
> + description:
> + Names of the reg areas to use during resource lookup.
Drop such description it's useless, instead list and describe items.
Also, why all devices now have two regs? No, this is just wrong. And
haven't we been here with two items?
>
> required-opps:
> maxItems: 1
> @@ -97,6 +103,10 @@ properties:
> description:
> GPIO connected to the RESET pin of the UFS memory device.
>
> + msi-parent:
> + description:
> + Pointer to the hardware entity that serves as the MSI controller for thi UFS controller.
typo in "thi". Not wrapped according to Linux coding style (as written
in coding style document). BTW, this is usually just "true" and without
need for description.
Best regards,
Krzysztof
Powered by blists - more mailing lists