[PATCH] reset: meson: Add s4 support

Sean Anderson <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260817163604.1893382-1-sanderson__19450.2134736226$1786990664$gmane$org@brivo.com>
Add s4 support. There are no new features, so just define the layout
info.

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

 drivers/reset/reset-meson.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
index 8c27563ce23..16d2dc19898 100644
--- a/drivers/reset/reset-meson.c
+++ b/drivers/reset/reset-meson.c
@@ -82,6 +82,11 @@ static const struct meson_reset_drvdata meson_a1_data = {
 	.level_offset = 0x40,
 };
 
+static const struct meson_reset_drvdata meson_s4_data = {
+	.reg_count = 6,
+	.level_offset = 0x40,
+};
+
 static const struct udevice_id meson_reset_ids[] = {
 	{
 		.compatible = "amlogic,meson-gxbb-reset",
@@ -95,6 +100,10 @@ static const struct udevice_id meson_reset_ids[] = {
 		.compatible = "amlogic,meson-a1-reset",
 		.data = (ulong)&meson_a1_data,
 	},
+	{
+		.compatible = "amlogic,meson-s4-reset",
+		.data = (ulong)&meson_s4_data,
+	},
 	{ }
 };
 
---
base-commit: d3e8597e46b635ec556a057bc42f0b0859654bdf
branch: s4_reset

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.