From 900c6b1a42d0b7f7c4c2ed2497117c6ea0a01ce3 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 26 Nov 2018 23:47:00 +0100 Subject: sunxi: Add support for kernel 4.19 This adds supprot for kernel 4.19 to the sunxi target. The patches and the configuration were copied from the kernel 4.14 patches folder and adapted for kernel 4.19. Signed-off-by: Hauke Mehrtens --- .../301-orangepi_pc2_usb_otg_to_host_key_power.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch (limited to 'target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch') diff --git a/target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch b/target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch new file mode 100644 index 0000000000..af243ca3e7 --- /dev/null +++ b/target/linux/sunxi/patches-4.19/301-orangepi_pc2_usb_otg_to_host_key_power.patch @@ -0,0 +1,20 @@ +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +@@ -98,7 +98,7 @@ + + sw4 { + label = "sw4"; +- linux,code = ; ++ linux,code = ; + gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; + }; + }; +@@ -238,7 +238,7 @@ + }; + + &usb_otg { +- dr_mode = "otg"; ++ dr_mode = "host"; + status = "okay"; + }; + -- cgit v1.2.3