From: "Cédric Le Goater" <clg@kaod.org>
To: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>,
<peter.maydell@linaro.org>, <andrew@aj.id.au>, <joel@jms.id.au>,
<qemu-arm@nongnu.org>, <qemu-devel@nongnu.org>
Subject: Re: [PATCH v1] Added TMP421 type sensor's support in yosemitev2
Date: Tue, 7 Mar 2023 11:12:49 +0100 [thread overview]
Message-ID: <f6be2cb3-b4bd-7e53-647c-1d6922f2eb5c@kaod.org> (raw)
In-Reply-To: <20230307095239.3583613-1-pkarthikeyan1509@gmail.com>
On 3/7/23 10:52, Karthikeyan Pasupathi wrote:
> Added TMP421 type support in yosemite v2 platform.
>
> Tested: Tested and verified in yosemite V2 platform.
>
> Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Thanks,
C.
> ---
> hw/arm/aspeed.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
> index 86601cb1a5..7b5e603bc4 100644
> --- a/hw/arm/aspeed.c
> +++ b/hw/arm/aspeed.c
> @@ -524,6 +524,11 @@ static void yosemitev2_bmc_i2c_init(AspeedMachineState *bmc)
> at24c_eeprom_init(aspeed_i2c_get_bus(&soc->i2c, 4), 0x51, 128 * KiB);
> at24c_eeprom_init_rom(aspeed_i2c_get_bus(&soc->i2c, 8), 0x51, 128 * KiB,
> yosemitev2_bmc_fruid, yosemitev2_bmc_fruid_len);
> + /* TMP421 */
> + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 11), "tmp421", 0x1f);
> + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "tmp421", 0x4e);
> + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "tmp421", 0x4f);
> +
> }
>
> static void romulus_bmc_i2c_init(AspeedMachineState *bmc)
prev parent reply other threads:[~2023-03-07 10:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 9:52 [PATCH v1] Added TMP421 type sensor's support in yosemitev2 Karthikeyan Pasupathi
2023-03-07 10:12 ` Cédric Le Goater [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=f6be2cb3-b4bd-7e53-647c-1d6922f2eb5c@kaod.org \
--to=clg@kaod.org \
--cc=andrew@aj.id.au \
--cc=joel@jms.id.au \
--cc=peter.maydell@linaro.org \
--cc=pkarthikeyan1509@gmail.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).