Delete 23-sun4i-gpadc-iio-add-H3-thermal-sensor-DT.patch
replaced with ths-23-sun4i-gpadc-iio-add-H3-thermal-sensor-DT.patch
This commit is contained in:
parent
201fa82b3a
commit
fa9479a2e8
@ -1,28 +0,0 @@
|
||||
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
|
||||
index a0cee17fe44b..efe3a8e4f2af 100644
|
||||
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
|
||||
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
|
||||
@@ -108,6 +108,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
+ iio-hwmon {
|
||||
+ compatible = "iio-hwmon";
|
||||
+ io-channels = <&ths>;
|
||||
+ };
|
||||
+
|
||||
+ soc {
|
||||
+ ths: thermal-sensor@1c25000 {
|
||||
+ compatible = "allwinner,sun8i-h3-ths";
|
||||
+ reg = <0x01c25000 0x100>;
|
||||
+ clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
|
||||
+ clock-names = "bus", "mod";
|
||||
+ resets = <&ccu RST_BUS_THS>;
|
||||
+ #thermal-sensor-cells = <0>;
|
||||
+ #io-channel-cells = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
timer {
|
||||
compatible = "arm,armv7-timer";
|
||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
|
||||
Loading…
Reference in New Issue
Block a user