Re: [PATCH v5 1/3] dt-bindings: thermal-zones: Document critical-action

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

 



Hi Fabio,

On Wed, Aug 30, 2023 at 5:14 PM Fabio Estevam <festevam@xxxxxxx> wrote:
>
> Hi Rafael,
>
> On 30/08/2023 10:54, Rafael J. Wysocki wrote:
>
> > Well, as a matter of fact, it isn't, so I'm not sure where this is
> > going.
> >
> > Bool definitely allows the property to be not present, which means
> > that the default behavior is intended and this is all about overriding
> > a known default behavior.
>
> This devicetree property can be used on non-Linux environments, such as
> bootloaders.
>
> Bootloaders may have different default behavior than Linux, so
> explicitly listing
> "shutdown" or "reboot" make it clearer, independent of the OS.

This property is defined in the Linux kernel source tree and it will
only turn out whether or not any other projects adopt it, so I'm not
really convinced by this argument.

What I'm saying is that from the Linux kernel's POV, the definition is
more complex than it needs to be.

Moreover, to me it merely represents the preference of a system
integrator and so in practice, it can be ignored.



[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