summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
diff options
context:
space:
mode:
authorVincent Shih <vincent.sunplus@gmail.com>2022-02-25 18:58:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 14:08:36 +0100
commitcd9363018269636b4905012a5fc8706cfc7aa116 (patch)
tree60c7ec6b8fc24995957f9ee1d80abd8ca3730c50 /Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
parentw1: w1_therm: Add support for Maxim MAX31850 thermoelement IF. (diff)
downloadlinux-cd9363018269636b4905012a5fc8706cfc7aa116.tar.xz
linux-cd9363018269636b4905012a5fc8706cfc7aa116.zip
nvmem: dt-bindings: Fix the error of dt-bindings check
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: 8fb29b450182 ("dt-bindings: nvmem: Add bindings doc for Sunplus OCOTP driver") Reported-by: Rob Herring <robh+dt@kernel.org> Signed-off-by: Vincent Shih <vincent.sunplus@gmail.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220225175822.8293-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml')
-rw-r--r--Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
index 4b28f37dfb67..a7644ebbc2ca 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>;