From: Wilson Ding <dingwei@marvell.com>
To: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Cc: <andrew@lunn.ch>, <gregory.clement@bootlin.com>,
<sebastian.hesselbarth@gmail.com>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<p.zabel@pengutronix.de>, <salee@marvell.com>,
<gakula@marvell.com>, Wilson Ding <dingwei@marvell.com>
Subject: [PATCH v3 0/3] Add Armada8K reset controller support
Date: Thu, 27 Feb 2025 11:25:33 -0800 [thread overview]
Message-ID: <20250227192536.2426490-1-dingwei@marvell.com> (raw)
Armada8K has one simple register for unit soft reset, which is part of
the system controller register area. The simple reset code doesn't
support register access via regmap for the syscon devices. This patch
series created a new driver based on the simple reset code, and add
Armada8K support then.
Thanks,
Wilson
---
Changes in v3:
- Abandoned the use of the 'offset' property to specify the register
offset.
- Dropped the changes to 'cp110-system-controller.txt'.
- Created a new dt-binding head file to define the reset lines.
- Fixed the errors and warnings reported by dt_binding_check and
dtbs_check.
Changes in v2:
- Created a new driver for SYSCON device instead of extending the
simple reset code.
- Allow to retreive the register offset from the 'reg' property as
an alternative to the 'offset' property.
- Allow to retrevie the register size from the 'reg' property to
calculate the number of reset lines.
- Added the new dt-binding files to document the device-tree scheme
and fix DT check issues.
- Updated the device-tree node name to 'reset-controller' to follow
the name conventions.
Changes in v1:
- Init version.
Wilson Ding (3):
dt-bindings: reset: Add Armada8K reset controller
reset: Add support for Armada8K reset controller
arm64: dts: marvell: cp11x: Add reset controller node
.../reset/marvell,armada8k-reset.yaml | 48 +++++
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 8 +
drivers/reset/Kconfig | 12 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-simple-syscon.c | 188 ++++++++++++++++++
.../reset/marvell,armada8k-reset.h | 27 +++
include/linux/reset/reset-simple.h | 3 +
7 files changed, 287 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/marvell,armada8k-reset.yaml
create mode 100644 drivers/reset/reset-simple-syscon.c
create mode 100644 include/dt-bindings/reset/marvell,armada8k-reset.h
--
2.43.0
next reply other threads:[~2025-02-27 19:26 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 19:25 Wilson Ding [this message]
2025-02-27 19:25 ` [PATCH v3 1/3] dt-bindings: reset: Add Armada8K reset controller Wilson Ding
2025-02-27 20:24 ` Rob Herring (Arm)
2025-02-27 21:58 ` [EXTERNAL] " Wilson Ding
2025-02-28 6:52 ` Krzysztof Kozlowski
2025-03-07 0:03 ` Wilson Ding
2025-03-07 8:56 ` Krzysztof Kozlowski
2025-03-07 23:15 ` Wilson Ding
2025-02-28 6:55 ` Krzysztof Kozlowski
2025-02-27 19:25 ` [PATCH v3 2/3] reset: Add support for " Wilson Ding
2025-02-27 19:25 ` [PATCH v3 3/3] arm64: dts: marvell: cp11x: Add reset controller node Wilson Ding
2025-02-28 6:56 ` Krzysztof Kozlowski
2025-02-28 20:18 ` [EXTERNAL] " Wilson Ding
2025-03-01 13:46 ` Krzysztof Kozlowski
2025-03-01 13:49 ` Krzysztof Kozlowski
2025-03-04 2:17 ` Wilson Ding
2025-03-04 7:13 ` Krzysztof Kozlowski
2025-03-04 19:08 ` Wilson Ding
2025-03-06 7:29 ` Krzysztof Kozlowski
2025-03-06 17:42 ` [EXTERNAL] " Wilson Ding
2025-03-07 8:59 ` Krzysztof Kozlowski
2025-03-07 21:52 ` Wilson Ding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250227192536.2426490-1-dingwei@marvell.com \
--to=dingwei@marvell.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gakula@marvell.com \
--cc=gregory.clement@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=salee@marvell.com \
--cc=sebastian.hesselbarth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).