Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-29 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 04:30:04PM +0200, Hans de Goede wrote: > Hi, > > On 22-09-15 16:04, Maxime Ripard wrote: > >On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: > >>>In short, this is not about "power supply" but VBUS detection. IIRC, > >>>if no VBUS detection method is

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-29 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 04:30:04PM +0200, Hans de Goede wrote: > Hi, > > On 22-09-15 16:04, Maxime Ripard wrote: > >On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: > >>>In short, this is not about "power supply" but VBUS detection. IIRC, > >>>if no VBUS detection method is

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 16:04, Maxime Ripard wrote: On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: In short, this is not about "power supply" but VBUS detection. IIRC, if no VBUS detection method is provided, the phy driver just waits a period of time after an ID pin change and then

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: > >In short, this is not about "power supply" but VBUS detection. IIRC, > >if no VBUS detection method is provided, the phy driver just waits a > >period of time after an ID pin change and then considers VBUS invalid. > > Right, but

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 15:01, Hans de Goede wrote: Hi, On 22-09-15 14:57, Chen-Yu Tsai wrote: On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: +_otg { + dr_mode = "otg"; + status = "okay"; +}; + + { + pinctrl-names = "default"; + pinctrl-0 = <_id_det_pin>; +

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 14:57, Chen-Yu Tsai wrote: On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: +_otg { + dr_mode = "otg"; + status = "okay"; +}; + + { + pinctrl-names = "default"; + pinctrl-0 = <_id_det_pin>; + status = "okay"; + + usb0_id_det-gpio =

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: > On Sat, Sep 19, 2015 at 12:41:07AM +0800, Chen-Yu Tsai wrote: >> On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard >> wrote: >> > The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of >> > RAM, USB host and OTG, a wifi /

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 15:01, Hans de Goede wrote: Hi, On 22-09-15 14:57, Chen-Yu Tsai wrote: On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: +_otg { + dr_mode = "otg"; + status = "okay"; +}; + + { + pinctrl-names = "default"; +

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Maxime Ripard
On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: > >In short, this is not about "power supply" but VBUS detection. IIRC, > >if no VBUS detection method is provided, the phy driver just waits a > >period of time after an ID pin change and then considers VBUS invalid. > > Right, but

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Chen-Yu Tsai
On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: > On Sat, Sep 19, 2015 at 12:41:07AM +0800, Chen-Yu Tsai wrote: >> On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard >> wrote: >> > The C.H.I.P. is a small SBC with an Allwinner

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 14:57, Chen-Yu Tsai wrote: On Tue, Sep 22, 2015 at 8:47 PM, Maxime Ripard wrote: +_otg { + dr_mode = "otg"; + status = "okay"; +}; + + { + pinctrl-names = "default"; + pinctrl-0 = <_id_det_pin>; + status =

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-22 Thread Hans de Goede
Hi, On 22-09-15 16:04, Maxime Ripard wrote: On Tue, Sep 22, 2015 at 03:01:58PM +0200, Hans de Goede wrote: In short, this is not about "power supply" but VBUS detection. IIRC, if no VBUS detection method is provided, the phy driver just waits a period of time after an ID pin change and then