[PATCH V3] dt-bindings: thermal: convert Mediatek Thermal to the json-schema

Rob Herring robh at kernel.org
Sun Nov 19 07:33:00 PST 2023


On Fri, 17 Nov 2023 06:22:14 +0100, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This helps validating DTS files. Introduced changes:
> 1. Improved title
> 2. Simplified description (dropped "This describes the device tree...")
> 3. Dropped undocumented "reset-names" from example
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> V2: Add "maintainers"
> V3: Introduce changes described in commit body
>     Fix schema syntax
>     Move unevaluatedProperties to the bottom
>     Rename file to match compatible more closely
> 
> I'm totally sorry for sending broken schema patch yesterday. Brainfart.
> There is no excuse for sth that doesn't even pass dt_binding_check.
>   DTEX    Documentation/devicetree/bindings/thermal/mediatek,thermal.example.dts
>   DTC_CHK Documentation/devicetree/bindings/thermal/mediatek,thermal.example.dtb
> 
>  .../bindings/thermal/mediatek,thermal.yaml    | 99 +++++++++++++++++++
>  .../bindings/thermal/mediatek-thermal.txt     | 52 ----------
>  2 files changed, 99 insertions(+), 52 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/thermal/mediatek,thermal.yaml
>  delete mode 100644 Documentation/devicetree/bindings/thermal/mediatek-thermal.txt
> 

Reviewed-by: Rob Herring <robh at kernel.org>




More information about the Linux-mediatek mailing list