mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <eagle.alexander923@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: "open list:BAREBOX" <barebox@lists.infradead.org>
Subject: Re: [PATCH 1/3] i2c: set adapter.nr explicitly to -1
Date: Fri, 25 Oct 2024 16:43:35 +0300	[thread overview]
Message-ID: <CAP1tNvR0tYRQVY63bUwB24gAP4-UWQvP1v=GWZs_GkD0vBUiNg@mail.gmail.com> (raw)
In-Reply-To: <20241025-i2c-busnum-v1-1-332d9257eafe@pengutronix.de>

Hello.

Last time I didn't do it completely :)
https://lore.barebox.org/barebox/20230714051510.2304-4-eagle.alexander923@gmail.com/

Thanks!

...

> dev->id will always be -1 for device tree instantiated devices. Instead
> of setting adapter.nr to dev->id, set it to -1 explicitly for all I2C
> bus drivers that are purely instantiated from device tree.



  reply	other threads:[~2024-10-25 14:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-25  7:30 [PATCH 0/3] I2C: assign bus numbers from device tree Sascha Hauer
2024-10-25  7:30 ` [PATCH 1/3] i2c: set adapter.nr explicitly to -1 Sascha Hauer
2024-10-25 13:43   ` Alexander Shiyan [this message]
2024-10-28 12:11     ` Sascha Hauer
2024-10-25  7:30 ` [PATCH 2/3] i2c: get adapter.nr from device tree Sascha Hauer
2024-10-25  7:30 ` [PATCH 3/3] i2c: start dynamic I2C bus numbers at 32 Sascha Hauer
2024-10-28 12:11 ` [PATCH 0/3] I2C: assign bus numbers from device tree Sascha Hauer

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='CAP1tNvR0tYRQVY63bUwB24gAP4-UWQvP1v=GWZs_GkD0vBUiNg@mail.gmail.com' \
    --to=eagle.alexander923@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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