Re: [PATCH 1/2] dt-bindings: hwmon: Introduce common properties

From: Paul Cercueil
Date: Thu Dec 23 2021 - 05:12:31 EST




Le jeu., déc. 23 2021 at 09:19:43 +0000, Paul Cercueil <paul@xxxxxxxxxxxxxxx> a écrit :
Hi Rob,

Le mer., déc. 22 2021 at 15:36:23 -0400, Rob Herring <robh@xxxxxxxxxx> a écrit :
On Tue, Dec 21, 2021 at 05:50:28PM +0000, Paul Cercueil wrote:
Introduce a file for common properties of hwmon sensors.

As of now it contains only the "label" property, which can contain a
descriptive label that allows to uniquely identify a device within the
system.

I don't think we need this. What we need is a global (in dtschema)
type definition and then any users just add 'label: true'.

Well, users would also need to set an actual label, otherwise this defeats the point :)

Disregard that, I'm stupid. 'label: true' is for the schema and not the DTS files.

-Paul