All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.ibm.com>
To: Joel Stanley <joel@jms.id.au>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: [PATCH linux dev-5.4] ARM: dts: Aspeed: Tacoma: Add iio-hwmon nodes for IIO devices
Date: Wed, 1 Apr 2020 13:57:34 -0500	[thread overview]
Message-ID: <699bee76-27fa-c3ec-128e-e58b66505234@linux.ibm.com> (raw)
In-Reply-To: <CACPK8XcSvozg23MzbAoJP85ACnCvc8Hx6sFC7ye8BNR71=L6KQ@mail.gmail.com>


On 3/30/20 4:36 PM, Joel Stanley wrote:
> On Mon, 30 Mar 2020 at 21:14, Eddie James <eajames@linux.ibm.com> wrote:
>> Connect the BMP280 and DPS310 to the hwmon subsystem with iio-hwmon
>> nodes.
> The BMP280 was on pre-production witherspoons. I imagine most of the
> ones we're using have dps310. Can we drop the bmp280 support?


Yes, sent a new patch for that, so this one can be abandoned.


Thanks,

Eddie


>
> Cheers,
>
> Joel
>
>> Signed-off-by: Eddie James <eajames@linux.ibm.com>
>> ---
>>   arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
>> index ff49ec76fa7c..374512a83f33 100644
>> --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
>> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
>> @@ -89,6 +89,16 @@
>>                          linux,code = <7>;
>>                  };
>>          };
>> +
>> +       iio-hwmon-dps310 {
>> +               compatible = "iio-hwmon";
>> +               io-channels = <&dps 0>;
>> +       };
>> +
>> +       iio-hwmon-bmp280 {
>> +               compatible = "iio-hwmon";
>> +               io-channels = <&bmp 1>;
>> +       };
>>   };
>>
>>   &fmc {
>> --
>> 2.24.0
>>

  reply	other threads:[~2020-04-01 18:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30 21:14 [PATCH linux dev-5.4] ARM: dts: Aspeed: Tacoma: Add iio-hwmon nodes for IIO devices Eddie James
2020-03-30 21:36 ` Joel Stanley
2020-04-01 18:57   ` Eddie James [this message]
2020-04-01 19:38     ` Eddie James
2020-04-01 21:15       ` Joel Stanley
2020-04-01 21:16         ` Eddie James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=699bee76-27fa-c3ec-128e-e58b66505234@linux.ibm.com \
    --to=eajames@linux.ibm.com \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.