| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | imx-thermal.yaml | 1 # 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 - enum: 17 - fsl,imx6q-tempmon 18 - fsl,imx6sx-tempmon 19 - fsl,imx7d-tempmon [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | imx-thermal.yaml | 1 # 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-6.6/drivers/thermal/ |
| D | imx_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/nvmem-consumer.h> 206 struct regmap *tempmon; member 218 static void imx_set_panic_temp(struct imx_thermal_data *data, in imx_set_panic_temp() argument 221 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp() 222 struct regmap *map = data->tempmon; in imx_set_panic_temp() 225 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp() 227 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR, in imx_set_panic_temp() 228 soc_data->panic_alarm_mask); in imx_set_panic_temp() 229 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET, in imx_set_panic_temp() [all …]
|
| D | Kconfig | 1 # 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 114 contribution should be provided through platform data. 144 bool "Fair-share thermal governor" 146 Enable this to manage platform thermals using fair-share governor. 240 memory-mapped reads to get the temperature. Any HW/System that 241 allows temperature reading by a single memory-mapped reading, be it 263 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs. [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | imx_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/nvmem-consumer.h> 202 struct regmap *tempmon; member 216 static void imx_set_panic_temp(struct imx_thermal_data *data, in imx_set_panic_temp() argument 219 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp() 220 struct regmap *map = data->tempmon; in imx_set_panic_temp() 223 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp() 225 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR, in imx_set_panic_temp() 226 soc_data->panic_alarm_mask); in imx_set_panic_temp() 227 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET, in imx_set_panic_temp() [all …]
|
| D | Kconfig | 1 # 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-6.6/sound/soc/codecs/ |
| D | cs35l41.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l41.c -- CS35l41 ALSA SoC audio driver 5 // Copyright 2017-2021 Cirrus Logic, Inc. 23 #include <sound/soc-dapm.h> 165 return -EINVAL; in cs35l41_get_fs_mon_config_index() 170 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200)); 187 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l41_dsp_preload_ev() 193 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() 198 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev() 201 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev() [all …]
|
| D | cs35l56.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include <sound/soc-dapm.h> 39 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready() 73 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cs35l56->component); in cs35l56_sync_asp1_mixer_widgets_with_firmware() 74 const char *prefix = cs35l56->component->name_prefix; in cs35l56_sync_asp1_mixer_widgets_with_firmware() 82 if (cs35l56->asp1_mixer_widgets_initialized) in cs35l56_sync_asp1_mixer_widgets_with_firmware() 89 ret = pm_runtime_resume_and_get(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware() 96 ret = regmap_bulk_read(cs35l56->base.regmap, CS35L56_ASP1TX1_INPUT, in cs35l56_sync_asp1_mixer_widgets_with_firmware() 99 pm_runtime_mark_last_busy(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware() 100 pm_runtime_put_autosuspend(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware() [all …]
|
| D | cs35l56-shared.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 /* These are not reset by a soft-reset, so patch to defaults. */ 24 return regmap_register_patch(cs35l56_base->regmap, cs35l56_patch, in cs35l56_set_patch() 219 ret = regmap_read(cs35l56_base->regmap, asp1_regs[i].reg, &asp1_regs[i].def); in cs35l56_force_sync_asp1_registers_from_cache() 224 /* Write the values cache-bypassed so that they will be written to silicon */ in cs35l56_force_sync_asp1_registers_from_cache() 225 ret = regmap_multi_reg_write_bypassed(cs35l56_base->regmap, asp1_regs, in cs35l56_force_sync_asp1_registers_from_cache() 233 dev_err(cs35l56_base->dev, "Failed to sync ASP1 registers: %d\n", ret); in cs35l56_force_sync_asp1_registers_from_cache() 244 regmap_write(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, command); in cs35l56_mbox_send() 245 ret = regmap_read_poll_timeout(cs35l56_base->regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_mbox_send() 249 dev_warn(cs35l56_base->dev, "MBOX command %#x failed: %d\n", command, ret); in cs35l56_mbox_send() [all …]
|
| D | cs35l45.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l45.c - CS35L45 ALSA SoC audio driver 5 // Copyright 2019-2022 Cirrus Logic, Inc. 53 if (!cs35l45->dsp.cs_dsp.running) { in cs35l45_set_cspl_mbox_cmd() 54 dev_err(cs35l45->dev, "DSP not running\n"); in cs35l45_set_cspl_mbox_cmd() 55 return -EPERM; in cs35l45_set_cspl_mbox_cmd() 62 dev_err(cs35l45->dev, "Failed to write MBOX: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 72 dev_err(cs35l45->dev, "Failed to read MBOX STS: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd() 83 dev_err(cs35l45->dev, "Failed to set mailbox cmd %u (status %u)\n", cmd, sts); in cs35l45_set_cspl_mbox_cmd() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6sll.dtsi | 1 // 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>; 46 #address-cells = <1>; 47 #size-cells = <0>; [all …]
|
| D | imx6sl.dtsi | 1 // 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 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
| D | imx6sx.dtsi | 1 // 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 60 #address-cells = <1>; [all …]
|
| D | imx6qdl.dtsi | 1 // 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 58 compatible = "fixed-clock"; 59 #clock-cells = <0>; 60 clock-frequency = <32768>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6sll.dtsi | 1 // 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>; 46 #address-cells = <1>; 47 #size-cells = <0>; [all …]
|
| D | imx6sl.dtsi | 1 // 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 50 #address-cells = <1>; 51 #size-cells = <0>; 54 compatible = "arm,cortex-a9"; [all …]
|
| D | imx6sx.dtsi | 1 // 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 60 #address-cells = <1>; [all …]
|
| D | imx6qdl.dtsi | 1 // 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 58 compatible = "fsl,imx-ckil", "fixed-clock"; 59 #clock-cells = <0>; 60 clock-frequency = <32768>; [all …]
|