]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: dts: Add missing sandbox, emul phandle to sandbox-pmic
authorMarek Vasut <marex@denx.de>
Sat, 5 Oct 2024 14:33:37 +0000 (16:33 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:22 +0000 (14:10 -0600)
commit82c6ebae42e3462b8baf3e2a0e017f9ca18e81ac
tree67346c852a78c7c770edafa0ec8900b7ca79ab74
parent7f4e1ea00bc417d99fa5a87091932280de34cab4
sandbox: dts: Add missing sandbox, emul phandle to sandbox-pmic

This phandle was missing in the sandbox DT, add it, otherwise sandbox-i2c
driver cannot look up the emulator via i2c_emul_find(). This fixes the
following i2c_emul_find() error:

"
$ ./u-boot -Dc ""
...
       i2c_emul_find() No emulators for device 'sandbox_pmic'
  sandbox_pmic_write() write error to device: 0000000018c568d0 register: 0x0!
       out_set_value() PMIC write failed: -5
       i2c_emul_find() No emulators for device 'sandbox_pmic'
  sandbox_pmic_write() write error to device: 0000000018c568d0 register: 0x0!
       out_set_value() PMIC write failed: -5
...
"

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox_pmic.dtsi