[Armadeus-commitlog] armadeus branch, master, updated. armadeus-7.0-373-g3a68a525a
Brought to you by:
sszy
|
From: sszy <ss...@us...> - 2023-04-05 09:02:05
|
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 3a68a525a7f4056e241d480a7190cc7b7e53f284 (commit)
from 5afad641f862861ffe71bae3c202f64855bc147d (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 3a68a525a7f4056e241d480a7190cc7b7e53f284
Author: Sébastien Szymanski <seb...@ar...>
Date: Wed Apr 5 11:00:48 2023 +0200
[LINUX] 5.10: patches for apf27
-----------------------------------------------------------------------
Summary of changes:
...0200-ARM-dts-apf27-add-I2C-EEPROM-support.patch | 89 ++++++++++++++++++++++
...01-ARM-dts-apf27dev-fix-user-led-polarity.patch | 32 ++++++++
...02-ARM-dts-apf27dev-fix-user-key-polarity.patch | 32 ++++++++
.../0203-ARM-dts-apf27-add-USB-OTG-support.patch | 72 +++++++++++++++++
4 files changed, 225 insertions(+)
create mode 100644 patches/linux/5.10/0200-ARM-dts-apf27-add-I2C-EEPROM-support.patch
create mode 100644 patches/linux/5.10/0201-ARM-dts-apf27dev-fix-user-led-polarity.patch
create mode 100644 patches/linux/5.10/0202-ARM-dts-apf27dev-fix-user-key-polarity.patch
create mode 100644 patches/linux/5.10/0203-ARM-dts-apf27-add-USB-OTG-support.patch
diff --git a/patches/linux/5.10/0200-ARM-dts-apf27-add-I2C-EEPROM-support.patch b/patches/linux/5.10/0200-ARM-dts-apf27-add-I2C-EEPROM-support.patch
new file mode 100644
index 000000000..04df78d89
--- /dev/null
+++ b/patches/linux/5.10/0200-ARM-dts-apf27-add-I2C-EEPROM-support.patch
@@ -0,0 +1,89 @@
+From 1ded813c1f281ce78889e97967c516b3f8ff17bb Mon Sep 17 00:00:00 2001
+From: Eric Jarrige <eri...@ar...>
+Date: Wed, 15 Mar 2023 15:00:29 +0100
+Subject: [PATCH 200/203] ARM: dts: apf27: add I2C EEPROM support
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+APF27 SoM has an EEPROM on the I2C2 bus, add support of it.
+Move I2C2 node from APF27Dev board to APF27 SoM.
+
+Signed-off-by: Eric Jarrige <eri...@ar...>
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ arch/arm/boot/dts/imx27-apf27.dts | 19 +++++++++++++++++++
+ arch/arm/boot/dts/imx27-apf27dev.dts | 13 -------------
+ 2 files changed, 19 insertions(+), 13 deletions(-)
+
+diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts
+index 745d5d409952..89dba47aa8f3 100644
+--- a/arch/arm/boot/dts/imx27-apf27.dts
++++ b/arch/arm/boot/dts/imx27-apf27.dts
+@@ -48,6 +48,13 @@ MX27_PAD_ATA_DATA15__FEC_TX_EN 0x0
+ >;
+ };
+
++ pinctrl_i2c2: i2c2grp {
++ fsl,pins = <
++ MX27_PAD_I2C2_SDA__I2C2_SDA 0x0
++ MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
++ >;
++ };
++
+ pinctrl_uart1: uart1grp {
+ fsl,pins = <
+ MX27_PAD_UART1_TXD__UART1_TXD 0x0
+@@ -69,6 +76,18 @@ &fec {
+ status = "okay";
+ };
+
++&i2c2 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_i2c2>;
++ status = "okay";
++
++ eeprom@50 {
++ compatible = "atmel,24c02";
++ reg = <0x50>;
++ pagesize = <8>;
++ };
++};
++
+ &nfc {
+ status = "okay";
+ nand-bus-width = <16>;
+diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
+index 6f1e8ce9e76e..66f360ded1c8 100644
+--- a/arch/arm/boot/dts/imx27-apf27dev.dts
++++ b/arch/arm/boot/dts/imx27-apf27dev.dts
+@@ -122,12 +122,6 @@ max5821@38 {
+ };
+ };
+
+-&i2c2 {
+- pinctrl-names = "default";
+- pinctrl-0 = <&pinctrl_i2c2>;
+- status = "okay";
+-};
+-
+ &iomuxc {
+ imx27-apf27dev {
+ pinctrl_cspi1: cspi1grp {
+@@ -205,13 +199,6 @@ MX27_PAD_I2C_CLK__I2C_CLK 0x0
+ >;
+ };
+
+- pinctrl_i2c2: i2c2grp {
+- fsl,pins = <
+- MX27_PAD_I2C2_SDA__I2C2_SDA 0x0
+- MX27_PAD_I2C2_SCL__I2C2_SCL 0x0
+- >;
+- };
+-
+ pinctrl_max1027: max1027 {
+ fsl,pins = <
+ MX27_PAD_UART1_CTS__GPIO5_14 0x0 /* CNVST */
+--
+2.39.2
+
diff --git a/patches/linux/5.10/0201-ARM-dts-apf27dev-fix-user-led-polarity.patch b/patches/linux/5.10/0201-ARM-dts-apf27dev-fix-user-led-polarity.patch
new file mode 100644
index 000000000..8950ff9b4
--- /dev/null
+++ b/patches/linux/5.10/0201-ARM-dts-apf27dev-fix-user-led-polarity.patch
@@ -0,0 +1,32 @@
+From fb3328c9d5341a658979756cca81c906ac6467ca Mon Sep 17 00:00:00 2001
+From: Julien Boibessot <jul...@ar...>
+Date: Wed, 15 Mar 2023 15:27:52 +0100
+Subject: [PATCH 201/203] ARM: dts: apf27dev: fix user led polarity
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The led is active low.
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ arch/arm/boot/dts/imx27-apf27dev.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
+index 66f360ded1c8..ca6458a8fe31 100644
+--- a/arch/arm/boot/dts/imx27-apf27dev.dts
++++ b/arch/arm/boot/dts/imx27-apf27dev.dts
+@@ -49,7 +49,7 @@ leds {
+
+ user {
+ label = "Heartbeat";
+- gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
++ gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ };
+ };
+--
+2.39.2
+
diff --git a/patches/linux/5.10/0202-ARM-dts-apf27dev-fix-user-key-polarity.patch b/patches/linux/5.10/0202-ARM-dts-apf27dev-fix-user-key-polarity.patch
new file mode 100644
index 000000000..b7b8a3fc5
--- /dev/null
+++ b/patches/linux/5.10/0202-ARM-dts-apf27dev-fix-user-key-polarity.patch
@@ -0,0 +1,32 @@
+From 5de000642a4bab89b78f6f34d20e9bf38ddb4668 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?=
+ <seb...@ar...>
+Date: Wed, 15 Mar 2023 16:44:47 +0100
+Subject: [PATCH 202/203] ARM: dts: apf27dev: fix user key polarity
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The key is active low.
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ arch/arm/boot/dts/imx27-apf27dev.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
+index ca6458a8fe31..577eebf6f374 100644
+--- a/arch/arm/boot/dts/imx27-apf27dev.dts
++++ b/arch/arm/boot/dts/imx27-apf27dev.dts
+@@ -37,7 +37,7 @@ gpio-keys {
+
+ user-key {
+ label = "user";
+- gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
++ gpios = <&gpio6 13 GPIO_ACTIVE_LOW>;
+ linux,code = <276>; /* BTN_EXTRA */
+ };
+ };
+--
+2.39.2
+
diff --git a/patches/linux/5.10/0203-ARM-dts-apf27-add-USB-OTG-support.patch b/patches/linux/5.10/0203-ARM-dts-apf27-add-USB-OTG-support.patch
new file mode 100644
index 000000000..6a83d41c5
--- /dev/null
+++ b/patches/linux/5.10/0203-ARM-dts-apf27-add-USB-OTG-support.patch
@@ -0,0 +1,72 @@
+From 20fade1682ce803fd9e276ca2d7f58c6b1ae82a6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?=
+ <seb...@ar...>
+Date: Thu, 16 Mar 2023 10:59:55 +0100
+Subject: [PATCH 203/203] ARM: dts: apf27: add USB OTG support
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Sébastien Szymanski <seb...@ar...>
+---
+ arch/arm/boot/dts/imx27-apf27.dts | 33 +++++++++++++++++++++++++++++++
+ 1 file changed, 33 insertions(+)
+
+diff --git a/arch/arm/boot/dts/imx27-apf27.dts b/arch/arm/boot/dts/imx27-apf27.dts
+index 89dba47aa8f3..32232cce9f06 100644
+--- a/arch/arm/boot/dts/imx27-apf27.dts
++++ b/arch/arm/boot/dts/imx27-apf27.dts
+@@ -17,6 +17,12 @@ memory@a0000000 {
+ device_type = "memory";
+ reg = <0xa0000000 0x04000000>;
+ };
++
++ usbotgphy0: usbphy@0 {
++ #phy-cells = <0>;
++ compatible = "usb-nop-xceiv";
++ status = "okay";
++ };
+ };
+
+ &clk_osc26m {
+@@ -61,6 +67,23 @@ MX27_PAD_UART1_TXD__UART1_TXD 0x0
+ MX27_PAD_UART1_RXD__UART1_RXD 0x0
+ >;
+ };
++
++ pinctrl_usbotg: usbotg {
++ fsl,pins = <
++ MX27_PAD_USBOTG_NXT__USBOTG_NXT 0x0
++ MX27_PAD_USBOTG_STP__USBOTG_STP 0x0
++ MX27_PAD_USBOTG_DIR__USBOTG_DIR 0x0
++ MX27_PAD_USBOTG_CLK__USBOTG_CLK 0x0
++ MX27_PAD_USBOTG_DATA0__USBOTG_DATA0 0x0
++ MX27_PAD_USBOTG_DATA1__USBOTG_DATA1 0x0
++ MX27_PAD_USBOTG_DATA2__USBOTG_DATA2 0x0
++ MX27_PAD_USBOTG_DATA3__USBOTG_DATA3 0x0
++ MX27_PAD_USBOTG_DATA4__USBOTG_DATA4 0x0
++ MX27_PAD_USBOTG_DATA5__USBOTG_DATA5 0x0
++ MX27_PAD_USBOTG_DATA6__USBOTG_DATA6 0x0
++ MX27_PAD_USBOTG_DATA7__USBOTG_DATA7 0x0
++ >;
++ };
+ };
+ };
+
+@@ -129,3 +152,13 @@ partition@800000 {
+ reg = <0x800000 0xf800000>;
+ };
+ };
++
++&usbotg {
++ pinctrl-names = "default";
++ pinctrl-0 = <&pinctrl_usbotg>;
++ phys = <&usbotgphy0>;
++ phy_names = "usb-phy";
++ phy_type = "ulpi";
++ disable-over-current;
++ status = "okay";
++};
+--
+2.39.2
+
hooks/post-receive
--
armadeus
|