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

2015-09-18 Thread Chen-Yu Tsai
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 / bluetooth combo chip, an audio/video jack > and two connectors to plug additional boards on top of it. > > Signed-off-by: Maxime Ripard

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

2015-09-22 Thread Maxime Ripard
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 / bluetooth combo chip, an audio/video jack > > and two connectors t

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

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: +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&chip_id_det_pin>; + status = "okay"; + + usb0

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: +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usbphy { + pinctrl-names = "default"; + pinctrl-0 = <&chip_id_det

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 th

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 con

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