[2/6] rockchip: efuse: Add support for rk3066a efuse
diff mbox series

Message ID 20200220025353.3158-5-finley.xiao@rock-chips.com
State Changes Requested
Delegated to: Kever Yang
Headers show
Series
  • Untitled series #159644
Related show

Commit Message

Finley Xiao Feb. 20, 2020, 2:53 a.m. UTC
This adds the necessary data for handling eFuse on the rk3066a.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
---
 drivers/misc/rockchip-efuse.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/drivers/misc/rockchip-efuse.c b/drivers/misc/rockchip-efuse.c
index f01d877e33..3f2c64b105 100644
--- a/drivers/misc/rockchip-efuse.c
+++ b/drivers/misc/rockchip-efuse.c
@@ -208,6 +208,10 @@  static int rockchip_efuse_ofdata_to_platdata(struct udevice *dev)
 
 static const struct udevice_id rockchip_efuse_ids[] = {
 	{
+		.compatible = "rockchip,rk3066a-efuse",
+		.data = (ulong)&rockchip_rk3288_efuse_read,
+	},
+	{
 		.compatible = "rockchip,rk3288-efuse",
 		.data = (ulong)&rockchip_rk3288_efuse_read,
 	},