[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250224153820.GB3137990-robh@kernel.org>
Date: Mon, 24 Feb 2025 09:38:20 -0600
From: Rob Herring <robh@...nel.org>
To: André Draszik <andre.draszik@...aro.org>
Cc: Lee Jones <lee@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Peter Griffin <peter.griffin@...aro.org>,
Tudor Ambarus <tudor.ambarus@...aro.org>,
Will McVicker <willmcvicker@...gle.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH 3/6] dt-bindings: nvmem: add max77759 binding
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@...aro.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@...aro.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
>
Powered by blists - more mailing lists