Re: cwfg: update device-tree bindings

2021-03-22 Thread Mark Kettenis
> Date: Mon, 22 Mar 2021 19:07:23 +0100 > From: Klemens Nanni > > On Mon, Mar 22, 2021 at 06:19:14PM +0100, Mark Kettenis wrote: > > > @@ -167,7 +167,7 @@ cwfg_attach(struct device *parent, struc > > > free(batinfo, M_TEMP, len); > > > > > > sc->sc_monitor_interval = OF_getpropint(sc->sc_no

Re: cwfg: update device-tree bindings

2021-03-22 Thread Klemens Nanni
On Mon, Mar 22, 2021 at 06:19:14PM +0100, Mark Kettenis wrote: > > @@ -167,7 +167,7 @@ cwfg_attach(struct device *parent, struc > > free(batinfo, M_TEMP, len); > > > > sc->sc_monitor_interval = OF_getpropint(sc->sc_node, > > - "cellwise,monitor-interval", CWFG_MONITOR_INTERVAL_DEFAU

Re: cwfg: update device-tree bindings

2021-03-22 Thread Mark Kettenis
> Date: Mon, 22 Mar 2021 17:48:56 +0100 > From: Klemens Nanni > > Using our dtb package's blobs cwfg(4) won't attach on the Pinebook Pro > since linux changed it: > > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml > > Thanks to k

Re: cwfg: update device-tree bindings

2021-03-22 Thread Klemens Nanni
On Mon, Mar 22, 2021 at 05:48:56PM +0100, Klemens Nanni wrote: > Using our dtb package's blobs cwfg(4) won't attach on the Pinebook Pro > since linux changed it: > > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml > > Thanks to kett

cwfg: update device-tree bindings

2021-03-22 Thread Klemens Nanni
Using our dtb package's blobs cwfg(4) won't attach on the Pinebook Pro since linux changed it: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml Thanks to kettenis and patrick for pointing this out. This diff makes the sensor attach