From 3ccc8cef7381e3ed58f42c618b0db3d00fa6589e Mon Sep 17 00:00:00 2001 From: Joseph Liu Date: Wed, 21 Aug 2024 18:23:42 +0800 Subject: [PATCH] evt compatible --- ...11-dts-arm64-yv4n-ioe-compatible-dvt.patch | 51 +++++++++++++++++++ .../linux/linux-nuvoton_%.bbappend | 3 ++ 2 files changed, 54 insertions(+) create mode 100644 meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton/1111-dts-arm64-yv4n-ioe-compatible-dvt.patch diff --git a/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton/1111-dts-arm64-yv4n-ioe-compatible-dvt.patch b/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton/1111-dts-arm64-yv4n-ioe-compatible-dvt.patch new file mode 100644 index 000000000000..62ecac19f1a7 --- /dev/null +++ b/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton/1111-dts-arm64-yv4n-ioe-compatible-dvt.patch @@ -0,0 +1,51 @@ +From 4147aeb868c0bbd3ada0157ee7193d0edf13c192 Mon Sep 17 00:00:00 2001 +From: Joseph Liu +Date: Wed, 21 Aug 2024 11:46:34 +0800 +Subject: [PATCH] dts: arm64: yv4n: ioe compatible dvt + +Signed-off-by: Joseph Liu +--- + .../dts/nuvoton/nuvoton-npcm845-yosemite4.dts | 28 +++++++++++++++++++ + 1 file changed, 28 insertions(+) + +diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-yosemite4.dts b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-yosemite4.dts +index 0bfb55a2f398..1d3b97e5b1c5 100644 +--- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-yosemite4.dts ++++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-yosemite4.dts +@@ -1412,6 +1412,34 @@ imux37: i2c@3 { + &i2c14 { + status = "okay"; + clock-frequency = <100000>; ++ ++ gpio@20 { ++ compatible = "nxp,pca9506"; ++ reg = <0x20>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; ++ ++ gpio@21 { ++ compatible = "nxp,pca9506"; ++ reg = <0x21>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; ++ ++ gpio@22 { ++ compatible = "nxp,pca9506"; ++ reg = <0x22>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; ++ ++ gpio@23 { ++ compatible = "nxp,pca9506"; ++ reg = <0x23>; ++ gpio-controller; ++ #gpio-cells = <2>; ++ }; + }; + + &i2c15 { +-- +2.34.1 diff --git a/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton_%.bbappend b/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton_%.bbappend index 8452a27685aa..2f269b762690 100644 --- a/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton_%.bbappend +++ b/meta-facebook/meta-yosemite4/meta-yosemite4n/recipes-kernel/linux/linux-nuvoton_%.bbappend @@ -71,3 +71,6 @@ SRC_URI:append = " file://1033-i3c-expose-interface-for-doing-daa-request.patch" # NPCM8XX i2c patch test SRC_URI:append = " file://1111-driver-i2c-npcm7xx-do-not-return-0-if-i2c-recovery-o.patch" + +# TMP +SRC_URI:append = " file://1111-dts-arm64-yv4n-ioe-compatible-dvt.patch"