mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue