Home
last modified time | relevance | path

Searched full:tsadc (Results 1 – 25 of 124) sorted by relevance

12345

/openbmc/linux/drivers/mfd/
H A Dfsl-imx25-tsadc.c12 #include <linux/mfd/imx25-tsadc.h>
29 struct mx25_tsadc *tsadc = irq_desc_get_handler_data(desc); in mx25_tsadc_irq_handler() local
35 regmap_read(tsadc->regs, MX25_TSC_TGSR, &status); in mx25_tsadc_irq_handler()
38 generic_handle_domain_irq(tsadc->domain, 1); in mx25_tsadc_irq_handler()
41 generic_handle_domain_irq(tsadc->domain, 0); in mx25_tsadc_irq_handler()
49 struct mx25_tsadc *tsadc = d->host_data; in mx25_tsadc_domain_map() local
51 irq_set_chip_data(irq, tsadc); in mx25_tsadc_domain_map()
65 struct mx25_tsadc *tsadc) in mx25_tsadc_setup_irq() argument
75 tsadc->domain = irq_domain_add_simple(np, 2, 0, &mx25_tsadc_domain_ops, in mx25_tsadc_setup_irq()
76 tsadc); in mx25_tsadc_setup_irq()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/thermal/
H A Drockchip-thermal.yaml7 title: Temperature Sensor ADC (TSADC) on Rockchip SoCs
15 - rockchip,px30-tsadc
16 - rockchip,rk3228-tsadc
17 - rockchip,rk3288-tsadc
18 - rockchip,rk3328-tsadc
19 - rockchip,rk3368-tsadc
20 - rockchip,rk3399-tsadc
21 - rockchip,rk3568-tsadc
22 - rockchip,rk3588-tsadc
23 - rockchip,rv1108-tsadc
[all …]
/openbmc/u-boot/doc/device-tree-bindings/thermal/
H A Drockchip-thermal.txt1 * Temperature Sensor ADC (TSADC) on rockchip SoCs
4 - compatible : "rockchip,rk3288-tsadc"
10 - clock-names : Shall be "tsadc" for the converter-clock, and "apb_pclk" for
14 - reset-names : Must include the name "tsadc-apb".
22 tsadc: tsadc@ff280000 {
23 compatible = "rockchip,rk3288-tsadc";
27 clock-names = "tsadc", "apb_pclk";
29 reset-names = "tsadc-apb";
45 thermal-sensors = <&tsadc 1>;
/openbmc/linux/drivers/thermal/
H A Drockchip_thermal.c69 * struct rockchip_tsadc_chip - hold the private data of tsadc chip
71 * @chn_num: the channel number of tsadc chip
75 * @initialize: SoC special initialize tsadc controller method
77 * @control: enable/disable method for the tsadc controller
129 * @reset: the reset controller of tsadc
134 * @regs: the base address of tsadc controller
158 * TSADC Sensor Register description:
668 * @regs: the base address of tsadc controller
673 * TSADC in normal operation.
677 * TSADC after the temperature is higher than COM_SHUT or COM_INT.
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Drk3288-thermal.dtsi15 thermal-sensors = <&tsadc 0>;
24 thermal-sensors = <&tsadc 1>;
64 thermal-sensors = <&tsadc 2>;
H A Drk322x.dtsi335 thermal-sensors = <&tsadc 0>;
370 tsadc: tsadc@11150000 { label
371 compatible = "rockchip,rk3228-tsadc";
375 clock-names = "tsadc", "apb_pclk";
377 reset-names = "tsadc-apb";
709 tsadc {
H A Drk3368.dtsi444 thermal-sensors = <&tsadc 0>;
482 thermal-sensors = <&tsadc 1>;
507 tsadc: tsadc@ff280000 { label
508 compatible = "rockchip,rk3368-tsadc";
512 clock-names = "tsadc", "apb_pclk";
514 reset-names = "tsadc-apb";
1033 tsadc {
H A Drk3288.dtsi392 tsadc: tsadc@ff280000 { label
393 compatible = "rockchip,rk3288-tsadc";
397 clock-names = "tsadc", "apb_pclk";
399 reset-names = "tsadc-apb";
1454 tsadc {
H A Drk3288-veyron.dtsi601 &tsadc {
602 tsadc-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
603 tsadc-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
/openbmc/linux/include/linux/mfd/
H A Dti_am335x_tscadc.h191 void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tsadc, u32 val);
192 void am335x_tsc_se_set_once(struct ti_tscadc_dev *tsadc, u32 val);
193 void am335x_tsc_se_clr(struct ti_tscadc_dev *tsadc, u32 val);
194 void am335x_tsc_se_adc_done(struct ti_tscadc_dev *tsadc);
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dfsl-imx25-tsadc.txt7 - compatible: Should be "fsl,imx25-tsadc".
25 compatible = "fsl,imx25-tsadc";
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-veyron-pinky.dts134 &tsadc {
135 /* Some connection is flaky making the tsadc hang the system */
H A Drv1108.dtsi309 thermal-sensors = <&tsadc 0>;
339 tsadc: tsadc@10370000 { label
340 compatible = "rockchip,rv1108-tsadc";
346 clock-names = "tsadc", "apb_pclk";
352 reset-names = "tsadc-apb";
910 tsadc {
H A Drk322x.dtsi522 thermal-sensors = <&tsadc 0>;
563 tsadc: tsadc@11150000 { label
564 compatible = "rockchip,rk3228-tsadc";
568 clock-names = "tsadc", "apb_pclk";
572 reset-names = "tsadc-apb";
1241 tsadc {
H A Drk3228-evb.dts63 &tsadc {
H A Drk3288.dtsi463 thermal-sensors = <&tsadc 0>;
470 thermal-sensors = <&tsadc 1>;
514 thermal-sensors = <&tsadc 2>;
539 tsadc: tsadc@ff280000 { label
540 compatible = "rockchip,rk3288-tsadc";
544 clock-names = "tsadc", "apb_pclk";
546 reset-names = "tsadc-apb";
1963 tsadc {
H A Drk3066a.dtsi258 tsadc: tsadc@20060000 { label
259 compatible = "rockchip,rk3066-tsadc";
H A Drv1108-evb.dts192 &tsadc {
/openbmc/linux/drivers/input/touchscreen/
H A Dfsl-imx25-tcq.c14 #include <linux/mfd/imx25-tsadc.h>
505 struct mx25_tsadc *tsadc = dev_get_drvdata(dev->parent); in mx25_tcq_probe() local
550 priv->core_regs = tsadc->regs; in mx25_tcq_probe()
554 priv->clk = tsadc->clk; in mx25_tcq_probe()
/openbmc/linux/drivers/iio/adc/
H A Dfsl-imx25-gcq.c13 #include <linux/mfd/imx25-tsadc.h>
301 struct mx25_tsadc *tsadc = dev_get_drvdata(pdev->dev.parent); in mx25_gcq_probe() local
340 priv->clk = tsadc->clk; in mx25_gcq_probe()
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3368.dtsi389 thermal-sensors = <&tsadc 0>;
433 thermal-sensors = <&tsadc 1>;
461 tsadc: tsadc@ff280000 { label
462 compatible = "rockchip,rk3368-tsadc";
466 clock-names = "tsadc", "apb_pclk";
468 reset-names = "tsadc-apb";
1318 tsadc {
H A Drk3328.dtsi516 thermal-sensors = <&tsadc 0>;
550 tsadc: tsadc@ff250000 {
551 compatible = "rockchip,rk3328-tsadc";
557 clock-names = "tsadc", "apb_pclk";
563 reset-names = "tsadc-apb";
1279 tsadc {
1869 tsadc_int: tsadc-int {
1872 tsadc_pin: tsadc-pin {
549 tsadc: tsadc@ff250000 { global() label
H A Dpx30.dtsi185 thermal-sensors = <&tsadc 0>;
219 thermal-sensors = <&tsadc 1>;
774 tsadc: tsadc@ff280000 { label
775 compatible = "rockchip,px30-tsadc";
781 clock-names = "tsadc", "apb_pclk";
783 reset-names = "tsadc-apb";
1553 tsadc {
1554 tsadc_otp_pin: tsadc-otp-pin {
1559 tsadc_otp_out: tsadc-otp-out {
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/
H A Drockchip-saradc.yaml16 - const: rockchip,rk3066-tsadc
/openbmc/u-boot/drivers/adc/
H A Drockchip-saradc.c167 { .compatible = "rockchip,rk3066-tsadc",

12345