Home
last modified time | relevance | path

Searched refs:tsadc (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/mfd/
Dti_am335x_tscadc.c30 static unsigned int tscadc_readl(struct ti_tscadc_dev *tsadc, unsigned int reg) in tscadc_readl() argument
34 regmap_read(tsadc->regmap_tscadc, reg, &val); in tscadc_readl()
38 static void tscadc_writel(struct ti_tscadc_dev *tsadc, unsigned int reg, in tscadc_writel() argument
41 regmap_write(tsadc->regmap_tscadc, reg, val); in tscadc_writel()
51 void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tsadc, u32 val) in am335x_tsc_se_set_cache() argument
55 spin_lock_irqsave(&tsadc->reg_lock, flags); in am335x_tsc_se_set_cache()
56 tsadc->reg_se_cache |= val; in am335x_tsc_se_set_cache()
57 if (tsadc->adc_waiting) in am335x_tsc_se_set_cache()
58 wake_up(&tsadc->reg_se_wait); in am335x_tsc_se_set_cache()
59 else if (!tsadc->adc_in_use) in am335x_tsc_se_set_cache()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Drockchip-thermal.txt4 - compatible : should be "rockchip,<name>-tsadc"
5 "rockchip,rk3288-tsadc": found on RK3288 SoCs
6 "rockchip,rk3368-tsadc": found on RK3368 SoCs
12 - clock-names : Shall be "tsadc" for the converter-clock, and "apb_pclk" for
16 - reset-names : Must include the name "tsadc-apb".
29 tsadc: tsadc@ff280000 {
30 compatible = "rockchip,rk3288-tsadc";
34 clock-names = "tsadc", "apb_pclk";
36 reset-names = "tsadc-apb";
54 thermal-sensors = <&tsadc 1>;
/linux-4.4.14/include/linux/mfd/
Dti_am335x_tscadc.h185 void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tsadc, u32 val);
186 void am335x_tsc_se_set_once(struct ti_tscadc_dev *tsadc, u32 val);
187 void am335x_tsc_se_clr(struct ti_tscadc_dev *tsadc, u32 val);
188 void am335x_tsc_se_adc_done(struct ti_tscadc_dev *tsadc);
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-thermal.dtsi51 thermal-sensors = <&tsadc 0>;
58 thermal-sensors = <&tsadc 1>;
86 thermal-sensors = <&tsadc 2>;
Drk3288-veyron-pinky.dts125 &tsadc {
126 /* Some connection is flaky making the tsadc hang the system */
Drk3288.dtsi447 tsadc: tsadc@ff280000 { label
448 compatible = "rockchip,rk3288-tsadc";
452 clock-names = "tsadc", "apb_pclk";
454 reset-names = "tsadc-apb";
1399 tsadc {
Drk3288-evb.dtsi230 &tsadc {
Drk3288-rock2-som.dtsi253 &tsadc {
Drk3288-r89.dts353 &tsadc {
Drk3288-firefly.dtsi520 &tsadc {
Drk3288-popmetal.dts487 &tsadc {
Drk3288-veyron.dtsi374 &tsadc {
/linux-4.4.14/drivers/thermal/
Drockchip_thermal.c521 const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip; in rockchip_thermal_get_temp() local
524 retval = tsadc->get_temp(tsadc->table, in rockchip_thermal_get_temp()
598 const struct rockchip_tsadc_chip *tsadc = thermal->chip; in rockchip_thermal_register_sensor() local
601 tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode); in rockchip_thermal_register_sensor()
602 tsadc->set_tshut_temp(tsadc->table, id, thermal->regs, in rockchip_thermal_register_sensor()
/linux-4.4.14/Documentation/devicetree/bindings/iio/adc/
Drockchip-saradc.txt4 - compatible: Should be "rockchip,saradc" or "rockchip,rk3066-tsadc"