Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-14 Thread Sebastian Reichel
Hi, On Tue, Oct 08, 2019 at 12:07:05AM +0800, Chen-Yu Tsai wrote: > As far as the sysfs documents go, CURRENT_MAX is read-only, and should refer > to > the hard limit the hardware can support, i.e. maximum power ratings. > INPUT_CURRENT_LIMIT and INPUT_VOLTAGE_LIMIT are for configurable upper

Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-07 Thread Chen-Yu Tsai
On Tue, Oct 8, 2019 at 11:09 AM Icenowy Zheng wrote: > 于 2019年10月8日 GMT+08:00 上午12:07:05, Chen-Yu Tsai 写到: > >Hi, > > > >On Wed, Oct 2, 2019 at 7:27 PM Icenowy Zheng wrote: > >> > >> AXP813 PMIC has two Vbus maximum value settings -- one is the default > >> value, which is currently the only

Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-07 Thread Icenowy Zheng
于 2019年10月8日 GMT+08:00 上午12:07:05, Chen-Yu Tsai 写到: >Hi, > >On Wed, Oct 2, 2019 at 7:27 PM Icenowy Zheng wrote: >> >> AXP813 PMIC has two Vbus maximum value settings -- one is the default >> value, which is currently the only supported one; the other is the >> really applied value, which is

Re: [linux-sunxi] [PATCH 2/2] power: supply: axp20x_usb_power: add applied max Vbus support for AXP813

2019-10-07 Thread Chen-Yu Tsai
Hi, On Wed, Oct 2, 2019 at 7:27 PM Icenowy Zheng wrote: > > AXP813 PMIC has two Vbus maximum value settings -- one is the default > value, which is currently the only supported one; the other is the > really applied value, which is set according to the default value if the > BC detection module