[PATCH linux dev-5.4] ARM: dts: Aspeed: Tacoma: Remove bmp280 and add iio-hwmon for DPS310
Joel Stanley
joel at jms.id.au
Thu Apr 2 08:58:01 AEDT 2020
On Wed, 1 Apr 2020 at 19:40, Eddie James <eajames at linux.ibm.com> wrote:
>
>
> On 4/1/20 2:06 PM, Eddie James wrote:
> > The BMP280 was replaced by the DPS310 on Witherspoon, which needs an
> > iio-hwmon node to connect to the hwmon subsystem.
> >
> > Signed-off-by: Eddie James <eajames at linux.ibm.com>
> > ---
> > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 11 +++++------
> > 1 file changed, 5 insertions(+), 6 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > index 044011bb8a04..846a8a2e1a78 100644
> > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
> > @@ -88,6 +88,11 @@
> > linux,code = <7>;
> > };
> > };
> > +
> > + iio-hwmon-dps310 {
> > + compatible = "iio-hwmon";
> > + io-channels = <&dps 0>;
> > + };
> > };
> >
> > &gpio0 {
> > @@ -442,12 +447,6 @@
> > &i2c3 {
> > status = "okay";
> >
> > - bmp: bmp280 at 77 {
> > - compatible = "bosch,bmp280";
> > - reg = <0x77>;
> > - #io-channel-cells = <1>;
> > - };
>
>
> Nope, oops, the device is physically there so we should keep it in the dts.
Ok, I've dropped this one and applied the other.
More information about the openbmc
mailing list