Skip to content

Commit 00011b0

Browse files
Rocky Haorkhuangtao
authored andcommitted
arm: dts: rockchip: update tsadc's pinctrl for rk3288
we set cru reset as tshut's default mode, i.e. hw-tshut-mode = <0>, and otp_gpio mode is set accordingly. if gpio mode is set, i.e. hw-tshut-mode = <1>, otp_out is set accordingly. Change-Id: I3cb4588fec171e2867a326f55c2115b1da927ac3 Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
1 parent b8bca70 commit 00011b0

21 files changed

Lines changed: 4 additions & 28 deletions

arch/arm/boot/dts/rk3288-evb-android-rk818-edp.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,7 @@
405405
};
406406

407407
&tsadc {
408-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
409408
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
410-
pinctrl-1 = <&otp_gpio>;
411409
};
412410

413411
&pinctrl {

arch/arm/boot/dts/rk3288-evb-android-rk818-hdmi.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,7 @@
376376
};
377377

378378
&tsadc {
379-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
380379
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
381-
pinctrl-1 = <&otp_gpio>;
382380
};
383381

384382
&pinctrl {

arch/arm/boot/dts/rk3288-evb-android-rk818-lvds.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,7 @@
401401
};
402402

403403
&tsadc {
404-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
405404
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
406-
pinctrl-1 = <&otp_gpio>;
407405
};
408406

409407
&pinctrl {

arch/arm/boot/dts/rk3288-evb-android-rk818-mipi-edp.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,7 @@
431431
};
432432

433433
&tsadc {
434-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
435434
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
436-
pinctrl-1 = <&otp_gpio>;
437435
};
438436

439437
&pinctrl {

arch/arm/boot/dts/rk3288-evb-android-rk818-mipi.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,7 @@
400400
};
401401

402402
&tsadc {
403-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
404403
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
405-
pinctrl-1 = <&otp_gpio>;
406404
};
407405

408406
&pinctrl {

arch/arm/boot/dts/rk3288-evb-rk1608.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@
755755
};
756756

757757
&tsadc {
758-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
759758
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
760759
status = "okay";
761760
};

arch/arm/boot/dts/rk3288-evb.dtsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@
390390
};
391391

392392
&tsadc {
393-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
394393
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
395394
status = "okay";
396395
};

arch/arm/boot/dts/rk3288-fennec.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@
462462
};
463463

464464
&tsadc {
465-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
466465
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
467466
status = "okay";
468467
};

arch/arm/boot/dts/rk3288-firefly-reload-linux.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,9 +427,7 @@
427427
};
428428

429429
&tsadc {
430-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
431430
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
432-
pinctrl-1 = <&otp_gpio>;
433431
};
434432

435433
&pinctrl {

arch/arm/boot/dts/rk3288-firefly-reload.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,7 @@
734734
};
735735

736736
&tsadc {
737-
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
738737
rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
739-
pinctrl-1 = <&otp_gpio>;
740738
};
741739

742740
&pinctrl {

0 commit comments

Comments
 (0)