This adds a driver for the Security Fuse Processor (SFP). It only supports Trust Architecture (TA) 2.1 SFPs, but it should be fairly trivial to add support for TA 3.1 SFPs. See [1] for Linux bindings/driver support.
[1] https://lore.kernel.org/linux-arm-kernel/20220422145147.2210587-1-sean.ander...@seco.com/ Changes in v2: - Use the sfp clock directly, instead of assuming we get the platform clock. This corresponds better to what other drivers on these devices do. - Rename clock to "sfp" to be more descriptive. - update the clockgen node for ls1021a Sean Anderson (3): arm: layerscape: Add sfp driver ARM: dts: ls1021a: update the clockgen node arch: layerscape: Add SFP binding MAINTAINERS | 5 + arch/arm/dts/fsl-ls1012a.dtsi | 7 + arch/arm/dts/fsl-ls1043a.dtsi | 7 + arch/arm/dts/fsl-ls1046a.dtsi | 7 + arch/arm/dts/ls1021a.dtsi | 87 ++++----- drivers/misc/Kconfig | 14 ++ drivers/misc/Makefile | 1 + drivers/misc/ls2_sfp.c | 350 ++++++++++++++++++++++++++++++++++ 8 files changed, 426 insertions(+), 52 deletions(-) create mode 100644 drivers/misc/ls2_sfp.c -- 2.35.1.1320.gc452695387.dirty