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: 8fb29b4501 ("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>
This commit is contained in:
Vincent Shih 2022-02-25 17:58:19 +00:00 committed by Greg Kroah-Hartman
parent 6e07a33f97
commit cd93630182
1 changed files with 1 additions and 3 deletions

View File

@ -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>;