mbox series

[v2,0/3] nvmem: add Layerscape SFP support

Message ID 20220214115529.662948-1-michael@walle.cc
Headers show
Series nvmem: add Layerscape SFP support | expand

Message

Michael Walle Feb. 14, 2022, 11:55 a.m. UTC
Add support for the Security Fuse Processor found on Layerscape
SoCs.

changes since v1:
 - added Rob's Rb
 - cleaned up the include files
 - changed the module license to only "GPL"
 - fix indendation, split lines longer than 80c

Michael Walle (3):
  dt-bindings: nvmem: add fsl,layerscape-sfp binding
  nvmem: add driver for Layerscape SFP (Security Fuse Processor)
  arm64: dts: ls1028a: add efuse node

 .../bindings/nvmem/fsl,layerscape-sfp.yaml    | 38 ++++++++
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 11 +++
 drivers/nvmem/Kconfig                         | 12 +++
 drivers/nvmem/Makefile                        |  2 +
 drivers/nvmem/layerscape-sfp.c                | 89 +++++++++++++++++++
 5 files changed, 152 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml
 create mode 100644 drivers/nvmem/layerscape-sfp.c

Comments

Srinivas Kandagatla Feb. 14, 2022, 11:58 a.m. UTC | #1
On 14/02/2022 11:55, Michael Walle wrote:
> Add support for the Security Fuse Processor found on Layerscape
> SoCs.
> 
> changes since v1:
>   - added Rob's Rb
>   - cleaned up the include files
>   - changed the module license to only "GPL"
>   - fix indendation, split lines longer than 80c
> 
> Michael Walle (3):
>    dt-bindings: nvmem: add fsl,layerscape-sfp binding
>    nvmem: add driver for Layerscape SFP (Security Fuse Processor)

Applied 1/3 and 2/3.

dts patch has to go via respective arm soc maintainer tree.


--srini
>    arm64: dts: ls1028a: add efuse node
> 
>   .../bindings/nvmem/fsl,layerscape-sfp.yaml    | 38 ++++++++
>   .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 11 +++
>   drivers/nvmem/Kconfig                         | 12 +++
>   drivers/nvmem/Makefile                        |  2 +
>   drivers/nvmem/layerscape-sfp.c                | 89 +++++++++++++++++++
>   5 files changed, 152 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml
>   create mode 100644 drivers/nvmem/layerscape-sfp.c
>
Shawn Guo Feb. 21, 2022, 3:51 a.m. UTC | #2
On Mon, Feb 14, 2022 at 12:55:29PM +0100, Michael Walle wrote:
> Layerscape SoCs contain a Security Fuse Processor which is basically a
> efuse controller. Add the node, so userspace can read the efuses.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>

Applied, thanks!