mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
dm: timer: uclass: Add flag to control sequence numbering
Like SPI and I2C, timer devices also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in timer_uclass driver to control device sequence numbering. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c833697538
commit
a5d801130c
1 changed files with 1 additions and 0 deletions
|
@ -104,5 +104,6 @@ UCLASS_DRIVER(timer) = {
|
|||
.id = UCLASS_TIMER,
|
||||
.name = "timer",
|
||||
.pre_probe = timer_pre_probe,
|
||||
.flags = DM_UC_FLAG_SEQ_ALIAS,
|
||||
.per_device_auto_alloc_size = sizeof(struct timer_dev_priv),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue