Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-23 Thread Mark Brown
On Thu, Jan 23, 2014 at 09:58:21AM +0100, Michal Simek wrote: > On 01/17/2014 06:04 PM, Arnd Bergmann wrote: > >> I thought the solution with deferring registration of the resource for > >> dev_get_regmap() until a proper device materialised seemed simple and > >> enough, did you folks run into an

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-23 Thread Michal Simek
On 01/17/2014 06:04 PM, Arnd Bergmann wrote: > On Thursday 16 January 2014, Mark Brown wrote: >> On Thu, Jan 16, 2014 at 12:19:00PM +0100, Arnd Bergmann wrote: >> >>> 1. Other platforms also require the syscon driver to be active before >>> the regular device driver probing starts. Michal Simek has

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-17 Thread Arnd Bergmann
On Thursday 16 January 2014, Mark Brown wrote: > On Thu, Jan 16, 2014 at 12:19:00PM +0100, Arnd Bergmann wrote: > > > 1. Other platforms also require the syscon driver to be active before > > the regular device driver probing starts. Michal Simek has the same > > issue in the zynq clock driver tha

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-16 Thread Mark Brown
On Thu, Jan 16, 2014 at 12:19:00PM +0100, Arnd Bergmann wrote: > 1. Other platforms also require the syscon driver to be active before > the regular device driver probing starts. Michal Simek has the same > issue in the zynq clock driver that you have for SMP initialization. > We have talked about

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-16 Thread Michal Simek
On 01/16/2014 12:19 PM, Arnd Bergmann wrote: > On Thursday 16 January 2014, Marc C wrote: >>> And then you can add a regular device driver to drivers/reset that provides >>> a >>> device_reset() API to other drivers, or a system-reset function to be >>> registered as >>> arm_pm_restart. This driv

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-16 Thread Arnd Bergmann
On Thursday 16 January 2014, Marc C wrote: > > And then you can add a regular device driver to drivers/reset that provides > > a > > device_reset() API to other drivers, or a system-reset function to be > > registered as > > arm_pm_restart. This driver would use syscon_regmap_lookup_by_phandle()

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-15 Thread Marc C
Hello Arnd, > And then you can add a regular device driver to drivers/reset that provides a > device_reset() API to other drivers, or a system-reset function to be > registered as > arm_pm_restart. This driver would use syscon_regmap_lookup_by_phandle() to > get access > to a regmap pointer, and

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-15 Thread Marc
Hi Arnd, Thank you for the suggestion - it's exactly what we were looking for! Regards, Marc Sent from my phone > On Jan 15, 2014, at 5:10 AM, Arnd Bergmann wrote: > >> On Wednesday 15 January 2014, Marc Carino wrote: >> + gen-ctrl { >> + compatible = "brcm,brcmstb-gen-ctr

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-15 Thread Mark Rutland
On Tue, Jan 14, 2014 at 11:48:53PM +, Marc Carino wrote: > Add a sample DTS which will allow bootup of a board populated > with the BCM7445 chip. > > Signed-off-by: Marc Carino > Acked-by: Florian Fainelli > --- > arch/arm/boot/dts/brcmstb-7445.dts | 104 >

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-15 Thread Arnd Bergmann
On Wednesday 15 January 2014, Marc Carino wrote: > + gen-ctrl { > + compatible = "brcm,brcmstb-gen-ctrl-v1"; > + reg = <0xf0404304 0x4 > + 0xf0404308 0x4 > + 0xf03e2578 0x4 > + 0xf03e2488 0x10 > +

[PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-14 Thread Marc Carino
Add a sample DTS which will allow bootup of a board populated with the BCM7445 chip. Signed-off-by: Marc Carino Acked-by: Florian Fainelli --- arch/arm/boot/dts/brcmstb-7445.dts | 104 1 files changed, 104 insertions(+), 0 deletions(-) create mode 100644 a