From patchwork Tue Nov 5 10:52:29 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13862797
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 9855A1D2B10
for ; Tue, 5 Nov 2024 10:52:45 +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=1730803965; cv=none;
b=SsWm8FTUPEg0KylDdYtfZiJufNcHyGwh8OjbzBO15wttLYMgS27h1g1tiBxx/oaBB85XnaS90MZDzI5faNkqn0a+FZPidDwUZr+Uj6kqaCabc9malYn+SmpitboVZhjbuUPHrld05JwK1CH+xuAKpmrkpu70XPiMCGUAlEkdKJQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1730803965; c=relaxed/simple;
bh=D7OKzIFLWDxMKxbYiwuULHL6gd5L9mo+9tr/4++FAnM=;
h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type;
b=hxy9EVXW4pKFFMrLsOIx97HubzM9f1cuSYkY87+pLoKRIp1HutsVbuIdrlupb9a4NUG6Fo9EuM1hLkIFcO9zwdBR701EWgyIRmdCYkhPLk/3qlw/J0yXCs7fUvG8+y24NbsuizbQeXbbWXXkerpRlb0/kd4u4Hnt9aW2G92XBpk=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
arc=none smtp.client-ip=10.30.226.201
Received: by smtp.kernel.org (Postfix)
id 47934C4CED0; Tue, 5 Nov 2024 10:52:45 +0000 (UTC)
Received: from metis.whiteo.stw.pengutronix.de
(metis.whiteo.stw.pengutronix.de [185.203.201.7])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)
server-digest SHA256)
(No client certificate requested)
by smtp.kernel.org (Postfix) with ESMTPS id 1B1E0C4CECF
for ; Tue, 5 Nov 2024 10:52:42 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 1B1E0C4CECF
Authentication-Results: smtp.kernel.org;
dmarc=none (p=none dis=none) header.from=pengutronix.de
Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=pengutronix.de
Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54])
by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1t8HAv-00054d-6F; Tue, 05 Nov 2024 11:52:41 +0100
From: Philipp Zabel
To: soc@kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
kernel@pengutronix.de,
Philipp Zabel
Subject: [GIT PULL] Reset controller updates for v6.13
Date: Tue, 5 Nov 2024 11:52:29 +0100
Message-Id: <20241105105229.3729474-1-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.39.5
Precedence: bulk
X-Mailing-List: soc@lists.linux.dev
List-Id:
List-Subscribe:
List-Unsubscribe:
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: soc@kernel.org
Dear arm-soc maintainers,
The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:
Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)
are available in the Git repository at:
git://git.pengutronix.de/pza/linux.git tags/reset-for-v6.13
for you to fetch changes up to cf3e10cc0e88bba51d330ef851bcffa0bce1070c:
misc: lan966x_pci: Fix dtc warn 'Missing interrupt-parent' (2024-11-04 14:34:25 +0100)
----------------------------------------------------------------
Reset controller updates for v6.13
* Split the Amlogic reset-meson driver into platform and auxiliary
bus drivers. Add support for the reset controller in the G12 and
SM1 audio clock controllers.
* Replace the list of boolean parameters to the internal
reset_control_get functions with an enum reset_flags bitfield,
to make the code more self-descriptive.
* Add devres helpers to request pre-deasserted (and automatically
re-asserting during cleanup) reset controls. This allows reducing
boilerplate in drivers that deassert resets for the lifetime of a
device.
* Use the new auto-deasserting devres helpers in reset-uniphier-glue
as an example.
* Add support for the LAN966x PCI device in drivers/misc, as a
dependency for the following reset-microchip-sparx5 patches.
* Add support for being used on the LAN966x PCI device to the
reset-microchip-sparx5 driver.
Commit 86f134941a4b ("MAINTAINERS: Add the Microchip LAN966x PCI driver
entry") introduces a trivial merge conflict with commit 7280f01e79cc
("net: lan969x: add match data for lan969x") from the net-next tree [1].
[1] https://lore.kernel.org/all/20241101122505.3eacd183@canb.auug.org.au/
----------------------------------------------------------------
Clément Léger (2):
reset: mchp: sparx5: Allow building as a module
reset: mchp: sparx5: set the dev member of the reset controller
Herve Codina (6):
misc: Add support for LAN966x PCI device
MAINTAINERS: Add the Microchip LAN966x PCI driver entry
reset: mchp: sparx5: Map cpu-syscon locally in case of LAN966x
reset: mchp: sparx5: Add MCHP_LAN966X_PCI dependency
misc: lan966x_pci: Fix dtc warns 'missing or empty reg/ranges property'
misc: lan966x_pci: Fix dtc warn 'Missing interrupt-parent'
Jerome Brunet (9):
reset: amlogic: convert driver to regmap
reset: amlogic: use generic data matching function
reset: amlogic: make parameters unsigned
reset: amlogic: add driver parameters
reset: amlogic: use reset number instead of register count
reset: amlogic: add reset status support
reset: amlogic: move drivers to a dedicated directory
reset: amlogic: split the device core and platform probe
reset: amlogic: add auxiliary reset driver support
Philipp Zabel (4):
reset: amlogic: Fix small whitespace issue
reset: replace boolean parameters with flags parameter
reset: Add devres helpers to request pre-deasserted reset controls
reset: uniphier-glue: Use devm_reset_control_bulk_get_shared_deasserted()
MAINTAINERS | 6 +
drivers/misc/Kconfig | 24 ++
drivers/misc/Makefile | 3 +
drivers/misc/lan966x_pci.c | 215 ++++++++++++++++
drivers/misc/lan966x_pci.dtso | 177 +++++++++++++
drivers/pci/quirks.c | 1 +
drivers/reset/Kconfig | 19 +-
drivers/reset/Makefile | 3 +-
drivers/reset/amlogic/Kconfig | 27 ++
drivers/reset/amlogic/Makefile | 4 +
.../reset/{ => amlogic}/reset-meson-audio-arb.c | 0
drivers/reset/amlogic/reset-meson-aux.c | 136 ++++++++++
drivers/reset/amlogic/reset-meson-common.c | 142 +++++++++++
drivers/reset/amlogic/reset-meson.c | 105 ++++++++
drivers/reset/amlogic/reset-meson.h | 28 +++
drivers/reset/core.c | 119 ++++++---
drivers/reset/reset-meson.c | 159 ------------
drivers/reset/reset-microchip-sparx5.c | 38 ++-
drivers/reset/reset-uniphier-glue.c | 24 +-
include/linux/reset.h | 274 ++++++++++++++++-----
include/soc/amlogic/reset-meson-aux.h | 23 ++
21 files changed, 1235 insertions(+), 292 deletions(-)
create mode 100644 drivers/misc/lan966x_pci.c
create mode 100644 drivers/misc/lan966x_pci.dtso
create mode 100644 drivers/reset/amlogic/Kconfig
create mode 100644 drivers/reset/amlogic/Makefile
rename drivers/reset/{ => amlogic}/reset-meson-audio-arb.c (100%)
create mode 100644 drivers/reset/amlogic/reset-meson-aux.c
create mode 100644 drivers/reset/amlogic/reset-meson-common.c
create mode 100644 drivers/reset/amlogic/reset-meson.c
create mode 100644 drivers/reset/amlogic/reset-meson.h
delete mode 100644 drivers/reset/reset-meson.c
create mode 100644 include/soc/amlogic/reset-meson-aux.h