commit | e63a8403a723c35c354bcea9aaa389c792ee2f64 | [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 | f3b55f141fce436eaab4fdbfc846b21031c3a010 [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>