2022-04-22 20:23:57

by Sean Anderson

[permalink] [raw]
Subject: [PATCH 3/8] dt-bindings: nvmem: sfp: Add TA_PROG_SFP supply

The TA_PROG_SFP supply must be enabled to program the fuses, and
disabled to read the fuses (such as at power-on-reset). On many boards,
this supply is controlled by a jumper. The user must manually insert or
remove it at the appropriate time in the programming process. However,
on other boards this supply is controlled by and FPGA or a GPIO. In
these cases, the driver can automatically enabled and disable it as
necessary.

Signed-off-by: Sean Anderson <[email protected]>
---

.../devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml
index 54086f50157d..e7d1232fcd41 100644
--- a/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml
@@ -32,6 +32,11 @@ properties:
clock-names:
const: sfp

+ ta-prog-sfp-supply:
+ description:
+ The TA_PROG_SFP supply. It will be enabled for programming and disabled
+ for reading.
+
required:
- compatible
- reg
--
2.35.1.1320.gc452695387.dirty