Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2017-05-12 Thread Maxime Ripard
Hi, On Thu, May 11, 2017 at 02:45:11PM -0700, Bim Overbohm wrote: > Hi All, > > I had a similar problem running a mainline 4.11 kernel on an A33 tablet > (marked "Q8-2.4G 20140918". It came from a company called Trimeo and is > simply called 7". It contains an APX223 power controller,

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Michal Suchanek
On 14 September 2015 at 22:25, Maxime Ripard wrote: > On Thu, Sep 10, 2015 at 08:38:38PM +0200, Hans de Goede wrote: >> Hi, >> >> On 10-09-15 20:30, Maxime Ripard wrote: >> >On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: >> >>Hi, >> >> >> >>On

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-26 Thread Olliver Schinagl
Hey Hans, On 10-09-15 20:23, Hans de Goede wrote: Hi, On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On 07-08-15 10:45, Olliver Schinagl wrote: If you change the dr_mode to host then you _must_ also remove any id_det and vbus_det gpio settings from the usb_phy node in the dts, as

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Hans de Goede
Hi, On 14-09-15 16:44, Bin Liu wrote: Hi, On Thu, Sep 10, 2015 at 1:38 PM, Hans de Goede wrote: Hi, On 10-09-15 20:30, Maxime Ripard wrote: On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: Hi, On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Thu, Sep 10, 2015 at 1:38 PM, Hans de Goede wrote: > Hi, > > On 10-09-15 20:30, Maxime Ripard wrote: >> >> On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Hans de Goede
Hi, On 14-09-15 18:58, Bin Liu wrote: Hi, On Mon, Sep 14, 2015 at 9:59 AM, Hans de Goede wrote: Hi, On 14-09-15 16:44, Bin Liu wrote: Hi, On Thu, Sep 10, 2015 at 1:38 PM, Hans de Goede wrote: Hi, On 10-09-15 20:30, Maxime Ripard wrote: On

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Mon, Sep 14, 2015 at 12:08 PM, Hans de Goede wrote: > Hi, > > > On 14-09-15 18:58, Bin Liu wrote: >> >> Hi, >> >> On Mon, Sep 14, 2015 at 9:59 AM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> >>> On 14-09-15 16:44, Bin Liu wrote:

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Hans de Goede
Hi, On 14-09-15 19:14, Bin Liu wrote: Hi, On Mon, Sep 14, 2015 at 12:08 PM, Hans de Goede wrote: Hi, On 14-09-15 18:58, Bin Liu wrote: Hi, On Mon, Sep 14, 2015 at 9:59 AM, Hans de Goede wrote: Hi, On 14-09-15 16:44, Bin Liu wrote: Hi,

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Mon, Sep 14, 2015 at 9:59 AM, Hans de Goede wrote: > Hi, > > > On 14-09-15 16:44, Bin Liu wrote: >> >> Hi, >> >> On Thu, Sep 10, 2015 at 1:38 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On 10-09-15 20:30, Maxime Ripard wrote:

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Maxime Ripard
On Thu, Sep 10, 2015 at 08:38:38PM +0200, Hans de Goede wrote: > Hi, > > On 10-09-15 20:30, Maxime Ripard wrote: > >On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 04-09-15 08:43, Olliver Schinagl wrote: > >>>Hey Hans, > >>> > >>>On 07-08-15 10:45, Olliver

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Hans de Goede
Hi, On 09/14/2015 10:25 PM, Maxime Ripard wrote: On Thu, Sep 10, 2015 at 08:38:38PM +0200, Hans de Goede wrote: Hi, On 10-09-15 20:30, Maxime Ripard wrote: On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: Hi, On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On 07-08-15

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Mon, Sep 14, 2015 at 9:54 PM, Hans de Goede wrote: > Hi, > > > On 09/14/2015 10:25 PM, Maxime Ripard wrote: >> >> On Thu, Sep 10, 2015 at 08:38:38PM +0200, Hans de Goede wrote: >>> >>> Hi, >>> >>> On 10-09-15 20:30, Maxime Ripard wrote: On Thu, Sep 10, 2015

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Hans de Goede
Hi, On 14-09-15 19:53, Bin Liu wrote: This is my first time looking at dts handling in drivers, so I might be completely wrong, but I am thinking that since the controller node links to the phy node, so the controller node is the parent of the phy node, so if there is an of api can look it

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Mon, Sep 14, 2015 at 12:25 PM, Hans de Goede wrote: > Hi, > > > On 14-09-15 19:14, Bin Liu wrote: >> >> Hi, >> >> On Mon, Sep 14, 2015 at 12:08 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> >>> On 14-09-15 18:58, Bin Liu wrote:

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-14 Thread Bin Liu
Hi, On Mon, Sep 14, 2015 at 12:56 PM, Hans de Goede wrote: > Hi, > > On 14-09-15 19:53, Bin Liu wrote: > > > This is my first time looking at dts handling in drivers, so I might be completely wrong, but I am thinking that since the controller node links to

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-10 Thread Hans de Goede
Hi, On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On 07-08-15 10:45, Olliver Schinagl wrote: If you change the dr_mode to host then you _must_ also remove any id_det and vbus_det gpio settings from the usb_phy node in the dts, as the sun4i phy code detects host vs otg mode by

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-10 Thread Hans de Goede
Hi, On 10-09-15 20:30, Maxime Ripard wrote: On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: Hi, On 04-09-15 08:43, Olliver Schinagl wrote: Hey Hans, On 07-08-15 10:45, Olliver Schinagl wrote: If you change the dr_mode to host then you _must_ also remove any id_det and

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-10 Thread Maxime Ripard
On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: > Hi, > > On 04-09-15 08:43, Olliver Schinagl wrote: > >Hey Hans, > > > >On 07-08-15 10:45, Olliver Schinagl wrote: > >> > >>>If you change the dr_mode to host then you _must_ also remove any id_det > >>>and vbus_det > >>>gpio

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-09-04 Thread Olliver Schinagl
Hey Hans, On 07-08-15 10:45, Olliver Schinagl wrote: If you change the dr_mode to host then you _must_ also remove any id_det and vbus_det gpio settings from the usb_phy node in the dts, as the sun4i phy code detects host vs otg mode by checking for the presence of these. Yes, this fixes

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-08-07 Thread Olliver Schinagl
Hey Hans, On 06-08-15 16:35, Hans de Goede wrote: Hi, On 06-08-15 10:22, Olliver Schinagl wrote: Hey Hans, I've tried getting your musb stuff working on a cubietruck, but i don't seem to see this patch on your linux-sunxi/sunxi-wip branch on github? Is your github branch fully functional

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-08-06 Thread Olliver Schinagl
Hey Hans, I've tried getting your musb stuff working on a cubietruck, but i don't seem to see this patch on your linux-sunxi/sunxi-wip branch on github? Is your github branch fully functional at the moment? What I have done so far, is build the kernel using sunxi_defconfig and enabled

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 10:22, Olliver Schinagl wrote: Hey Hans, I've tried getting your musb stuff working on a cubietruck, but i don't seem to see this patch on your linux-sunxi/sunxi-wip branch on github? Is your github branch fully functional at the moment? What I have done so far, is build the