• Home
  • Raw
  • Download

Lines Matching full:tsadc

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:
669 * @regs: the base address of tsadc controller
674 * TSADC in normal operation.
678 * TSADC after the temperature is higher than COM_SHUT or COM_INT.
682 * "debounce" times, TSADC controller will generate interrupt or TSHUT.
706 * @regs: the base address of tsadc controller
709 * (1) The tsadc control power sequence.
713 * TSADC in normal operation.
717 * TSADC after the temperature is higher than COM_SHUT or COM_INT.
721 * "debounce" times, TSADC controller will generate interrupt or TSHUT.
726 /* The tsadc control power sequence */ in rk_tsadcv3_initialize()
879 * rk_tsadcv3_control - the tsadc controller is enabled or disabled.
880 * @regs: the base address of tsadc controller
883 * NOTE: TSADC controller works at auto mode, and some SoCs need set the
940 * set_trips will pass {-INT_MAX, INT_MAX} to trigger tsadc alarm in rk_tsadcv2_alarm_temp()
973 * set_trips will pass {-INT_MAX, INT_MAX} to trigger tsadc alarm in rk_tsadcv3_alarm_temp()
1067 .chn_num = 2, /* 2 channels for tsadc */
1091 .chn_num = 1, /* one channel for tsadc */
1116 .chn_num = 1, /* one channel for tsadc */
1141 .chn_num = 2, /* two channels for tsadc */
1166 .chn_num = 1, /* one channels for tsadc */
1190 .chn_num = 2, /* two channels for tsadc */
1215 .chn_num = 2, /* two channels for tsadc */
1240 .chn_num = 2, /* two channels for tsadc */
1265 .chn_num = 2, /* two channels for tsadc */
1290 .chn_num = 7, /* seven channels for tsadc */
1310 { .compatible = "rockchip,px30-tsadc",
1314 .compatible = "rockchip,rv1108-tsadc",
1318 .compatible = "rockchip,rk3228-tsadc",
1322 .compatible = "rockchip,rk3288-tsadc",
1326 .compatible = "rockchip,rk3328-tsadc",
1330 .compatible = "rockchip,rk3366-tsadc",
1334 .compatible = "rockchip,rk3368-tsadc",
1338 .compatible = "rockchip,rk3399-tsadc",
1342 .compatible = "rockchip,rk3568-tsadc",
1346 .compatible = "rockchip,rk3588-tsadc",
1384 const struct rockchip_tsadc_chip *tsadc = thermal->chip; in rockchip_thermal_set_trips() local
1389 return tsadc->set_alarm_temp(&tsadc->table, in rockchip_thermal_set_trips()
1397 const struct rockchip_tsadc_chip *tsadc = sensor->thermal->chip; in rockchip_thermal_get_temp() local
1400 retval = tsadc->get_temp(&tsadc->table, in rockchip_thermal_get_temp()
1463 /* The tsadc wont to handle the error in here since some SoCs didn't in rockchip_configure_from_dt()
1479 const struct rockchip_tsadc_chip *tsadc = thermal->chip; in rockchip_thermal_register_sensor() local
1482 tsadc->set_tshut_mode(id, thermal->regs, thermal->tshut_mode); in rockchip_thermal_register_sensor()
1484 error = tsadc->set_tshut_temp(&tsadc->table, id, thermal->regs, in rockchip_thermal_register_sensor()
1505 * rockchip_thermal_reset_controller - Reset TSADC Controller, reset all tsadc registers.
1506 * @reset: the reset controller of tsadc
1550 "failed to get tsadc reset.\n"); in rockchip_thermal_probe()
1552 thermal->clk = devm_clk_get_enabled(&pdev->dev, "tsadc"); in rockchip_thermal_probe()
1555 "failed to get tsadc clock.\n"); in rockchip_thermal_probe()
1587 "failed to request tsadc irq.\n"); in rockchip_thermal_probe()