exynos_tmu.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | exynos_tmu.c (9625e9e694e7470beaa4bf61244f3568d1457081) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit) 4 * 5 * Copyright (C) 2014 Samsung Electronics 6 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 7 * Lukasz Majewski <l.majewski@samsung.com> 8 * --- 124 unchanged lines hidden (view full) --- 133 SOC_ARCH_EXYNOS5420, 134 SOC_ARCH_EXYNOS5420_TRIMINFO, 135 SOC_ARCH_EXYNOS5433, 136 SOC_ARCH_EXYNOS7, 137}; 138 139/** 140 * struct exynos_tmu_data : A structure to hold the private data of the TMU | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* 3 * exynos_tmu.c - Samsung EXYNOS TMU (Thermal Management Unit) 4 * 5 * Copyright (C) 2014 Samsung Electronics 6 * Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 7 * Lukasz Majewski <l.majewski@samsung.com> 8 * --- 124 unchanged lines hidden (view full) --- 133 SOC_ARCH_EXYNOS5420, 134 SOC_ARCH_EXYNOS5420_TRIMINFO, 135 SOC_ARCH_EXYNOS5433, 136 SOC_ARCH_EXYNOS7, 137}; 138 139/** 140 * struct exynos_tmu_data : A structure to hold the private data of the TMU |
141 driver | 141 * driver |
142 * @id: identifier of the one instance of the TMU controller. 143 * @base: base address of the single instance of the TMU controller. 144 * @base_second: base address of the common registers of the TMU controller. 145 * @irq: irq number of the TMU controller. 146 * @soc: id of the SOC type. 147 * @irq_work: pointer to the irq work structure. 148 * @lock: lock to implement synchronization. 149 * @clk: pointer to the clock structure. --- 7 unchanged lines hidden (view full) --- 157 * @temp_error2: fused value of the second point trim. 158 * @gain: gain of amplifier in the positive-TC generator block 159 * 0 < gain <= 15 160 * @reference_voltage: reference voltage of amplifier 161 * in the positive-TC generator block 162 * 0 < reference_voltage <= 31 163 * @regulator: pointer to the TMU regulator structure. 164 * @reg_conf: pointer to structure to register with core thermal. | 142 * @id: identifier of the one instance of the TMU controller. 143 * @base: base address of the single instance of the TMU controller. 144 * @base_second: base address of the common registers of the TMU controller. 145 * @irq: irq number of the TMU controller. 146 * @soc: id of the SOC type. 147 * @irq_work: pointer to the irq work structure. 148 * @lock: lock to implement synchronization. 149 * @clk: pointer to the clock structure. --- 7 unchanged lines hidden (view full) --- 157 * @temp_error2: fused value of the second point trim. 158 * @gain: gain of amplifier in the positive-TC generator block 159 * 0 < gain <= 15 160 * @reference_voltage: reference voltage of amplifier 161 * in the positive-TC generator block 162 * 0 < reference_voltage <= 31 163 * @regulator: pointer to the TMU regulator structure. 164 * @reg_conf: pointer to structure to register with core thermal. |
165 * @tzd: pointer to thermal_zone_device structure |
|
165 * @ntrip: number of supported trip points. 166 * @enabled: current status of TMU device | 166 * @ntrip: number of supported trip points. 167 * @enabled: current status of TMU device |
168 * @tmu_set_trip_temp: SoC specific method to set trip (rising threshold) 169 * @tmu_set_trip_hyst: SoC specific to set hysteresis (falling threshold) |
|
167 * @tmu_initialize: SoC specific TMU initialization method 168 * @tmu_control: SoC specific TMU control method 169 * @tmu_read: SoC specific TMU temperature read method 170 * @tmu_set_emulation: SoC specific TMU emulation setting method 171 * @tmu_clear_irqs: SoC specific TMU interrupts clearing method 172 */ 173struct exynos_tmu_data { 174 int id; --- 1015 unchanged lines hidden --- | 170 * @tmu_initialize: SoC specific TMU initialization method 171 * @tmu_control: SoC specific TMU control method 172 * @tmu_read: SoC specific TMU temperature read method 173 * @tmu_set_emulation: SoC specific TMU emulation setting method 174 * @tmu_clear_irqs: SoC specific TMU interrupts clearing method 175 */ 176struct exynos_tmu_data { 177 int id; --- 1015 unchanged lines hidden --- |