From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E84D93DB31F; Thu, 9 Jul 2026 08:26:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783585613; cv=none; b=IUJ+Rxut7ZfR4mitjNjydaMV6KD0pX2MEr37IF64xWly0Dvx+fsLrR7FoGnr5hJ+9wIIlv4Blhpg6UIxwOE6GSP8PpERPnrNDm4sSrxwn8WnFFOapWwY+4qhzbPHH1A9eGjzQ+AIYjPIYK7PuTm846bI51upvkCydUGvwgkC6Pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783585613; c=relaxed/simple; bh=Cc2E8akdH+G5Ofl/remAcjKjYApuWhW2x/f3uTajPuA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TzrRZf/fzYjvPNi8z2IC3BteR4iJtVDgI95N8arUTw30fC6rRemiAO7Mji5pkGmFkJKo6+jAu3ezW9Owm0dRq2opqTjoP0dHFS+x/ipmv2hb2aA2iFgGLCWNpocJfELUq6/4SHBYY4SU6NmkOnzqXFOAybX6AP24uF4jeiUyY18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YNbV1veO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YNbV1veO" Received: by smtp.kernel.org (Postfix) with ESMTPS id A4578C2BCF4; Thu, 9 Jul 2026 08:26:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1783585612; bh=Cc2E8akdH+G5Ofl/remAcjKjYApuWhW2x/f3uTajPuA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=YNbV1veO7EUA+5IxYAX+xfO3cP/9RbSB46gB8lslzzu86q4S5fygqcC5gT1pRbKo7 Q9Ob5hedHskFnGAHYSZ9OxW+a0mUHz9kzbjVnr7dank87ovzDmTnE4IpGryoxB2KXZ YSFYADA1U7y8hDWf80RV87uEsVtJYmXHc7n02thsqyVnAzgissaXrVyiimTE9RYJzb XOAd4tRgYnFpQaZbjILWY2PKinlOoNRTbCFatBmsyG09gj/KwvlUdxBaXbpz/4aC0X R8lzXJ0V4MoItjA7wRab4TGXJ0ogU+Ff1QdCQun8+bIXsJDESNuIBn7EbQEdaOu/gG LslAqdWpD9M9w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86EB8C44507; Thu, 9 Jul 2026 08:26:52 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Thu, 09 Jul 2026 08:26:49 +0000 Subject: [PATCH 2/3] reset: amlogic: Add A9 AO reset controller support Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260709-a9-reset-v1-2-fd7cf039b853@amlogic.com> References: <20260709-a9-reset-v1-0-fd7cf039b853@amlogic.com> In-Reply-To: <20260709-a9-reset-v1-0-fd7cf039b853@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=1783585609; l=1414; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=patSBH/uW6tkb/H97P+dDOJPShFdk5yhMtjXp5whRlQ=; b=Wr7Qnot0A9kH8SFK8eAdVVE1BLLzUYjbyQMygeJ0+Mtyg7GsbDeYVajtNUYGCghvp8wcPI5Uc kpvQ9xiZvC4CMtPPUY7zXfrAYsOdt9tcGtuqgcpZZcZ6z8/UK12bswT 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 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com From: Xianwei Zhao Add the reset configuration and compatible entry for the Amlogic A9 AO reset controller. 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