[PATCH linux dev-4.10] ARM: dts: aspeed: zaius: move coin battery sensor

Joel Stanley joel at jms.id.au
Fri Dec 8 17:27:21 AEDT 2017


On Wed, Dec 6, 2017 at 12:30 PM, Patrick Venture <venture at google.com> wrote:
> Moved the coin battery sensor into a separate iio-hwmon
> instance to facilitate reading it as a separate hwmon instance.
>
> Naming of ADC inputs in follow-on patchset.
>
> Signed-off-by: Patrick Venture <venture at google.com>

Applied to dev-4.10.

Cheers,

Joel

> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> index 5f6a11ad93d4..17f2000d5cd5 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
> @@ -102,7 +102,12 @@
>                 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
>                         <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>,
>                         <&adc 8>, <&adc 9>, <&adc 10>, <&adc 11>,
> -                       <&adc 12>, <&adc 13>, <&adc 14>, <&adc 15>;
> +                       <&adc 13>, <&adc 14>, <&adc 15>;
> +       };
> +
> +       iio-hwmon-battery {
> +               compatible = "iio-hwmon";
> +               io-channels = <&adc 12>;
>         };
>  };
>
> --
> 2.15.0.531.g2ccb3012c9-goog
>


More information about the openbmc mailing list