* Re: [PATCH v2 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20
[not found] ` <20230617205624.1178427-1-julian.ribbeck@gmx.de>
@ 2023-09-27 21:19 ` Samuel Holland
2023-09-28 16:57 ` [PATCH v3 " Julian Ribbeck
0 siblings, 1 reply; 8+ messages in thread
From: Samuel Holland @ 2023-09-27 21:19 UTC (permalink / raw)
To: Julian Ribbeck
Cc: conor+dt, devicetree, linux-kernel, robh+dt, Chen-Yu Tsai,
Jernej Skrabec, linux-sunxi, linux-arm-kernel,
krzysztof.kozlowski
Hi Julian,
Next time please CC everyone reported by scripts/get_maintainer.pl on
this file, so we are aware of your patch.
On 6/17/23 15:55, Julian Ribbeck wrote:
> Iteaduino Plus A20 is very similar to Iteaduino Plus A10. In fact it
> shares the same breakout board and the Itead Core A20 on top of it, is
> only adapted to support the dual-core A20.
>
> This commits enables the following hardware:
>
> * HDMI Video output
> * USB
> * SATA (untested due to lack of hardware I could attach)
> * Ethernet
> * MMC storage
> * UART
> * USB OTG (untested, because I don't own an USB OTG cable/device)
>
> Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
> ---
> arch/arm/boot/dts/Makefile | 1 +
> .../dts/sun7i-a20-itead-iteaduino-plus.dts | 114 ++++++++++++++++++
> 2 files changed, 115 insertions(+)
> create mode 100644 arch/arm/boot/dts/sun7i-a20-itead-iteaduino-plus.dts
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 59829fc90315..3b6e284e4472 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -1334,6 +1334,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
> sun7i-a20-haoyu-marsboard.dtb \
> sun7i-a20-hummingbird.dtb \
> sun7i-a20-itead-ibox.dtb \
> + sun7i-a20-itead-iteaduino-plus.dtb \
> sun7i-a20-i12-tvbox.dtb \
> sun7i-a20-icnova-swac.dtb \
> sun7i-a20-lamobo-r1.dtb \
> diff --git a/arch/arm/boot/dts/sun7i-a20-itead-iteaduino-plus.dts b/arch/arm/boot/dts/sun7i-a20-itead-iteaduino-plus.dts
> new file mode 100644
ARM devicetrees were moved into subdirectories, so this patch will need
to be rebased.
> index 000000000000..204c5f2c81c7
> --- /dev/null
> +++ b/arch/arm/boot/dts/sun7i-a20-itead-iteaduino-plus.dts
> @@ -0,0 +1,114 @@
> +// SPDX-License-Identifier: (GPL-2.0+ or MIT)
> +
> +/dts-v1/;
> +#include "sun7i-a20.dtsi"
> +#include "sunxi-itead-core-common.dtsi"
> +#include "axp209.dtsi"
axp209.dtsi is already included by sunxi-itead-core-common.dtsi. You
don't need to include it again here.
> +
> +/ {
> + model = "Itead Iteaduino Plus A20";
> + compatible = "itead,iteaduino-plus-a20", "allwinner,sun7i-a20";
> +
> + hdmi-connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <&hdmi_out_con>;
> + };
> + };
> + };
> +};
> +
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> +&ahci {
> + target-supply = <®_ahci_5v>;
> + status = "okay";
> +};
> +
> +&axp209 {
> + interrupt-parent = <&nmi_intc>;
> + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> +};
> +
> +&battery_power_supply {
> + status = "okay";
> +};
> +
> +&codec {
> + stauts = "okay";
> +};
> +
> +&de {
> + status = "okay";
> +};
> +
> +&emac {
> + pinctrl-names = "default";
> + pinctrl-0 = <&emac_pa_pins>;
> + phy-handle = <&phy1>;
> + status = "okay";
> +};
> +
> +&emac_sram {
> + status = "okay";
> +};
> +
> +&hdmi {
> + status = "okay";
> +};
> +
> +&hdmi_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <&hdmi_con_in>;
> + };
> +};
> +
> +&mdio {
> + status = "okay";
> +
> + phy1: ethernet-phy@1 {
> + reg = <1>;
> + };
> +};
> +
> +&mmc0 {
> + vmmc-supply = <®_vcc3v3>;
> + bus-width = <4>;
> + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
> + status = "okay";
> +};
> +
> +
> +&otg_sram {
> + status = "okay";
> +};
> +
> +®_ahci_5v {
> + status = "okay";
> +};
> +
> +
Extra blank line here and above otg_sram.
> +®_usb0_vbus {
> + status = "okay";
> +};
> +
> +&usb_otg {
> + status = "okay";
> + dr_mode = "otg";
The mini-USB port is always powered, and the ID pin isn't hooked up in a
usable way, so this should be "host".
> +};
> +
> +&usb_power_supply {
> + status = "okay";
> +};
The board's power supply is only connected to the ACIN pins of the
AXP209, not the USBVBUS pin (which is pulled to 3.3V for some reason).
So usb_power_supply should not be enabled or used below.
> +
> +&usbphy {
> + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */
The ID pin is connected to N_VBUSEN on the PMIC, not this GPIO. Per the
schematic, this GPIO is not connected to anything.
> + usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH5 */
Per the schematic, this GPIO is not connected to anything.
> + usb0_vbus_power-supply = <&usb_power_supply>;
As explained above, please remove this property.
Regards,
Samuel
> + usb0_vbus-supply = <®_usb0_vbus>;
> +};
> --
> 2.41.0
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20
2023-09-27 21:19 ` [PATCH v2 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Samuel Holland
@ 2023-09-28 16:57 ` Julian Ribbeck
2023-09-28 16:57 ` [PATCH v3 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
0 siblings, 1 reply; 8+ messages in thread
From: Julian Ribbeck @ 2023-09-28 16:57 UTC (permalink / raw)
To: samuel
Cc: conor+dt, devicetree, wens, jernej.skrabec, julian.ribbeck,
linux-arm-kernel, linux-kernel, linux-sunxi, robh+dt
Iteaduino Plus A20 is very similar to Iteaduino Plus A10. In fact it
shares the same breakout board and the Itead Core A20 on top of it, is
only adapted to support the dual-core A20.
This commits enables the following hardware:
* HDMI Video output
* USB
* SATA (untested due to lack of hardware I could attach)
* Ethernet
* MMC storage
* UART
* USB OTG (untested, because I don't own an USB OTG cable/device)
Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
---
arch/arm/boot/dts/allwinner/Makefile | 1 +
.../sun7i-a20-itead-iteaduino-plus.dts | 104 ++++++++++++++++++
2 files changed, 105 insertions(+)
create mode 100644 arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
index eebb5a0c873a..39af5ad94590 100644
--- a/arch/arm/boot/dts/allwinner/Makefile
+++ b/arch/arm/boot/dts/allwinner/Makefile
@@ -124,6 +124,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-haoyu-marsboard.dtb \
sun7i-a20-hummingbird.dtb \
sun7i-a20-itead-ibox.dtb \
+ sun7i-a20-itead-iteaduino-plus.dts \
sun7i-a20-i12-tvbox.dtb \
sun7i-a20-icnova-a20-adb4006.dtb \
sun7i-a20-icnova-swac.dtb \
diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
new file mode 100644
index 000000000000..c9f9b0275381
--- /dev/null
+++ b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+
+/dts-v1/;
+#include "sun7i-a20.dtsi"
+#include "sunxi-itead-core-common.dtsi"
+
+/ {
+ model = "Itead Iteaduino Plus A20";
+ compatible = "itead,iteaduino-plus-a20", "allwinner,sun7i-a20";
+
+ hdmi-connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+};
+
+&ac_power_supply {
+ status = "okay";
+};
+
+&ahci {
+ target-supply = <®_ahci_5v>;
+ status = "okay";
+};
+
+&axp209 {
+ interrupt-parent = <&nmi_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
+&codec {
+ stauts = "okay";
+};
+
+&de {
+ status = "okay";
+};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_pa_pins>;
+ phy-handle = <&phy1>;
+ status = "okay";
+};
+
+&emac_sram {
+ status = "okay";
+};
+
+&hdmi {
+ status = "okay";
+};
+
+&hdmi_out {
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+};
+
+&mdio {
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
+&mmc0 {
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <4>;
+ cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
+ status = "okay";
+};
+
+&otg_sram {
+ status = "okay";
+};
+
+®_ahci_5v {
+ status = "okay";
+};
+
+®_usb0_vbus {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+ dr_mode = "host";
+};
+
+&usbphy {
+ usb0_vbus-supply = <®_usb0_vbus>;
+};
--
2.42.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v3 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20
2023-09-28 16:57 ` [PATCH v3 " Julian Ribbeck
@ 2023-09-28 16:57 ` Julian Ribbeck
2023-09-29 14:20 ` Conor Dooley
0 siblings, 1 reply; 8+ messages in thread
From: Julian Ribbeck @ 2023-09-28 16:57 UTC (permalink / raw)
To: samuel
Cc: conor+dt, devicetree, wens, jernej.skrabec, julian.ribbeck,
linux-arm-kernel, linux-kernel, linux-sunxi, robh+dt
Add itead,iteaduino-plus-a20 bindings
Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index e4dd678f4212..25251ce4b60d 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -362,6 +362,11 @@ properties:
- const: itead,iteaduino-plus-a10
- const: allwinner,sun4i-a10
+ - description: Itead Iteaduino Plus A20
+ items:
+ - const: itead,iteaduino-plus-a20
+ - const: allwinner,sun7i-a20
+
- description: Jesurun Q5
items:
- const: jesurun,q5
--
2.42.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v3 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20
2023-09-28 16:57 ` [PATCH v3 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
@ 2023-09-29 14:20 ` Conor Dooley
2023-10-06 9:01 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Julian Ribbeck
0 siblings, 1 reply; 8+ messages in thread
From: Conor Dooley @ 2023-09-29 14:20 UTC (permalink / raw)
To: Julian Ribbeck
Cc: samuel, conor+dt, devicetree, wens, jernej.skrabec,
linux-arm-kernel, linux-kernel, linux-sunxi, robh+dt
[-- Attachment #1.1: Type: text/plain, Size: 1166 bytes --]
On Thu, Sep 28, 2023 at 06:57:02PM +0200, Julian Ribbeck wrote:
> Add itead,iteaduino-plus-a20 bindings
>
> Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
FYI, you missed a tag from Krzysztof
| Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
from https://lore.kernel.org/all/20230617205624.1178427-2-julian.ribbeck@gmx.de/
Cheers,
Conor.
> ---
> Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
> index e4dd678f4212..25251ce4b60d 100644
> --- a/Documentation/devicetree/bindings/arm/sunxi.yaml
> +++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
> @@ -362,6 +362,11 @@ properties:
> - const: itead,iteaduino-plus-a10
> - const: allwinner,sun4i-a10
>
> + - description: Itead Iteaduino Plus A20
> + items:
> + - const: itead,iteaduino-plus-a20
> + - const: allwinner,sun7i-a20
> +
> - description: Jesurun Q5
> items:
> - const: jesurun,q5
> --
> 2.42.0
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20
2023-09-29 14:20 ` Conor Dooley
@ 2023-10-06 9:01 ` Julian Ribbeck
2023-10-06 9:01 ` [PATCH v4 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
2023-10-13 19:18 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Jernej Škrabec
0 siblings, 2 replies; 8+ messages in thread
From: Julian Ribbeck @ 2023-10-06 9:01 UTC (permalink / raw)
To: conor
Cc: conor+dt, devicetree, jernej.skrabec, julian.ribbeck,
linux-arm-kernel, linux-kernel, linux-sunxi, robh+dt, samuel,
wens
Iteaduino Plus A20 is very similar to Iteaduino Plus A10. In fact it
shares the same breakout board and the Itead Core A20 on top of it, is
only adapted to support the dual-core A20.
This commits enables the following hardware:
* HDMI Video output
* USB
* SATA (untested due to lack of hardware I could attach)
* Ethernet
* MMC storage
* UART
* USB OTG (untested, because I don't own an USB OTG cable/device)
Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
---
arch/arm/boot/dts/allwinner/Makefile | 1 +
.../sun7i-a20-itead-iteaduino-plus.dts | 104 ++++++++++++++++++
2 files changed, 105 insertions(+)
create mode 100644 arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
index eebb5a0c873a..39af5ad94590 100644
--- a/arch/arm/boot/dts/allwinner/Makefile
+++ b/arch/arm/boot/dts/allwinner/Makefile
@@ -124,6 +124,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-haoyu-marsboard.dtb \
sun7i-a20-hummingbird.dtb \
sun7i-a20-itead-ibox.dtb \
+ sun7i-a20-itead-iteaduino-plus.dts \
sun7i-a20-i12-tvbox.dtb \
sun7i-a20-icnova-a20-adb4006.dtb \
sun7i-a20-icnova-swac.dtb \
diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
new file mode 100644
index 000000000000..c9f9b0275381
--- /dev/null
+++ b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
@@ -0,0 +1,104 @@
+// SPDX-License-Identifier: (GPL-2.0+ or MIT)
+
+/dts-v1/;
+#include "sun7i-a20.dtsi"
+#include "sunxi-itead-core-common.dtsi"
+
+/ {
+ model = "Itead Iteaduino Plus A20";
+ compatible = "itead,iteaduino-plus-a20", "allwinner,sun7i-a20";
+
+ hdmi-connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_con_in: endpoint {
+ remote-endpoint = <&hdmi_out_con>;
+ };
+ };
+ };
+};
+
+&ac_power_supply {
+ status = "okay";
+};
+
+&ahci {
+ target-supply = <®_ahci_5v>;
+ status = "okay";
+};
+
+&axp209 {
+ interrupt-parent = <&nmi_intc>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+};
+
+&battery_power_supply {
+ status = "okay";
+};
+
+&codec {
+ stauts = "okay";
+};
+
+&de {
+ status = "okay";
+};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_pa_pins>;
+ phy-handle = <&phy1>;
+ status = "okay";
+};
+
+&emac_sram {
+ status = "okay";
+};
+
+&hdmi {
+ status = "okay";
+};
+
+&hdmi_out {
+ hdmi_out_con: endpoint {
+ remote-endpoint = <&hdmi_con_in>;
+ };
+};
+
+&mdio {
+ status = "okay";
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
+&mmc0 {
+ vmmc-supply = <®_vcc3v3>;
+ bus-width = <4>;
+ cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
+ status = "okay";
+};
+
+&otg_sram {
+ status = "okay";
+};
+
+®_ahci_5v {
+ status = "okay";
+};
+
+®_usb0_vbus {
+ status = "okay";
+};
+
+&usb_otg {
+ status = "okay";
+ dr_mode = "host";
+};
+
+&usbphy {
+ usb0_vbus-supply = <®_usb0_vbus>;
+};
--
2.42.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v4 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20
2023-10-06 9:01 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Julian Ribbeck
@ 2023-10-06 9:01 ` Julian Ribbeck
2023-10-13 19:18 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Jernej Škrabec
1 sibling, 0 replies; 8+ messages in thread
From: Julian Ribbeck @ 2023-10-06 9:01 UTC (permalink / raw)
To: conor
Cc: conor+dt, devicetree, jernej.skrabec, julian.ribbeck,
linux-arm-kernel, linux-kernel, linux-sunxi, robh+dt, samuel,
wens, Krzysztof Kozlowski
Add itead,iteaduino-plus-a20 bindings
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
---
Documentation/devicetree/bindings/arm/sunxi.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/sunxi.yaml b/Documentation/devicetree/bindings/arm/sunxi.yaml
index e4dd678f4212..25251ce4b60d 100644
--- a/Documentation/devicetree/bindings/arm/sunxi.yaml
+++ b/Documentation/devicetree/bindings/arm/sunxi.yaml
@@ -362,6 +362,11 @@ properties:
- const: itead,iteaduino-plus-a10
- const: allwinner,sun4i-a10
+ - description: Itead Iteaduino Plus A20
+ items:
+ - const: itead,iteaduino-plus-a20
+ - const: allwinner,sun7i-a20
+
- description: Jesurun Q5
items:
- const: jesurun,q5
--
2.42.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20
2023-10-06 9:01 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Julian Ribbeck
2023-10-06 9:01 ` [PATCH v4 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
@ 2023-10-13 19:18 ` Jernej Škrabec
2023-10-13 19:21 ` Jernej Škrabec
1 sibling, 1 reply; 8+ messages in thread
From: Jernej Škrabec @ 2023-10-13 19:18 UTC (permalink / raw)
To: conor, Julian Ribbeck
Cc: conor+dt, devicetree, julian.ribbeck, linux-arm-kernel,
linux-kernel, linux-sunxi, robh+dt, samuel, wens
Dne petek, 06. oktober 2023 ob 11:01:30 CEST je Julian Ribbeck napisal(a):
> Iteaduino Plus A20 is very similar to Iteaduino Plus A10. In fact it
> shares the same breakout board and the Itead Core A20 on top of it, is
> only adapted to support the dual-core A20.
>
> This commits enables the following hardware:
>
> * HDMI Video output
> * USB
> * SATA (untested due to lack of hardware I could attach)
> * Ethernet
> * MMC storage
> * UART
> * USB OTG (untested, because I don't own an USB OTG cable/device)
>
> Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
> ---
> arch/arm/boot/dts/allwinner/Makefile | 1 +
> .../sun7i-a20-itead-iteaduino-plus.dts | 104 ++++++++++++++++++
> 2 files changed, 105 insertions(+)
> create mode 100644 arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
>
> diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
> index eebb5a0c873a..39af5ad94590 100644
> --- a/arch/arm/boot/dts/allwinner/Makefile
> +++ b/arch/arm/boot/dts/allwinner/Makefile
> @@ -124,6 +124,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
> sun7i-a20-haoyu-marsboard.dtb \
> sun7i-a20-hummingbird.dtb \
> sun7i-a20-itead-ibox.dtb \
> + sun7i-a20-itead-iteaduino-plus.dts \
This should be .dtb.
Other than that:
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
I'll fix it while applying.
For future reference, please follow proper patch submission procedure:
- each revision should be sent in separate thread
- each new revision should contain changelog, either in cover letter (when
there is more than one patch) or below --- line in each patch
- compatible description patch comes before first usage (I'll invert order
when applying)
Best regards,
Jernej
> sun7i-a20-i12-tvbox.dtb \
> sun7i-a20-icnova-a20-adb4006.dtb \
> sun7i-a20-icnova-swac.dtb \
> diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
> new file mode 100644
> index 000000000000..c9f9b0275381
> --- /dev/null
> +++ b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
> @@ -0,0 +1,104 @@
> +// SPDX-License-Identifier: (GPL-2.0+ or MIT)
> +
> +/dts-v1/;
> +#include "sun7i-a20.dtsi"
> +#include "sunxi-itead-core-common.dtsi"
> +
> +/ {
> + model = "Itead Iteaduino Plus A20";
> + compatible = "itead,iteaduino-plus-a20", "allwinner,sun7i-a20";
> +
> + hdmi-connector {
> + compatible = "hdmi-connector";
> + type = "a";
> +
> + port {
> + hdmi_con_in: endpoint {
> + remote-endpoint = <&hdmi_out_con>;
> + };
> + };
> + };
> +};
> +
> +&ac_power_supply {
> + status = "okay";
> +};
> +
> +&ahci {
> + target-supply = <®_ahci_5v>;
> + status = "okay";
> +};
> +
> +&axp209 {
> + interrupt-parent = <&nmi_intc>;
> + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> +};
> +
> +&battery_power_supply {
> + status = "okay";
> +};
> +
> +&codec {
> + stauts = "okay";
> +};
> +
> +&de {
> + status = "okay";
> +};
> +
> +&emac {
> + pinctrl-names = "default";
> + pinctrl-0 = <&emac_pa_pins>;
> + phy-handle = <&phy1>;
> + status = "okay";
> +};
> +
> +&emac_sram {
> + status = "okay";
> +};
> +
> +&hdmi {
> + status = "okay";
> +};
> +
> +&hdmi_out {
> + hdmi_out_con: endpoint {
> + remote-endpoint = <&hdmi_con_in>;
> + };
> +};
> +
> +&mdio {
> + status = "okay";
> +
> + phy1: ethernet-phy@1 {
> + reg = <1>;
> + };
> +};
> +
> +&mmc0 {
> + vmmc-supply = <®_vcc3v3>;
> + bus-width = <4>;
> + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
> + status = "okay";
> +};
> +
> +&otg_sram {
> + status = "okay";
> +};
> +
> +®_ahci_5v {
> + status = "okay";
> +};
> +
> +®_usb0_vbus {
> + status = "okay";
> +};
> +
> +&usb_otg {
> + status = "okay";
> + dr_mode = "host";
> +};
> +
> +&usbphy {
> + usb0_vbus-supply = <®_usb0_vbus>;
> +};
> --
> 2.42.0
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20
2023-10-13 19:18 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Jernej Škrabec
@ 2023-10-13 19:21 ` Jernej Škrabec
0 siblings, 0 replies; 8+ messages in thread
From: Jernej Škrabec @ 2023-10-13 19:21 UTC (permalink / raw)
To: conor, Julian Ribbeck
Cc: conor+dt, devicetree, julian.ribbeck, linux-arm-kernel,
linux-kernel, linux-sunxi, robh+dt, samuel, wens
Dne petek, 13. oktober 2023 ob 21:18:00 CEST je Jernej Škrabec napisal(a):
> Dne petek, 06. oktober 2023 ob 11:01:30 CEST je Julian Ribbeck napisal(a):
> > Iteaduino Plus A20 is very similar to Iteaduino Plus A10. In fact it
> > shares the same breakout board and the Itead Core A20 on top of it, is
> > only adapted to support the dual-core A20.
> >
> > This commits enables the following hardware:
> >
> > * HDMI Video output
> > * USB
> > * SATA (untested due to lack of hardware I could attach)
> > * Ethernet
> > * MMC storage
> > * UART
> > * USB OTG (untested, because I don't own an USB OTG cable/device)
> >
> > Signed-off-by: Julian Ribbeck <julian.ribbeck@gmx.de>
> > ---
> > arch/arm/boot/dts/allwinner/Makefile | 1 +
> > .../sun7i-a20-itead-iteaduino-plus.dts | 104 ++++++++++++++++++
> > 2 files changed, 105 insertions(+)
> > create mode 100644 arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
> >
> > diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
> > index eebb5a0c873a..39af5ad94590 100644
> > --- a/arch/arm/boot/dts/allwinner/Makefile
> > +++ b/arch/arm/boot/dts/allwinner/Makefile
> > @@ -124,6 +124,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
> > sun7i-a20-haoyu-marsboard.dtb \
> > sun7i-a20-hummingbird.dtb \
> > sun7i-a20-itead-ibox.dtb \
> > + sun7i-a20-itead-iteaduino-plus.dts \
>
> This should be .dtb.
>
> Other than that:
> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
>
> I'll fix it while applying.
>
> For future reference, please follow proper patch submission procedure:
> - each revision should be sent in separate thread
> - each new revision should contain changelog, either in cover letter (when
> there is more than one patch) or below --- line in each patch
> - compatible description patch comes before first usage (I'll invert order
> when applying)
Sorry, I won't apply it as yet. How was this tested if it didn't even built due
to mistake in Makefile?
Best regards,
Jernej
>
> Best regards,
> Jernej
>
> > sun7i-a20-i12-tvbox.dtb \
> > sun7i-a20-icnova-a20-adb4006.dtb \
> > sun7i-a20-icnova-swac.dtb \
> > diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
> > new file mode 100644
> > index 000000000000..c9f9b0275381
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/allwinner/sun7i-a20-itead-iteaduino-plus.dts
> > @@ -0,0 +1,104 @@
> > +// SPDX-License-Identifier: (GPL-2.0+ or MIT)
> > +
> > +/dts-v1/;
> > +#include "sun7i-a20.dtsi"
> > +#include "sunxi-itead-core-common.dtsi"
> > +
> > +/ {
> > + model = "Itead Iteaduino Plus A20";
> > + compatible = "itead,iteaduino-plus-a20", "allwinner,sun7i-a20";
> > +
> > + hdmi-connector {
> > + compatible = "hdmi-connector";
> > + type = "a";
> > +
> > + port {
> > + hdmi_con_in: endpoint {
> > + remote-endpoint = <&hdmi_out_con>;
> > + };
> > + };
> > + };
> > +};
> > +
> > +&ac_power_supply {
> > + status = "okay";
> > +};
> > +
> > +&ahci {
> > + target-supply = <®_ahci_5v>;
> > + status = "okay";
> > +};
> > +
> > +&axp209 {
> > + interrupt-parent = <&nmi_intc>;
> > + interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
> > +};
> > +
> > +&battery_power_supply {
> > + status = "okay";
> > +};
> > +
> > +&codec {
> > + stauts = "okay";
> > +};
> > +
> > +&de {
> > + status = "okay";
> > +};
> > +
> > +&emac {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&emac_pa_pins>;
> > + phy-handle = <&phy1>;
> > + status = "okay";
> > +};
> > +
> > +&emac_sram {
> > + status = "okay";
> > +};
> > +
> > +&hdmi {
> > + status = "okay";
> > +};
> > +
> > +&hdmi_out {
> > + hdmi_out_con: endpoint {
> > + remote-endpoint = <&hdmi_con_in>;
> > + };
> > +};
> > +
> > +&mdio {
> > + status = "okay";
> > +
> > + phy1: ethernet-phy@1 {
> > + reg = <1>;
> > + };
> > +};
> > +
> > +&mmc0 {
> > + vmmc-supply = <®_vcc3v3>;
> > + bus-width = <4>;
> > + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
> > + status = "okay";
> > +};
> > +
> > +&otg_sram {
> > + status = "okay";
> > +};
> > +
> > +®_ahci_5v {
> > + status = "okay";
> > +};
> > +
> > +®_usb0_vbus {
> > + status = "okay";
> > +};
> > +
> > +&usb_otg {
> > + status = "okay";
> > + dr_mode = "host";
> > +};
> > +
> > +&usbphy {
> > + usb0_vbus-supply = <®_usb0_vbus>;
> > +};
> > --
> > 2.42.0
> >
> >
>
>
>
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-10-13 19:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <e0e71b0c-086d-ce54-f4d3-6f594d8e5da6@linaro.org>
[not found] ` <20230617205624.1178427-1-julian.ribbeck@gmx.de>
2023-09-27 21:19 ` [PATCH v2 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Samuel Holland
2023-09-28 16:57 ` [PATCH v3 " Julian Ribbeck
2023-09-28 16:57 ` [PATCH v3 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
2023-09-29 14:20 ` Conor Dooley
2023-10-06 9:01 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Julian Ribbeck
2023-10-06 9:01 ` [PATCH v4 2/2] dt-bindings: arm: sunxi: Add itead,iteaduino-plus-a20 Julian Ribbeck
2023-10-13 19:18 ` [PATCH v4 1/2] ARM: dts: sun7i: Add Iteaduino Plus A20 Jernej Škrabec
2023-10-13 19:21 ` Jernej Škrabec
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).