ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
Subsystems (3)
PATCH 1/3 ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
The Auxtek-T003 HDMI stick is an A10s based HDMI stick with USB wifi, and composite video out support.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts | 159 +++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) create mode 100644 arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -563,6 +563,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \ sun4i-a10-olinuxino-lime.dtb \ sun4i-a10-pcduino.dtb dtb-$(CONFIG_MACH_SUN5I) += \ + sun5i-a10s-auxtek-t003.dtb \ sun5i-a10s-auxtek-t004.dtb \ sun5i-a10s-mk802.dtb \ sun5i-a10s-olinuxino-micro.dtb \
arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts new file +159 -0
159 lines not on this page · raw message
Signature · 1 line
2.4.3
PATCH 2/3 ARM: dts: sun6i: Turn on gmac on Colombus
We've everything we need to support the gmac on Colombus, turn it on.
--- arch/arm/boot/dts/sun6i-a31-colombus.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/sun6i-a31-colombus.dts +12 -0
@@ -66,6 +66,18 @@ status = "okay"; }; +&gmac { + pinctrl-names = "default"; + pinctrl-0 = <&gmac_pins_rgmii_a>; + phy = <&phy1>; + phy-mode = "rgmii"; + status = "okay"; + + phy1: ethernet-phy at 1 { + reg = <1>; + }; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>;
Signature · 1 line
2.4.3
PATCH 2/3 ARM: dts: sun6i: Turn on gmac on Colombus
Quoted 3 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>
I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150819/03e65392/attachment.sig>
[linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
Quoted 8 lines · Maxime Ripard
Quoted 3 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
I sort of remember that as well.
FYI i have a patch to add axp221.dtsi, though I haven't converted the hummingbird dts yet.
ChenYu
PATCH 2/3 ARM: dts: sun6i: Turn on gmac on Colombus
In reply to Maxime RipardHi,
Quoted 8 lines · Maxime Ripard
Quoted 3 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
I think it just works, it MAY be connected to aldo1 but according to the git history for the u-boot defconfig that one is used for wifi not for the gmac, and we do not enable any other "spare" regulators in the u-boot config.
I do not have any schematics, so no way to say for sure.
I can confirm that the GMAC work fine with the latest u-boot master. Looking in the history we've always enabled ALDO1 on the Colombus in upstream u-boot, so this should all just work.
Regards,
Hans
[linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
Quoted 21 lines · Hans de Goede
Hi,
Quoted 11 lines · Maxime Ripard
Quoted 4 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
I think it just works, it MAY be connected to aldo1 but according to the git history for the u-boot defconfig that one is used for wifi not for the gmac, and we do not enable any other "spare" regulators in the u-boot config.
Quoted 5 lines
I do not have any schematics, so no way to say for sure.
I can confirm that the GMAC work fine with the latest u-boot master. Looking in the history we've always enabled ALDO1 on the Colombus in upstream u-boot, so this should all just work.
Could you test it with ALDO1 disabled in U-boot? That should give us an answer.
ChenYu
PATCH 2/3 ARM: dts: sun6i: Turn on gmac on Colombus
In reply to Hans de GoedeQuoted 17 lines · Hans de Goede
Hi,
Quoted 8 lines · Maxime Ripard
Quoted 3 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
I think it just works, it MAY be connected to aldo1 but according to the git history for the u-boot defconfig that one is used for wifi not for the gmac, and we do not enable any other "spare" regulators in the u-boot config.
Quoted 5 lines
I do not have any schematics, so no way to say for sure.
I can confirm that the GMAC work fine with the latest u-boot master. Looking in the history we've always enabled ALDO1 on the Colombus in upstream u-boot, so this should all just work.
Except that if it is the case, the DT was working fine with the stock bootloader, and it doesn't anymore, while we have no way to upgrade it.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150821/844b98f9/attachment.sig>
PATCH 2/3 ARM: dts: sun6i: Turn on gmac on Colombus
Hi,
Quoted 20 lines · Maxime Ripard
Quoted 19 lines · Hans de Goede
Hi,
Quoted 8 lines · Maxime Ripard
Quoted 3 lines · Hans de Goede
We've everything we need to support the gmac on Colombus, turn it on.
Signed-off-by Hans de Goede <[email protected]>I recall that the phy was powered by one of the AXP221 regulators, does it require some additional stuff (like a recent u-boot), or does it just work and my memory is bad :) ?
I think it just works, it MAY be connected to aldo1 but according to the git history for the u-boot defconfig that one is used for wifi not for the gmac, and we do not enable any other "spare" regulators in the u-boot config.
I do not have any schematics, so no way to say for sure.
Quoted 7 lines
Quoted 3 lines
I can confirm that the GMAC work fine with the latest u-boot master. Looking in the history we've always enabled ALDO1 on the Colombus in upstream u-boot, so this should all just work.
Except that if it is the case, the DT was working fine with the stock bootloader, and it doesn't anymore, while we have no way to upgrade it.
Ok, I've finally made some time to test this, the gmac works fine with aldo1 disabled, so I believe this patch can be merged as is.
Regards,
Hans
PATCH 3/3 ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD
In reply to Hans de GoedeThe Colombus development kit uses an optional 2048x1536 edp panel using an anx9804 parallel lcd to edp convertor. The anx9804 chip is controlled via an i2c bus which is connected to 2 regular gpio pins.
--- arch/arm/boot/dts/sun6i-a31-colombus.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
arch/arm/boot/dts/sun6i-a31-colombus.dts +17 -0
@@ -60,6 +60,16 @@ chosen { stdout-path = "serial0:115200n8"; }; + + i2c_lcd: i2c at 0 { + /* The lcd panel i2c interface is hooked up via gpios */ + compatible = "i2c-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c_lcd_pins>; + gpios = <&pio 0 23 GPIO_ACTIVE_HIGH>, /* PA23, sda */ + <&pio 0 24 GPIO_ACTIVE_HIGH>; /* PA24, scl */ + i2c-gpio,delay-us = <5>; + }; }; &ehci1 {
@@ -124,6 +134,13 @@ allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; }; + + i2c_lcd_pins: i2c_lcd_pin at 0 { + allwinner,pins = "PA23", "PA24"; + allwinner,function = "gpio_out"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + }; }; ®_usb2_vbus {
Signature · 1 line
2.4.3
PATCH 3/3 ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD
Quoted 5 lines · Hans de Goede
The Colombus development kit uses an optional 2048x1536 edp panel using an anx9804 parallel lcd to edp convertor. The anx9804 chip is controlled via an i2c bus which is connected to 2 regular gpio pins.
Signed-off-by Hans de Goede <[email protected]>
Fixed the checkpatch warning (convertor vs converter) and queued, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150819/67817c7d/attachment.sig>
Maxime Ripard
AppliedPATCH 1/3 ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
In reply to Hans de GoedeQuoted 4 lines · Hans de Goede
The Auxtek-T003 HDMI stick is an A10s based HDMI stick with USB wifi, and composite video out support.
Signed-off-by Hans de Goede <[email protected]>
Applied, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150824/ece8275d/attachment.sig>