From: Samuel Holland <samuel@sholland.org> To: Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@siol.net>, Rob Herring <robh+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Philipp Zabel <p.zabel@pengutronix.de> Cc: Andre Przywara <andre.przywara@arm.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland <samuel@sholland.org> Subject: [PATCH 0/4] Allwinner H6 RSB support Date: Sun, 13 Dec 2020 17:55:02 -0600 [thread overview] Message-ID: <20201213235506.25201-1-samuel@sholland.org> (raw) 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. 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 | 1 + include/dt-bindings/reset/sun50i-h6-r-ccu.h | 1 + 9 files changed, 66 insertions(+), 38 deletions(-) -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: Samuel Holland <samuel@sholland.org> To: Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@siol.net>, Rob Herring <robh+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Philipp Zabel <p.zabel@pengutronix.de> Cc: devicetree@vger.kernel.org, Samuel Holland <samuel@sholland.org>, Andre Przywara <andre.przywara@arm.com>, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] Allwinner H6 RSB support Date: Sun, 13 Dec 2020 17:55:02 -0600 [thread overview] Message-ID: <20201213235506.25201-1-samuel@sholland.org> (raw) 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. 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 | 1 + include/dt-bindings/reset/sun50i-h6-r-ccu.h | 1 + 9 files changed, 66 insertions(+), 38 deletions(-) -- 2.26.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2020-12-14 0:07 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-13 23:55 Samuel Holland [this message] 2020-12-13 23:55 ` [PATCH 0/4] Allwinner H6 RSB support Samuel Holland 2020-12-13 23:55 ` [PATCH 1/4] clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset Samuel Holland 2020-12-13 23:55 ` Samuel Holland 2020-12-14 14:57 ` Maxime Ripard 2020-12-14 14:57 ` Maxime Ripard 2020-12-15 3:25 ` Samuel Holland 2020-12-15 3:25 ` Samuel Holland 2020-12-15 11:29 ` André Przywara 2020-12-15 11:29 ` André Przywara 2020-12-13 23:55 ` [PATCH 2/4] pinctrl: sunxi: h6-r: Add s_rsb pin functions Samuel Holland 2020-12-13 23:55 ` Samuel Holland 2020-12-13 23:55 ` [PATCH 3/4] arm64: dts: allwinner: h6: Add RSB controller node Samuel Holland 2020-12-13 23:55 ` Samuel Holland 2020-12-13 23:55 ` [PATCH 4/4] arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection Samuel Holland 2020-12-13 23:55 ` Samuel Holland
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=20201213235506.25201-1-samuel@sholland.org \ --to=samuel@sholland.org \ --cc=andre.przywara@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=jernej.skrabec@siol.net \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-gpio@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@googlegroups.com \ --cc=mripard@kernel.org \ --cc=mturquette@baylibre.com \ --cc=p.zabel@pengutronix.de \ --cc=robh+dt@kernel.org \ --cc=sboyd@kernel.org \ --cc=wens@csie.org \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.