Re: [PATCH 1/2] iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel

2021-01-16 Thread Jonathan Albrieux
On Sat, Jan 16, 2021 at 05:47:35PM +, Jonathan Cameron wrote: > On Fri, 15 Jan 2021 10:30:49 -0600 > Bjorn Andersson wrote: > > > On Wed 13 Jan 09:18 CST 2021, Jonathan Albrieux wrote: > > > > > Checking at both msm8909-pm8916.dtsi and msm8916.dtsi from downstream > > > it is indicated that

Re: [PATCH 1/2] iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel

2021-01-16 Thread Jonathan Cameron
On Fri, 15 Jan 2021 10:30:49 -0600 Bjorn Andersson wrote: > On Wed 13 Jan 09:18 CST 2021, Jonathan Albrieux wrote: > > > Checking at both msm8909-pm8916.dtsi and msm8916.dtsi from downstream > > it is indicated that "batt_id" channel has to be scaled with the default > > function: > > > > c

Re: [PATCH 1/2] iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel

2021-01-15 Thread Bjorn Andersson
On Wed 13 Jan 09:18 CST 2021, Jonathan Albrieux wrote: > Checking at both msm8909-pm8916.dtsi and msm8916.dtsi from downstream > it is indicated that "batt_id" channel has to be scaled with the default > function: > > chan@31 { > label = "batt_id"; > reg = <0x31>

[PATCH 1/2] iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel

2021-01-13 Thread Jonathan Albrieux
Checking at both msm8909-pm8916.dtsi and msm8916.dtsi from downstream it is indicated that "batt_id" channel has to be scaled with the default function: chan@31 { label = "batt_id"; reg = <0x31>; qcom,decimation = <0>; qcom,pr