Re: [PATCH 1/4] ARM: DT: apq8064: add rpm support

From: Stephen Boyd
Date: Mon Sep 29 2014 - 18:18:05 EST


On 09/29/14 02:14, Srinivas Kandagatla wrote:
> @@ -246,6 +247,24 @@
> #reset-cells = <1>;
> };
>
> + apcs: syscon@2011000 {
> + compatible = "syscon";
> + reg = <0x2011000 0x1000>;
> + };

This is actually a clock controller block that hw designers decided was
good place to shove the ipc bits (because there's room!). Can we call it

l2cc: clock-controller@2011000 {
compatible = "syscon";
reg = <0x2011000 0x1000>;
};

Eventually I'll add the specific krait compatible when we merge krait
clock support:

l2cc: clock-controller@2011000 {
compatible = "qcom,kpss-gcc", "syscon";
reg = <0x2011000 0x1000>;
clock-output-names = "acpu_l2_aux";
};

> +
> + rpm@108000 {
> + compatible = "qcom,rpm-apq8064";
> + reg = <0x108000 0x1000>;
> + qcom,ipc = <&apcs 0x8 2>;

There are actually 3 ipc bits. I guess if we ever have to use the other
two we'll extend this binding to have the other bits specified some
other way?

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/