[PATCH linux dev-6.0] ARM: dts: aspeed: p10bmc: Update battery node name
Joel Stanley
joel at jms.id.au
Tue Feb 7 15:15:49 AEDT 2023
On Thu, 2 Feb 2023 at 15:28, Eddie James <eajames at linux.ibm.com> wrote:
>
> The ADC sensor for the battery needs to be named "iio-hwmon" for
> compatibility with user space applications.
Can you send this upstream too please?
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> ---
> arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts | 2 +-
> arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts | 2 +-
> arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> index e2a9a18bda57..04f7dde6bcea 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
> @@ -122,7 +122,7 @@ fan1-presence {
> };
> };
>
> - iio-hwmon-battery {
> + iio-hwmon {
> compatible = "iio-hwmon";
> io-channels = <&adc1 7>;
> };
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> index 1448ea895be4..8ad5fe9c2990 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
> @@ -244,7 +244,7 @@ led-pcieslot-power {
> };
> };
>
> - iio-hwmon-battery {
> + iio-hwmon {
> compatible = "iio-hwmon";
> io-channels = <&adc1 7>;
> };
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> index 20ef958698ec..a3c55a0cc833 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
> @@ -220,7 +220,7 @@ event-fan5-presence {
> };
> };
>
> - iio-hwmon-battery {
> + iio-hwmon {
> compatible = "iio-hwmon";
> io-channels = <&adc1 7>;
> };
> --
> 2.31.1
>
More information about the openbmc
mailing list