From: Lee Jones <lee@kernel.org>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-renesas-soc@vger.kernel.org, Peter Rosin <peda@axentia.se>,
Bartosz Golaszewski <bgolaszewski@baylibre.com>,
Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
Support Opensource <support.opensource@diasemi.com>
Subject: Re: [PATCH] mfd: da9063: occupy second I2C address, too
Date: Fri, 13 Jun 2025 15:06:03 +0100 [thread overview]
Message-ID: <20250613140603.GD897353@google.com> (raw)
In-Reply-To: <20250601112546.2136-2-wsa+renesas@sang-engineering.com>
On Sun, 01 Jun 2025, Wolfram Sang wrote:
> Even though we don't use it yet, we should mark the second I2C address
> this device is listening to as used.
Could we have a bit more information please?
What happens if we don't do this?
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> Reviewed-by: Peter Rosin <peda@axentia.se>
> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
> ---
>
> This patch could not be applied 6 years ago because of a missing
> dependency. It has arrived meanwhile ;)
>
> drivers/mfd/da9063-i2c.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mfd/da9063-i2c.c b/drivers/mfd/da9063-i2c.c
> index c6235cd0dbdc..c74702cf8a77 100644
> --- a/drivers/mfd/da9063-i2c.c
> +++ b/drivers/mfd/da9063-i2c.c
> @@ -454,6 +454,8 @@ static int da9063_i2c_probe(struct i2c_client *i2c)
> }
> }
Maybe a comment for future readers wondering why we're obtaining this
unused I2C address. It may prevent others from removing it as
superfluous.
> + devm_i2c_new_dummy_device(&i2c->dev, i2c->adapter, i2c->addr + 1);
> +
> return da9063_device_init(da9063, i2c->irq);
> }
>
> --
> 2.47.2
>
--
Lee Jones [李琼斯]
next prev parent reply other threads:[~2025-06-13 14:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-01 11:22 [PATCH] mfd: da9063: occupy second I2C address, too Wolfram Sang
2025-06-13 14:06 ` Lee Jones [this message]
2025-06-13 14:06 ` Lee Jones
-- strict thread matches above, loose matches on Subject: below --
2019-06-20 9:07 Steve Twiss
2019-06-20 9:21 ` Wolfram Sang
2019-06-21 9:23 ` Steve Twiss
2019-06-21 10:09 ` Wolfram Sang
2019-06-21 10:23 ` Steve Twiss
2019-06-20 12:28 ` Lee Jones
2019-06-20 12:44 ` Steve Twiss
2019-06-20 13:33 ` Lee Jones
2019-06-19 17:18 Wolfram Sang
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=20250613140603.GD897353@google.com \
--to=lee@kernel.org \
--cc=bgolaszewski@baylibre.com \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=peda@axentia.se \
--cc=support.opensource@diasemi.com \
--cc=wsa+renesas@sang-engineering.com \
/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.