Message ID | 20220615094804.388280-4-francesco.dolcini@toradex.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | imx: thermal: Allow trip point configuration from DT | expand |
On Wed, 15 Jun 2022 11:47:58 +0200, Francesco Dolcini wrote: > Add trips point to i.MX Thermal bindings for each temperature grade > (automotive, commercial, extended-commercial and industrial) to enable > specifying a different trip point than the hard-coded value. > > Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> > --- > .../bindings/thermal/imx-thermal.yaml | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/ temperature-sensor: compatible:0: 'fsl,imx6sll-tempmon' is not one of ['fsl,imx6q-tempmon', 'fsl,imx6sx-tempmon', 'fsl,imx7d-tempmon'] arch/arm/boot/dts/imx6sll-evk.dtb arch/arm/boot/dts/imx6sll-kobo-clarahd.dtb arch/arm/boot/dts/imx6sll-kobo-librah2o.dtb temperature-sensor: compatible: ['fsl,imx6sll-tempmon', 'fsl,imx6sx-tempmon'] is too long arch/arm/boot/dts/imx6sll-evk.dtb arch/arm/boot/dts/imx6sll-kobo-clarahd.dtb arch/arm/boot/dts/imx6sll-kobo-librah2o.dtb tempmon: compatible:0: 'fsl,imx6ul-tempmon' is not one of ['fsl,imx6q-tempmon', 'fsl,imx6sx-tempmon', 'fsl,imx7d-tempmon'] arch/arm/boot/dts/imx6ul-14x14-evk.dtb arch/arm/boot/dts/imx6ul-ccimx6ulsbcexpress.dtb arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dtb arch/arm/boot/dts/imx6ul-geam.dtb arch/arm/boot/dts/imx6ul-isiot-emmc.dtb arch/arm/boot/dts/imx6ul-isiot-nand.dtb arch/arm/boot/dts/imx6ul-kontron-n6310-s-43.dtb arch/arm/boot/dts/imx6ul-kontron-n6310-s.dtb arch/arm/boot/dts/imx6ull-14x14-evk.dtb arch/arm/boot/dts/imx6ull-colibri-aster.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-aster.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-iris.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-iris-v2.dtb arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-iris.dtb arch/arm/boot/dts/imx6ull-colibri-iris-v2.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-aster.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-iris.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dtb arch/arm/boot/dts/imx6ul-liteboard.dtb arch/arm/boot/dts/imx6ull-jozacp.dtb arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dtb arch/arm/boot/dts/imx6ull-opos6uldev.dtb arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-emmc.dtb arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-nand.dtb arch/arm/boot/dts/imx6ull-phytec-segin-lc-rdk-nand.dtb arch/arm/boot/dts/imx6ull-phytec-tauri-emmc.dtb arch/arm/boot/dts/imx6ull-phytec-tauri-nand.dtb arch/arm/boot/dts/imx6ull-tqma6ull2l-mba6ulx.dtb arch/arm/boot/dts/imx6ull-tqma6ull2-mba6ulx.dtb arch/arm/boot/dts/imx6ul-opos6uldev.dtb arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-emmc.dtb arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dtb arch/arm/boot/dts/imx6ul-pico-dwarf.dtb arch/arm/boot/dts/imx6ul-pico-hobbit.dtb arch/arm/boot/dts/imx6ul-pico-pi.dtb arch/arm/boot/dts/imx6ul-prti6g.dtb arch/arm/boot/dts/imx6ul-tqma6ul1-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tqma6ul2l-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tqma6ul2-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tx6ul-0010.dtb arch/arm/boot/dts/imx6ul-tx6ul-0011.dtb arch/arm/boot/dts/imx6ul-tx6ul-mainboard.dtb arch/arm/boot/dts/imx6ulz-14x14-evk.dtb arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dtb tempmon: compatible: ['fsl,imx6sx-tempmon', 'fsl,imx6q-tempmon'] is too long arch/arm/boot/dts/imx6sx-nitrogen6sx.dtb arch/arm/boot/dts/imx6sx-sabreauto.dtb arch/arm/boot/dts/imx6sx-sdb.dtb arch/arm/boot/dts/imx6sx-sdb-mqs.dtb arch/arm/boot/dts/imx6sx-sdb-reva.dtb arch/arm/boot/dts/imx6sx-sdb-sai.dtb arch/arm/boot/dts/imx6sx-softing-vining-2000.dtb arch/arm/boot/dts/imx6sx-udoo-neo-basic.dtb arch/arm/boot/dts/imx6sx-udoo-neo-extended.dtb arch/arm/boot/dts/imx6sx-udoo-neo-full.dtb tempmon: compatible: ['fsl,imx6ul-tempmon', 'fsl,imx6sx-tempmon'] is too long arch/arm/boot/dts/imx6ul-14x14-evk.dtb arch/arm/boot/dts/imx6ul-ccimx6ulsbcexpress.dtb arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dtb arch/arm/boot/dts/imx6ul-geam.dtb arch/arm/boot/dts/imx6ul-isiot-emmc.dtb arch/arm/boot/dts/imx6ul-isiot-nand.dtb arch/arm/boot/dts/imx6ul-kontron-n6310-s-43.dtb arch/arm/boot/dts/imx6ul-kontron-n6310-s.dtb arch/arm/boot/dts/imx6ull-14x14-evk.dtb arch/arm/boot/dts/imx6ull-colibri-aster.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-aster.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-iris.dtb arch/arm/boot/dts/imx6ull-colibri-emmc-iris-v2.dtb arch/arm/boot/dts/imx6ull-colibri-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-iris.dtb arch/arm/boot/dts/imx6ull-colibri-iris-v2.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-aster.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-eval-v3.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-iris.dtb arch/arm/boot/dts/imx6ull-colibri-wifi-iris-v2.dtb arch/arm/boot/dts/imx6ul-liteboard.dtb arch/arm/boot/dts/imx6ull-jozacp.dtb arch/arm/boot/dts/imx6ull-myir-mys-6ulx-eval.dtb arch/arm/boot/dts/imx6ull-opos6uldev.dtb arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-emmc.dtb arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-nand.dtb arch/arm/boot/dts/imx6ull-phytec-segin-lc-rdk-nand.dtb arch/arm/boot/dts/imx6ull-phytec-tauri-emmc.dtb arch/arm/boot/dts/imx6ull-phytec-tauri-nand.dtb arch/arm/boot/dts/imx6ull-tqma6ull2l-mba6ulx.dtb arch/arm/boot/dts/imx6ull-tqma6ull2-mba6ulx.dtb arch/arm/boot/dts/imx6ul-opos6uldev.dtb arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-emmc.dtb arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dtb arch/arm/boot/dts/imx6ul-pico-dwarf.dtb arch/arm/boot/dts/imx6ul-pico-hobbit.dtb arch/arm/boot/dts/imx6ul-pico-pi.dtb arch/arm/boot/dts/imx6ul-prti6g.dtb arch/arm/boot/dts/imx6ul-tqma6ul1-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tqma6ul2l-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tqma6ul2-mba6ulx.dtb arch/arm/boot/dts/imx6ul-tx6ul-0010.dtb arch/arm/boot/dts/imx6ul-tx6ul-0011.dtb arch/arm/boot/dts/imx6ul-tx6ul-mainboard.dtb arch/arm/boot/dts/imx6ulz-14x14-evk.dtb arch/arm/boot/dts/imx6ulz-bsh-smm-m2.dtb tempmon: '#thermal-sensor-cells' does not match any of the regexes: '^(automotive|commercial|extended-commercial|industrial)-thermal$', 'pinctrl-[0-9]+' arch/arm/boot/dts/imx6dl-alti6p.dtb arch/arm/boot/dts/imx6dl-apf6dev.dtb arch/arm/boot/dts/imx6dl-aristainetos2_4.dtb arch/arm/boot/dts/imx6dl-aristainetos2_7.dtb arch/arm/boot/dts/imx6dl-aristainetos_4.dtb arch/arm/boot/dts/imx6dl-aristainetos_7.dtb arch/arm/boot/dts/imx6dl-b105pv2.dtb arch/arm/boot/dts/imx6dl-b105v2.dtb arch/arm/boot/dts/imx6dl-b125pv2.dtb arch/arm/boot/dts/imx6dl-b125v2.dtb arch/arm/boot/dts/imx6dl-b155v2.dtb arch/arm/boot/dts/imx6dl-colibri-aster.dtb arch/arm/boot/dts/imx6dl-colibri-eval-v3.dtb arch/arm/boot/dts/imx6dl-colibri-iris.dtb arch/arm/boot/dts/imx6dl-colibri-iris-v2.dtb arch/arm/boot/dts/imx6dl-cubox-i.dtb arch/arm/boot/dts/imx6dl-cubox-i-emmc-som-v15.dtb arch/arm/boot/dts/imx6dl-cubox-i-som-v15.dtb arch/arm/boot/dts/imx6dl-dfi-fs700-m60.dtb arch/arm/boot/dts/imx6dl-dhcom-picoitx.dtb arch/arm/boot/dts/imx6dl-eckelmann-ci4x10.dtb arch/arm/boot/dts/imx6dl-emcon-avari.dtb arch/arm/boot/dts/imx6dl-gw51xx.dtb arch/arm/boot/dts/imx6dl-gw52xx.dtb arch/arm/boot/dts/imx6dl-gw53xx.dtb arch/arm/boot/dts/imx6dl-gw54xx.dtb arch/arm/boot/dts/imx6dl-gw551x.dtb arch/arm/boot/dts/imx6dl-gw552x.dtb arch/arm/boot/dts/imx6dl-gw553x.dtb arch/arm/boot/dts/imx6dl-gw560x.dtb arch/arm/boot/dts/imx6dl-gw5903.dtb arch/arm/boot/dts/imx6dl-gw5904.dtb arch/arm/boot/dts/imx6dl-gw5907.dtb arch/arm/boot/dts/imx6dl-gw5910.dtb arch/arm/boot/dts/imx6dl-gw5912.dtb arch/arm/boot/dts/imx6dl-gw5913.dtb arch/arm/boot/dts/imx6dl-hummingboard2.dtb arch/arm/boot/dts/imx6dl-hummingboard2-emmc-som-v15.dtb arch/arm/boot/dts/imx6dl-hummingboard2-som-v15.dtb arch/arm/boot/dts/imx6dl-hummingboard.dtb arch/arm/boot/dts/imx6dl-hummingboard-emmc-som-v15.dtb arch/arm/boot/dts/imx6dl-hummingboard-som-v15.dtb arch/arm/boot/dts/imx6dl-icore.dtb arch/arm/boot/dts/imx6dl-icore-mipi.dtb arch/arm/boot/dts/imx6dl-icore-rqs.dtb arch/arm/boot/dts/imx6dl-lanmcu.dtb arch/arm/boot/dts/imx6dl-mamoj.dtb arch/arm/boot/dts/imx6dl-mba6a.dtb arch/arm/boot/dts/imx6dl-mba6b.dtb arch/arm/boot/dts/imx6dl-nit6xlite.dtb arch/arm/boot/dts/imx6dl-nitrogen6x.dtb arch/arm/boot/dts/imx6dl-phytec-mira-rdk-nand.dtb arch/arm/boot/dts/imx6dl-phytec-pbab01.dtb arch/arm/boot/dts/imx6dl-pico-dwarf.dtb arch/arm/boot/dts/imx6dl-pico-hobbit.dtb arch/arm/boot/dts/imx6dl-pico-nymph.dtb arch/arm/boot/dts/imx6dl-pico-pi.dtb arch/arm/boot/dts/imx6dl-plybas.dtb arch/arm/boot/dts/imx6dl-plym2m.dtb arch/arm/boot/dts/imx6dl-prtmvt.dtb arch/arm/boot/dts/imx6dl-prtrvt.dtb arch/arm/boot/dts/imx6dl-prtvt7.dtb arch/arm/boot/dts/imx6dl-rex-basic.dtb arch/arm/boot/dts/imx6dl-riotboard.dtb arch/arm/boot/dts/imx6dl-sabreauto.dtb arch/arm/boot/dts/imx6dl-sabrelite.dtb arch/arm/boot/dts/imx6dl-sabresd.dtb arch/arm/boot/dts/imx6dl-savageboard.dtb arch/arm/boot/dts/imx6dl-skov-revc-lt2.dtb arch/arm/boot/dts/imx6dl-skov-revc-lt6.dtb arch/arm/boot/dts/imx6dl-solidsense.dtb arch/arm/boot/dts/imx6dl-ts4900.dtb arch/arm/boot/dts/imx6dl-ts7970.dtb arch/arm/boot/dts/imx6dl-tx6dl-comtft.dtb arch/arm/boot/dts/imx6dl-tx6s-8034.dtb arch/arm/boot/dts/imx6dl-tx6s-8034-mb7.dtb arch/arm/boot/dts/imx6dl-tx6s-8035.dtb arch/arm/boot/dts/imx6dl-tx6s-8035-mb7.dtb arch/arm/boot/dts/imx6dl-tx6u-801x.dtb arch/arm/boot/dts/imx6dl-tx6u-8033.dtb arch/arm/boot/dts/imx6dl-tx6u-8033-mb7.dtb arch/arm/boot/dts/imx6dl-tx6u-80xx-mb7.dtb arch/arm/boot/dts/imx6dl-tx6u-811x.dtb arch/arm/boot/dts/imx6dl-tx6u-81xx-mb7.dtb arch/arm/boot/dts/imx6dl-udoo.dtb arch/arm/boot/dts/imx6dl-victgo.dtb arch/arm/boot/dts/imx6dl-vicut1.dtb arch/arm/boot/dts/imx6dl-wandboard.dtb arch/arm/boot/dts/imx6dl-wandboard-revb1.dtb arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb arch/arm/boot/dts/imx6dl-yapp4-draco.dtb arch/arm/boot/dts/imx6dl-yapp4-hydra.dtb arch/arm/boot/dts/imx6dl-yapp4-orion.dtb arch/arm/boot/dts/imx6dl-yapp4-ursa.dtb arch/arm/boot/dts/imx6q-apalis-eval.dtb arch/arm/boot/dts/imx6q-apalis-ixora.dtb arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dtb arch/arm/boot/dts/imx6q-apf6dev.dtb arch/arm/boot/dts/imx6q-arm2.dtb arch/arm/boot/dts/imx6q-b450v3.dtb arch/arm/boot/dts/imx6q-b650v3.dtb arch/arm/boot/dts/imx6q-b850v3.dtb arch/arm/boot/dts/imx6q-bosch-acc.dtb arch/arm/boot/dts/imx6q-cm-fx6.dtb arch/arm/boot/dts/imx6q-cubox-i.dtb arch/arm/boot/dts/imx6q-cubox-i-emmc-som-v15.dtb arch/arm/boot/dts/imx6q-cubox-i-som-v15.dtb arch/arm/boot/dts/imx6q-dfi-fs700-m60.dtb arch/arm/boot/dts/imx6q-dhcom-pdk2.dtb arch/arm/boot/dts/imx6q-display5-tianma-tm070-1280x768.dtb arch/arm/boot/dts/imx6q-dmo-edmqmx6.dtb arch/arm/boot/dts/imx6q-dms-ba16.dtb arch/arm/boot/dts/imx6q-ds.dtb arch/arm/boot/dts/imx6q-emcon-avari.dtb arch/arm/boot/dts/imx6q-evi.dtb arch/arm/boot/dts/imx6q-gk802.dtb arch/arm/boot/dts/imx6q-gw51xx.dtb arch/arm/boot/dts/imx6q-gw52xx.dtb arch/arm/boot/dts/imx6q-gw53xx.dtb arch/arm/boot/dts/imx6q-gw5400-a.dtb arch/arm/boot/dts/imx6q-gw54xx.dtb arch/arm/boot/dts/imx6q-gw551x.dtb arch/arm/boot/dts/imx6q-gw552x.dtb arch/arm/boot/dts/imx6q-gw553x.dtb arch/arm/boot/dts/imx6q-gw560x.dtb arch/arm/boot/dts/imx6q-gw5903.dtb arch/arm/boot/dts/imx6q-gw5904.dtb arch/arm/boot/dts/imx6q-gw5907.dtb arch/arm/boot/dts/imx6q-gw5910.dtb arch/arm/boot/dts/imx6q-gw5912.dtb arch/arm/boot/dts/imx6q-gw5913.dtb arch/arm/boot/dts/imx6q-h100.dtb arch/arm/boot/dts/imx6q-hummingboard2.dtb arch/arm/boot/dts/imx6q-hummingboard2-emmc-som-v15.dtb arch/arm/boot/dts/imx6q-hummingboard2-som-v15.dtb arch/arm/boot/dts/imx6q-hummingboard.dtb arch/arm/boot/dts/imx6q-hummingboard-emmc-som-v15.dtb arch/arm/boot/dts/imx6q-hummingboard-som-v15.dtb arch/arm/boot/dts/imx6q-icore.dtb arch/arm/boot/dts/imx6q-icore-mipi.dtb arch/arm/boot/dts/imx6q-icore-ofcap10.dtb arch/arm/boot/dts/imx6q-icore-ofcap12.dtb arch/arm/boot/dts/imx6q-icore-rqs.dtb arch/arm/boot/dts/imx6q-kp-tpc.dtb arch/arm/boot/dts/imx6q-logicpd.dtb arch/arm/boot/dts/imx6q-marsboard.dtb arch/arm/boot/dts/imx6q-mba6a.dtb arch/arm/boot/dts/imx6q-mba6b.dtb arch/arm/boot/dts/imx6q-mccmon6.dtb arch/arm/boot/dts/imx6q-nitrogen6_max.dtb arch/arm/boot/dts/imx6q-nitrogen6_som2.dtb arch/arm/boot/dts/imx6q-nitrogen6x.dtb arch/arm/boot/dts/imx6q-novena.dtb arch/arm/boot/dts/imx6q-phytec-mira-rdk-emmc.dtb arch/arm/boot/dts/imx6q-phytec-mira-rdk-nand.dtb arch/arm/boot/dts/imx6q-phytec-pbab01.dtb arch/arm/boot/dts/imx6q-pico-dwarf.dtb arch/arm/boot/dts/imx6q-pico-hobbit.dtb arch/arm/boot/dts/imx6q-pico-nymph.dtb arch/arm/boot/dts/imx6q-pico-pi.dtb arch/arm/boot/dts/imx6q-pistachio.dtb arch/arm/boot/dts/imx6qp-mba6b.dtb arch/arm/boot/dts/imx6qp-nitrogen6_max.dtb arch/arm/boot/dts/imx6qp-nitrogen6_som2.dtb arch/arm/boot/dts/imx6qp-phytec-mira-rdk-nand.dtb arch/arm/boot/dts/imx6qp-prtwd3.dtb arch/arm/boot/dts/imx6q-prti6q.dtb arch/arm/boot/dts/imx6q-prtwd2.dtb arch/arm/boot/dts/imx6qp-sabreauto.dtb arch/arm/boot/dts/imx6qp-sabresd.dtb arch/arm/boot/dts/imx6qp-tx6qp-8037.dtb arch/arm/boot/dts/imx6qp-tx6qp-8037-mb7.dtb arch/arm/boot/dts/imx6qp-tx6qp-8137.dtb arch/arm/boot/dts/imx6qp-tx6qp-8137-mb7.dtb arch/arm/boot/dts/imx6qp-vicutp.dtb arch/arm/boot/dts/imx6qp-wandboard-revd1.dtb arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dtb arch/arm/boot/dts/imx6qp-zii-rdu2.dtb arch/arm/boot/dts/imx6q-rex-pro.dtb arch/arm/boot/dts/imx6q-sabreauto.dtb arch/arm/boot/dts/imx6q-sabrelite.dtb arch/arm/boot/dts/imx6q-sabresd.dtb arch/arm/boot/dts/imx6q-savageboard.dtb arch/arm/boot/dts/imx6q-sbc6x.dtb arch/arm/boot/dts/imx6q-skov-revc-lt2.dtb arch/arm/boot/dts/imx6q-skov-revc-lt6.dtb arch/arm/boot/dts/imx6q-skov-reve-mi1010ait-1cp1.dtb arch/arm/boot/dts/imx6q-solidsense.dtb arch/arm/boot/dts/imx6q-tbs2910.dtb arch/arm/boot/dts/imx6q-ts4900.dtb arch/arm/boot/dts/imx6q-ts7970.dtb arch/arm/boot/dts/imx6q-tx6q-1010-comtft.dtb arch/arm/boot/dts/imx6q-tx6q-1010.dtb arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dtb arch/arm/boot/dts/imx6q-tx6q-1020.dtb arch/arm/boot/dts/imx6q-tx6q-1036.dtb arch/arm/boot/dts/imx6q-tx6q-1036-mb7.dtb arch/arm/boot/dts/imx6q-tx6q-10x0-mb7.dtb arch/arm/boot/dts/imx6q-tx6q-1110.dtb arch/arm/boot/dts/imx6q-tx6q-11x0-mb7.dtb arch/arm/boot/dts/imx6q-udoo.dtb arch/arm/boot/dts/imx6q-utilite-pro.dtb arch/arm/boot/dts/imx6q-var-dt6customboard.dtb arch/arm/boot/dts/imx6q-vicut1.dtb arch/arm/boot/dts/imx6q-wandboard.dtb arch/arm/boot/dts/imx6q-wandboard-revb1.dtb arch/arm/boot/dts/imx6q-wandboard-revd1.dtb arch/arm/boot/dts/imx6q-yapp4-crux.dtb arch/arm/boot/dts/imx6q-zii-rdu2.dtb arch/arm/boot/dts/imx6s-dhcom-drc02.dtb
diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml index 16b57f57d103..e6349e40d6c6 100644 --- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml @@ -54,6 +54,18 @@ properties: clocks: maxItems: 1 +patternProperties: + "^(automotive|commercial|extended-commercial|industrial)-thermal$": + type: object + description: + Thermal characteristics for each available temperature grade, this allows + to override the passive and critical trip points. + properties: + trips: + $ref: "thermal-zones.yaml#/$defs/trips-base" + + additionalProperties: false + required: - compatible - interrupts @@ -98,5 +110,20 @@ examples: nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>; nvmem-cell-names = "calib", "temp_grade"; clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>; + + industrial-thermal { + trips { + temp_trip_passive_industrial: trip-point0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + temp_trip_crit_industrial: trip-point1 { + temperature = <100000>; + hysteresis = <0>; + type = "critical"; + }; + }; + }; }; };
Add trips point to i.MX Thermal bindings for each temperature grade (automotive, commercial, extended-commercial and industrial) to enable specifying a different trip point than the hard-coded value. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> --- .../bindings/thermal/imx-thermal.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+)