Message ID | 1450953502-6181-4-git-send-email-mugunthanvnm@ti.com |
---|---|
State | Accepted |
Commit | a5d801130cc9f4fc1cf2b710ac7560759b2e1c95 |
Delegated to: | Simon Glass |
Headers | show |
On Thu, Dec 24, 2015 at 04:08:06PM +0530, Mugunthan V N wrote: > 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>
On 24 December 2015 at 03:38, Mugunthan V N <mugunthanvnm@ti.com> wrote: > 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> > --- > drivers/timer/timer-uclass.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On 5 January 2016 at 17:25, Simon Glass <sjg@chromium.org> wrote: > On 24 December 2015 at 03:38, Mugunthan V N <mugunthanvnm@ti.com> wrote: >> 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> >> --- >> drivers/timer/timer-uclass.c | 1 + >> 1 file changed, 1 insertion(+) > > Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot-dm, thanks!
diff --git a/drivers/timer/timer-uclass.c b/drivers/timer/timer-uclass.c index db43611..abeb060 100644 --- a/drivers/timer/timer-uclass.c +++ b/drivers/timer/timer-uclass.c @@ -102,5 +102,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), };