[PATCH v3 2/3] i2c: Implement i2c_get_chip_by_phandle()

Heiko Schocher hs at denx.de
Thu Nov 2 15:07:42 CET 2023


Hello Philip,

On 31.10.23 08:38, 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>
> ---
> 
> Notes:
>     Changes in v3: none
>     Changes in v2: new
> 
>  drivers/i2c/i2c-uclass.c | 75 ++++++++++++++++++++++++++++++++++++++++
>  include/i2c.h            | 12 +++++++
>  2 files changed, 87 insertions(+)

Applied to u-boot-i2c.git master

Thanks!

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