[PATCH 1/2] sandbox: Fix DT compiler address warnings in sandbox DTs
Heiko Schocher
hs at nabladev.com
Thu Nov 13 13:52:46 CET 2025
Hello Marek,
On 13.11.25 12:56, Marek Vasut wrote:
> Trivially fix the following warnings in sandbox DTs, which show up with
> DTC 1.7.2. Fill in the missing address and adjust emulated I2C address
> to fit the 7bit address limit:
>
> "
> arch/sandbox/dts/sandbox.dtsi:138.30-140.5: Warning (i2c_bus_reg): /i2c at 0/sandbox_pmic: I2C bus unit address format error, expected "40"
> arch/sandbox/dts/sandbox.dtsi:146.18-161.5: Warning (i2c_bus_reg): /i2c at 0/emul: I2C bus unit address format error, expected "ff"
> arch/sandbox/dts/sandbox.dtsi:148.4-17: Warning (i2c_bus_reg): /i2c at 0/emul:reg: I2C address must be less than 7-bits, got "0xff". Set I2C_TEN_BIT_ADDRESS for 10 bit addresses or fix the property
> "
>
> "
> arch/sandbox/dts/.test.dtb.pre.tmp:912.18-926.5: Warning (i2c_bus_reg): /i2c at 0/emul: I2C bus unit address format error, expected "ff"
> arch/sandbox/dts/.test.dtb.pre.tmp:913.4-17: Warning (i2c_bus_reg): /i2c at 0/emul:reg: I2C address must be less than 7-bits, got "0xff". Set I2C_TEN_BIT_ADDRESS for 10 bit addresses or fix the property
> arch/sandbox/dts/.test.dtb.pre.tmp:928.30-931.5: Warning (i2c_bus_reg): /i2c at 0/sandbox_pmic: I2C bus unit address format error, expected "40"
> "
>
> Fix up pmic test to match.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Christian Marangi <ansuelsmth at gmail.com>
> Cc: Dinesh Maniyam <dinesh.maniyam at altera.com>
> Cc: Guillaume La Roque <glaroque at baylibre.com>
> Cc: Heiko Schocher <hs at nabladev.com>
> Cc: Mattijs Korpershoek <mkorpershoek at kernel.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Svyatoslav Ryhel <clamor95 at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at lists.denx.de
> ---
> arch/sandbox/dts/sandbox.dtsi | 6 +++---
> arch/sandbox/dts/test.dts | 6 +++---
> test/dm/pmic.c | 4 ++--
> 3 files changed, 8 insertions(+), 8 deletions(-)
Good catch, thanks!
Reviewed-by: Heiko Schocher <hs at nabladev.com>
bye,
Heiko
--
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: office at nabladev.com
Geschäftsführer : Stefano Babic
More information about the U-Boot
mailing list