Re: [PATCH 2/4] thermal: rcar: enable to use thermal-zone on DT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Fri, Dec 4, 2015 at 9:32 AM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
>> +Example (with thermal-zone):
>> +
>> +thermal-zones {
>> +       cpu_thermal: cpu-thermal {
>> +               polling-delay-passive   = <1000>;
>> +               polling-delay           = <5000>;
>> +
>> +               thermal-sensors = <&thermal>;
>> +
>> +               trips {
>> +                       cpu-crit {
>> +                               temperature     = <1150000>;
>> +                               hysteresis      = <0>;
>> +                               type            = "critical";
>> +                       };
>> +               };
>> +               cooling-maps {
>> +               };
>> +       };
>> +};
>> +
>> +thermal: thermal@e61f0000 {
>> +       compatible =    "renesas,thermal-r8a7790",
>> +                       "renesas,rcar-thermal-gen2",
>> +                       "renesas,rcar-thermal";
>> +       reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
>> +       interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
>> +       clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
>> +       power-domains = <&cpg_clocks>;
>> +       #thermal-sensor-cells = <0>;
>> +};
>
> How are the two nodes above linked?

Pleae ignore my comment, I found the "<&thermal>".

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux