Lines Matching +full:thermal +full:- +full:sensor

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved.
11 #include <linux/nvmem-consumer.h>
44 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early()
47 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early()
55 err = clk_prepare_enable(fuse->clk); in tegra30_fuse_read()
57 dev_err(fuse->dev, "failed to enable FUSE clock: %d\n", err); in tegra30_fuse_read()
61 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read()
63 clk_disable_unprepare(fuse->clk); in tegra30_fuse_read()
92 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init()
93 fuse->read = tegra30_fuse_read; in tegra30_fuse_init()
97 if (fuse->soc->speedo_init) in tegra30_fuse_init()
98 fuse->soc->speedo_init(&tegra_sku_info); in tegra30_fuse_init()
138 .cell_name = "xusb-pad-calibration",
143 .cell_name = "sata-calibration",
148 .cell_name = "tsensor-common",
149 .dev_id = "700e2000.thermal-sensor",
153 .cell_name = "tsensor-realignment",
154 .dev_id = "700e2000.thermal-sensor",
158 .cell_name = "tsensor-cpu0",
159 .dev_id = "700e2000.thermal-sensor",
163 .cell_name = "tsensor-cpu1",
164 .dev_id = "700e2000.thermal-sensor",
168 .cell_name = "tsensor-cpu2",
169 .dev_id = "700e2000.thermal-sensor",
173 .cell_name = "tsensor-cpu3",
174 .dev_id = "700e2000.thermal-sensor",
178 .cell_name = "tsensor-mem0",
179 .dev_id = "700e2000.thermal-sensor",
183 .cell_name = "tsensor-mem1",
184 .dev_id = "700e2000.thermal-sensor",
188 .cell_name = "tsensor-gpu",
189 .dev_id = "700e2000.thermal-sensor",
193 .cell_name = "tsensor-pllx",
194 .dev_id = "700e2000.thermal-sensor",
219 .cell_name = "tsensor-cpu1",
220 .dev_id = "700e2000.thermal-sensor",
224 .cell_name = "tsensor-cpu2",
225 .dev_id = "700e2000.thermal-sensor",
229 .cell_name = "tsensor-cpu0",
230 .dev_id = "700e2000.thermal-sensor",
234 .cell_name = "xusb-pad-calibration",
239 .cell_name = "tsensor-cpu3",
240 .dev_id = "700e2000.thermal-sensor",
244 .cell_name = "sata-calibration",
249 .cell_name = "tsensor-gpu",
250 .dev_id = "700e2000.thermal-sensor",
254 .cell_name = "tsensor-mem0",
255 .dev_id = "700e2000.thermal-sensor",
259 .cell_name = "tsensor-mem1",
260 .dev_id = "700e2000.thermal-sensor",
264 .cell_name = "tsensor-pllx",
265 .dev_id = "700e2000.thermal-sensor",
269 .cell_name = "tsensor-common",
270 .dev_id = "700e2000.thermal-sensor",
274 .cell_name = "gpu-calibration",
279 .cell_name = "xusb-pad-calibration-ext",
281 .con_id = "calibration-ext",
305 .cell_name = "xusb-pad-calibration",
310 .cell_name = "xusb-pad-calibration-ext",
312 .con_id = "calibration-ext",
335 .cell_name = "xusb-pad-calibration",
340 .cell_name = "xusb-pad-calibration-ext",
342 .con_id = "calibration-ext",
365 .cell_name = "xusb-pad-calibration",
370 .cell_name = "xusb-pad-calibration-ext",
372 .con_id = "calibration-ext",