[PATCH v2 2/3] i2c: Implement i2c_get_chip_by_phandle()
Heiko Schocher
hs at denx.de
Thu Oct 26 05:43:23 CEST 2023
Hello Philip,
On 20.10.23 11:02, Philip Richard Oberfichtner wrote:
> This new function enhances the i2c_get_chip*() toolbox by implementing a
> variant that does not require a chip_addr. Instead, the desired device
> is pointed to by a phandle.
>
> Signed-off-by: Philip Richard Oberfichtner <pro at denx.de>
> ---
>
> Changes in v2: new
>
> drivers/i2c/i2c-uclass.c | 75 ++++++++++++++++++++++++++++++++++++++++
> include/i2c.h | 12 +++++++
> 2 files changed, 87 insertions(+)
Looks good to me, thanks!
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