Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 01:57:39PM +, Alex Elder wrote: > On 12/04/2013 07:06 AM, Alex Elder wrote: > >>> + name_size = strlen(node->name) + 1; > >>> >> + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); > >>> >> + if (!ccu) { > >>> >> + pr_err("%s: unable

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 07:06 AM, Alex Elder wrote: >>> + name_size = strlen(node->name) + 1; >>> >> + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); >>> >> + if (!ccu) { >>> >> + pr_err("%s: unable to map allocate CCU struct for %s\n", >>> >> +

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 05:14 AM, Mark Rutland wrote: > On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: >> Add code for device tree support of clocks in the BCM281xx family of >> SoCs. Machines in this family use peripheral clocks implemented by >> "Kona" clock control units (CCUs). (Other

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: > Add code for device tree support of clocks in the BCM281xx family of > SoCs. Machines in this family use peripheral clocks implemented by > "Kona" clock control units (CCUs). (Other Broadcom SoC families use > Kona style CCUs as well,

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: Add code for device tree support of clocks in the BCM281xx family of SoCs. Machines in this family use peripheral clocks implemented by Kona clock control units (CCUs). (Other Broadcom SoC families use Kona style CCUs as well, but

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 05:14 AM, Mark Rutland wrote: On Wed, Dec 04, 2013 at 03:57:03AM +, Alex Elder wrote: Add code for device tree support of clocks in the BCM281xx family of SoCs. Machines in this family use peripheral clocks implemented by Kona clock control units (CCUs). (Other Broadcom SoC

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Alex Elder
On 12/04/2013 07:06 AM, Alex Elder wrote: + name_size = strlen(node-name) + 1; + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); + if (!ccu) { + pr_err(%s: unable to map allocate CCU struct for %s\n, + __func__, node-name); +

Re: [PATCH 2/3] clk: bcm281xx: add initial clock framework support

2013-12-04 Thread Mark Rutland
On Wed, Dec 04, 2013 at 01:57:39PM +, Alex Elder wrote: On 12/04/2013 07:06 AM, Alex Elder wrote: + name_size = strlen(node-name) + 1; + ccu = kzalloc(sizeof(*ccu) + name_size, GFP_KERNEL); + if (!ccu) { + pr_err(%s: unable to map allocate CCU struct