Hi Neil,
On 5 October 2016 at 18:44, NeilBrown wrote:
> On Wed, Oct 05 2016, Felipe Balbi wrote:
>
>> Hi Baolin,
>>
>> Baolin Wang writes:
> But you do!
> The mA number from the USB configuration is passed to
> usb_gadget_vbus_draw.
>
On Wed, Oct 05 2016, Felipe Balbi wrote:
> Hi Baolin,
>
> Baolin Wang writes:
But you do!
The mA number from the USB configuration is passed to usb_gadget_vbus_draw.
Your patch passes that to usb_charger_set_cur_limit_by_type()
which calls
Hi Felipe,
On 5 October 2016 at 15:47, Felipe Balbi wrote:
>
> Hi Baolin,
>
> Baolin Wang writes:
But you do!
The mA number from the USB configuration is passed to usb_gadget_vbus_draw.
Your patch passes that to
Hi Baolin,
Baolin Wang writes:
>>> But you do!
>>> The mA number from the USB configuration is passed to usb_gadget_vbus_draw.
>>> Your patch passes that to usb_charger_set_cur_limit_by_type()
>>> which calls __usb_charger_set_cur_limit_by_type() which will set the
>>>
Hi Felipe,
>> But you do!
>> The mA number from the USB configuration is passed to usb_gadget_vbus_draw.
>> Your patch passes that to usb_charger_set_cur_limit_by_type()
>> which calls __usb_charger_set_cur_limit_by_type() which will set the
>> cur_limit for whichever type uchger->type currently
Hi Neil,
Sorry for late reply due yo my holiday.
On 10 September 2016 at 05:19, NeilBrown wrote:
> On Fri, Sep 09 2016, Baolin Wang wrote:
>
>>>
>>> In practice, the USB PHY and the Power manager will often be in the same
>>> IC (the PMIC) so the driver for one could look at the
Hi!
> > That's not actually 100% clear to me - for what the wm831x is doing it
> > probably *does* want the higher limit. This is a system inflow limit
> > (as it should be for this), at least the charger will adapt to voltage
> > variations though other users in the system are much less likely
On Wed, Sep 14, 2016 at 07:50:00PM +0200, NeilBrown wrote:
> On Wed, Sep 14 2016, Mark Brown wrote:
> Ah my mistake, sorry.
> When earlier you said:
> > It's a
> > current limiter intended to sit in line with the USB power lines
On Wed, Sep 14 2016, Mark Brown wrote:
> TI do a lot of the more software managed chargers (which I suspect are
> the main thing Felipe will have looked at) if that's what you're
> referring to here? The device is implementing pretty much the algorithm
> you're describing in that e-mail so I'm a
On Wed, Sep 14, 2016 at 04:11:58PM +0200, NeilBrown wrote:
> On Wed, Sep 14 2016, Mark Brown wrote:
> > Yes, the idea is that the charger will back off charging and stop
> > entirely if the rest of the system is consuming too much power to allow
> > it to continue effectively. The same thing
On Wed, Sep 14 2016, Mark Brown wrote:
> [ Unknown signature status ]
> On Tue, Sep 13, 2016 at 10:00:28AM +0200, NeilBrown wrote:
>> On Mon, Sep 12 2016, Mark Brown wrote:
>
>> > That's not actually 100% clear to me - for what the wm831x is doing it
>> > probably *does* want the higher limit.
On Tue, Sep 13, 2016 at 10:00:28AM +0200, NeilBrown wrote:
> On Mon, Sep 12 2016, Mark Brown wrote:
> > That's not actually 100% clear to me - for what the wm831x is doing it
> > probably *does* want the higher limit. This is a system inflow limit
> > (as it should be for this), at least the
On Mon, Sep 12 2016, Mark Brown wrote:
> [ Unknown signature status ]
> On Mon, Sep 12, 2016 at 03:27:18PM +0200, NeilBrown wrote:
>> On Mon, Sep 12 2016, Mark Brown wrote:
>
>> > It's no worse than any other board file situation - if someone has that
>> > problem they get to fix it.
>
>> My
On Mon, Sep 12, 2016 at 03:27:18PM +0200, NeilBrown wrote:
> On Mon, Sep 12 2016, Mark Brown wrote:
> > It's no worse than any other board file situation - if someone has that
> > problem they get to fix it.
> My point is that the present design does not appear to scale beyond a
> single USB
On Mon, Sep 12 2016, Mark Brown wrote:
> [ Unknown signature status ]
> On Sat, Sep 10, 2016 at 07:57:26AM +1000, NeilBrown wrote:
>> On Fri, Sep 09 2016, Mark Brown wrote:
>
>> > The wm831x driver in the patch series is an example of such hardware -
>> > it is purely a power manager, it has no
On Sat, Sep 10, 2016 at 07:57:26AM +1000, NeilBrown wrote:
> On Fri, Sep 09 2016, Mark Brown wrote:
> > The wm831x driver in the patch series is an example of such hardware -
> > it is purely a power manager, it has no USB PHY hardware at all. It's a
> The "probe" routine calls
> +
On Fri, Sep 09 2016, Mark Brown wrote:
> [ Unknown signature status ]
> On Fri, Sep 09, 2016 at 09:13:31AM +1000, NeilBrown wrote:
>
>> Conceptually, the PHY is separate from the power manager and a solution
>> which recognises that will be more universal.
>
> The wm831x driver in the patch
On Fri, Sep 09 2016, Baolin Wang wrote:
>>
>> In practice, the USB PHY and the Power manager will often be in the same
>> IC (the PMIC) so the driver for one could look at the registers for the
>> other.
>> But there is no guarantee that the hardware works like that. It is
>> best to create a
On Fri, Sep 09, 2016 at 09:13:31AM +1000, NeilBrown wrote:
> Conceptually, the PHY is separate from the power manager and a solution
> which recognises that will be more universal.
The wm831x driver in the patch series is an example of such hardware -
it is purely a power manager, it has no USB
On 9 September 2016 at 07:13, NeilBrown wrote:
> On Thu, Sep 08 2016, Baolin Wang wrote:
>
>> On 8 September 2016 at 15:31, NeilBrown wrote:
>>> On Thu, Sep 08 2016, Baolin Wang wrote:
Now the usb charger will not get charger type from 'extcon'
On Thu, Sep 08 2016, Baolin Wang wrote:
> On 8 September 2016 at 15:31, NeilBrown wrote:
>> On Thu, Sep 08 2016, Baolin Wang wrote:
>>>
>>> Now the usb charger will not get charger type from 'extcon' subsystem,
>>> we get the charger type from 'power_supply' and calllback
>>>
On 8 September 2016 at 15:31, NeilBrown wrote:
> On Thu, Sep 08 2016, Baolin Wang wrote:
>
>> Hi Neil,
>>
>> On 6 September 2016 at 13:40, NeilBrown wrote:
>>> On Mon, Aug 29 2016, Baolin Wang wrote:
>>>
Hi Felipe,
On 11 August 2016 at 11:14,
On Thu, Sep 08 2016, Baolin Wang wrote:
> Hi Neil,
>
> On 6 September 2016 at 13:40, NeilBrown wrote:
>> On Mon, Aug 29 2016, Baolin Wang wrote:
>>
>>> Hi Felipe,
>>>
>>> On 11 August 2016 at 11:14, Baolin Wang wrote:
Hi Felipe,
On 1
Hi Neil,
On 6 September 2016 at 13:40, NeilBrown wrote:
> On Mon, Aug 29 2016, Baolin Wang wrote:
>
>> Hi Felipe,
>>
>> On 11 August 2016 at 11:14, Baolin Wang wrote:
>>> Hi Felipe,
>>>
>>> On 1 August 2016 at 15:09, Baolin Wang
Hi,
NeilBrown writes:
> Firstly, you have made the current limit associated with each cable type
> configurable (__usb_charger_set_cur_limit_by_type). This is nonsense.
> The standard (e.g. BC-1.2) declares what the current limits are. There
> is no reason for those not
On Mon, Aug 29 2016, Baolin Wang wrote:
> Hi Felipe,
>
> On 11 August 2016 at 11:14, Baolin Wang wrote:
>> Hi Felipe,
>>
>> On 1 August 2016 at 15:09, Baolin Wang wrote:
>>> Currently the Linux kernel does not provide any standard integration of
Hi Felipe,
On 11 August 2016 at 11:14, Baolin Wang wrote:
> Hi Felipe,
>
> On 1 August 2016 at 15:09, Baolin Wang wrote:
>> Currently the Linux kernel does not provide any standard integration of this
>> feature that integrates the USB subsystem
Hi Felipe,
On 1 August 2016 at 15:09, Baolin Wang wrote:
> Currently the Linux kernel does not provide any standard integration of this
> feature that integrates the USB subsystem with the system power regulation
> provided by PMICs meaning that either vendors must add
Currently the Linux kernel does not provide any standard integration of this
feature that integrates the USB subsystem with the system power regulation
provided by PMICs meaning that either vendors must add this in their kernels
or USB gadget devices based on Linux (such as mobile phones) may not
29 matches
Mail list logo