devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] Add GPADC for Allwinner H616
@ 2024-06-05 17:20 Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks Chris Morgan
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Chris Morgan @ 2024-06-05 17:20 UTC (permalink / raw)
  To: linux-sunxi
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add support for the general purpose analog-to-digital converter (GPADC)
for the Allwinner H616 SoC to support the ADC joysticks as found on the
Anbernic RG35XX-H.

Changes since V1:
 - Split dt-binding include additions to a separate patch.
 - Removed patch adding compatible string as it was already upstreamed.
 - Added patch to add the adc-joystick function to the RG35XX-H.

Chris Morgan (4):
  dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
  clk: sunxi-ng: h616: Add clock/reset for GPADC
  arm64: dts: allwinner: h616: Add GPADC device node
  arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks

 .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 11 +++
 .../sun50i-h700-anbernic-rg35xx-h.dts         | 79 +++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun50i-h616.c        |  5 ++
 drivers/clk/sunxi-ng/ccu-sun50i-h616.h        |  2 +-
 include/dt-bindings/clock/sun50i-h616-ccu.h   |  1 +
 include/dt-bindings/reset/sun50i-h616-ccu.h   |  1 +
 6 files changed, 98 insertions(+), 1 deletion(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
@ 2024-06-05 17:20 ` Chris Morgan
  2024-06-05 17:59   ` Conor Dooley
  2024-06-05 17:20 ` [PATCH V2 2/4] clk: sunxi-ng: h616: Add clock/reset for GPADC Chris Morgan
                   ` (6 subsequent siblings)
  7 siblings, 1 reply; 10+ messages in thread
From: Chris Morgan @ 2024-06-05 17:20 UTC (permalink / raw)
  To: linux-sunxi
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add the required clock bindings for the GPADC.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 include/dt-bindings/clock/sun50i-h616-ccu.h | 1 +
 include/dt-bindings/reset/sun50i-h616-ccu.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/dt-bindings/clock/sun50i-h616-ccu.h b/include/dt-bindings/clock/sun50i-h616-ccu.h
index 6f8f01e67628..ebb146ab7f8c 100644
--- a/include/dt-bindings/clock/sun50i-h616-ccu.h
+++ b/include/dt-bindings/clock/sun50i-h616-ccu.h
@@ -112,5 +112,6 @@
 #define CLK_HDCP		126
 #define CLK_BUS_HDCP		127
 #define CLK_PLL_SYSTEM_32K	128
+#define CLK_BUS_GPADC		129
 
 #endif /* _DT_BINDINGS_CLK_SUN50I_H616_H_ */
diff --git a/include/dt-bindings/reset/sun50i-h616-ccu.h b/include/dt-bindings/reset/sun50i-h616-ccu.h
index 1bd8bb0a11be..ed177c04afdd 100644
--- a/include/dt-bindings/reset/sun50i-h616-ccu.h
+++ b/include/dt-bindings/reset/sun50i-h616-ccu.h
@@ -66,5 +66,6 @@
 #define RST_BUS_TVE0		57
 #define RST_BUS_HDCP		58
 #define RST_BUS_KEYADC		59
+#define RST_BUS_GPADC		60
 
 #endif /* _DT_BINDINGS_RESET_SUN50I_H616_H_ */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH V2 2/4] clk: sunxi-ng: h616: Add clock/reset for GPADC
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks Chris Morgan
@ 2024-06-05 17:20 ` Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 3/4] arm64: dts: allwinner: h616: Add GPADC device node Chris Morgan
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Chris Morgan @ 2024-06-05 17:20 UTC (permalink / raw)
  To: linux-sunxi
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add the GPADC required clock and reset which is used for the onboard
GPADC.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 drivers/clk/sunxi-ng/ccu-sun50i-h616.c | 5 +++++
 drivers/clk/sunxi-ng/ccu-sun50i-h616.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-h616.c b/drivers/clk/sunxi-ng/ccu-sun50i-h616.c
index 45aae1ae5178..64f476c46f5b 100644
--- a/drivers/clk/sunxi-ng/ccu-sun50i-h616.c
+++ b/drivers/clk/sunxi-ng/ccu-sun50i-h616.c
@@ -489,6 +489,8 @@ static SUNXI_CCU_MP_WITH_MUX_GATE(ts_clk, "ts", ts_parents, 0x9b0,
 
 static SUNXI_CCU_GATE(bus_ts_clk, "bus-ts", "ahb3", 0x9bc, BIT(0), 0);
 
+static SUNXI_CCU_GATE(bus_gpadc_clk, "bus-gpadc", "apb1", 0x9ec, BIT(0), 0);
+
 static SUNXI_CCU_GATE(bus_ths_clk, "bus-ths", "apb1", 0x9fc, BIT(0), 0);
 
 static const char * const audio_parents[] = { "pll-audio-1x", "pll-audio-2x",
@@ -807,6 +809,7 @@ static struct ccu_common *sun50i_h616_ccu_clks[] = {
 	&bus_emac1_clk.common,
 	&ts_clk.common,
 	&bus_ts_clk.common,
+	&bus_gpadc_clk.common,
 	&bus_ths_clk.common,
 	&spdif_clk.common,
 	&bus_spdif_clk.common,
@@ -940,6 +943,7 @@ static struct clk_hw_onecell_data sun50i_h616_hw_clks = {
 		[CLK_BUS_EMAC1]		= &bus_emac1_clk.common.hw,
 		[CLK_TS]		= &ts_clk.common.hw,
 		[CLK_BUS_TS]		= &bus_ts_clk.common.hw,
+		[CLK_BUS_GPADC]		= &bus_gpadc_clk.common.hw,
 		[CLK_BUS_THS]		= &bus_ths_clk.common.hw,
 		[CLK_SPDIF]		= &spdif_clk.common.hw,
 		[CLK_BUS_SPDIF]		= &bus_spdif_clk.common.hw,
@@ -1021,6 +1025,7 @@ static struct ccu_reset_map sun50i_h616_ccu_resets[] = {
 	[RST_BUS_EMAC0]		= { 0x97c, BIT(16) },
 	[RST_BUS_EMAC1]		= { 0x97c, BIT(17) },
 	[RST_BUS_TS]		= { 0x9bc, BIT(16) },
+	[RST_BUS_GPADC]		= { 0x9ec, BIT(16) },
 	[RST_BUS_THS]		= { 0x9fc, BIT(16) },
 	[RST_BUS_SPDIF]		= { 0xa2c, BIT(16) },
 	[RST_BUS_DMIC]		= { 0xa4c, BIT(16) },
diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-h616.h b/drivers/clk/sunxi-ng/ccu-sun50i-h616.h
index fdd2f4d5103f..a75803b49f6a 100644
--- a/drivers/clk/sunxi-ng/ccu-sun50i-h616.h
+++ b/drivers/clk/sunxi-ng/ccu-sun50i-h616.h
@@ -51,6 +51,6 @@
 
 #define CLK_BUS_DRAM		56
 
-#define CLK_NUMBER		(CLK_PLL_SYSTEM_32K + 1)
+#define CLK_NUMBER		(CLK_BUS_GPADC + 1)
 
 #endif /* _CCU_SUN50I_H616_H_ */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH V2 3/4] arm64: dts: allwinner: h616: Add GPADC device node
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 2/4] clk: sunxi-ng: h616: Add clock/reset for GPADC Chris Morgan
@ 2024-06-05 17:20 ` Chris Morgan
  2024-06-05 17:20 ` [PATCH V2 4/4] arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks Chris Morgan
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Chris Morgan @ 2024-06-05 17:20 UTC (permalink / raw)
  To: linux-sunxi
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan, Andre Przywara

From: Chris Morgan <macromorgan@hotmail.com>

The H616 has a GPADC controller which is identical to the one found on
the D1/T113s/R329/T507 SoCs.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index 921d5f61d8d6..30ebc0d23760 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -589,6 +589,17 @@ spdif: spdif@5093000 {
 			status = "disabled";
 		};
 
+		gpadc: adc@5070000 {
+			compatible = "allwinner,sun50i-h616-gpadc",
+				     "allwinner,sun20i-d1-gpadc";
+			reg = <0x05070000 0x400>;
+			clocks = <&ccu CLK_BUS_GPADC>;
+			resets = <&ccu RST_BUS_GPADC>;
+			interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+			#io-channel-cells = <1>;
+		};
+
 		ths: thermal-sensor@5070400 {
 			compatible = "allwinner,sun50i-h616-ths";
 			reg = <0x05070400 0x400>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH V2 4/4] arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
                   ` (2 preceding siblings ...)
  2024-06-05 17:20 ` [PATCH V2 3/4] arm64: dts: allwinner: h616: Add GPADC device node Chris Morgan
@ 2024-06-05 17:20 ` Chris Morgan
  2024-06-06 15:09 ` [PATCH V2 0/4] Add GPADC for Allwinner H616 Chen-Yu Tsai
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Chris Morgan @ 2024-06-05 17:20 UTC (permalink / raw)
  To: linux-sunxi
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add support for the ADC joysticks found on the Anbernic RG35XX-H. The
joysticks use one channel of the GPADC which is muxed 4 ways by an ADC
mux.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 .../sun50i-h700-anbernic-rg35xx-h.dts         | 79 +++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts
index 63036256917f..ff453336eab1 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-h.dts
@@ -9,6 +9,78 @@
 / {
 	model = "Anbernic RG35XX H";
 	compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700";
+
+	adc-joystick {
+		compatible = "adc-joystick";
+		io-channels = <&adc_mux 0>,
+			      <&adc_mux 1>,
+			      <&adc_mux 2>,
+			      <&adc_mux 3>;
+		pinctrl-0 = <&joy_mux_pin>;
+		pinctrl-names = "default";
+		poll-interval = <60>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		axis@0 {
+			reg = <0>;
+			abs-flat = <32>;
+			abs-fuzz = <32>;
+			abs-range = <4096 0>;
+			linux,code = <ABS_X>;
+		};
+
+		axis@1 {
+			reg = <1>;
+			abs-flat = <32>;
+			abs-fuzz = <32>;
+			abs-range = <0 4096>;
+			linux,code = <ABS_Y>;
+		};
+
+		axis@2 {
+			reg = <2>;
+			abs-flat = <32>;
+			abs-fuzz = <32>;
+			abs-range = <0 4096>;
+			linux,code = <ABS_RX>;
+		};
+
+		axis@3 {
+			reg = <3>;
+			abs-flat = <32>;
+			abs-fuzz = <32>;
+			abs-range = <4096 0>;
+			linux,code = <ABS_RY>;
+		};
+	};
+
+	adc_mux: adc-mux {
+		compatible = "io-channel-mux";
+		channels = "left_x", "left_y", "right_x", "right_y";
+		#io-channel-cells = <1>;
+		io-channels = <&gpadc 0>;
+		io-channel-names = "parent";
+		mux-controls = <&gpio_mux>;
+		settle-time-us = <100>;
+	};
+
+	gpio_mux: mux-controller {
+		compatible = "gpio-mux";
+		mux-gpios = <&pio 8 1 GPIO_ACTIVE_LOW>,
+			    <&pio 8 2 GPIO_ACTIVE_LOW>;
+		#mux-control-cells = <0>;
+	};
+};
+
+&gpadc {
+	#address-cells = <1>;
+	#size-cells = <0>;
+	status = "okay";
+
+	channel@0 {
+		reg = <0>;
+	};
 };
 
 &gpio_keys_gamepad {
@@ -34,3 +106,10 @@ &ehci1 {
 &ohci1 {
 	status = "okay";
 };
+
+&pio {
+	joy_mux_pin: joy-mux-pin {
+		pins = "PI0";
+		function = "gpio_out";
+	};
+};
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
  2024-06-05 17:20 ` [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks Chris Morgan
@ 2024-06-05 17:59   ` Conor Dooley
  0 siblings, 0 replies; 10+ messages in thread
From: Conor Dooley @ 2024-06-05 17:59 UTC (permalink / raw)
  To: Chris Morgan
  Cc: linux-sunxi, linux-clk, devicetree, linux-iio, p.zabel, sboyd,
	mturquette, samuel, jernej.skrabec, wens, conor+dt, krzk+dt, robh,
	Chris Morgan

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

On Wed, Jun 05, 2024 at 12:20:46PM -0500, Chris Morgan wrote:
> From: Chris Morgan <macromorgan@hotmail.com>
> 
> Add the required clock bindings for the GPADC.

Acked-by: Conor Dooley <conor.dooley@microchip.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH V2 0/4] Add GPADC for Allwinner H616
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
                   ` (3 preceding siblings ...)
  2024-06-05 17:20 ` [PATCH V2 4/4] arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks Chris Morgan
@ 2024-06-06 15:09 ` Chen-Yu Tsai
  2024-06-22 12:20 ` (subset) " Chen-Yu Tsai
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Chen-Yu Tsai @ 2024-06-06 15:09 UTC (permalink / raw)
  To: Chris Morgan
  Cc: linux-sunxi, linux-clk, devicetree, linux-iio, p.zabel, sboyd,
	mturquette, samuel, jernej.skrabec, conor+dt, krzk+dt, robh,
	Chris Morgan

On Thu, Jun 6, 2024 at 1:20 AM Chris Morgan <macroalpha82@gmail.com> wrote:
>
> From: Chris Morgan <macromorgan@hotmail.com>
>
> Add support for the general purpose analog-to-digital converter (GPADC)
> for the Allwinner H616 SoC to support the ADC joysticks as found on the
> Anbernic RG35XX-H.
>
> Changes since V1:
>  - Split dt-binding include additions to a separate patch.
>  - Removed patch adding compatible string as it was already upstreamed.
>  - Added patch to add the adc-joystick function to the RG35XX-H.

Please carry relevant Reviewed-by and other tags forward.

ChenYu

> Chris Morgan (4):
>   dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
>   clk: sunxi-ng: h616: Add clock/reset for GPADC
>   arm64: dts: allwinner: h616: Add GPADC device node
>   arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks
>
>  .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 11 +++
>  .../sun50i-h700-anbernic-rg35xx-h.dts         | 79 +++++++++++++++++++
>  drivers/clk/sunxi-ng/ccu-sun50i-h616.c        |  5 ++
>  drivers/clk/sunxi-ng/ccu-sun50i-h616.h        |  2 +-
>  include/dt-bindings/clock/sun50i-h616-ccu.h   |  1 +
>  include/dt-bindings/reset/sun50i-h616-ccu.h   |  1 +
>  6 files changed, 98 insertions(+), 1 deletion(-)
>
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: (subset) [PATCH V2 0/4] Add GPADC for Allwinner H616
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
                   ` (4 preceding siblings ...)
  2024-06-06 15:09 ` [PATCH V2 0/4] Add GPADC for Allwinner H616 Chen-Yu Tsai
@ 2024-06-22 12:20 ` Chen-Yu Tsai
  2024-06-22 12:20 ` Chen-Yu Tsai
  2024-06-22 12:22 ` Chen-Yu Tsai
  7 siblings, 0 replies; 10+ messages in thread
From: Chen-Yu Tsai @ 2024-06-22 12:20 UTC (permalink / raw)
  To: linux-sunxi, Chris Morgan
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, conor+dt, krzk+dt, robh, Chris Morgan

On Wed, 05 Jun 2024 12:20:45 -0500, Chris Morgan wrote:
> Add support for the general purpose analog-to-digital converter (GPADC)
> for the Allwinner H616 SoC to support the ADC joysticks as found on the
> Anbernic RG35XX-H.
> 
> Changes since V1:
>  - Split dt-binding include additions to a separate patch.
>  - Removed patch adding compatible string as it was already upstreamed.
>  - Added patch to add the adc-joystick function to the RG35XX-H.
> 
> [...]

Applied to sunxi/shared-clk-ids-for-6.11 in sunxi/linux.git, thanks!

[1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks
      https://git.kernel.org/sunxi/linux/c/532857c2a76b

Best regards,
-- 
Chen-Yu Tsai <wens@csie.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: (subset) [PATCH V2 0/4] Add GPADC for Allwinner H616
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
                   ` (5 preceding siblings ...)
  2024-06-22 12:20 ` (subset) " Chen-Yu Tsai
@ 2024-06-22 12:20 ` Chen-Yu Tsai
  2024-06-22 12:22 ` Chen-Yu Tsai
  7 siblings, 0 replies; 10+ messages in thread
From: Chen-Yu Tsai @ 2024-06-22 12:20 UTC (permalink / raw)
  To: linux-sunxi, Chris Morgan
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, conor+dt, krzk+dt, robh, Chris Morgan

On Wed, 05 Jun 2024 12:20:45 -0500, Chris Morgan wrote:
> Add support for the general purpose analog-to-digital converter (GPADC)
> for the Allwinner H616 SoC to support the ADC joysticks as found on the
> Anbernic RG35XX-H.
> 
> Changes since V1:
>  - Split dt-binding include additions to a separate patch.
>  - Removed patch adding compatible string as it was already upstreamed.
>  - Added patch to add the adc-joystick function to the RG35XX-H.
> 
> [...]

Applied to sunxi/clk-for-6.11 in sunxi/linux.git, thanks!

[2/4] clk: sunxi-ng: h616: Add clock/reset for GPADC
      https://git.kernel.org/sunxi/linux/c/002cf0dfa201

Best regards,
-- 
Chen-Yu Tsai <wens@csie.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: (subset) [PATCH V2 0/4] Add GPADC for Allwinner H616
  2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
                   ` (6 preceding siblings ...)
  2024-06-22 12:20 ` Chen-Yu Tsai
@ 2024-06-22 12:22 ` Chen-Yu Tsai
  7 siblings, 0 replies; 10+ messages in thread
From: Chen-Yu Tsai @ 2024-06-22 12:22 UTC (permalink / raw)
  To: linux-sunxi, Chris Morgan
  Cc: linux-clk, devicetree, linux-iio, p.zabel, sboyd, mturquette,
	samuel, jernej.skrabec, conor+dt, krzk+dt, robh, Chris Morgan

On Wed, 05 Jun 2024 12:20:45 -0500, Chris Morgan wrote:
> Add support for the general purpose analog-to-digital converter (GPADC)
> for the Allwinner H616 SoC to support the ADC joysticks as found on the
> Anbernic RG35XX-H.
> 
> Changes since V1:
>  - Split dt-binding include additions to a separate patch.
>  - Removed patch adding compatible string as it was already upstreamed.
>  - Added patch to add the adc-joystick function to the RG35XX-H.
> 
> [...]

Applied to sunxi/dt-for-6.11 in sunxi/linux.git, thanks!

[3/4] arm64: dts: allwinner: h616: Add GPADC device node
      https://git.kernel.org/sunxi/linux/c/59678cc9cc54
[4/4] arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks
      https://git.kernel.org/sunxi/linux/c/e41e5973bf45

Best regards,
-- 
Chen-Yu Tsai <wens@csie.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-06-22 12:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 17:20 [PATCH V2 0/4] Add GPADC for Allwinner H616 Chris Morgan
2024-06-05 17:20 ` [PATCH V2 1/4] dt-bindings: clock: sun50i-h616-ccu: Add GPADC clocks Chris Morgan
2024-06-05 17:59   ` Conor Dooley
2024-06-05 17:20 ` [PATCH V2 2/4] clk: sunxi-ng: h616: Add clock/reset for GPADC Chris Morgan
2024-06-05 17:20 ` [PATCH V2 3/4] arm64: dts: allwinner: h616: Add GPADC device node Chris Morgan
2024-06-05 17:20 ` [PATCH V2 4/4] arm64: dts: allwinner: anbernic-rg35xx-h: Add ADC joysticks Chris Morgan
2024-06-06 15:09 ` [PATCH V2 0/4] Add GPADC for Allwinner H616 Chen-Yu Tsai
2024-06-22 12:20 ` (subset) " Chen-Yu Tsai
2024-06-22 12:20 ` Chen-Yu Tsai
2024-06-22 12:22 ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).