Message ID | 20250224-max77759-mfd-v1-3-2bff36f9d055@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Maxim Integrated MAX77759 PMIC MFD-based drivers | expand |
On Mon, Feb 24, 2025 at 10:28:51AM +0000, André Draszik wrote: > Add the DT binding document for the NVMEM module of the Maxim MAX77759. > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > --- > .../bindings/nvmem/maxim,max77759-nvmem.yaml | 50 ++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > > diff --git a/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml > new file mode 100644 > index 000000000000..d3b7430ef551 > --- /dev/null > +++ b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/nvmem/maxim,max77759-nvmem.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim Integrated MAX77759 Non Volatile Memory > + > +maintainers: > + - André Draszik <andre.draszik@linaro.org> > + > +description: | > + This module is part of the MAX77759 PMIC. For additional information, see > + Documentation/devicetree/bindings/mfd/maxim,max77759.yaml. > + > + The MAX77759 is a PMIC integrating, amongst others, Non Volatile Memory > + (NVMEM) with 30 bytes of storage which can be used by software to store > + information or communicate with a boot loader. > + > +properties: > + compatible: > + const: maxim,max77759-nvmem > + > + wp-gpios: false > + > +required: > + - compatible > + > +allOf: > + - $ref: nvmem.yaml# > + > +unevaluatedProperties: false > + > +examples: > + - | > + nvmem { Drop the example here. The MFD binding has a complete one. > + compatible = "maxim,max77759-nvmem"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + nvmem-layout { > + compatible = "fixed-layout"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + rsoc@a { > + reg = <0xa 2>; > + }; > + }; > + }; > > -- > 2.48.1.658.g4767266eb4-goog >
On Mon, 2025-02-24 at 09:38 -0600, Rob Herring wrote: > On Mon, Feb 24, 2025 at 10:28:51AM +0000, André Draszik wrote: > > Add the DT binding document for the NVMEM module of the Maxim MAX77759. > > > > Signed-off-by: André Draszik <andre.draszik@linaro.org> > > --- > > .../bindings/nvmem/maxim,max77759-nvmem.yaml | 50 ++++++++++++++++++++++ > > 1 file changed, 50 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml > > b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml > > new file mode 100644 > > index 000000000000..d3b7430ef551 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml > > @@ -0,0 +1,50 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/nvmem/maxim,max77759-nvmem.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Maxim Integrated MAX77759 Non Volatile Memory > > + > > +maintainers: > > + - André Draszik <andre.draszik@linaro.org> > > + > > +description: | > > + This module is part of the MAX77759 PMIC. For additional information, see > > + Documentation/devicetree/bindings/mfd/maxim,max77759.yaml. > > + > > + The MAX77759 is a PMIC integrating, amongst others, Non Volatile Memory > > + (NVMEM) with 30 bytes of storage which can be used by software to store > > + information or communicate with a boot loader. > > + > > +properties: > > + compatible: > > + const: maxim,max77759-nvmem > > + > > + wp-gpios: false > > + > > +required: > > + - compatible > > + > > +allOf: > > + - $ref: nvmem.yaml# > > + > > +unevaluatedProperties: false > > + > > +examples: > > + - | > > + nvmem { > > Drop the example here. The MFD binding has a complete one. Will do Thanks Rob!
diff --git a/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml new file mode 100644 index 000000000000..d3b7430ef551 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/maxim,max77759-nvmem.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/maxim,max77759-nvmem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim Integrated MAX77759 Non Volatile Memory + +maintainers: + - André Draszik <andre.draszik@linaro.org> + +description: | + This module is part of the MAX77759 PMIC. For additional information, see + Documentation/devicetree/bindings/mfd/maxim,max77759.yaml. + + The MAX77759 is a PMIC integrating, amongst others, Non Volatile Memory + (NVMEM) with 30 bytes of storage which can be used by software to store + information or communicate with a boot loader. + +properties: + compatible: + const: maxim,max77759-nvmem + + wp-gpios: false + +required: + - compatible + +allOf: + - $ref: nvmem.yaml# + +unevaluatedProperties: false + +examples: + - | + nvmem { + compatible = "maxim,max77759-nvmem"; + #address-cells = <1>; + #size-cells = <1>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + rsoc@a { + reg = <0xa 2>; + }; + }; + };
Add the DT binding document for the NVMEM module of the Maxim MAX77759. Signed-off-by: André Draszik <andre.draszik@linaro.org> --- .../bindings/nvmem/maxim,max77759-nvmem.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+)