[bootlin/training-materials updates] master: yocto-stm32: Add support for the stm32mp157d board, and remove others (6041cc7e)
Maxime Chevallier
maxime.chevallier at bootlin.com
Tue Oct 5 17:03:48 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/6041cc7e30848daad13f5c33511f34f2b970b5c9
>---------------------------------------------------------------
commit 6041cc7e30848daad13f5c33511f34f2b970b5c9
Author: Maxime Chevallier <maxime.chevallier at bootlin.com>
Date: Tue Oct 5 16:43:54 2021 +0200
yocto-stm32: Add support for the stm32mp157d board, and remove others
Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
>---------------------------------------------------------------
6041cc7e30848daad13f5c33511f34f2b970b5c9
.../0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch | 40 ---------------------
.../0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch | 41 ++++++++++++++++++++++
.../0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch | 39 --------------------
3 files changed, 41 insertions(+), 79 deletions(-)
diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch
deleted file mode 100644
index 7672ce10..00000000
--- a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157a-dk1-add-nunchuk.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 47ce64860905c5ffc4023f2cffd42d36831a66a2 Mon Sep 17 00:00:00 2001
-From: Alexandre Belloni <alexandre.belloni at bootlin.com>
-Date: Fri, 6 Sep 2019 23:37:48 +0200
-Subject: [PATCH 2/3] ARM: dts: stm32mp157a-dk1: add nunchuk
-
-Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
-Signed-off-by: Thomas Perrot <thomas.perrot at bootlin.com>
----
- arch/arm/boot/dts/stm32mp157a-dk1.dts | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+)
-
-diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
-index 1f265fed2c5d..147ff9e1d02f 100644
---- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
-+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
-@@ -33,3 +33,21 @@
- };
- };
- };
-+
-+&i2c5 {
-+ pinctrl-names = "default", "sleep";
-+ pinctrl-0 = <&i2c5_pins_a>;
-+ pinctrl-1 = <&i2c5_pins_sleep_a>;
-+ i2c-scl-rising-time-ns = <100>;
-+ i2c-scl-falling-time-ns = <7>;
-+ status = "okay";
-+ /delete-property/dmas;
-+ /delete-property/dma-names;
-+ clock-frequency = <100000>;
-+
-+ nunchuk: nunchuk at 52 {
-+ compatible = "nintendo,wiimote-extension";
-+ reg = <0x52>;
-+ status = "okay";
-+ };
-+};
---
-2.31.1
-
diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch
new file mode 100644
index 00000000..f564799a
--- /dev/null
+++ b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0002-ARM-dts-stm32mp157d-dk1-add-nunchuk.patch
@@ -0,0 +1,41 @@
+From f152fe2412ba458fdff41d915b7f79948f655f74 Mon Sep 17 00:00:00 2001
+From: Maxime Chevallier <maxime.chevallier at bootlin.com>
+Date: Tue, 5 Oct 2021 14:00:00 +0000
+Subject: [PATCH] ARM: dts: stm32mp157d-dk1: add nunchuk
+
+Add nunchuck node for the STM32MP157-D board.
+
+Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
+---
+ arch/arm/boot/dts/stm32mp157d-dk1.dts | 18 ++++++++++++++++++
+ 1 file changed, 18 insertions(+)
+
+diff --git a/arch/arm/boot/dts/stm32mp157d-dk1.dts b/arch/arm/boot/dts/stm32mp157d-dk1.dts
+index bcc012cff..5b6e36eb2 100644
+--- a/arch/arm/boot/dts/stm32mp157d-dk1.dts
++++ b/arch/arm/boot/dts/stm32mp157d-dk1.dts
+@@ -26,3 +26,21 @@ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+ };
++
++&i2c5 {
++ pinctrl-names = "default", "sleep";
++ pinctrl-0 = <&i2c5_pins_a>;
++ pinctrl-1 = <&i2c5_pins_sleep_a>;
++ i2c-scl-rising-time-ns = <100>;
++ i2c-scl-falling-time-ns = <7>;
++ status = "okay";
++ /delete-property/dmas;
++ /delete-property/dma-names;
++ clock-frequency = <100000>;
++
++ nunchuk: nunchuk at 52 {
++ compatible = "nintendo,wiimote-extension";
++ reg = <0x52>;
++ status = "okay";
++ };
++};
+--
+2.25.4
+
diff --git a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch b/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch
deleted file mode 100644
index 8f61776b..00000000
--- a/lab-data/yocto-stm32/bootlin-lab-data/nunchuk/linux/0003-ARM-dts-stm32mp157c-dk2-add-nunchuk.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 6d21d4db24bdfdaf70fef77c9d9bcfcea33e3b51 Mon Sep 17 00:00:00 2001
-From: Thomas Perrot <thomas.perrot at bootlin.com>
-Date: Thu, 10 Jun 2021 11:15:36 +0200
-Subject: [PATCH 3/3] ARM: dts: stm32mp157c-dk2: add nunchuk
-
-Signed-off-by: Thomas Perrot <thomas.perrot at bootlin.com>
----
- arch/arm/boot/dts/stm32mp157c-dk2.dts | 18 ++++++++++++++++++
- 1 file changed, 18 insertions(+)
-
-diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
-index ba1d15de2f2c..54200327c2a2 100644
---- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
-+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
-@@ -169,3 +169,21 @@
- vddio-supply = <&v3v3>;
- };
- };
-+
-+&i2c5 {
-+ pinctrl-names = "default", "sleep";
-+ pinctrl-0 = <&i2c5_pins_a>;
-+ pinctrl-1 = <&i2c5_pins_sleep_a>;
-+ i2c-scl-rising-time-ns = <100>;
-+ i2c-scl-falling-time-ns = <7>;
-+ status = "okay";
-+ /delete-property/dmas;
-+ /delete-property/dma-names;
-+ clock-frequency = <100000>;
-+
-+ nunchuk: nunchuk at 52 {
-+ compatible = "nintendo,wiimote-extension";
-+ reg = <0x52>;
-+ status = "okay";
-+ };
-+};
---
-2.31.1
-
More information about the training-materials-updates
mailing list