From patchwork Fri Mar 1 11:13:00 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 13578348
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.lore.kernel.org (Postfix) with ESMTPS id B81D5C5478C
for ;
Fri, 1 Mar 2024 11:13:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=lists.infradead.org; s=bombadil.20210309; h=Sender:
Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:
List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc
:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:
List-Owner; bh=wh3sgxwzIpN9qnG46nTMOXSwfoDiuEMoBLoyqK5MmTc=; b=Gv/V6h8VehciGN
9W1T3xPWY2QbobghL5RIyUvk9Jx4BX/64x45yR9Sp6uVceHB7g7HuxJPpiT3iXi5wAotwxrC8OJLV
9Sb/EOB+Xmwe61tkQpCA9i7bPJYPLgSpaW2aTc8wZYlskZnMaHN2R0anxuMaHU7ReUcpu/d0o9Gac
D2h+QWa5rz8Hxqc90GU+0P12NvKjchHgZrWTMSUveWUDhWA2nZXrIQBEp9vCk7apMP+bPrODCEzyF
EdM2f8MShLL9zLwW7CAprkKEWaei0TfBNa3Zhy8u0lPvwtZTtREs5W5Phr+GUHRsDGssT1ZukYEim
Rzcih9umsoWw07hzHgaQ==;
Received: from localhost ([::1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux))
id 1rg0pC-0000000HVm7-2Xo6;
Fri, 01 Mar 2024 11:13:10 +0000
Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104])
by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux))
id 1rg0pA-0000000HVjh-0q9y
for linux-arm-kernel@lists.infradead.org;
Fri, 01 Mar 2024 11:13:09 +0000
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 1rg0p5-0004HB-U2; Fri, 01 Mar 2024 12:13:03 +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.9
Date: Fri, 1 Mar 2024 12:13:00 +0100
Message-Id: <20240301111300.4038207-1-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.39.2
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: linux-arm-kernel@lists.infradead.org
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20240301_031308_260008_81CEAD7B
X-CRM114-Status: GOOD ( 11.24 )
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org
Dear arm-soc maintainers,
The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d:
Linux 6.8-rc5 (2024-02-18 12:56:25 -0800)
are available in the Git repository at:
git://git.pengutronix.de/pza/linux.git tags/reset-for-v6.9
for you to fetch changes up to c721f189e89c0d4db119d7bb2b46768d0fb5f6b1:
reset: Instantiate reset GPIO controller for shared reset-gpios (2024-02-21 11:53:25 +0100)
----------------------------------------------------------------
Reset controller updates for v6.9
Enable support for the Sophgo SG2042 reset controller via reset-simple,
add a GPIO-based reset controller criver for shared GPIO resets, extract
an of_phandle_args_equal() helper function out of cpufreq, and use it in
reset-gpio.
Based on v6.8-rc5 because reset-gpio depends on commits in the
gpio-driver-h-stubs-for-v6.8-rc5 tag.
----------------------------------------------------------------
Chen Wang (2):
dt-bindings: reset: sophgo: support SG2042
reset: simple: add support for Sophgo SG2042
Krzysztof Kozlowski (4):
of: Add of_phandle_args_equal() helper
cpufreq: do not open-code of_phandle_args_equal()
reset: gpio: Add GPIO-based reset controller
reset: Instantiate reset GPIO controller for shared reset-gpios
.../bindings/reset/sophgo,sg2042-reset.yaml | 35 ++++
MAINTAINERS | 5 +
drivers/reset/Kconfig | 12 +-
drivers/reset/Makefile | 1 +
drivers/reset/core.c | 224 +++++++++++++++++++--
drivers/reset/reset-gpio.c | 119 +++++++++++
drivers/reset/reset-simple.c | 2 +
include/dt-bindings/reset/sophgo,sg2042-reset.h | 87 ++++++++
include/linux/cpufreq.h | 3 +-
include/linux/of.h | 16 ++
include/linux/reset-controller.h | 4 +
11 files changed, 492 insertions(+), 16 deletions(-)
create mode 100644 Documentation/devicetree/bindings/reset/sophgo,sg2042-reset.yaml
create mode 100644 drivers/reset/reset-gpio.c
create mode 100644 include/dt-bindings/reset/sophgo,sg2042-reset.h