[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f662da0e-431f-4e04-b8ee-e8b04a08337d@linaro.org>
Date: Fri, 7 Mar 2025 17:22:23 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Kever Yang <kever.yang@...k-chips.com>, heiko@...ech.de
Cc: linux-rockchip@...ts.infradead.org, devicetree@...r.kernel.org,
Conor Dooley <conor+dt@...nel.org>, Rob Herring <robh@...nel.org>,
linux-kernel@...r.kernel.org, Krzysztof Kozlowski <krzk+dt@...nel.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/3] dt-bindings: nvmem: rockchip,otp: Add support for
rk3562 and rk3568
Hi Kever,
On 27/02/2025 11:08, Kever Yang wrote:
> Add compatible entry for the otp controller in rk3562 and rk3568, add schema
> for different clock names for new entry.
>
> Signed-off-by: Kever Yang <kever.yang@...k-chips.com>
> ---
Am unable to apply this patch, Could you rebase it on top of linux-next
or
https://web.git.kernel.org/pub/scm/linux/kernel/git/srini/nvmem.git/log/?h=for-next
--srini
>
> Changes in v2:
> - Update the commit message and add maxItems in schema.
>
> .../bindings/nvmem/rockchip,otp.yaml | 53 ++++++++++++++++---
> 1 file changed, 46 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> index a44d44b32809..7572f4a1d73b 100644
> --- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> +++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
> @@ -14,6 +14,8 @@ properties:
> enum:
> - rockchip,px30-otp
> - rockchip,rk3308-otp
> + - rockchip,rk3562-otp
> + - rockchip,rk3568-otp
> - rockchip,rk3588-otp
>
> reg:
> @@ -25,19 +27,15 @@ properties:
>
> clock-names:
> minItems: 3
> - items:
> - - const: otp
> - - const: apb_pclk
> - - const: phy
> - - const: arb
> + maxItems: 4
>
> resets:
> minItems: 1
> - maxItems: 3
> + maxItems: 4
>
> reset-names:
> minItems: 1
> - maxItems: 3
> + maxItems: 4
>
> required:
> - compatible
> @@ -62,12 +60,45 @@ allOf:
> properties:
> clocks:
> maxItems: 3
> + clock-names:
> + items:
> + - const: otp
> + - const: apb_pclk
> + - const: phy
> resets:
> maxItems: 1
> reset-names:
> items:
> - const: phy
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - rockchip,rk3562-otp
> + - rockchip,rk3568-otp
> + then:
> + properties:
> + clocks:
> + minItems: 4
> + maxItems: 4
> + clock-names:
> + items:
> + - const: usr
> + - const: sbpi
> + - const: apb_pclk
> + - const: phy
> + resets:
> + minItems: 4
> + maxItems: 4
> + reset-names:
> + items:
> + - const: usr
> + - const: sbpi
> + - const: apb
> + - const: phy
> +
> - if:
> properties:
> compatible:
> @@ -78,8 +109,16 @@ allOf:
> properties:
> clocks:
> minItems: 4
> + maxItems: 4
> + clock-names:
> + items:
> + - const: otp
> + - const: apb_pclk
> + - const: phy
> + - const: arb
> resets:
> minItems: 3
> + maxItems: 3
> reset-names:
> items:
> - const: otp
Powered by blists - more mailing lists