* [PATCH 0/5] ARM: dts: sunxi: Enable USB DRC on a bunch of boards @ 2015-07-31 8:59 Hans de Goede [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw Hi Maxime, Here is a set of patches to enable the otg on 4 more boards, and adding a dts file for the Wits a20 Pro Development kit. Most of these are the result of the devicetree workshop I organized last weekend :) All of them have been doublechecked for correctness and were tested on the actual hardware. This set does not include some pending dts patches for enabling otg on boards which use the axp209 to do vbus-detection on the otg port, as the necessary mfd / power-supply bits are not merged yet. I'll try to get those queued up for 4.3, and when they are I'll send you another set of otg enablement patches for these boards. Regards, Hans ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 8:59 ` Hans de Goede [not found] ` <1438333194-21181-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro Hans de Goede ` (3 subsequent siblings) 4 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Remy van Elst, Hans de Goede From: Remy van Elst <relst-Cz6ja2bLbzc@public.gmane.org> Enable the otg/drc usb controller on the A10 OLinuxIno Lime. Signed-off-by: Remy van Elst <relst-Cz6ja2bLbzc@public.gmane.org> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts index b64aa4e..28e32ad 100644 --- a/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts +++ b/arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts @@ -150,6 +150,10 @@ status = "okay"; }; +&otg_sram { + status = "okay"; +}; + &pio { ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { allwinner,pins = "PC3"; @@ -164,6 +168,20 @@ allwinner,drive = <SUN4I_PINCTRL_20_MA>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; }; + + usb0_id_detect_pin: usb0_id_detect_pin@0 { + allwinner,pins = "PH4"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + }; + + usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { + allwinner,pins = "PH5"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + }; }; ®_ahci_5v { @@ -172,6 +190,10 @@ status = "okay"; }; +®_usb0_vbus { + status = "okay"; +}; + ®_usb1_vbus { status = "okay"; }; @@ -186,7 +208,17 @@ status = "okay"; }; +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + &usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>; + usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ + usb0_vbus_det-gpio = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */ + usb0_vbus-supply = <®_usb0_vbus>; usb1_vbus-supply = <®_usb1_vbus>; usb2_vbus-supply = <®_usb2_vbus>; status = "okay"; -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime [not found] ` <1438333194-21181-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 10:10 ` Maxime Ripard 0 siblings, 0 replies; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 10:10 UTC (permalink / raw) To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Remy van Elst [-- Attachment #1: Type: text/plain, Size: 484 bytes --] 1;3803;0c On Fri, Jul 31, 2015 at 10:59:50AM +0200, Hans de Goede wrote: > From: Remy van Elst <relst-Cz6ja2bLbzc@public.gmane.org> > > Enable the otg/drc usb controller on the A10 OLinuxIno Lime. > > Signed-off-by: Remy van Elst <relst-Cz6ja2bLbzc@public.gmane.org> > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime Hans de Goede @ 2015-07-31 8:59 ` Hans de Goede [not found] ` <1438333194-21181-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno Hans de Goede ` (2 subsequent siblings) 4 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede Enable the otg/drc usb controller on the A10s OLinuxIno Micro. Note the A10s OlinuxIno Micro always has some voltage on its otg power pin, even if the usb-vbus0-regulator is disabled, the leaked voltage is enough to make vbus-det always report 1, so we do not use vbus-det on this board. Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 +++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts index 7b26e17..5eebd21 100644 --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts @@ -196,6 +196,10 @@ status = "okay"; }; +&otg_sram { + status = "okay"; +}; + &pio { mmc0_cd_pin_olinuxino_micro: mmc0_cd_pin@0 { allwinner,pins = "PG1"; @@ -224,6 +228,22 @@ allwinner,drive = <SUN4I_PINCTRL_10_MA>; allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; }; + + usb0_vbus_pin_a: usb0_vbus_pin@0 { + allwinner,pins = "PG11"; + }; + + usb0_id_detect_pin: usb0_id_detect_pin@0 { + allwinner,pins = "PG12"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + }; +}; + +®_usb0_vbus { + gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ + status = "okay"; }; ®_usb1_vbus { @@ -250,8 +270,16 @@ status = "okay"; }; +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + &usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_id_detect_pin>; + usb0_id_det-gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ + usb0_vbus-supply = <®_usb0_vbus>; usb1_vbus-supply = <®_usb1_vbus>; status = "okay"; }; - -- 2.4.3 ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro [not found] ` <1438333194-21181-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 10:11 ` Maxime Ripard 0 siblings, 0 replies; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 10:11 UTC (permalink / raw) To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 1528 bytes --] On Fri, Jul 31, 2015 at 10:59:51AM +0200, Hans de Goede wrote: > Enable the otg/drc usb controller on the A10s OLinuxIno Micro. > > Note the A10s OlinuxIno Micro always has some voltage on its otg power > pin, even if the usb-vbus0-regulator is disabled, the leaked voltage is > enough to make vbus-det always report 1, so we do not use vbus-det on > this board. > > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> > --- > arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 30 +++++++++++++++++++++++- > 1 file changed, 29 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > index 7b26e17..5eebd21 100644 > --- a/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > +++ b/arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts > @@ -196,6 +196,10 @@ > status = "okay"; > }; > > +&otg_sram { > + status = "okay"; > +}; > + > &pio { > mmc0_cd_pin_olinuxino_micro: mmc0_cd_pin@0 { > allwinner,pins = "PG1"; > @@ -224,6 +228,22 @@ > allwinner,drive = <SUN4I_PINCTRL_10_MA>; > allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; > }; > + > + usb0_vbus_pin_a: usb0_vbus_pin@0 { > + allwinner,pins = "PG11"; > + }; We usually have this as a reference, instead of doing it through the full path. It makes it clearer that we override something, and we don't define a new node. Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime Hans de Goede 2015-07-31 8:59 ` [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro Hans de Goede @ 2015-07-31 8:59 ` Hans de Goede [not found] ` <1438333194-21181-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet Hans de Goede 2015-07-31 8:59 ` [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT Hans de Goede 4 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Mark Janssen, Hans de Goede From: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org> Enable the otg/drc usb controller on the A13 OLinuxIno. Signed-off-by: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts index 4232400..e659482 100644 --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts @@ -159,6 +159,10 @@ status = "okay"; }; +&otg_sram { + status = "okay"; +}; + &pio { mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 { allwinner,pins = "PG0"; @@ -174,6 +178,24 @@ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; }; + usb0_id_detect_pin: usb0_id_detect_pin@0 { + allwinner,pins = "PG2"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + }; + + usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { + allwinner,pins = "PG1"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + }; + + usb0_vbus_pin_a: usb0_vbus_pin@0 { + allwinner,pins = "PG12"; + }; + usb1_vbus_pin_olinuxino: usb1_vbus_pin@0 { allwinner,pins = "PG11"; allwinner,function = "gpio_out"; @@ -182,6 +204,11 @@ }; }; +®_usb0_vbus { + status = "okay"; + gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ +}; + ®_usb1_vbus { pinctrl-0 = <&usb1_vbus_pin_olinuxino>; gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>; @@ -194,7 +221,17 @@ status = "okay"; }; +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + &usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>; + usb0_id_det-gpio = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */ + usb0_vbus_det-gpio = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ + usb0_vbus-supply = <®_usb0_vbus>; usb1_vbus-supply = <®_usb1_vbus>; status = "okay"; }; -- 2.4.3 ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno [not found] ` <1438333194-21181-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 10:11 ` Maxime Ripard 0 siblings, 0 replies; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 10:11 UTC (permalink / raw) To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Mark Janssen [-- Attachment #1: Type: text/plain, Size: 1634 bytes --] On Fri, Jul 31, 2015 at 10:59:52AM +0200, Hans de Goede wrote: > From: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org> > > Enable the otg/drc usb controller on the A13 OLinuxIno. > > Signed-off-by: Mark Janssen <mark-5WUJjqWNSpBmR6Xm/wNWPw@public.gmane.org> > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> > --- > arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 37 +++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts > index 4232400..e659482 100644 > --- a/arch/arm/boot/dts/sun5i-a13-olinuxino.dts > +++ b/arch/arm/boot/dts/sun5i-a13-olinuxino.dts > @@ -159,6 +159,10 @@ > status = "okay"; > }; > > +&otg_sram { > + status = "okay"; > +}; > + > &pio { > mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 { > allwinner,pins = "PG0"; > @@ -174,6 +178,24 @@ > allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; > }; > > + usb0_id_detect_pin: usb0_id_detect_pin@0 { > + allwinner,pins = "PG2"; > + allwinner,function = "gpio_in"; > + allwinner,drive = <SUN4I_PINCTRL_10_MA>; > + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; > + }; > + > + usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { > + allwinner,pins = "PG1"; > + allwinner,function = "gpio_in"; > + allwinner,drive = <SUN4I_PINCTRL_10_MA>; > + allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; > + }; > + > + usb0_vbus_pin_a: usb0_vbus_pin@0 { > + allwinner,pins = "PG12"; > + }; Same thing here than in patch 2. -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> ` (2 preceding siblings ...) 2015-07-31 8:59 ` [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno Hans de Goede @ 2015-07-31 8:59 ` Hans de Goede [not found] ` <1438333194-21181-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT Hans de Goede 4 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Hans de Goede Enable the otg/drc usb controller on the Ippo Q8H-A33 tablet, for now it is enabled in host-only mode, because true OTG support requires support for detecting and enabling Vbus through the axp221 pmic. For this to work the Vbus on the port must be enabled by u-boot, or a powered hub must be used. Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts b/arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts index 8bb75ee..361ddb9 100644 --- a/arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts +++ b/arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts @@ -116,3 +116,12 @@ pinctrl-0 = <&r_uart_pins_a>; status = "okay"; }; + +&usb_otg { + dr_mode = "host"; + status = "okay"; +}; + +&usbphy { + status = "okay"; +}; -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet [not found] ` <1438333194-21181-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 10:08 ` Maxime Ripard 0 siblings, 0 replies; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 10:08 UTC (permalink / raw) To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 641 bytes --] Hi, On Fri, Jul 31, 2015 at 10:59:53AM +0200, Hans de Goede wrote: > Enable the otg/drc usb controller on the Ippo Q8H-A33 tablet, for now it > is enabled in host-only mode, because true OTG support requires support > for detecting and enabling Vbus through the axp221 pmic. > > For this to work the Vbus on the port must be enabled by u-boot, > or a powered hub must be used. A comment on top of the usb_otg node stating that would be great. It stands out more when we want to refactor stuff (with a FIXME even?). Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> ` (3 preceding siblings ...) 2015-07-31 8:59 ` [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet Hans de Goede @ 2015-07-31 8:59 ` Hans de Goede [not found] ` <1438333194-21181-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 4 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 8:59 UTC (permalink / raw) To: Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Jelle de Jong, Hans de Goede From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen and a ton of IO connectors. Note there seem to be multiple sdcard slots on the board (4 in total), but other then mmc0 none of these are hooked up by default, there is a ton of dip-switches which likely allow hooking some of these up, but the documentation of the board only describes the use of a fraction of them, so for now we only support mmc0. Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> --- Also see: http://www.merrii.com/en/pla_d.asp?id=163 --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 +++++++++++++++++++++++ 2 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index f830e1f..151a413 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ sun7i-a20-orangepi-mini.dtb \ sun7i-a20-pcduino3.dtb \ sun7i-a20-pcduino3-nano.dtb \ - sun7i-a20-wexler-tab7200.dtb + sun7i-a20-wexler-tab7200.dtb \ + sun7i-a20-wits-pro-a20-dkt.dtb dtb-$(CONFIG_MACH_SUN8I) += \ sun8i-a23-evb.dtb \ sun8i-a23-ippo-q8h-v5.dtb \ diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts new file mode 100644 index 0000000..db4d32c --- /dev/null +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts @@ -0,0 +1,209 @@ +/* + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> + * + * 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 "sun7i-a20.dtsi" +#include "sunxi-common-regulators.dtsi" + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/interrupt-controller/irq.h> + +/ { + model = "Wits Pro A20 DKT"; + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reg_vmmc3: vmmc3 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; + regulator-name = "vmmc3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + enable-active-high; + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ + }; +}; + +&cpu0 { + cpu-supply = <®_dcdc2>; +}; + +&ehci0 { + status = "okay"; +}; + +&ehci1 { + status = "okay"; +}; + +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; + + axp209: pmic@34 { + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +#include "axp209.dtsi" + +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + vmmc-supply = <®_vcc3v3>; + bus-width = <4>; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ + cd-inverted; + status = "okay"; +}; + +&mmc3 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc3_pins_a>; + vmmc-supply = <®_vmmc3>; + bus-width = <4>; + non-removable; + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&otg_sram { + status = "okay"; +}; + +&pio { + vmmc3_pin_ap6xxx_wl_regon: vmmc3_pin@0 { + allwinner,pins = "PH9"; + allwinner,function = "gpio_out"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + }; + + usb0_id_detect_pin: usb0_id_detect_pin@0 { + allwinner,pins = "PH4"; + allwinner,function = "gpio_in"; + allwinner,drive = <SUN4I_PINCTRL_10_MA>; + allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + }; +}; + +®_dcdc2 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1450000>; + regulator-name = "vdd-cpu"; +}; + +®_dcdc3 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-name = "vdd-int-dll"; +}; + +®_ldo1 { + regulator-name = "vdd-rtc"; +}; + +®_ldo2 { + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "avcc"; +}; + +®_usb0_vbus { + status = "okay"; +}; + +®_usb1_vbus { + status = "okay"; +}; + +®_usb2_vbus { + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; + status = "okay"; +}; + +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usb_power_supply { + status = "okay"; +}; + +&usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&usb0_id_detect_pin>; + usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ + usb0_vbus_power-supply = <&usb_power_supply>; + usb0_vbus-supply = <®_usb0_vbus>; + usb1_vbus-supply = <®_usb1_vbus>; + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; +}; -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <1438333194-21181-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <1438333194-21181-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 10:20 ` Maxime Ripard 2015-07-31 10:25 ` Chen-Yu Tsai 0 siblings, 1 reply; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 10:20 UTC (permalink / raw) To: Hans de Goede Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Jelle de Jong [-- Attachment #1: Type: text/plain, Size: 5874 bytes --] On Fri, Jul 31, 2015 at 10:59:54AM +0200, Hans de Goede wrote: > From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> > > The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, > sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen > and a ton of IO connectors. > > Note there seem to be multiple sdcard slots on the board (4 in total), but > other then mmc0 none of these are hooked up by default, there is a ton of > dip-switches which likely allow hooking some of these up, but the > documentation of the board only describes the use of a fraction of them, > so for now we only support mmc0. > > Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> > Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> > --- > Also see: http://www.merrii.com/en/pla_d.asp?id=163 > --- > arch/arm/boot/dts/Makefile | 3 +- > arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 +++++++++++++++++++++++ > 2 files changed, 211 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index f830e1f..151a413 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > sun7i-a20-orangepi-mini.dtb \ > sun7i-a20-pcduino3.dtb \ > sun7i-a20-pcduino3-nano.dtb \ > - sun7i-a20-wexler-tab7200.dtb > + sun7i-a20-wexler-tab7200.dtb \ > + sun7i-a20-wits-pro-a20-dkt.dtb The indentation is off. > dtb-$(CONFIG_MACH_SUN8I) += \ > sun8i-a23-evb.dtb \ > sun8i-a23-ippo-q8h-v5.dtb \ > diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts > new file mode 100644 > index 0000000..db4d32c > --- /dev/null > +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts > @@ -0,0 +1,209 @@ > +/* > + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> > + * > + * 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 "sun7i-a20.dtsi" > +#include "sunxi-common-regulators.dtsi" > + > +#include <dt-bindings/gpio/gpio.h> > +#include <dt-bindings/input/input.h> > +#include <dt-bindings/interrupt-controller/irq.h> > + > +/ { > + model = "Wits Pro A20 DKT"; > + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; > + > + aliases { > + serial0 = &uart0; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + reg_vmmc3: vmmc3 { > + compatible = "regulator-fixed"; > + pinctrl-names = "default"; > + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; > + regulator-name = "vmmc3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + enable-active-high; > + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ > + }; It's not really vmmc. The reg_on stuff is actually more of a reset line: when tied to VCC, the WLAN part of the chip and its regulators are enabled, while when it's tied to ground, the WLAN is in reset, and the internal regulators disabled. So it can be seen as either an active-low reset line, or an active-high regulator for the WiFi part, but VMMC is the power line of the MMC bus itself, which usually is provided by a regulator through the pin 22 of the AP6210, usually tied directly to the 3.3V line. So you actually have two regulators here: one for vmmc (reg_3v3), and one for reg_on which is the one that you just defined. Note that it's a bit of a pain for now to support such cases, as there's nothing to tie something from the DT to an SDIO device. I don't have a better solution than marking it always-on at the moment, with a big FIXME comment on top... :/ Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT 2015-07-31 10:20 ` Maxime Ripard @ 2015-07-31 10:25 ` Chen-Yu Tsai [not found] ` <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 22+ messages in thread From: Chen-Yu Tsai @ 2015-07-31 10:25 UTC (permalink / raw) To: Maxime Ripard Cc: Hans de Goede, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong On Fri, Jul 31, 2015 at 6:20 PM, Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: > On Fri, Jul 31, 2015 at 10:59:54AM +0200, Hans de Goede wrote: >> From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >> >> The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, >> sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen >> and a ton of IO connectors. >> >> Note there seem to be multiple sdcard slots on the board (4 in total), but >> other then mmc0 none of these are hooked up by default, there is a ton of >> dip-switches which likely allow hooking some of these up, but the >> documentation of the board only describes the use of a fraction of them, >> so for now we only support mmc0. >> >> Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> >> --- >> Also see: http://www.merrii.com/en/pla_d.asp?id=163 >> --- >> arch/arm/boot/dts/Makefile | 3 +- >> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 +++++++++++++++++++++++ >> 2 files changed, 211 insertions(+), 1 deletion(-) >> create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index f830e1f..151a413 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ >> sun7i-a20-orangepi-mini.dtb \ >> sun7i-a20-pcduino3.dtb \ >> sun7i-a20-pcduino3-nano.dtb \ >> - sun7i-a20-wexler-tab7200.dtb >> + sun7i-a20-wexler-tab7200.dtb \ >> + sun7i-a20-wits-pro-a20-dkt.dtb > > The indentation is off. > >> dtb-$(CONFIG_MACH_SUN8I) += \ >> sun8i-a23-evb.dtb \ >> sun8i-a23-ippo-q8h-v5.dtb \ >> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >> new file mode 100644 >> index 0000000..db4d32c >> --- /dev/null >> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >> @@ -0,0 +1,209 @@ >> +/* >> + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >> + * >> + * 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 "sun7i-a20.dtsi" >> +#include "sunxi-common-regulators.dtsi" >> + >> +#include <dt-bindings/gpio/gpio.h> >> +#include <dt-bindings/input/input.h> >> +#include <dt-bindings/interrupt-controller/irq.h> >> + >> +/ { >> + model = "Wits Pro A20 DKT"; >> + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; >> + >> + aliases { >> + serial0 = &uart0; >> + }; >> + >> + chosen { >> + stdout-path = "serial0:115200n8"; >> + }; >> + >> + reg_vmmc3: vmmc3 { >> + compatible = "regulator-fixed"; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; >> + regulator-name = "vmmc3"; >> + regulator-min-microvolt = <3300000>; >> + regulator-max-microvolt = <3300000>; >> + enable-active-high; >> + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ >> + }; > > It's not really vmmc. The reg_on stuff is actually more of a reset > line: when tied to VCC, the WLAN part of the chip and its regulators > are enabled, while when it's tied to ground, the WLAN is in reset, and > the internal regulators disabled. > > So it can be seen as either an active-low reset line, or an > active-high regulator for the WiFi part, but VMMC is the power line of > the MMC bus itself, which usually is provided by a regulator through > the pin 22 of the AP6210, usually tied directly to the 3.3V line. > > So you actually have two regulators here: one for vmmc (reg_3v3), and > one for reg_on which is the one that you just defined. > > Note that it's a bit of a pain for now to support such cases, as > there's nothing to tie something from the DT to an SDIO device. I > don't have a better solution than marking it always-on at the moment, > with a big FIXME comment on top... :/ One could use the mmc-pwr-seq stuff. I don't know if it has been extended for multiple GPIOs, not that you would need it in this use case. Maybe we ought to fix up the other ones, like the CubieTruck and A31 Hummingbird? ChenYu ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-07-31 12:45 ` Hans de Goede 2015-07-31 16:13 ` Hans de Goede 2015-07-31 16:56 ` Maxime Ripard 2 siblings, 0 replies; 22+ messages in thread From: Hans de Goede @ 2015-07-31 12:45 UTC (permalink / raw) To: Chen-Yu Tsai, Maxime Ripard Cc: linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong Hi, On 31-07-15 12:25, Chen-Yu Tsai wrote: > On Fri, Jul 31, 2015 at 6:20 PM, Maxime Ripard > <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: >> On Fri, Jul 31, 2015 at 10:59:54AM +0200, Hans de Goede wrote: >>> From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> >>> The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, >>> sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen >>> and a ton of IO connectors. >>> >>> Note there seem to be multiple sdcard slots on the board (4 in total), but >>> other then mmc0 none of these are hooked up by default, there is a ton of >>> dip-switches which likely allow hooking some of these up, but the >>> documentation of the board only describes the use of a fraction of them, >>> so for now we only support mmc0. >>> >>> Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> >>> --- >>> Also see: http://www.merrii.com/en/pla_d.asp?id=163 >>> --- >>> arch/arm/boot/dts/Makefile | 3 +- >>> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 +++++++++++++++++++++++ >>> 2 files changed, 211 insertions(+), 1 deletion(-) >>> create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> >>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >>> index f830e1f..151a413 100644 >>> --- a/arch/arm/boot/dts/Makefile >>> +++ b/arch/arm/boot/dts/Makefile >>> @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ >>> sun7i-a20-orangepi-mini.dtb \ >>> sun7i-a20-pcduino3.dtb \ >>> sun7i-a20-pcduino3-nano.dtb \ >>> - sun7i-a20-wexler-tab7200.dtb >>> + sun7i-a20-wexler-tab7200.dtb \ >>> + sun7i-a20-wits-pro-a20-dkt.dtb >> >> The indentation is off. >> >>> dtb-$(CONFIG_MACH_SUN8I) += \ >>> sun8i-a23-evb.dtb \ >>> sun8i-a23-ippo-q8h-v5.dtb \ >>> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> new file mode 100644 >>> index 0000000..db4d32c >>> --- /dev/null >>> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> @@ -0,0 +1,209 @@ >>> +/* >>> + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> + * >>> + * 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 "sun7i-a20.dtsi" >>> +#include "sunxi-common-regulators.dtsi" >>> + >>> +#include <dt-bindings/gpio/gpio.h> >>> +#include <dt-bindings/input/input.h> >>> +#include <dt-bindings/interrupt-controller/irq.h> >>> + >>> +/ { >>> + model = "Wits Pro A20 DKT"; >>> + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; >>> + >>> + aliases { >>> + serial0 = &uart0; >>> + }; >>> + >>> + chosen { >>> + stdout-path = "serial0:115200n8"; >>> + }; >>> + >>> + reg_vmmc3: vmmc3 { >>> + compatible = "regulator-fixed"; >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; >>> + regulator-name = "vmmc3"; >>> + regulator-min-microvolt = <3300000>; >>> + regulator-max-microvolt = <3300000>; >>> + enable-active-high; >>> + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ >>> + }; >> >> It's not really vmmc. The reg_on stuff is actually more of a reset >> line: when tied to VCC, the WLAN part of the chip and its regulators >> are enabled, while when it's tied to ground, the WLAN is in reset, and >> the internal regulators disabled. >> >> So it can be seen as either an active-low reset line, or an >> active-high regulator for the WiFi part, but VMMC is the power line of >> the MMC bus itself, which usually is provided by a regulator through >> the pin 22 of the AP6210, usually tied directly to the 3.3V line. >> >> So you actually have two regulators here: one for vmmc (reg_3v3), and >> one for reg_on which is the one that you just defined. >> >> Note that it's a bit of a pain for now to support such cases, as >> there's nothing to tie something from the DT to an SDIO device. I >> don't have a better solution than marking it always-on at the moment, >> with a big FIXME comment on top... :/ > > One could use the mmc-pwr-seq stuff. I don't know if it has been > extended for multiple GPIOs, not that you would need it in this use > case. Yes the mmc-pwr-seq stuff seems to be the right thing to use for this, I'll try to get that to work and post a new version of this patch. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-07-31 12:45 ` [linux-sunxi] " Hans de Goede @ 2015-07-31 16:13 ` Hans de Goede [not found] ` <55BB9E92.30604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 16:56 ` Maxime Ripard 2 siblings, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 16:13 UTC (permalink / raw) To: Chen-Yu Tsai, Maxime Ripard Cc: linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong Hi, On 31-07-15 12:25, Chen-Yu Tsai wrote: > On Fri, Jul 31, 2015 at 6:20 PM, Maxime Ripard > <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: >> On Fri, Jul 31, 2015 at 10:59:54AM +0200, Hans de Goede wrote: >>> From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> >>> The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, >>> sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen >>> and a ton of IO connectors. >>> >>> Note there seem to be multiple sdcard slots on the board (4 in total), but >>> other then mmc0 none of these are hooked up by default, there is a ton of >>> dip-switches which likely allow hooking some of these up, but the >>> documentation of the board only describes the use of a fraction of them, >>> so for now we only support mmc0. >>> >>> Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> >>> --- >>> Also see: http://www.merrii.com/en/pla_d.asp?id=163 >>> --- >>> arch/arm/boot/dts/Makefile | 3 +- >>> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 +++++++++++++++++++++++ >>> 2 files changed, 211 insertions(+), 1 deletion(-) >>> create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> >>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >>> index f830e1f..151a413 100644 >>> --- a/arch/arm/boot/dts/Makefile >>> +++ b/arch/arm/boot/dts/Makefile >>> @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ >>> sun7i-a20-orangepi-mini.dtb \ >>> sun7i-a20-pcduino3.dtb \ >>> sun7i-a20-pcduino3-nano.dtb \ >>> - sun7i-a20-wexler-tab7200.dtb >>> + sun7i-a20-wexler-tab7200.dtb \ >>> + sun7i-a20-wits-pro-a20-dkt.dtb >> >> The indentation is off. >> >>> dtb-$(CONFIG_MACH_SUN8I) += \ >>> sun8i-a23-evb.dtb \ >>> sun8i-a23-ippo-q8h-v5.dtb \ >>> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> new file mode 100644 >>> index 0000000..db4d32c >>> --- /dev/null >>> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>> @@ -0,0 +1,209 @@ >>> +/* >>> + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>> + * >>> + * 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 "sun7i-a20.dtsi" >>> +#include "sunxi-common-regulators.dtsi" >>> + >>> +#include <dt-bindings/gpio/gpio.h> >>> +#include <dt-bindings/input/input.h> >>> +#include <dt-bindings/interrupt-controller/irq.h> >>> + >>> +/ { >>> + model = "Wits Pro A20 DKT"; >>> + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; >>> + >>> + aliases { >>> + serial0 = &uart0; >>> + }; >>> + >>> + chosen { >>> + stdout-path = "serial0:115200n8"; >>> + }; >>> + >>> + reg_vmmc3: vmmc3 { >>> + compatible = "regulator-fixed"; >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; >>> + regulator-name = "vmmc3"; >>> + regulator-min-microvolt = <3300000>; >>> + regulator-max-microvolt = <3300000>; >>> + enable-active-high; >>> + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ >>> + }; >> >> It's not really vmmc. The reg_on stuff is actually more of a reset >> line: when tied to VCC, the WLAN part of the chip and its regulators >> are enabled, while when it's tied to ground, the WLAN is in reset, and >> the internal regulators disabled. >> >> So it can be seen as either an active-low reset line, or an >> active-high regulator for the WiFi part, but VMMC is the power line of >> the MMC bus itself, which usually is provided by a regulator through >> the pin 22 of the AP6210, usually tied directly to the 3.3V line. >> >> So you actually have two regulators here: one for vmmc (reg_3v3), and >> one for reg_on which is the one that you just defined. >> >> Note that it's a bit of a pain for now to support such cases, as >> there's nothing to tie something from the DT to an SDIO device. I >> don't have a better solution than marking it always-on at the moment, >> with a big FIXME comment on top... :/ > > One could use the mmc-pwr-seq stuff. Good idea, I've just written, tested and posted a patch for this for the cubietruck. I do not have access to the A20 Wits DKT atm, so I will post a new version of this patch with pwrseq support coming Tuesday when I have access to the board again. > I don't know if it has been > extended for multiple GPIOs, not that you would need it in this use > case. mmc-pwrseq-simple supports multiple reset/enable gpios (by listing them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending on which value they need to be to activate things). It also supports listing clocks which need to be enabled. I think that it may be a good idea to use this to also enable the bluetooth bits of the ap6210 module on the cubietruck. I know that the actual bt is interfaced over an uart, and we really should have a mechanism to enable/disable it separately, but for not this seems like a good way to get bluetooth to work. We should ofcourse add a comment to the dts file that this is not a 100% ideal solution, but other then that I think this should work nicely. Maxime would enabling the bluetooth bits of this sdio module via mmc-pwrseq be acceptable to you? ChenYu if Maxime acks this solution I hope you can write a patch for this, since you've been working on the bluetooth support before. > Maybe we ought to fix up the other ones, like the CubieTruck and A31 > Hummingbird? Ack, can you take care of the Hummingbird ? (I don't have one). Regards, Hans ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <55BB9E92.30604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <55BB9E92.30604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-07-31 17:33 ` Chen-Yu Tsai 2015-08-01 9:30 ` Maxime Ripard 1 sibling, 0 replies; 22+ messages in thread From: Chen-Yu Tsai @ 2015-07-31 17:33 UTC (permalink / raw) To: Hans De Goede Cc: Chen-Yu Tsai, Maxime Ripard, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong On Sat, Aug 1, 2015 at 12:13 AM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: > Hi, > > > On 31-07-15 12:25, Chen-Yu Tsai wrote: >> >> On Fri, Jul 31, 2015 at 6:20 PM, Maxime Ripard >> <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: >>> >>> On Fri, Jul 31, 2015 at 10:59:54AM +0200, Hans de Goede wrote: >>>> >>>> From: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>>> >>>> The Wits Pro A20 DKT is an A20 Development KiT with 1G RAM, 4G NAND, >>>> sdio wifi, 1Gbit ethernet, 1024x768 lcd screen with ft5x_ts touchscreen >>>> and a ton of IO connectors. >>>> >>>> Note there seem to be multiple sdcard slots on the board (4 in total), >>>> but >>>> other then mmc0 none of these are hooked up by default, there is a ton >>>> of >>>> dip-switches which likely allow hooking some of these up, but the >>>> documentation of the board only describes the use of a fraction of them, >>>> so for now we only support mmc0. >>>> >>>> Signed-off-by: Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> >>>> --- >>>> Also see: http://www.merrii.com/en/pla_d.asp?id=163 >>>> --- >>>> arch/arm/boot/dts/Makefile | 3 +- >>>> arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 209 >>>> +++++++++++++++++++++++ >>>> 2 files changed, 211 insertions(+), 1 deletion(-) >>>> create mode 100644 arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>>> >>>> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >>>> index f830e1f..151a413 100644 >>>> --- a/arch/arm/boot/dts/Makefile >>>> +++ b/arch/arm/boot/dts/Makefile >>>> @@ -595,7 +595,8 @@ dtb-$(CONFIG_MACH_SUN7I) += \ >>>> sun7i-a20-orangepi-mini.dtb \ >>>> sun7i-a20-pcduino3.dtb \ >>>> sun7i-a20-pcduino3-nano.dtb \ >>>> - sun7i-a20-wexler-tab7200.dtb >>>> + sun7i-a20-wexler-tab7200.dtb \ >>>> + sun7i-a20-wits-pro-a20-dkt.dtb >>> >>> >>> The indentation is off. >>> >>>> dtb-$(CONFIG_MACH_SUN8I) += \ >>>> sun8i-a23-evb.dtb \ >>>> sun8i-a23-ippo-q8h-v5.dtb \ >>>> diff --git a/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>>> b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>>> new file mode 100644 >>>> index 0000000..db4d32c >>>> --- /dev/null >>>> +++ b/arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts >>>> @@ -0,0 +1,209 @@ >>>> +/* >>>> + * Copyright 2015 Jelle de Jong <jelledejong-OIcJOM8/mISwoUgIn9SVlA@public.gmane.org> >>>> + * >>>> + * 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 "sun7i-a20.dtsi" >>>> +#include "sunxi-common-regulators.dtsi" >>>> + >>>> +#include <dt-bindings/gpio/gpio.h> >>>> +#include <dt-bindings/input/input.h> >>>> +#include <dt-bindings/interrupt-controller/irq.h> >>>> + >>>> +/ { >>>> + model = "Wits Pro A20 DKT"; >>>> + compatible = "wits,pro-a20-dkt", "allwinner,sun7i-a20"; >>>> + >>>> + aliases { >>>> + serial0 = &uart0; >>>> + }; >>>> + >>>> + chosen { >>>> + stdout-path = "serial0:115200n8"; >>>> + }; >>>> + >>>> + reg_vmmc3: vmmc3 { >>>> + compatible = "regulator-fixed"; >>>> + pinctrl-names = "default"; >>>> + pinctrl-0 = <&vmmc3_pin_ap6xxx_wl_regon>; >>>> + regulator-name = "vmmc3"; >>>> + regulator-min-microvolt = <3300000>; >>>> + regulator-max-microvolt = <3300000>; >>>> + enable-active-high; >>>> + gpio = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ >>>> + }; >>> >>> >>> It's not really vmmc. The reg_on stuff is actually more of a reset >>> line: when tied to VCC, the WLAN part of the chip and its regulators >>> are enabled, while when it's tied to ground, the WLAN is in reset, and >>> the internal regulators disabled. >>> >>> So it can be seen as either an active-low reset line, or an >>> active-high regulator for the WiFi part, but VMMC is the power line of >>> the MMC bus itself, which usually is provided by a regulator through >>> the pin 22 of the AP6210, usually tied directly to the 3.3V line. >>> >>> So you actually have two regulators here: one for vmmc (reg_3v3), and >>> one for reg_on which is the one that you just defined. >>> >>> Note that it's a bit of a pain for now to support such cases, as >>> there's nothing to tie something from the DT to an SDIO device. I >>> don't have a better solution than marking it always-on at the moment, >>> with a big FIXME comment on top... :/ >> >> >> One could use the mmc-pwr-seq stuff. > > > Good idea, I've just written, tested and posted a patch for this for the > cubietruck. I do not have access to the A20 Wits DKT atm, so I will post > a new version of this patch with pwrseq support coming Tuesday when I have > access to the board again. > >> I don't know if it has been >> >> extended for multiple GPIOs, not that you would need it in this use >> case. > > > mmc-pwrseq-simple supports multiple reset/enable gpios (by listing > them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending > on which value they need to be to activate things). > > It also supports listing clocks which need to be enabled. I think > that it may be a good idea to use this to also enable the bluetooth > bits of the ap6210 module on the cubietruck. I know that the > actual bt is interfaced over an uart, and we really should have > a mechanism to enable/disable it separately, but for not this seems > like a good way to get bluetooth to work. It's worth a try. The bluetooth bits only require one GPIO line and the external clock. (This is mostly to ensure it powers on properly.) Though the ordering is important, too. I'll look into it. > We should ofcourse add a comment to the dts file that this is not a > 100% ideal solution, but other then that I think this should work > nicely. Maxime would enabling the bluetooth bits of this sdio > module via mmc-pwrseq be acceptable to you? > > ChenYu if Maxime acks this solution I hope you can write a patch > for this, since you've been working on the bluetooth support before. Sure. Might be for 4.4 though. >> Maybe we ought to fix up the other ones, like the CubieTruck and A31 >> Hummingbird? > > > Ack, can you take care of the Hummingbird ? (I don't have one). I'm off to bed for today. Only turned on my computer to answer some last minute questions from Maxime. :) ChenYu ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <55BB9E92.30604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 17:33 ` Chen-Yu Tsai @ 2015-08-01 9:30 ` Maxime Ripard 2015-08-02 12:58 ` Hans de Goede 2015-08-02 13:00 ` [linux-sunxi] " Hans de Goede 1 sibling, 2 replies; 22+ messages in thread From: Maxime Ripard @ 2015-08-01 9:30 UTC (permalink / raw) To: Hans de Goede Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong [-- Attachment #1: Type: text/plain, Size: 1491 bytes --] On Fri, Jul 31, 2015 at 06:13:06PM +0200, Hans de Goede wrote: > mmc-pwrseq-simple supports multiple reset/enable gpios (by listing > them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending > on which value they need to be to activate things). > > It also supports listing clocks which need to be enabled. I think > that it may be a good idea to use this to also enable the bluetooth > bits of the ap6210 module on the cubietruck. I know that the > actual bt is interfaced over an uart, and we really should have > a mechanism to enable/disable it separately, but for not this seems > like a good way to get bluetooth to work. > > We should ofcourse add a comment to the dts file that this is not a > 100% ideal solution, but other then that I think this should work > nicely. Maxime would enabling the bluetooth bits of this sdio > module via mmc-pwrseq be acceptable to you? As long as we have some comment on top, yep. > ChenYu if Maxime acks this solution I hope you can write a patch for > this, since you've been working on the bluetooth support before. Note that I'm in holidays starting today. I plan on doing my pull-requests for 4.3 later today, and will probably not be able to merge any patches during the next two weeks, which mean that your mmc-power seq patch for the cubietruck was probably the last one I was merging for the 4.3 merge window. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT 2015-08-01 9:30 ` Maxime Ripard @ 2015-08-02 12:58 ` Hans de Goede 2015-08-02 13:00 ` [linux-sunxi] " Hans de Goede 1 sibling, 0 replies; 22+ messages in thread From: Hans de Goede @ 2015-08-02 12:58 UTC (permalink / raw) To: Maxime Ripard Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong Hi, On 01-08-15 11:30, Maxime Ripard wrote: > On Fri, Jul 31, 2015 at 06:13:06PM +0200, Hans de Goede wrote: >> mmc-pwrseq-simple supports multiple reset/enable gpios (by listing >> them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending >> on which value they need to be to activate things). >> >> It also supports listing clocks which need to be enabled. I think >> that it may be a good idea to use this to also enable the bluetooth >> bits of the ap6210 module on the cubietruck. I know that the >> actual bt is interfaced over an uart, and we really should have >> a mechanism to enable/disable it separately, but for not this seems >> like a good way to get bluetooth to work. >> >> We should ofcourse add a comment to the dts file that this is not a >> 100% ideal solution, but other then that I think this should work >> nicely. Maxime would enabling the bluetooth bits of this sdio >> module via mmc-pwrseq be acceptable to you? > > As long as we have some comment on top, yep. Great, thanks. >> ChenYu if Maxime acks this solution I hope you can write a patch for >> this, since you've been working on the bluetooth support before. > > Note that I'm in holidays starting today. I plan on doing my > pull-requests for 4.3 later today, and will probably not be able to > merge any patches during the next two weeks, which mean that your > mmc-power seq patch for the cubietruck was probably the last one I was > merging for the 4.3 merge window. OK, that is good to know, thanks for the headsup and enjoy your hollidays. Regards, Hans ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT 2015-08-01 9:30 ` Maxime Ripard 2015-08-02 12:58 ` Hans de Goede @ 2015-08-02 13:00 ` Hans de Goede 1 sibling, 0 replies; 22+ messages in thread From: Hans de Goede @ 2015-08-02 13:00 UTC (permalink / raw) To: Maxime Ripard Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong Hi, On 01-08-15 11:30, Maxime Ripard wrote: > On Fri, Jul 31, 2015 at 06:13:06PM +0200, Hans de Goede wrote: >> mmc-pwrseq-simple supports multiple reset/enable gpios (by listing >> them all as reset-gpios and setting GPIO_ACTIVE_LOW/HIGH depending >> on which value they need to be to activate things). >> >> It also supports listing clocks which need to be enabled. I think >> that it may be a good idea to use this to also enable the bluetooth >> bits of the ap6210 module on the cubietruck. I know that the >> actual bt is interfaced over an uart, and we really should have >> a mechanism to enable/disable it separately, but for not this seems >> like a good way to get bluetooth to work. >> >> We should ofcourse add a comment to the dts file that this is not a >> 100% ideal solution, but other then that I think this should work >> nicely. Maxime would enabling the bluetooth bits of this sdio >> module via mmc-pwrseq be acceptable to you? > > As long as we have some comment on top, yep. > >> ChenYu if Maxime acks this solution I hope you can write a patch for >> this, since you've been working on the bluetooth support before. > > Note that I'm in holidays starting today. I plan on doing my > pull-requests for 4.3 later today, and will probably not be able to > merge any patches during the next two weeks, which mean that your > mmc-power seq patch for the cubietruck was probably the last one I was > merging for the 4.3 merge window. I just noticed that your last push to https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git/log/?h=sunxi/for-next Is not in your github sunxi-next branch, it would be good if you could merge the last changes there (when your back from your holliday). Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-07-31 12:45 ` [linux-sunxi] " Hans de Goede 2015-07-31 16:13 ` Hans de Goede @ 2015-07-31 16:56 ` Maxime Ripard 2015-07-31 17:28 ` Chen-Yu Tsai 2015-07-31 18:02 ` [linux-sunxi] " Hans de Goede 2 siblings, 2 replies; 22+ messages in thread From: Maxime Ripard @ 2015-07-31 16:56 UTC (permalink / raw) To: Chen-Yu Tsai Cc: Hans de Goede, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong [-- Attachment #1: Type: text/plain, Size: 847 bytes --] On Fri, Jul 31, 2015 at 06:25:29PM +0800, Chen-Yu Tsai wrote: > > Note that it's a bit of a pain for now to support such cases, as > > there's nothing to tie something from the DT to an SDIO device. I > > don't have a better solution than marking it always-on at the moment, > > with a big FIXME comment on top... :/ > > One could use the mmc-pwr-seq stuff. I don't know if it has been > extended for multiple GPIOs, not that you would need it in this use > case. It doesn't really improve the situation. It doesn't handle the regulators, it doesn't allow the real driver to get its resources either, basically, it's just a hack. > Maybe we ought to fix up the other ones, like the CubieTruck and A31 > Hummingbird? I'll do it. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT 2015-07-31 16:56 ` Maxime Ripard @ 2015-07-31 17:28 ` Chen-Yu Tsai 2015-07-31 18:02 ` [linux-sunxi] " Hans de Goede 1 sibling, 0 replies; 22+ messages in thread From: Chen-Yu Tsai @ 2015-07-31 17:28 UTC (permalink / raw) To: Maxime Ripard Cc: Chen-Yu Tsai, Hans de Goede, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong On Sat, Aug 1, 2015 at 12:56 AM, Maxime Ripard <maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote: > On Fri, Jul 31, 2015 at 06:25:29PM +0800, Chen-Yu Tsai wrote: >> > Note that it's a bit of a pain for now to support such cases, as >> > there's nothing to tie something from the DT to an SDIO device. I >> > don't have a better solution than marking it always-on at the moment, >> > with a big FIXME comment on top... :/ >> >> One could use the mmc-pwr-seq stuff. I don't know if it has been >> extended for multiple GPIOs, not that you would need it in this use >> case. > > It doesn't really improve the situation. It doesn't handle the > regulators, it doesn't allow the real driver to get its resources > either, basically, it's just a hack. Yeah, it's still lacking support for upstream regulators, like LDOs from the PMICs. >> Maybe we ought to fix up the other ones, like the CubieTruck and A31 >> Hummingbird? > > I'll do it. Thanks ChenYu ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT 2015-07-31 16:56 ` Maxime Ripard 2015-07-31 17:28 ` Chen-Yu Tsai @ 2015-07-31 18:02 ` Hans de Goede [not found] ` <55BBB840.80107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 1 sibling, 1 reply; 22+ messages in thread From: Hans de Goede @ 2015-07-31 18:02 UTC (permalink / raw) To: Maxime Ripard, Chen-Yu Tsai Cc: linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong Hi, On 31-07-15 18:56, Maxime Ripard wrote: > On Fri, Jul 31, 2015 at 06:25:29PM +0800, Chen-Yu Tsai wrote: >>> Note that it's a bit of a pain for now to support such cases, as >>> there's nothing to tie something from the DT to an SDIO device. I >>> don't have a better solution than marking it always-on at the moment, >>> with a big FIXME comment on top... :/ >> >> One could use the mmc-pwr-seq stuff. I don't know if it has been >> extended for multiple GPIOs, not that you would need it in this use >> case. > > It doesn't really improve the situation. It doesn't handle the > regulators, The regulator(s) are already handled by the vmmc and vqmcc regulators of the mmc controller binding. If more regulators are needed, we can easily extend mmc-pwrseq-simple to support them, or define a whole new powerseq driver. > it doesn't allow the real driver to get its resources > either, basically, it's just a hack. Not involving the real driver is by design really, the real driver cannot bind / have its probe function called until its sdio interface has been probed which is where the pwrseq driver comes in. This also allows re-using existing sdio drivers without needing them to be aware of certain board perculiarities If a special power on (or suspend) order is nescessary a custom pwrseq driver can be created for this, even one which is meant to work in tandem with a specific sdio device driver. The idea is that the device driver will ask the mmc core to powerdown the device for powersaving in certain cases (e.g. suspend) and then the mmc core will call into the powerseq driver. Granted there may be more complex scenarios where thighter control over the resources is needed, but for now this seems to work really well and it is much better then the deadlock we had before were all solutions were shot down as not flexible enough. >> Maybe we ought to fix up the other ones, like the CubieTruck and A31 >> Hummingbird? > > I'll do it. Thanks. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <55BBB840.80107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: Re: [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT [not found] ` <55BBB840.80107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2015-08-01 9:18 ` Maxime Ripard 0 siblings, 0 replies; 22+ messages in thread From: Maxime Ripard @ 2015-08-01 9:18 UTC (permalink / raw) To: Hans de Goede Cc: Chen-Yu Tsai, linux-arm-kernel, devicetree, linux-sunxi, Jelle de Jong [-- Attachment #1: Type: text/plain, Size: 3256 bytes --] On Fri, Jul 31, 2015 at 08:02:40PM +0200, Hans de Goede wrote: > Hi, > > On 31-07-15 18:56, Maxime Ripard wrote: > >On Fri, Jul 31, 2015 at 06:25:29PM +0800, Chen-Yu Tsai wrote: > >>>Note that it's a bit of a pain for now to support such cases, as > >>>there's nothing to tie something from the DT to an SDIO device. I > >>>don't have a better solution than marking it always-on at the moment, > >>>with a big FIXME comment on top... :/ > >> > >>One could use the mmc-pwr-seq stuff. I don't know if it has been > >>extended for multiple GPIOs, not that you would need it in this use > >>case. > > > >It doesn't really improve the situation. It doesn't handle the > >regulators, > > The regulator(s) are already handled by the vmmc and vqmcc regulators > of the mmc controller binding. Except that vmmc and vqmmc are regulators to power up the SD bus itself, not the chip at the other end. > If more regulators are needed, we can easily extend mmc-pwrseq-simple > to support them, or define a whole new powerseq driver. > > > it doesn't allow the real driver to get its resources > >either, basically, it's just a hack. > > Not involving the real driver is by design really, the real driver > cannot bind / have its probe function called until its sdio interface > has been probed which is where the pwrseq driver comes in. Except that you might need to handle these resources later on, to shut down or change the voltage or current of its regulator, adjust a clock rate, whatever, which is clearly not possible right now. The only thing that it allows is to setup the resources we want beside the drivers back, even though he's the more knowledgeable about how to manage its resources. And the fact that it doesn't enumerate until some resources have been enabled is not really an argument. Writing to memory-mapped devices without enabling the clocks or the power domain first generates aborts on some SoCs, yet the driver is still the one in charge of its resources. > This also allows re-using existing sdio drivers without needing > them to be aware of certain board perculiarities I don't really get what the board does here. reg-on, vbat and so on is this case are pins of the WiFi chip. It doesn't change from one board to another. What does change is what these pins are tied to, but we do already have a way to abstract that for every devices. Only the SDIO devices seem to be special. > If a special power on (or suspend) order is nescessary a custom > pwrseq driver can be created for this, even one which is meant > to work in tandem with a specific sdio device driver. The idea > is that the device driver will ask the mmc core to powerdown the > device for powersaving in certain cases (e.g. suspend) and then > the mmc core will call into the powerseq driver. Which effectively duplicate the logic between the real driver and a power-seq one. > Granted there may be more complex scenarios where thighter control > over the resources is needed, but for now this seems to work really > well and it is much better then the deadlock we had before were > all solutions were shot down as not flexible enough. I know. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2015-08-02 13:00 UTC | newest] Thread overview: 22+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-07-31 8:59 [PATCH 0/5] ARM: dts: sunxi: Enable USB DRC on a bunch of boards Hans de Goede [not found] ` <1438333194-21181-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 8:59 ` [PATCH 1/5] ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime Hans de Goede [not found] ` <1438333194-21181-2-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 10:10 ` Maxime Ripard 2015-07-31 8:59 ` [PATCH 2/5] ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro Hans de Goede [not found] ` <1438333194-21181-3-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 10:11 ` Maxime Ripard 2015-07-31 8:59 ` [PATCH 3/5] ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno Hans de Goede [not found] ` <1438333194-21181-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 10:11 ` Maxime Ripard 2015-07-31 8:59 ` [PATCH 4/5] ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet Hans de Goede [not found] ` <1438333194-21181-5-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 10:08 ` Maxime Ripard 2015-07-31 8:59 ` [PATCH 5/5] ARM: dts: sun7i: Add dts file for Wits Pro A20 DKT Hans de Goede [not found] ` <1438333194-21181-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 10:20 ` Maxime Ripard 2015-07-31 10:25 ` Chen-Yu Tsai [not found] ` <CAGb2v65TEogqYFAfen1VnOaiepvez5t8Oh+Q=OYsRS_aZUMO3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2015-07-31 12:45 ` [linux-sunxi] " Hans de Goede 2015-07-31 16:13 ` Hans de Goede [not found] ` <55BB9E92.30604-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-07-31 17:33 ` Chen-Yu Tsai 2015-08-01 9:30 ` Maxime Ripard 2015-08-02 12:58 ` Hans de Goede 2015-08-02 13:00 ` [linux-sunxi] " Hans de Goede 2015-07-31 16:56 ` Maxime Ripard 2015-07-31 17:28 ` Chen-Yu Tsai 2015-07-31 18:02 ` [linux-sunxi] " Hans de Goede [not found] ` <55BBB840.80107-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2015-08-01 9:18 ` 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).