aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/pt7c4338.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-03 11:31:35 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:18 -0600
commite41651fffda7da55f6d74afdf4b784088184c543 (patch)
treef1c44b812fcbbec53555b8c0ad66edf5ccdaa8d3 /drivers/rtc/pt7c4338.c
parent67507e4aab5b58c62cd57b855ce97a83d882479c (diff)
downloadu-boot-e41651fffda7da55f6d74afdf4b784088184c543.zip
u-boot-e41651fffda7da55f6d74afdf4b784088184c543.tar.gz
u-boot-e41651fffda7da55f6d74afdf4b784088184c543.tar.bz2
dm: Support parent devices with of-platdata
At present of-platdata does not provide parent information. But this is useful for I2C devices, for example, since it allows them to determine which bus they are on. Add support for setting the parent correctly, by storing the parent driver_info index in dtoc and reading this in lists_bind_drivers(). This needs multiple passes since we must process children after their parents already have been bound. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc/pt7c4338.c')
0 files changed, 0 insertions, 0 deletions