arm64: dts: Add PMU node for APM X-Gene Storm SOC

Vinayak Kale vkale at apm.com
Mon Mar 17 07:22:55 EDT 2014


On Mon, Mar 17, 2014 at 4:03 PM, Mark Rutland <mark.rutland at arm.com> wrote:
> On Mon, Mar 17, 2014 at 09:21:35AM +0000, Vinayak Kale wrote:
>> This patch adds the PMU device tree node for APM X-Gene Storm SOC.
>>
>> Please note that this patch has dependancy on a GIC driver patch [1] which is
>> yet to be approved by maintainers.
>>
>> [1]- https://lkml.org/lkml/2014/2/27/605
>> (irqchip:gic: change access of gicc_ctrl register to read modify write)
>>
>> Signed-off-by: Vinayak Kale <vkale at apm.com>
>> ---
>>  arch/arm64/boot/dts/apm-storm.dtsi | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
>> index d37d736..587348d 100644
>> --- a/arch/arm64/boot/dts/apm-storm.dtsi
>> +++ b/arch/arm64/boot/dts/apm-storm.dtsi
>> @@ -97,6 +97,11 @@
>>               clock-frequency = <50000000>;
>>       };
>>
>> +     pmu {
>> +             compatible = "arm,armv8-pmuv3";
>> +             interrupts = <1 12 0xff04>;
>> +     };
>
> Do Potenza CPUs only have the PMUv3 events, and nothing
> Potenza-specific?
On top of PMUv3 events, Potenza CPU do have few implementation defined events.
>
> I would have expected something like:
>
> compatible = "apm,potenza-pmu", "arm,armv8-pmuv3";
PMUv3 allows to have implementation defined events. And as such the
driver doesn't have any dependency on such events. Do you still think
we need additional compatible string for Potenza CPU?
>
> Cheers,
> Mark.



More information about the linux-arm-kernel mailing list