[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210103100007.32867-1-samuel@sholland.org>
Date: Sun, 3 Jan 2021 04:00:03 -0600
From: Samuel Holland <samuel@...lland.org>
To: Maxime Ripard <mripard@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Rob Herring <robh+dt@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Philipp Zabel <p.zabel@...gutronix.de>
Cc: Andre Przywara <andre.przywara@....com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com,
Samuel Holland <samuel@...lland.org>
Subject: [PATCH v2 0/4] Allwinner H6 RSB support
The Allwinner H6 SoC contains an RSB controller. It is almost completely
undocumented, so it was missed when doing the initial SoC bringup.
This series adds the clock/reset, pin configuration, and device tree
node needed to use the RSB controller. Since RSB is faster, simpler, and
generally more reliable than the I2C controller IP in the SoC, switch to
using it where possible.
This was tested on an Orange Pi 3 and a Pine H64 model B. This series
does not switch the Pine H64 to use RSB, as doing so would prevent
accessing the external RTC that shares the I2C bus.
Changes v1->v2:
- Put the new values at the end of the DT binding headers
Samuel Holland (4):
clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset
pinctrl: sunxi: h6-r: Add s_rsb pin functions
arm64: dts: allwinner: h6: Add RSB controller node
arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection
.../dts/allwinner/sun50i-h6-beelink-gs1.dts | 38 +++++++++----------
.../dts/allwinner/sun50i-h6-orangepi-3.dts | 14 +++----
.../dts/allwinner/sun50i-h6-orangepi.dtsi | 22 +++++------
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 19 ++++++++++
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c | 5 +++
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.h | 2 +-
drivers/pinctrl/sunxi/pinctrl-sun50i-h6-r.c | 2 +
include/dt-bindings/clock/sun50i-h6-r-ccu.h | 2 +
include/dt-bindings/reset/sun50i-h6-r-ccu.h | 1 +
9 files changed, 67 insertions(+), 38 deletions(-)
--
2.26.2
Powered by blists - more mailing lists