From a849d40a2ab12e92b26a460386ea500d12f8c911 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 7 Aug 2017 10:30:58 +0200 Subject: [PATCH] linux-litecell: Add patch to change led default trigger --- ....dts-Set-default-let-trigger-to-none.patch | 33 +++++++++++++++++++ recipes-bsp/linux/linux-litecell15_4.4.32.bb | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 recipes-bsp/linux/files/sysmobts2100/0001-litecell15.dts-Set-default-let-trigger-to-none.patch diff --git a/recipes-bsp/linux/files/sysmobts2100/0001-litecell15.dts-Set-default-let-trigger-to-none.patch b/recipes-bsp/linux/files/sysmobts2100/0001-litecell15.dts-Set-default-let-trigger-to-none.patch new file mode 100644 index 0000000..d26562e --- /dev/null +++ b/recipes-bsp/linux/files/sysmobts2100/0001-litecell15.dts-Set-default-let-trigger-to-none.patch @@ -0,0 +1,33 @@ +From 83bf55510af35cc9e0872bc25ad5628dfae2f4a8 Mon Sep 17 00:00:00 2001 +From: Pau Espin Pedrol +Date: Mon, 7 Aug 2017 10:27:36 +0200 +Subject: [PATCH] litecell15.dts: Set default let trigger to none + +--- + arch/arm/boot/dts/litecell15.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/litecell15.dts b/arch/arm/boot/dts/litecell15.dts +index a0c9db31eaf4..a2a08d64f313 100644 +--- a/arch/arm/boot/dts/litecell15.dts ++++ b/arch/arm/boot/dts/litecell15.dts +@@ -318,14 +318,14 @@ + led@0 { + label = "usr0"; + gpios = <&gpio7 31 GPIO_ACTIVE_HIGH>; +- linux,default-trigger = "heartbeat"; ++ linux,default-trigger = "none"; + default-state = "on"; + }; + + led@1 { + label = "usr1"; + gpios = <&gpio7 30 GPIO_ACTIVE_HIGH>; +- linux,default-trigger = "cpu0"; ++ linux,default-trigger = "none"; + default-state = "off"; + }; + +-- +2.13.4 + diff --git a/recipes-bsp/linux/linux-litecell15_4.4.32.bb b/recipes-bsp/linux/linux-litecell15_4.4.32.bb index a5b439f..9b225f7 100644 --- a/recipes-bsp/linux/linux-litecell15_4.4.32.bb +++ b/recipes-bsp/linux/linux-litecell15_4.4.32.bb @@ -61,7 +61,8 @@ do_configure_prepend() { sed -i -e 's/EXTRAVERSION =.*/EXTRAVERSION = .${PKGGITN}-lc15/g' ${S}/Makefile } -SRC_URI += "file://defconfig" +SRC_URI += "file://defconfig \ + file://0001-litecell15.dts-Set-default-let-trigger-to-none.patch" # autoload defaults module_autoload_nrw_clkerr = "nrw-clkerr"