diff mbox series

[v2,1/3] dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply

Message ID 20240930-spi-v2-1-ed7f6bcbe0df@nxp.com (mailing list archive)
State New
Headers show
Series spi-nor: add optional vcc-supply and enable it for i.MX93 | expand

Commit Message

Peng Fan (OSS) Sept. 30, 2024, 9:22 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Introduce optional vcc-supply property, SPI NOR flashes needs power supply
to work properly. The power supply maybe software controlable per board
design.

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Miquel Raynal Sept. 30, 2024, 9:18 a.m. UTC | #1
Hi,

peng.fan@oss.nxp.com wrote on Mon, 30 Sep 2024 17:22:24 +0800:

> From: Peng Fan <peng.fan@nxp.com>
> 
> Introduce optional vcc-supply property, SPI NOR flashes needs power supply
> to work properly. The power supply maybe software controlable per board
> design.
> 
> Acked-by: Rob Herring (Arm) <robh@kernel.org>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
>  Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> index 6e3afb42926e..bab0617a51d5 100644
> --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
> @@ -96,6 +96,10 @@ properties:
>        If "broken-flash-reset" is present then having this property does not
>        make any difference.
>  
> +  vcc-supply:
> +    description:
> +      Supply for the spi nor power.

			SPI NOR?

Thanks,
Miquèl
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
index 6e3afb42926e..bab0617a51d5 100644
--- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
+++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml
@@ -96,6 +96,10 @@  properties:
       If "broken-flash-reset" is present then having this property does not
       make any difference.
 
+  vcc-supply:
+    description:
+      Supply for the spi nor power.
+
   spi-cpol: true
   spi-cpha: true