Integrate meta-seco-imx/linux-seco-imx/seco_lf-5.10.y-gm_d18_init
Integrate linux-seco-imx/seco_lf-5.10.y-gm_d18_init
--
[D18] add HDMI video support
- enabled at u-boot: seco_config tool
--
[D18] add Bluetooth audio support
- enabled at u-boot: seco_config tool
- audio over SAI3 interface
- SAI3 --> carrier board or onboard bluetooth (I2S2 SMARC | AUDIO BT)
- Filesystem support --> pulseaudio + bluez5
- Yocto packages: pulseaudio-server pulseaudio-module-cli pulseaudio-misc pulseaudio-module-device-manager bluez5-noinst-tools bluez5-obex bluez5-testtools pulseaudio-module-bluetooth-discover pulseaudio-module-bluetooth-policy pulseaudio-module-bluez5-discover pulseaudio-module-bluez5-device pulseaudio-module-switch-on-connect pulseaudio-module-loopback
- Test details:
root@seco-imx8mp-d18:
# pulseaudio -D root@seco-imx8mp-d18:# bluetoothctl [bluetooth]# default-agent [bluetooth]# power on [bluetooth]# scan on ... Device 74:45:CE:40:2B:DD WH-CH510 ... [bluetooth]# scan off [bluetooth]# trust 74:45:CE:40:2B:DD [bluetooth]# pair 74:45:CE:40:2B:DD [bluetooth]# connect 74:45:CE:40:2B:DD [WH-CH510]# info Device 74:45:CE:40:2B:DD (public) Name: WH-CH510 Alias: WH-CH510 Class: 0x00240404 ... [WH-CH510]# exit root@seco-imx8mp-d18:# pactl list sinks short | awk '{print $2}' root@seco-imx8mp-d18:# paplay -d bluez_sink.74_45_CE_40_2B_DD.a2dp_sink test.wav
--
[D18] add TLV320AIC32X4 audio support
- audio over SAI2 interface
- output needs to be enabled: /usr/bin/amixer sset -q 'LO Driver Gain' 100%
- sound works only at 48000Hz: this derives from SAI2 assigned clock rate.
- Filesystem support for pulseaudio: /etc/pulse/daemon.conf --> default-sample-rate = 48000 alternate-sample-rate = 48000
- on CSB79REVB: I2S0 to audio jack CN41 (switch SW16 2-4 position OFF, jumper CN82 position 2-3)
--
[D18] add ECTRL support
--
[D18][DRIVER] add board to STM32 ECTRL
--
[D18] fix I2C clock frequency
Workaround for NXP chip errata ERR007805 "I2C: When the I2C clock speed is configured for 400 kHz, the SCL low period violates the I2C spec of 1.3 uS min" This errata is found on the following SoCs:
- MX8M{M,N,P,Q}
- MX7{S,D}
- MX6{UL{,L,Z},S{,LL,X},S,D,DL,Q,DP,QP}
--
[D18] add PCIe support
- on CSB79REVB: card PCIe-Intel-I210-x4 (PCIe x4 slot CN33: switch SW17 2-4 position OFF)
- Test details: root@seco-imx8mp-d18:~# lspci 00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01) 01:00.0 PCI bridge: Pericom Semiconductor PI7C9X2G608GP PCIe2 6-Port/8-Lane Packet Switch ... 06:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
--
[D18] add QSPI support
--
[D18] add RTC PCF2123 support
--
[D18] add usb support: usb1, usb2
--
[D18] add flexcan support: can1, can2
--
[D18] add uart4 support
--
[D18] add WiFi+BT module AW-CM276NF support
- the module is based on Marvell 88W8997 chipset
- CSD18REVB has a pull-down on WIFI_PWRDWN#, set P1_2_WiFi_EN to allow probing
--
[D18] add ethernet support: eth0, eth1
- DP83867 Gigabit Ethernet PHY transceiver
--
[D18] add gpio expander PCAL6416 support
--
[D18] external SD: enable WP and RESET
--
[D18] set MMC enumeration
- internal eMMC --> device 0
- external SD --> device 1
--
[D18] clear dts from reference board and overlay peripherals
--
[i.MX8MP][D18] init porting derived from nxp imx8mp-evk