From: Krzysztof Kozlowski <krzk@kernel.org>
To: Heiko Stuebner <heiko@sntech.de>
Cc: srinivas.kandagatla@linaro.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
detlev.casanova@collabora.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-clk@vger.kernel.org, sebastian.reichel@collabora.com
Subject: Re: [PATCH 3/5] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3576
Date: Wed, 20 Nov 2024 09:57:14 +0100 [thread overview]
Message-ID: <uzqdch4xiesvc3wq6fcpv7ulw3g7olvyxed7s5payhlddgubiq@apnlq7xgzrjo> (raw)
In-Reply-To: <20241119132916.1057797-4-heiko@sntech.de>
On Tue, Nov 19, 2024 at 02:29:14PM +0100, Heiko Stuebner wrote:
> Document the OTP memory found on Rockchip RK3576 SoC.
>
> The RK3576 uses the same set of clocks as the px30/rk3308
> but has one reset more, so adapt the binding to handle this
> variant as well.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> .../bindings/nvmem/rockchip,otp.yaml | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> index a44d44b32809..dae7543a0179 100644
> --- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> @@ -14,6 +14,7 @@ properties:
> enum:
> - rockchip,px30-otp
> - rockchip,rk3308-otp
> + - rockchip,rk3576-otp
> - rockchip,rk3588-otp
>
> reg:
> @@ -68,6 +69,23 @@ allOf:
> items:
> - const: phy
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - rockchip,rk3576-otp
> + then:
> + properties:
> + clocks:
> + minItems: 3
That's redundant. 3 is there already. You wanted maxItems?
Missing constraint on clock-names (existing binding should be fixed as
well, separate patch).
> + resets:
> + minItems: 2
missing maxItems
> + reset-names:
> + items:
> + - const: otp
> + - const: apb
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-11-20 8:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-19 13:29 [PATCH 0/5] RK3576 OTP support Heiko Stuebner
2024-11-19 13:29 ` [PATCH 1/5] clk: rockchip: rk3576: define clk_otp_phy_g Heiko Stuebner
2024-11-19 13:45 ` Diederik de Haas
2024-11-19 13:51 ` Heiko Stübner
2024-11-19 13:29 ` [PATCH 2/5] nvmem: rockchip-otp: Move read-offset into variant-data Heiko Stuebner
2024-11-19 13:29 ` [PATCH 3/5] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3576 Heiko Stuebner
2024-11-20 8:57 ` Krzysztof Kozlowski [this message]
2024-11-19 13:29 ` [PATCH 4/5] nvmem: rockchip-otp: add rk3576 variant data Heiko Stuebner
2024-11-19 13:29 ` [PATCH 5/5] arm64: dts: rockchip: add rk3576 otp node Heiko Stuebner
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=uzqdch4xiesvc3wq6fcpv7ulw3g7olvyxed7s5payhlddgubiq@apnlq7xgzrjo \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=detlev.casanova@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=srinivas.kandagatla@linaro.org \
/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