From: Chanh Nguyen <chanh@amperemail.onmicrosoft.com>
To: Chanh Nguyen <chanh@os.amperecomputing.com>,
OpenBMC Maillist <openbmc@lists.ozlabs.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: aspeed: mtjade, mtmitchell: Add OCP device temperature sensor
Date: Mon, 27 Mar 2023 11:12:42 +0700 [thread overview]
Message-ID: <df563be9-cde5-2cd5-1db0-6a1d5e100a06@amperemail.onmicrosoft.com> (raw)
In-Reply-To: <20230218171002.8725-1-chanh@os.amperecomputing.com>
Dear reviewers,
Just a gentle ping for the patch.
Thanks,
- Chanh
On 19/02/2023 00:10, Chanh Nguyen wrote:
> Define an I2C alias port from I2C Switch 0x70 at I2C5.
> Add the OCP device temperature sensor via I2C alias port
> as a tmp421 sensor.
>
> Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>
> ---
> .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 16 ++++++++++
> .../boot/dts/aspeed-bmc-ampere-mtmitchell.dts | 29 +++++++++++++++++++
> 2 files changed, 45 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
> index 0a51d2e32fab..b93339ed61c0 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts
> @@ -49,6 +49,11 @@
> */
> i2c80 = &nvme_m2_0;
> i2c81 = &nvme_m2_1;
> +
> + /*
> + * i2c bus 82 assigned to OCP slot
> + */
> + i2c82 = &ocpslot;
> };
>
> chosen {
> @@ -420,6 +425,17 @@
> reg = <0x70>;
> i2c-mux-idle-disconnect;
>
> + ocpslot: i2c@0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x0>;
> +
> + ocp_temp: temperature-sensor@1f {
> + compatible = "ti,tmp421";
> + reg = <0x1f>;
> + };
> + };
> +
> nvmeslot_0_7: i2c@3 {
> #address-cells = <1>;
> #size-cells = <0>;
> diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
> index 4b91600eaf62..c832b8ae5999 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtmitchell.dts
> @@ -10,6 +10,14 @@
> model = "Ampere Mt.Mitchell BMC";
> compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
>
> + aliases {
> + /*
> + * i2c bus 30-31 assigned to OCP slot 0-1
> + */
> + i2c30 = &ocpslot_0;
> + i2c31 = &ocpslot_1;
> + };
> +
> chosen {
> stdout-path = &uart5;
> };
> @@ -424,6 +432,27 @@
> #size-cells = <0>;
> reg = <0x70>;
> i2c-mux-idle-disconnect;
> +
> + ocpslot_0: i2c@0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x0>;
> +
> + ocpslot_0_temp: temperature-sensor@1f {
> + compatible = "ti,tmp421";
> + reg = <0x1f>;
> + };
> + };
> + ocpslot_1: i2c@1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + reg = <0x1>;
> +
> + ocpslot_1_temp: temperature-sensor@1f {
> + compatible = "ti,tmp421";
> + reg = <0x1f>;
> + };
> + };
> };
> };
>
prev parent reply other threads:[~2023-03-27 4:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-18 17:10 Chanh Nguyen
2023-03-27 4:12 ` Chanh Nguyen [this message]
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=df563be9-cde5-2cd5-1db0-6a1d5e100a06@amperemail.onmicrosoft.com \
--to=chanh@amperemail.onmicrosoft.com \
--cc=andrew@aj.id.au \
--cc=chanh@os.amperecomputing.com \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®