Re: [PATCH v4 1/3] ACPI: amba bus probing support

2016-01-03 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 05:19:40PM +0300, Aleksey Makarov wrote: > + dev = amba_device_alloc(NULL, 0, 0); > + if (!dev) { > + dev_err(>dev, "%s(): amba_device_alloc() failed\n", > + __func__); > + return -ENOMEM; > + } ... > + /* > +

Re: [PATCH v4 1/3] ACPI: amba bus probing support

2016-01-03 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 05:19:40PM +0300, Aleksey Makarov wrote: > + dev = amba_device_alloc(NULL, 0, 0); > + if (!dev) { > + dev_err(>dev, "%s(): amba_device_alloc() failed\n", > + __func__); > + return -ENOMEM; > + } ... > + /* > +

Re: [PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Andy Shevchenko
On Wed, Dec 23, 2015 at 4:19 PM, Aleksey Makarov wrote: > From: Graeme Gregory > > On ARM64 some devices use the AMBA device and not the platform bus for > probing so add support for this. Uses a dummy clock for apb_pclk as ACPI > does not have a suitable clock representation and to keep the

[PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory On ARM64 some devices use the AMBA device and not the platform bus for probing so add support for this. Uses a dummy clock for apb_pclk as ACPI does not have a suitable clock representation and to keep the core AMBA bus code unchanged between probing methods. Signed-off-by:

[PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory On ARM64 some devices use the AMBA device and not the platform bus for probing so add support for this. Uses a dummy clock for apb_pclk as ACPI does not have a suitable clock representation and to keep the core AMBA bus code unchanged between

Re: [PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Andy Shevchenko
On Wed, Dec 23, 2015 at 4:19 PM, Aleksey Makarov wrote: > From: Graeme Gregory > > On ARM64 some devices use the AMBA device and not the platform bus for > probing so add support for this. Uses a dummy clock for apb_pclk as ACPI > does not