commit | b48355277340f156f387c31da5a0b8937643c54f | [log] [tgz] |
---|---|---|
author | Philip Richard Oberfichtner <pro@denx.de> | Tue Oct 31 08:38:46 2023 +0100 |
committer | Heiko Schocher <hs@denx.de> | Tue Oct 31 09:08:51 2023 +0100 |
tree | 593065b5e85ade9b428efe5bfdbe85a69772b37c | |
parent | 31f4ee4b13d974ba4b973211eeb57db70bc5ea77 [diff] |
i2c: Implement i2c_get_chip_by_phandle() 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@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de>