[PATCH v4 1/2] dt-bindings: hwmon: Add Sophgo SG2042 external hardware monitor support
Inochi Amaoto
inochiama at outlook.com
Fri May 3 05:13:01 PDT 2024
On Fri, May 03, 2024 at 09:09:30AM GMT, Krzysztof Kozlowski wrote:
> On 03/05/2024 04:20, Inochi Amaoto wrote:
> > Due to the design, Sophgo SG2042 use an external MCU to provide
> > hardware information, thermal information and reset control.
> >
> > Add bindings for this monitor device.
>
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - "#thermal-sensor-cells"
> > +
> > +allOf:
> > + - $ref: ../thermal/thermal-sensor.yaml#
>
> Where did you find such path? Please use full path instead, so
> /schemas/thermal.....
Thanks. I will change it.
>
> > +
> > +additionalProperties: false
>
> unevaluatedProperties: false instead (even though currently it does not
> matter).
>
Thanks, I have checked json schema doc, using "unevaluatedProperties"
is more suitable.
>
> Best regards,
> Krzysztof
>
More information about the linux-riscv
mailing list