Home
last modified time | relevance | path

Searched +full:msm8960 +full:- +full:tsens (Results 1 – 3 of 3) sorted by relevance

/linux/Documentation/devicetree/bindings/clock/
H A Dqcom,gcc-apq8064.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/clock/qcom,gcc-apq8064.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Global Clock & Reset Controller on APQ8064/MSM8960
10 - Stephen Boyd <sboyd@kernel.org>
11 - Taniya Das <quic_tdas@quicinc.com>
18 include/dt-bindings/clock/qcom,gcc-msm8960.h
19 include/dt-bindings/reset/qcom,gcc-msm8960.h
22 - $ref: qcom,gcc.yaml#
[all …]
/linux/drivers/thermal/qcom/
H A Dtsens.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/nvmem-consumer.h>
23 #include "tsens.h"
26 * struct tsens_irq_data - IRQ status and temperature violations
81 if (priv->num_sensors > MAX_SENSORS) in tsens_read_calibration()
82 return -EINVAL; in tsens_read_calibration()
88 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &mode); in tsens_read_calibration()
89 if (ret == -ENOENT) in tsens_read_calibration()
90 dev_warn(priv->dev, "Please migrate to separate nvmem cells for calibration data\n"); in tsens_read_calibration()
94 dev_dbg(priv->dev, "calibration mode is %d\n", mode); in tsens_read_calibration()
[all …]
H A Dtsens-8960.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "tsens.h"
41 #define S5_STATUS_OFF 0x3664 /* Sensors 5-10 found on apq8064/msm8960 */
48 /* Original slope - 350 to compensate mC to C inaccuracy */
59 struct regmap *map = priv->tm_map; in suspend_8960()
61 ret = regmap_read(map, THRESHOLD_ADDR, &priv->ctx.threshold); in suspend_8960()
65 ret = regmap_read(map, CNTL_ADDR, &priv->ctx.control); in suspend_8960()
69 if (priv->num_sensors > 1) in suspend_8960()
84 struct regmap *map = priv->tm_map; in resume_8960()
94 if (priv->num_sensors > 1) { in resume_8960()
[all …]