[PATCH] sandbox: dts: Add missing sandbox,emul phandle to sandbox-pmic

Heiko Schocher hs at denx.de
Tue Oct 8 06:35:20 CEST 2024


Hello Marek,

On 05.10.24 16:33, Marek Vasut wrote:
> 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 at denx.de>
> ---
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at lists.denx.de
> ---
>   arch/sandbox/dts/sandbox_pmic.dtsi | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list