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>
43 if (WARN_ON(!fuse->base)) in tegra30_fuse_read_early()
46 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read_early()
54 err = clk_prepare_enable(fuse->clk); in tegra30_fuse_read()
56 dev_err(fuse->dev, "failed to enable FUSE clock: %d\n", err); in tegra30_fuse_read()
60 value = readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra30_fuse_read()
62 clk_disable_unprepare(fuse->clk); in tegra30_fuse_read()
91 fuse->read_early = tegra30_fuse_read_early; in tegra30_fuse_init()
92 fuse->read = tegra30_fuse_read; in tegra30_fuse_init()
96 if (fuse->soc->speedo_init) in tegra30_fuse_init()
97 fuse->soc->speedo_init(&tegra_sku_info); in tegra30_fuse_init()
137 .cell_name = "xusb-pad-calibration",
142 .cell_name = "sata-calibration",
147 .cell_name = "tsensor-common",
148 .dev_id = "700e2000.thermal-sensor",
152 .cell_name = "tsensor-realignment",
153 .dev_id = "700e2000.thermal-sensor",
157 .cell_name = "tsensor-cpu0",
158 .dev_id = "700e2000.thermal-sensor",
162 .cell_name = "tsensor-cpu1",
163 .dev_id = "700e2000.thermal-sensor",
167 .cell_name = "tsensor-cpu2",
168 .dev_id = "700e2000.thermal-sensor",
172 .cell_name = "tsensor-cpu3",
173 .dev_id = "700e2000.thermal-sensor",
177 .cell_name = "tsensor-mem0",
178 .dev_id = "700e2000.thermal-sensor",
182 .cell_name = "tsensor-mem1",
183 .dev_id = "700e2000.thermal-sensor",
187 .cell_name = "tsensor-gpu",
188 .dev_id = "700e2000.thermal-sensor",
192 .cell_name = "tsensor-pllx",
193 .dev_id = "700e2000.thermal-sensor",
218 .cell_name = "tsensor-cpu1",
219 .dev_id = "700e2000.thermal-sensor",
223 .cell_name = "tsensor-cpu2",
224 .dev_id = "700e2000.thermal-sensor",
228 .cell_name = "tsensor-cpu0",
229 .dev_id = "700e2000.thermal-sensor",
233 .cell_name = "xusb-pad-calibration",
238 .cell_name = "tsensor-cpu3",
239 .dev_id = "700e2000.thermal-sensor",
243 .cell_name = "sata-calibration",
248 .cell_name = "tsensor-gpu",
249 .dev_id = "700e2000.thermal-sensor",
253 .cell_name = "tsensor-mem0",
254 .dev_id = "700e2000.thermal-sensor",
258 .cell_name = "tsensor-mem1",
259 .dev_id = "700e2000.thermal-sensor",
263 .cell_name = "tsensor-pllx",
264 .dev_id = "700e2000.thermal-sensor",
268 .cell_name = "tsensor-common",
269 .dev_id = "700e2000.thermal-sensor",
273 .cell_name = "gpu-calibration",
278 .cell_name = "xusb-pad-calibration-ext",
280 .con_id = "calibration-ext",
304 .cell_name = "xusb-pad-calibration",
309 .cell_name = "xusb-pad-calibration-ext",
311 .con_id = "calibration-ext",
334 .cell_name = "xusb-pad-calibration",
339 .cell_name = "xusb-pad-calibration-ext",
341 .con_id = "calibration-ext",
364 .cell_name = "xusb-pad-calibration",
369 .cell_name = "xusb-pad-calibration-ext",
371 .con_id = "calibration-ext",