[PATCH 1/2] dt-bindings: nvmem: add binding doc for i.MX OCOTP/ELE

Marco Felsch m.felsch at pengutronix.de
Fri May 5 03:24:17 PDT 2023


Hi,

On 23-05-05, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>

...

> +examples:
> +  - |
> +    #include <dt-bindings/clock/imx6sx-clock.h>
> +
> +    ocotp: efuse at 21bc000 {
> +        #address-cells = <1>;
> +        #size-cells = <1>;
> +        compatible = "fsl,imx6sx-ocotp", "syscon";
> +        reg = <0x021bc000 0x4000>;
> +        clocks = <&clks IMX6SX_CLK_OCOTP>;

Nit: the "compatible" should be the first property followed by the "reg"
property.

Regards,
  Marco

> +
> +        cpu_speed_grade: speed-grade at 10 {
> +            reg = <0x10 4>;
> +        };
> +
> +        tempmon_calib: calib at 38 {
> +            reg = <0x38 4>;
> +        };
> +
> +        tempmon_temp_grade: temp-grade at 20 {
> +            reg = <0x20 4>;
> +        };
> +    };
> +
> +...
> -- 
> 2.37.1
> 
> 
> 



More information about the linux-arm-kernel mailing list