From: Xianwei Zhao Date: Thu, 26 Nov 2026 09:53:39 +0000 Subject: [PATCH v3 2/3] reset: amlogic: Add A9 AO reset controller support MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261126-a9-reset-v3-2-fb9bb01f33d1@amlogic.com> References: <20261126-a9-reset-v3-0-fb9bb01f33d1@amlogic.com> In-Reply-To: <20261126-a9-reset-v3-0-fb9bb01f33d1@amlogic.com> To: Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Xianwei Zhao X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795686819; l=1467; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=OWsqjX5BEhrTnFs/Fj0tsLvGRnqbrMxArQetg4Ut+Y0=; b=QnTQL9ISVQl23/RsYQ9JPNOENIG3HckSM/HnrFoeInV/eQnmD1AKHHhS1qdGZSAiNYLDzUhN4 oZwBM3oeBefDpYzYVhSD5zcKrvWv95Cm+LyqMQccsDC+EGPCEV/eOMg X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=dWwxtWCxC6FHRurOmxEtr34SuBYU+WJowV/ZmRJ7H+k= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20251216 with auth_id=578 List-Id: B4 Relay Submissions Add the reset configuration and compatible entry for the Amlogic A9 AO reset controller. Reviewed-by: Philipp Zabel Signed-off-by: Xianwei Zhao --- drivers/reset/amlogic/reset-meson.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/reset/amlogic/reset-meson.c b/drivers/reset/amlogic/reset-meson.c index c303e8590dd6..5e8afbceaf23 100644 --- a/drivers/reset/amlogic/reset-meson.c +++ b/drivers/reset/amlogic/reset-meson.c @@ -49,6 +49,14 @@ static const struct meson_reset_param t7_param = { .level_low_reset = true, }; +static const struct meson_reset_param a9_ao_param = { + .reset_ops = &meson_reset_ops, + .reset_num = 32, + .reset_offset = 0x0, + .level_offset = 0x4, + .level_low_reset = true, +}; + static const struct of_device_id meson_reset_dt_ids[] = { { .compatible = "amlogic,meson8b-reset", .data = &meson8b_param}, { .compatible = "amlogic,meson-gxbb-reset", .data = &meson8b_param}, @@ -57,6 +65,7 @@ static const struct of_device_id meson_reset_dt_ids[] = { { .compatible = "amlogic,meson-s4-reset", .data = &meson_s4_param}, { .compatible = "amlogic,c3-reset", .data = &meson_s4_param}, { .compatible = "amlogic,t7-reset", .data = &t7_param}, + { .compatible = "amlogic,a9-ao-reset", .data = &a9_ao_param}, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, meson_reset_dt_ids); -- 2.52.0