]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
thermal: qoriq: add i.mx8mq support
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 30 Aug 2018 02:14:46 +0000 (10:14 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 23 Oct 2018 00:29:47 +0000 (17:29 -0700)
Add i.mx8mq specific compatible string.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/devicetree/bindings/thermal/qoriq-thermal.txt
drivers/thermal/qoriq_thermal.c

index 20ca4ef9d77609a0bc0432256c70694e0ac1cbac..04cbb90a5d3ee51788cb63c5e668b39eea274795 100644 (file)
@@ -1,9 +1,9 @@
 * Thermal Monitoring Unit (TMU) on Freescale QorIQ SoCs
 
 Required properties:
-- compatible : Must include "fsl,qoriq-tmu". The version of the device is
-       determined by the TMU IP Block Revision Register (IPBRR0) at
-       offset 0x0BF8.
+- compatible : Must include "fsl,qoriq-tmu" or "fsl,imx8mq-tmu". The
+       version of the device is determined by the TMU IP Block Revision
+       Register (IPBRR0) at offset 0x0BF8.
        Table of correspondences between IPBRR0 values and example  chips:
                Value           Device
                ----------      -----
index 1fa132fc316b56f7b870c153c2b17ec3656b529d..d37a14bd872e6462640da5511badda423d4ca778 100644 (file)
@@ -305,6 +305,7 @@ static SIMPLE_DEV_PM_OPS(qoriq_tmu_pm_ops,
 
 static const struct of_device_id qoriq_tmu_match[] = {
        { .compatible = "fsl,qoriq-tmu", },
+       { .compatible = "fsl,imx8mq-tmu", },
        {},
 };
 MODULE_DEVICE_TABLE(of, qoriq_tmu_match);