* [PATCH] nvmem: dt-bindings: Fix the error of dt-bindings check
@ 2022-02-25 8:10 Vincent Shih
2022-02-25 21:51 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Shih @ 2022-02-25 8:10 UTC (permalink / raw)
To: srinivas.kandagatla, robh+dt, devicetree, linux-kernel, wells.lu
Cc: Vincent Shih
1. Remove the unnecessary header file for dt-binding check
2. Replace OTPRX with 0x15 since it is not defined here.
3. Modify the name of the node of the clock driver.
Fixes: e15d2e3fd7("nvmem: Fix the compilation error for SP7021")
Reported-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Vincent Shih <vincent.sunplus@gmail.com>
---
Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
index 4b28f37..a7644eb 100644
--- a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
@@ -60,13 +60,11 @@ unevaluatedProperties: false
examples:
- |
- #include <dt-bindings/clock/sp-sp7021.h>
-
otp: otp@9c00af00 {
compatible = "sunplus,sp7021-ocotp";
reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>;
reg-names = "hb_gpio", "otprx";
- clocks = <&clks OTPRX>;
+ clocks = <&clkc 0x15>;
#address-cells = <1>;
#size-cells = <1>;
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nvmem: dt-bindings: Fix the error of dt-bindings check
2022-02-25 8:10 [PATCH] nvmem: dt-bindings: Fix the error of dt-bindings check Vincent Shih
@ 2022-02-25 21:51 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2022-02-25 21:51 UTC (permalink / raw)
To: Vincent Shih
Cc: linux-kernel, devicetree, srinivas.kandagatla, wells.lu, robh+dt
On Fri, 25 Feb 2022 16:10:11 +0800, Vincent Shih wrote:
> 1. Remove the unnecessary header file for dt-binding check
> 2. Replace OTPRX with 0x15 since it is not defined here.
> 3. Modify the name of the node of the clock driver.
>
> Fixes: e15d2e3fd7("nvmem: Fix the compilation error for SP7021")
>
> Reported-by: Rob Herring <robh+dt@kernel.org>
> Signed-off-by: Vincent Shih <vincent.sunplus@gmail.com>
> ---
> Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-25 21:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 8:10 [PATCH] nvmem: dt-bindings: Fix the error of dt-bindings check Vincent Shih
2022-02-25 21:51 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).