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@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@0/emul: I2C bus
unit address format error, expected "ff"
arch/sandbox/dts/sandbox.dtsi:148.4-17: Warning (i2c_bus_reg): /i2c@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@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@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@0/sandbox_pmic: I2C bus unit address format error, expected "40"
"
Fix up pmic test to match.
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Christian Marangi <[email protected]>
Cc: Dinesh Maniyam <[email protected]>
Cc: Guillaume La Roque <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
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 <[email protected]>
bye,
Heiko
--
Nabla Software Engineering
HRB 40522 Augsburg
Phone: +49 821 45592596
E-Mail: [email protected]
Geschäftsführer : Stefano Babic