Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver
Hi Paul, On 23 September 2016 at 10:12, Paul Burtonwrote: > On Thursday, 22 September 2016 22:15:48 BST Simon Glass wrote: > >> Hi, > >> > >> On 8 September 2016 at 00:47, Paul Burton wrote: > >> > Provide a trivial syscon driver matching the generic "syscon" compatible > >> > string, allowing for simple system controllers to be used without a > >> > custom driver just as in Linux. > >> > > >> > Signed-off-by: Paul Burton > >> > > >> > --- > >> > > >> > Changes in v7: None > >> > Changes in v6: None > >> > Changes in v5: None > >> > Changes in v4: None > >> > Changes in v3: None > >> > Changes in v2: > >> > - New patch > >> > > >> > drivers/core/syscon-uclass.c | 11 +++ > >> > 1 file changed, 11 insertions(+) > >> > >> It looks like this has been applied, right? > >> > >> Regards, > >> Simon > > > > Hi Simon, > > > > This patch & patch 9 of the series which you asked the same question of were > both included in the MIPS pull that was merged on Wednesday: > > > > http://lists.denx.de/pipermail/u-boot/2016-September/267439.html OK thanks. It is helpful to send a message on each patch when it is applied, so that we know its change in status. Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver
On Thursday, 22 September 2016 22:15:48 BST Simon Glass wrote: > Hi, > > On 8 September 2016 at 00:47, Paul Burtonwrote: > > Provide a trivial syscon driver matching the generic "syscon" compatible > > string, allowing for simple system controllers to be used without a > > custom driver just as in Linux. > > > > Signed-off-by: Paul Burton > > > > --- > > > > Changes in v7: None > > Changes in v6: None > > Changes in v5: None > > Changes in v4: None > > Changes in v3: None > > Changes in v2: > > - New patch > > > > drivers/core/syscon-uclass.c | 11 +++ > > 1 file changed, 11 insertions(+) > > It looks like this has been applied, right? > > Regards, > Simon Hi Simon, This patch & patch 9 of the series which you asked the same question of were both included in the MIPS pull that was merged on Wednesday: http://lists.denx.de/pipermail/u-boot/2016-September/267439.html[1] Thanks, Paul [1] http://lists.denx.de/pipermail/u-boot/2016-September/267439.html signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver
Hi, On 8 September 2016 at 00:47, Paul Burtonwrote: > Provide a trivial syscon driver matching the generic "syscon" compatible > string, allowing for simple system controllers to be used without a > custom driver just as in Linux. > > Signed-off-by: Paul Burton > > --- > > Changes in v7: None > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: > - New patch > > drivers/core/syscon-uclass.c | 11 +++ > 1 file changed, 11 insertions(+) It looks like this has been applied, right? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH v7 10/12] dm: syscon: Provide a generic syscon driver
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux. Signed-off-by: Paul Burton--- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - New patch drivers/core/syscon-uclass.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c index 01bd968..2148469 100644 --- a/drivers/core/syscon-uclass.c +++ b/drivers/core/syscon-uclass.c @@ -95,3 +95,14 @@ UCLASS_DRIVER(syscon) = { .per_device_auto_alloc_size = sizeof(struct syscon_uc_info), .pre_probe = syscon_pre_probe, }; + +static const struct udevice_id generic_syscon_ids[] = { + { .compatible = "syscon" }, + { } +}; + +U_BOOT_DRIVER(generic_syscon) = { + .name = "syscon", + .id = UCLASS_SYSCON, + .of_match = generic_syscon_ids, +}; -- 2.9.3 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot