Home
last modified time | relevance | path

Searched +full:tempmon +full:- +full:data (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/thermal/
Dimx-thermal.txt1 * Temperature Monitor (TEMPMON) on Freescale i.MX SoCs
4 - compatible : must be one of following:
5 - "fsl,imx6q-tempmon" for i.MX6Q,
6 - "fsl,imx6sx-tempmon" for i.MX6SX,
7 - "fsl,imx7d-tempmon" for i.MX7S/D.
8 - interrupts : the interrupt output of the controller:
13 - fsl,tempmon : phandle pointer to system controller that contains TEMPMON
15 - nvmem-cells: A phandle to the calibration cells provided by ocotp.
16 - nvmem-cell-names: Should be "calib", "temp_grade".
19 - fsl,tempmon-data : phandle pointer to fuse controller that contains TEMPMON
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/
Dimx-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/imx-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Guo <shawnguo@kernel.org>
11 - Anson Huang <Anson.Huang@nxp.com>
16 - fsl,imx6q-tempmon
17 - fsl,imx6sx-tempmon
18 - fsl,imx7d-tempmon
32 nvmem-cells:
[all …]
/kernel/linux/linux-4.19/drivers/thermal/
Dimx_thermal.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/nvmem-consumer.h>
208 struct regmap *tempmon; member
222 static void imx_set_panic_temp(struct imx_thermal_data *data, in imx_set_panic_temp() argument
225 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp()
226 struct regmap *map = data->tempmon; in imx_set_panic_temp()
229 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp()
231 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR, in imx_set_panic_temp()
232 soc_data->panic_alarm_mask); in imx_set_panic_temp()
233 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET, in imx_set_panic_temp()
[all …]
DKconfig26 int "Emergency poweroff delay in milli-seconds"
58 prompt "APIs to parse thermal data out of device tree"
63 read and parse thermal data definitions out of the
100 contribution should be provided through platform data.
120 bool "Fair-share thermal governor"
122 Enable this to manage platform thermals using fair-share governor.
170 frequency clipping. Typically used to cool off co-processors. The
220 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
261 ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
266 tristate "Renesas R-Car thermal driver"
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dimx_thermal.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <linux/nvmem-consumer.h>
200 struct regmap *tempmon; member
214 static void imx_set_panic_temp(struct imx_thermal_data *data, in imx_set_panic_temp() argument
217 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp()
218 struct regmap *map = data->tempmon; in imx_set_panic_temp()
221 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp()
223 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR, in imx_set_panic_temp()
224 soc_data->panic_alarm_mask); in imx_set_panic_temp()
225 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET, in imx_set_panic_temp()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
37 int "Emergency poweroff delay in milli-seconds"
68 prompt "APIs to parse thermal data out of device tree"
73 read and parse thermal data definitions out of the
110 contribution should be provided through platform data.
130 bool "Fair-share thermal governor"
132 Enable this to manage platform thermals using fair-share governor.
226 memory-mapped reads to get the temperature. Any HW/System that
227 allows temperature reading by a single memory-mapped reading, be it
249 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dimx6sl.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include "imx6sl-pinfunc.h"
7 #include <dt-bindings/clock/imx6sl-clock.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 * pre-existing /chosen node to be available to insert the
40 #address-cells = <1>;
41 #size-cells = <0>;
44 compatible = "arm,cortex-a9";
[all …]
Dimx6sll.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright 2017-2018 NXP.
8 #include <dt-bindings/clock/imx6sll-clock.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include "imx6sll-pinfunc.h"
14 #address-cells = <1>;
15 #size-cells = <1>;
44 #address-cells = <1>;
45 #size-cells = <0>;
[all …]
Dimx6qdl.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/imx6qdl-clock.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 * pre-existing /chosen node to be available to insert the
16 * Also for U-Boot there must be a pre-existing /memory node.
55 compatible = "fsl,imx-ckil", "fixed-clock";
56 #clock-cells = <0>;
57 clock-frequency = <32768>;
[all …]
Dimx6sx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/imx6sx-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include "imx6sx-pinfunc.h"
12 #address-cells = <1>;
13 #size-cells = <1>;
16 * pre-existing /chosen node to be available to insert the
57 #address-cells = <1>;
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6sll.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright 2017-2018 NXP.
8 #include <dt-bindings/clock/imx6sll-clock.h>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include "imx6sll-pinfunc.h"
14 #address-cells = <1>;
15 #size-cells = <1>;
44 #address-cells = <1>;
45 #size-cells = <0>;
[all …]
Dimx6sl.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/interrupt-controller/irq.h>
6 #include "imx6sl-pinfunc.h"
7 #include <dt-bindings/clock/imx6sl-clock.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
14 * pre-existing /chosen node to be available to insert the
47 #address-cells = <1>;
48 #size-cells = <0>;
51 compatible = "arm,cortex-a9";
[all …]
Dimx6sx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/imx6sx-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include "imx6sx-pinfunc.h"
12 #address-cells = <1>;
13 #size-cells = <1>;
16 * pre-existing /chosen node to be available to insert the
57 #address-cells = <1>;
[all …]
Dimx6qdl.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/imx6qdl-clock.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 * pre-existing /chosen node to be available to insert the
54 compatible = "fsl,imx-ckil", "fixed-clock";
55 #clock-cells = <0>;
56 clock-frequency = <32768>;
[all …]