mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
rtc: Allow child drivers
Some RTC chips have child drivers, e.g. to provide access to their non-volatile RAM. Scan for these when binding. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
031a650e13
commit
68c81fb665
|
@ -122,4 +122,5 @@ int rtc_write32(struct udevice *dev, unsigned int reg, u32 value)
|
|||
UCLASS_DRIVER(rtc) = {
|
||||
.name = "rtc",
|
||||
.id = UCLASS_RTC,
|
||||
.post_bind = dm_scan_fdt_dev,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user