Skip to contentSkip to conversation

Initial support for phyBOARD-Pollux i.MX8MP

PATCH Applied Teresa Remmet 2 participants 6 messages Jan 7, 2021 – Jan 11, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover Initial support for phyBOARD-Pollux i.MX8MP

Fourth version for the initial support for the SoM phyCORE-i.MX8MP and the carrier board phyBOARD-Pollux.

Changes in v4:
- resolved defconfig conflict adding PCA9532 during rebase to v5.11-rc2
- removed unneeded status properties in device trees
- removed upstream not available i2c rtc property
- fixed i2c rtc trickle-resistor value

Changes in v3:
- removed deprecated led label property
- added Reviewed-by and Acked-by tags

Changes in v2:
- add rv3028 as module instead of buildin in defconfig
- updated commit message of rv3028 accordingly
- changed entries of device tree binding documentation to "const" and fixed order
- fixed led dimmer node name
- removed rtc clock node
- fixed pmic node name
- removed reg entries in pmic regulator nodes
- removed clock entry from rtc node
- moved muxing of enable gpio for sd-card regulator to the proper node
- squashed imx8mp-phyboard-pollux.dtsi into imx8mp-phyboard-pollux-rdk.dts

Teresa

Teresa Remmet (4):
arm64: defconfig: Enable rv3028 i2c rtc driver
arm64: defconfig: Enable PCA9532 support
bindings: arm: fsl: Add PHYTEC i.MX8MP devicetree bindings
arm64: dts: freescale: Add support for phyBOARD-Pollux-i.MX8MP

 Documentation/devicetree/bindings/arm/fsl.yaml     |   6 +
 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts   | 161 +++++++++++
 .../boot/dts/freescale/imx8mp-phycore-som.dtsi     | 293 +++++++++++++++++++++
 arch/arm64/configs/defconfig                       |   2 +
 5 files changed, 463 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
Signature · 1 line
2.7.4
#1 lore raw

PATCH v4 1/4 arm64: defconfig: Enable rv3028 i2c rtc driver

Enable rv3028 i2c rtc driver as module. It is populated on phyBOARD-Pollux-i.MX8M Plus.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 838301650a79..2fc0a3bd40be 100644
@@ -846,6 +846,7 @@ CONFIG_RTC_DRV_MAX77686=y
 CONFIG_RTC_DRV_RK808=m
 CONFIG_RTC_DRV_PCF85363=m
 CONFIG_RTC_DRV_RX8581=m
+CONFIG_RTC_DRV_RV3028=m
 CONFIG_RTC_DRV_RV8803=m
 CONFIG_RTC_DRV_S5M=y
 CONFIG_RTC_DRV_DS3232=y
Signature · 1 line
2.7.4
#2 lore raw

PATCH v4 2/4 arm64: defconfig: Enable PCA9532 support

In reply to Teresa Remmet

Enable i2c led expander PCA9532 module support populated on phyBOARD-Pollux-i.MX8M Plus.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 2fc0a3bd40be..6121aaee3c0f 100644
@@ -828,6 +828,7 @@ CONFIG_MMC_OWL=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_LM3692X=m
+CONFIG_LEDS_PCA9532=m
 CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_PWM=y
 CONFIG_LEDS_SYSCON=y
Signature · 1 line
2.7.4
#3 lore raw

PATCH v4 3/4 bindings: arm: fsl: Add PHYTEC i.MX8MP devicetree bindings

In reply to Teresa Remmet

Add devicetree bindings for i.MX8MP based phyCORE-i.MX8MP and phyBOARD-Pollux RDK.

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/fsl.yaml +6 -0
index 34000f7fbe02..5ea9cd102ad9 100644
@@ -707,6 +707,12 @@ properties:
               - fsl,imx8mp-evk            # i.MX8MP EVK Board
           - const: fsl,imx8mp
 
+      - description: PHYTEC phyCORE-i.MX8MP SoM based boards
+        items:
+          - const: phytec,imx8mp-phyboard-pollux-rdk # phyBOARD-Pollux RDK
+          - const: phytec,imx8mp-phycore-som         # phyCORE-i.MX8MP SoM
+          - const: fsl,imx8mp
+
       - description: i.MX8MQ based Boards
         items:
           - enum:
Signature · 1 line
2.7.4
#4 lore raw

PATCH v4 4/4 arm64: dts: freescale: Add support for phyBOARD-Pollux-i.MX8MP

In reply to Teresa Remmet

Add initial support for phyBOARD-Pollux-i.MX8MP.
Supported basic features:
* eMMC
* i2c EEPROM
* i2c RTC
* i2c LED
* PMIC
* debug UART
* SD card
* 1Gbit Ethernet (fec)
* watchdog

---
 arch/arm64/boot/dts/freescale/Makefile             |   1 +
 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts   | 161 +++++++++++
 .../boot/dts/freescale/imx8mp-phycore-som.dtsi     | 293 +++++++++++++++++++++
 3 files changed, 455 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
 create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 6f0777ee6cd6..621ad581f83a 100644
@@ -38,6 +38,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-ddr4-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mn-var-som-symphony.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb
+dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-hummingboard-pulse.dtb
 dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts new file +161 -0

161 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi new file +293 -0

293 lines not on this page · raw message

Signature · 1 line
2.7.4
Applied
#5 lore raw
In reply to Teresa Remmet
Quoted 26 lines · Teresa Remmet

Fourth version for the initial support for the SoM phyCORE-i.MX8MP and the carrier board phyBOARD-Pollux.

Changes in v4:
- resolved defconfig conflict adding PCA9532 during rebase to v5.11-rc2
- removed unneeded status properties in device trees
- removed upstream not available i2c rtc property
- fixed i2c rtc trickle-resistor value

Changes in v3:
- removed deprecated led label property
- added Reviewed-by and Acked-by tags

Changes in v2:
- add rv3028 as module instead of buildin in defconfig
- updated commit message of rv3028 accordingly
- changed entries of device tree binding documentation to "const" and fixed order
- fixed led dimmer node name
- removed rtc clock node
- fixed pmic node name
- removed reg entries in pmic regulator nodes
- removed clock entry from rtc node
- moved muxing of enable gpio for sd-card regulator to the proper node
- squashed imx8mp-phyboard-pollux.dtsi into imx8mp-phyboard-pollux-rdk.dts

Quoted 7 lines

Teresa

Teresa Remmet (4):
arm64: defconfig: Enable rv3028 i2c rtc driver
arm64: defconfig: Enable PCA9532 support
bindings: arm: fsl: Add PHYTEC i.MX8MP devicetree bindings
arm64: dts: freescale: Add support for phyBOARD-Pollux-i.MX8MP

Applied all, thanks.