/openbmc/linux/drivers/mfd/ |
H A D | fsl-imx25-tsadc.c | 12 #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 D | rockchip-thermal.yaml | 7 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 D | rockchip-thermal.txt | 1 * 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 D | rockchip_thermal.c | 69 * 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 D | rk3288-thermal.dtsi | 15 thermal-sensors = <&tsadc 0>; 24 thermal-sensors = <&tsadc 1>; 64 thermal-sensors = <&tsadc 2>;
|
H A D | rk322x.dtsi | 335 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 D | rk3368.dtsi | 444 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 D | rk3288.dtsi | 392 tsadc: tsadc@ff280000 { label 393 compatible = "rockchip,rk3288-tsadc"; 397 clock-names = "tsadc", "apb_pclk"; 399 reset-names = "tsadc-apb"; 1454 tsadc {
|
H A D | rk3288-veyron.dtsi | 601 &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 D | ti_am335x_tscadc.h | 191 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 D | fsl-imx25-tsadc.txt | 7 - compatible: Should be "fsl,imx25-tsadc". 25 compatible = "fsl,imx25-tsadc";
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rk3288-veyron-pinky.dts | 134 &tsadc { 135 /* Some connection is flaky making the tsadc hang the system */
|
H A D | rv1108.dtsi | 309 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 D | rk322x.dtsi | 522 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 D | rk3228-evb.dts | 63 &tsadc {
|
H A D | rk3288.dtsi | 463 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 D | rk3066a.dtsi | 258 tsadc: tsadc@20060000 { label 259 compatible = "rockchip,rk3066-tsadc";
|
H A D | rv1108-evb.dts | 192 &tsadc {
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | fsl-imx25-tcq.c | 14 #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 D | fsl-imx25-gcq.c | 13 #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 D | rk3368.dtsi | 389 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 D | rk3328.dtsi | 516 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 D | px30.dtsi | 185 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 D | rockchip-saradc.yaml | 16 - const: rockchip,rk3066-tsadc
|
/openbmc/u-boot/drivers/adc/ |
H A D | rockchip-saradc.c | 167 { .compatible = "rockchip,rk3066-tsadc",
|