[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250220232527.882888-1-dingwei@marvell.com>
Date: Thu, 20 Feb 2025 15:25:23 -0800
From: Wilson Ding <dingwei@...vell.com>
To: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <andrew@...n.ch>, <gregory.clement@...tlin.com>,
<sebastian.hesselbarth@...il.com>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <p.zabel@...gutronix.de>,
<salee@...vell.com>, <gakula@...vell.com>,
Wilson Ding <dingwei@...vell.com>
Subject: [PATCH v2 0/4] Add Armada8K reset controller support
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 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 (4):
dt-bindings: reset: Add Armada8K reset controller
dt-bindings: cp110: Document the reset controller
reset: Add support for Armada8K reset controller
arm64: dts: marvell: cp11x: Add reset controller node
.../arm/marvell/cp110-system-controller.txt | 43 ++++
.../reset/marvell,armada8k-reset.yaml | 45 ++++
arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 6 +
drivers/reset/Kconfig | 12 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-simple-syscon.c | 195 ++++++++++++++++++
include/linux/reset/reset-simple.h | 3 +
7 files changed, 305 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/marvell,armada8k-reset.yaml
create mode 100644 drivers/reset/reset-simple-syscon.c
--
2.43.0
Powered by blists - more mailing lists