From 0a883d11e0b7b44433f0677d5287827c2d943dbf Mon Sep 17 00:00:00 2001 From: liuyc20 Date: Tue, 19 Oct 2021 17:19:33 +0800 Subject: [PATCH] arm/dts: milanf rt9426a fg alert_irq modify to gpio38 gpio8 will be used by NFC, RT9426A IRQ switch to gpio38 from DVT1 HW. Change-Id: I8f162a09c9ae5b5657ea8314594ce4abf2b1c293 Signed-off-by: liuyc20 Reviewed-on: https://gerrit.mot.com/2093292 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/blair-milanf-dvt1-overlay.dts | 16 ++++++++++++++++ qcom/rt9426a.dtsi | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/qcom/blair-milanf-dvt1-overlay.dts b/qcom/blair-milanf-dvt1-overlay.dts index 586de4886784..f039e76f90ba 100644 --- a/qcom/blair-milanf-dvt1-overlay.dts +++ b/qcom/blair-milanf-dvt1-overlay.dts @@ -22,6 +22,22 @@ qcom,board-id = <0x49 0xB100>; }; +&rt9426a { + interrupts-extended = <&tlmm 38 IRQ_TYPE_LEVEL_LOW>; +}; +&rt9426a_alert { + mux { + pins = "gpio38"; + function = "gpio"; + }; + + config { + pins = "gpio38"; + drive-strength = <2>; + bias-pull-up; + }; +}; + &tlmm { ets_vcc_high { mux { diff --git a/qcom/rt9426a.dtsi b/qcom/rt9426a.dtsi index 8ab03270fc6d..a453c114a75c 100644 --- a/qcom/rt9426a.dtsi +++ b/qcom/rt9426a.dtsi @@ -2,7 +2,7 @@ &qupv3_se8_i2c { status = "okay"; - rt9426a@55 { + rt9426a: rt9426a@55 { compatible = "richtek,rt9426a"; reg = <0x55>; status = "okay";