[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-342-gfc105c7
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2017-10-10 15:00:18
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via fc105c775744196311bc3a698a5e5ffa9bdeb15e (commit)
from 1c66094afe66d9675509b9bbc8ac9bac9a346f86 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fc105c775744196311bc3a698a5e5ffa9bdeb15e
Author: Julien BOIBESSOT <jul...@ar...>
Date: Tue Oct 10 16:44:46 2017 +0200
[LINUX] apf6: 3.19 & 4.0: add spidev support on APF6Dev
-----------------------------------------------------------------------
Summary of changes:
buildroot/target/device/armadeus/apf6/apf6-linux-3.19.config | 1 +
buildroot/target/device/armadeus/apf6/apf6-linux-4.0.config | 1 +
.../3.19/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch | 8 +++++++-
.../4.0/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch | 8 +++++++-
4 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/buildroot/target/device/armadeus/apf6/apf6-linux-3.19.config b/buildroot/target/device/armadeus/apf6/apf6-linux-3.19.config
index 99a2137..b381f5c 100644
--- a/buildroot/target/device/armadeus/apf6/apf6-linux-3.19.config
+++ b/buildroot/target/device/armadeus/apf6/apf6-linux-3.19.config
@@ -169,6 +169,7 @@ CONFIG_I2C_ALGOPCA=m
CONFIG_I2C_IMX=y
CONFIG_SPI=y
CONFIG_SPI_IMX=y
+CONFIG_SPI_SPIDEV=m
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_WATCHDOG=y
diff --git a/buildroot/target/device/armadeus/apf6/apf6-linux-4.0.config b/buildroot/target/device/armadeus/apf6/apf6-linux-4.0.config
index 78a92ce..cbdbc48 100644
--- a/buildroot/target/device/armadeus/apf6/apf6-linux-4.0.config
+++ b/buildroot/target/device/armadeus/apf6/apf6-linux-4.0.config
@@ -167,6 +167,7 @@ CONFIG_I2C_ALGOPCA=m
CONFIG_I2C_IMX=y
CONFIG_SPI=y
CONFIG_SPI_IMX=y
+CONFIG_SPI_SPIDEV=m
CONFIG_GPIO_SYSFS=y
# CONFIG_HWMON is not set
CONFIG_THERMAL=y
diff --git a/patches/linux/3.19/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch b/patches/linux/3.19/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
index 4e6e63a..36161ee 100644
--- a/patches/linux/3.19/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
+++ b/patches/linux/3.19/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
@@ -172,7 +172,7 @@ Index: linux-3.19.8/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
===================================================================
--- /dev/null
+++ linux-3.19.8/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
-@@ -0,0 +1,555 @@
+@@ -0,0 +1,561 @@
+/*
+ * Copyright 2015 Armadeus Systems
+ *
@@ -356,6 +356,12 @@ Index: linux-3.19.8/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
+ <&gpio4 10 GPIO_ACTIVE_LOW>,
+ <&gpio4 11 GPIO_ACTIVE_LOW>;
+ status = "okay";
++
++ spidev0: spi@0 {
++ compatible = "spidev";
++ reg = <0>;
++ spi-max-frequency = <54000000>;
++ };
+};
+
+&hdmi {
diff --git a/patches/linux/4.0/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch b/patches/linux/4.0/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
index b5059e6..3637be6 100644
--- a/patches/linux/4.0/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
+++ b/patches/linux/4.0/0450-armadeus-add-apf6q-and-apf6dl-device-trees.patch
@@ -172,7 +172,7 @@ Index: linux-4.0.9/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
===================================================================
--- /dev/null
+++ linux-4.0.9/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
-@@ -0,0 +1,555 @@
+@@ -0,0 +1,561 @@
+/*
+ * Copyright 2015 Armadeus Systems
+ *
@@ -356,6 +356,12 @@ Index: linux-4.0.9/arch/arm/boot/dts/imx6qdl-apf6dev.dtsi
+ <&gpio4 10 GPIO_ACTIVE_LOW>,
+ <&gpio4 11 GPIO_ACTIVE_LOW>;
+ status = "okay";
++
++ spidev0: spi@0 {
++ compatible = "spidev";
++ reg = <0>;
++ spi-max-frequency = <54000000>;
++ };
+};
+
+&hdmi {
hooks/post-receive
--
armadeus
|