linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
@ 2015-08-07 15:22 Hans de Goede
  2015-08-07 15:22 ` [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Hans de Goede @ 2015-08-07 15:22 UTC (permalink / raw)
  To: linux-arm-kernel

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 <hdegoede@redhat.com>
---
 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

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 151a413..95daf91 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts b/arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts
new file mode 100644
index 0000000..d4ad021
--- /dev/null
+++ b/arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2015 Hans de Goede <hdegoede@redhat.com>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This file is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun5i-a10s.dtsi"
+#include "sunxi-common-regulators.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+/ {
+	model = "Auxtek t003 A10s hdmi tv-stick";
+	compatible = "allwinner,auxtek-t003", "allwinner,sun5i-a10s";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&led_pins_t003>;
+
+		red {
+			label = "t003-tv-dongle:red:usr";
+			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */
+			default-state = "on";
+		};
+	};
+};
+
+&ehci0 {
+	status = "okay";
+};
+
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins_a>;
+	status = "okay";
+
+	axp152: pmic at 30 {
+		compatible = "x-powers,axp152";
+		reg = <0x30>;
+		interrupts = <0>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+	};
+};
+
+&mmc0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t003>;
+	vmmc-supply = <&reg_vcc3v3>;
+	bus-width = <4>;
+	cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
+	cd-inverted;
+	status = "okay";
+};
+
+&ohci0 {
+	status = "okay";
+};
+
+&otg_sram {
+	status = "okay";
+};
+
+&pio {
+	mmc0_cd_pin_t003: mmc0_cd_pin at 0 {
+		allwinner,pins = "PG1";
+		allwinner,function = "gpio_in";
+		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	};
+
+	led_pins_t003: led_pins at 0 {
+		allwinner,pins = "PB2";
+		allwinner,function = "gpio_out";
+		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
+		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+	};
+};
+
+&reg_usb0_vbus {
+	gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
+	status = "okay";
+};
+
+&reg_usb1_vbus {
+	gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */
+	status = "okay";
+};
+
+&uart0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&uart0_pins_a>;
+	status = "okay";
+};
+
+&usb0_vbus_pin_a {
+	allwinner,pins = "PG13";
+};
+
+&usb1_vbus_pin_a {
+	allwinner,pins = "PB10";
+};
+
+&usb_otg {
+	dr_mode = "host";
+	status = "okay";
+};
+
+&usbphy {
+	usb0_vbus-supply = <&reg_usb0_vbus>;
+	usb1_vbus-supply = <&reg_usb1_vbus>;
+	status = "okay";
+};
-- 
2.4.3

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

* [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-07 15:22 [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Hans de Goede
@ 2015-08-07 15:22 ` Hans de Goede
  2015-08-19 15:17   ` Maxime Ripard
  2015-08-07 15:22 ` [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD Hans de Goede
  2015-08-24 11:16 ` [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Maxime Ripard
  2 siblings, 1 reply; 11+ messages in thread
From: Hans de Goede @ 2015-08-07 15:22 UTC (permalink / raw)
  To: linux-arm-kernel

We've everything we need to support the gmac on Colombus, turn it on.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts b/arch/arm/boot/dts/sun6i-a31-colombus.dts
index 0cf9926..0d0b6f2 100644
--- a/arch/arm/boot/dts/sun6i-a31-colombus.dts
+++ b/arch/arm/boot/dts/sun6i-a31-colombus.dts
@@ -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>;
-- 
2.4.3

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

* [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD
  2015-08-07 15:22 [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Hans de Goede
  2015-08-07 15:22 ` [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
@ 2015-08-07 15:22 ` Hans de Goede
  2015-08-19 15:10   ` Maxime Ripard
  2015-08-24 11:16 ` [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Maxime Ripard
  2 siblings, 1 reply; 11+ messages in thread
From: Hans de Goede @ 2015-08-07 15:22 UTC (permalink / raw)
  To: linux-arm-kernel

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 <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun6i-a31-colombus.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts b/arch/arm/boot/dts/sun6i-a31-colombus.dts
index 0d0b6f2..0e51249 100644
--- a/arch/arm/boot/dts/sun6i-a31-colombus.dts
+++ b/arch/arm/boot/dts/sun6i-a31-colombus.dts
@@ -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>;
+	};
 };
 
 &reg_usb2_vbus {
-- 
2.4.3

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

* [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD
  2015-08-07 15:22 ` [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD Hans de Goede
@ 2015-08-19 15:10   ` Maxime Ripard
  0 siblings, 0 replies; 11+ messages in thread
From: Maxime Ripard @ 2015-08-19 15:10 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 07, 2015 at 05:22:35PM +0200, Hans de Goede wrote:
> 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 <hdegoede@redhat.com>

Fixed the checkpatch warning (convertor vs converter) and queued,
thanks!

Maxime

-- 
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>

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

* [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-07 15:22 ` [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
@ 2015-08-19 15:17   ` Maxime Ripard
  2015-08-19 15:29     ` [linux-sunxi] " Chen-Yu Tsai
  2015-08-20  6:23     ` Hans de Goede
  0 siblings, 2 replies; 11+ messages in thread
From: Maxime Ripard @ 2015-08-19 15:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
> We've everything we need to support the gmac on Colombus, turn it on.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

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 :) ?

-- 
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>

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

* [linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-19 15:17   ` Maxime Ripard
@ 2015-08-19 15:29     ` Chen-Yu Tsai
  2015-08-20  6:23     ` Hans de Goede
  1 sibling, 0 replies; 11+ messages in thread
From: Chen-Yu Tsai @ 2015-08-19 15:29 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Aug 19, 2015 at 11:17 PM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
>> We've everything we need to support the gmac on Colombus, turn it on.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> 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

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

* [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-19 15:17   ` Maxime Ripard
  2015-08-19 15:29     ` [linux-sunxi] " Chen-Yu Tsai
@ 2015-08-20  6:23     ` Hans de Goede
  2015-08-20 14:54       ` [linux-sunxi] " Chen-Yu Tsai
  2015-08-20 22:12       ` Maxime Ripard
  1 sibling, 2 replies; 11+ messages in thread
From: Hans de Goede @ 2015-08-20  6:23 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 08/19/2015 05:17 PM, Maxime Ripard wrote:
> On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
>> We've everything we need to support the gmac on Colombus, turn it on.
>>
>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> 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

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

* [linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-20  6:23     ` Hans de Goede
@ 2015-08-20 14:54       ` Chen-Yu Tsai
  2015-08-20 22:12       ` Maxime Ripard
  1 sibling, 0 replies; 11+ messages in thread
From: Chen-Yu Tsai @ 2015-08-20 14:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 20, 2015 at 2:23 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
> On 08/19/2015 05:17 PM, Maxime Ripard wrote:
>>
>> On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
>>>
>>> We've everything we need to support the gmac on Colombus, turn it on.
>>>
>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>
>>
>> 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.

Could you test it with ALDO1 disabled in U-boot? That should give us
an answer.

ChenYu

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

* [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-20  6:23     ` Hans de Goede
  2015-08-20 14:54       ` [linux-sunxi] " Chen-Yu Tsai
@ 2015-08-20 22:12       ` Maxime Ripard
  2015-09-29 20:10         ` Hans de Goede
  1 sibling, 1 reply; 11+ messages in thread
From: Maxime Ripard @ 2015-08-20 22:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Aug 20, 2015 at 08:23:27AM +0200, Hans de Goede wrote:
> Hi,
> 
> On 08/19/2015 05:17 PM, Maxime Ripard wrote:
> >On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
> >>We've everything we need to support the gmac on Colombus, turn it on.
> >>
> >>Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> >
> >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.

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

-- 
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>

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

* [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick
  2015-08-07 15:22 [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Hans de Goede
  2015-08-07 15:22 ` [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
  2015-08-07 15:22 ` [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD Hans de Goede
@ 2015-08-24 11:16 ` Maxime Ripard
  2 siblings, 0 replies; 11+ messages in thread
From: Maxime Ripard @ 2015-08-24 11:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 07, 2015 at 05:22:33PM +0200, Hans de Goede wrote:
> 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 <hdegoede@redhat.com>

Applied, thanks!

Maxime

-- 
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>

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

* [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus
  2015-08-20 22:12       ` Maxime Ripard
@ 2015-09-29 20:10         ` Hans de Goede
  0 siblings, 0 replies; 11+ messages in thread
From: Hans de Goede @ 2015-09-29 20:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 08/21/2015 12:12 AM, Maxime Ripard wrote:
> On Thu, Aug 20, 2015 at 08:23:27AM +0200, Hans de Goede wrote:
>> Hi,
>>
>> On 08/19/2015 05:17 PM, Maxime Ripard wrote:
>>> On Fri, Aug 07, 2015 at 05:22:34PM +0200, Hans de Goede wrote:
>>>> We've everything we need to support the gmac on Colombus, turn it on.
>>>>
>>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>>
>>> 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.
>
> 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

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

end of thread, other threads:[~2015-09-29 20:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-07 15:22 [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Hans de Goede
2015-08-07 15:22 ` [PATCH 2/3] ARM: dts: sun6i: Turn on gmac on Colombus Hans de Goede
2015-08-19 15:17   ` Maxime Ripard
2015-08-19 15:29     ` [linux-sunxi] " Chen-Yu Tsai
2015-08-20  6:23     ` Hans de Goede
2015-08-20 14:54       ` [linux-sunxi] " Chen-Yu Tsai
2015-08-20 22:12       ` Maxime Ripard
2015-09-29 20:10         ` Hans de Goede
2015-08-07 15:22 ` [PATCH 3/3] ARM: dts: sun6i: Columbus: Add i2c controller for communicating with the LCD Hans de Goede
2015-08-19 15:10   ` Maxime Ripard
2015-08-24 11:16 ` [PATCH 1/3] ARM: dts: sun5i: Add support for the Auxtek-T003 HDMI stick Maxime Ripard

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).