| .. | .. |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | Required properties: |
|---|
| 4 | 4 | - compatible : should be "rockchip,<name>-tsadc" |
|---|
| 5 | + "rockchip,px30-tsadc": found on PX30 SoCs |
|---|
| 5 | 6 | "rockchip,rv1108-tsadc": found on RV1108 SoCs |
|---|
| 6 | 7 | "rockchip,rv1126-tsadc": found on RV1126 SoCs |
|---|
| 7 | | - "rockchip,px30-tsadc": found on PX30 SoCs |
|---|
| 8 | 8 | "rockchip,rk1808-tsadc": found on RK1808 SoCs |
|---|
| 9 | 9 | "rockchip,rk3228-tsadc": found on RK3228 SoCs |
|---|
| 10 | 10 | "rockchip,rk3288-tsadc": found on RK3288 SoCs |
|---|
| .. | .. |
|---|
| 13 | 13 | "rockchip,rk3368-tsadc": found on RK3368 SoCs |
|---|
| 14 | 14 | "rockchip,rk3399-tsadc": found on RK3399 SoCs |
|---|
| 15 | 15 | "rockchip,rk3568-tsadc": found on RK3568 SoCs |
|---|
| 16 | + "rockchip,rk3588-tsadc": found on RK3588 SoCs |
|---|
| 16 | 17 | - reg : physical base address of the controller and length of memory mapped |
|---|
| 17 | 18 | region. |
|---|
| 18 | 19 | - interrupts : The interrupt number to the cpu. The interrupt specifier format |
|---|
| .. | .. |
|---|
| 28 | 29 | CRU when tshut. |
|---|
| 29 | 30 | - pinctrl-1 : The "otpout" pinctrl state, it will be set if tsadc via set |
|---|
| 30 | 31 | otpout_gpio when tshut. |
|---|
| 31 | | -- #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. |
|---|
| 32 | +- #thermal-sensor-cells : Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description. |
|---|
| 32 | 33 | |
|---|
| 33 | 34 | Optional properties: |
|---|
| 34 | 35 | - rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value. |
|---|
| .. | .. |
|---|
| 47 | 48 | resets = <&cru SRST_TSADC>; |
|---|
| 48 | 49 | reset-names = "tsadc-apb"; |
|---|
| 49 | 50 | pinctrl-names = "gpio", "otpout"; |
|---|
| 50 | | - pinctrl-0 = <&otp_gpio>; |
|---|
| 51 | + pinctrl-0 = <&otp_pin>; |
|---|
| 51 | 52 | pinctrl-1 = <&otp_out>; |
|---|
| 52 | 53 | #thermal-sensor-cells = <1>; |
|---|
| 53 | 54 | rockchip,hw-tshut-temp = <95000>; |
|---|