diff mbox series

[8/8] nvmem: sfp: Add support for TA 2.1 devices

Message ID 20220421175657.1259024-9-sean.anderson@seco.com
State New
Headers show
Series [1/8] dt-bindings: nvmem: sfp: Fix typo | expand

Commit Message

Sean Anderson April 21, 2022, 5:56 p.m. UTC
This adds support for Trust Architecture (TA) 2.1 devices to the SFP driver.
There are few differences between TA 2.1 and TA 3.0, especially for
read-only support, so just re-use the existing data.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
---

 drivers/nvmem/layerscape-sfp.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/nvmem/layerscape-sfp.c b/drivers/nvmem/layerscape-sfp.c
index e591c1511e33..6336be5d8726 100644
--- a/drivers/nvmem/layerscape-sfp.c
+++ b/drivers/nvmem/layerscape-sfp.c
@@ -70,6 +70,7 @@  static const struct layerscape_sfp_data ls1028a_data = {
 };
 
 static const struct of_device_id layerscape_sfp_dt_ids[] = {
+	{ .compatible = "fsl,ls1021a-sfp", .data = &ls1028a_data },
 	{ .compatible = "fsl,ls1028a-sfp", .data = &ls1028a_data },
 	{},
 };