Message ID | 20220114141507.395271-1-marcel@ziswiler.com |
---|---|
Headers | show |
Series | arm64: prepare and add verdin imx8m mini support | expand |
On 14/01/2022 15:15, Marcel Ziswiler wrote: > From: Marcel Ziswiler <marcel.ziswiler@toradex.com> > > This patch adds the device tree to support Toradex Verdin iMX8M Mini a > computer on module which can be used on different carrier boards. > > The module consists of an NXP i.MX 8M Mini family SoC (either i.MX 8M > Mini Quad or 8M Mini DualLite), a PCA9450A PMIC, a Gigabit Ethernet PHY, > 1 or 2 GB of LPDDR4 RAM, an eMMC, a TLA2024 ADC, an I2C EEPROM, an > RX8130 RTC, an optional SPI CAN controller plus an optional Bluetooth/ > Wi-Fi module. > > Anything that is not self-contained on the module is disabled by > default. > > The device tree for the Dahlia includes the module's device tree and > enables the supported peripherals of the carrier board. > > The device tree for the Verdin Development Board includes the module's > device tree as well as the Dahlia one as it is a superset and supports > almost all peripherals available. > > So far there is no display functionality supported at all but basic > console UART, USB host, eMMC and Ethernet and PCIe functionality work > fine. > > Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> > > --- > > Changes in v2: > - Remove bootargs which will be filled in by the bootloader as requested > by Krzysztof. > - Remove the previously #ifdefed-out spi-nor as requested by Krzysztof. > - Fix capitalisation in cover-letter. > Thanks for the changes. Looks, good but I did not perform review thorough enough to give a Reviewed-by tag, so let it be just: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Best regards, Krzysztof
From: Marcel Ziswiler <marcel.ziswiler@toradex.com> Fix strange hex notation and gpio-hog example, rebuild default configuration, enable various relevant configuration options mainly to be built as modules, add toradex,verdin-imx8mm et al. to dt-bindings and finally, add initial support for Verdin iMX8M Mini. Changes in v2: - Added Laurent's reviewed-by tag. - Added Rob's ack. - New patch following full defconfig analysis as requested by Krzysztof. - New patch following full defconfig analysis as requested by Krzysztof. - Done full defconfig analysis as requested by Krzysztof. - Add Song's acked-by tag. - A similar change got accepted for imx_v6_v7_defconfig. Further discussion may be found in [1]. [1] https://lore.kernel.org/lkml/20210920144938.314588-6-marcel@ziswiler.com/ - Explain why enabling it may be a good idea as requested by Krzysztof. - Explain why enabling these may make sense and squash them relevant changes as requested by Krzysztof. - Add Rob's acked-by tag. - Fix Colibri vs. Verdin copy/paste mistake. Thanks to Francesco Dolcini <francesco.dolcini@toradex.com> for pointing that out to me. - Remove bootargs which will be filled in by the bootloader as requested by Krzysztof. - Remove the previously #ifdefed-out spi-nor as requested by Krzysztof. - Fix capitalisation in cover-letter. Marcel Ziswiler (11): arm64: dts: imx8mm: fix strange hex notation dt-bindings: gpio: fix gpio-hog example arm64: defconfig: enable taskstats configuration arm64: defconfig: enable pcieaer configuration arm64: defconfig: rebuild default configuration arm64: defconfig: enable bpf/cgroup firewalling arm64: defconfig: build imx-sdma as a module arm64: defconfig: build r8169 as a module arm64: defconfig: enable verdin-imx8mm relevant drivers as modules dt-bindings: arm: fsl: add toradex,verdin-imx8mm et al. arm64: dts: freescale: add initial support for verdin imx8m mini .../devicetree/bindings/arm/fsl.yaml | 21 + .../devicetree/bindings/gpio/gpio.txt | 2 +- arch/arm64/boot/dts/freescale/Makefile | 4 + .../arm64/boot/dts/freescale/imx8mm-pinfunc.h | 6 +- .../dts/freescale/imx8mm-verdin-dahlia.dtsi | 143 ++ .../boot/dts/freescale/imx8mm-verdin-dev.dtsi | 67 + .../imx8mm-verdin-nonwifi-dahlia.dts | 18 + .../freescale/imx8mm-verdin-nonwifi-dev.dts | 18 + .../dts/freescale/imx8mm-verdin-nonwifi.dtsi | 75 + .../freescale/imx8mm-verdin-wifi-dahlia.dts | 18 + .../dts/freescale/imx8mm-verdin-wifi-dev.dts | 18 + .../dts/freescale/imx8mm-verdin-wifi.dtsi | 95 ++ .../boot/dts/freescale/imx8mm-verdin.dtsi | 1267 +++++++++++++++++ arch/arm64/configs/defconfig | 123 +- 14 files changed, 1806 insertions(+), 69 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dahlia.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-dev.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi