commit | 302ea78df970248dbc680dd731e6bd0f8587f500 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 18 08:14:35 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 29 09:30:05 2018 -0700 |
tree | 03ae6ce7228e48cb1b62d7497ca8396a851074f7 | |
parent | 17b56f68c8062d4e1dced92b0962db1084dd43ca [diff] |
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>
diff --git a/drivers/rtc/rtc-uclass.c b/drivers/rtc/rtc-uclass.c index c676f0f..a0a238a 100644 --- a/drivers/rtc/rtc-uclass.c +++ b/drivers/rtc/rtc-uclass.c
@@ -122,4 +122,5 @@ UCLASS_DRIVER(rtc) = { .name = "rtc", .id = UCLASS_RTC, + .post_bind = dm_scan_fdt_dev, };