Re: Splitting the thermal.txt file into different schema

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

 



On Mon, Jan 27, 2020 at 12:46 PM Daniel Lezcano
<daniel.lezcano@xxxxxxxxxx> wrote:
>
>
> Hi Rob,
>
> while reading the documentation to convert the thermal.txt [1] into a
> yaml schema, the documentation says "Generally, there is one binding
> defined per file.".
>
> Shall I split the thermal.txt file into smaller one-binding based file like:
>
>  - thermal-sensor.yaml
>
>  - thermal-zone.yaml
>
>  - cooling-device.yaml
>
>
> ?

I think that looks right. The bulk of it would be thermal-zone.yaml.
For cases of provider/consumer bindings like thermal-sensor, those are
sometimes split between consumer and provider too. It depends if we
include the common provider schema in each provider. We probably don't
here given it's just #thermal-sensor-cells and we have to define that
in each provider anyways.

Rob



[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