Skip to content

Integrate linux-imx-kuk/add_d18_new

Commit: seco-ne/kernel/linux-imx-kuk@1507a8a1

dts:d18: Disable ectrl support for now

The ectrl_stm32 drive isn't yet ported. Disable the support in the DTS for now.

BCS 746-001345

--

Commit: seco-ne/kernel/linux-imx-kuk@ebfd2cdf

[D18] add OV5640 CSI camera support

  • enabled at u-boot: seco_config tool CSI0, CSI1 peripherals
  • on carrier B79: CSD18REVB + CSC47REVA + CSC19REVB (CSI CN39)
  • Test details: root@seco-imx8mp-d18:# dmesg | grep -i ov5640 ... mx8-img-md: Registered sensor subdevice: ov5640 2-003c (1) mx8-img-md: Registered sensor subdevice: ov5640 1-003c (2) mx8-img-md: created link [ov5640 2-003c] => [mxc-mipi-csi2.0] mx8-img-md: created link [ov5640 1-003c] => [mxc-mipi-csi2.1] root@seco-imx8mp-d18:# v4l2-ctl --list-devices ... mxc-isi-cap (platform:32e00000.isi:cap_devic): /dev/video2 ... mxc-isi-cap (platform:32e02000.isi:cap_devic): /dev/video3 ... root@seco-imx8mp-d18:# gst-launch-1.0 -v v4l2src device=/dev/video2 ! waylandsink root@seco-imx8mp-d18:# gst-launch-1.0 -v v4l2src device=/dev/video3 ! waylandsink

--

Commit: seco-ne/kernel/linux-imx-kuk@bc2d6297

[D18] add eDP+LVDS WVGA single-channel video support

  • enabled at u-boot: seco_config tool

--

Commit: seco-ne/kernel/linux-imx-kuk@855d28fb

[D18] add HDMI+LVDS FHD dual-channel video support

  • enabled at u-boot: seco_config tool

--

Commit: seco-ne/kernel/linux-imx-kuk@15ca3d3b

[D18] add HDMI+eDP video support

  • enabled at u-boot: seco_config tool

--

Commit: seco-ne/kernel/linux-imx-kuk@c1f0623a

[D18] add generic SMARC GPIO support

--

Commit: seco-ne/kernel/linux-imx-kuk@18b4c97e

[D18] add eDP video support

  • enabled at u-boot: seco_config tool
  • on CSB79REVB: panel BOE EV156FHM (eDP0 CN60: switch SW6 2-4 position ON, jumper CN18 and CN19 position 1-2)

--

Commit: seco-ne/kernel/linux-imx-kuk@0cef7bf8

[D18] add LVDS WVGA single-channel video support

  • enabled at u-boot: seco_config tool
  • connected on LVDS channel 1
  • on CSB79REVB: panel URT UMSH-8596MD-20T + CV1338/400REVB (LVDS CN14+LCD CN17: switch SW6 1-3 position OFF, jumper CN20 position 1-2 and CN21 position 1-2)

--

Commit: seco-ne/kernel/linux-imx-kuk@0142b8fe

[D18] add LVDS FHD dual-channel video support

  • enabled at u-boot: seco_config tool
  • on CSB79REVB: panel AUO P215HVN01.0 + CV1235/750REVB (LVDS CN14: switch SW6 1-3 and 2-4 position OFF, jumper CN18 position 2-3 and CN19 position 1-2)

--

Commit: seco-ne/kernel/linux-imx-kuk@b5885890

[D18] add PWM backlight support

--

Commit: seco-ne/kernel/linux-imx-kuk@c24c7eaf

[D18] fix typos

--

Commit: seco-ne/kernel/linux-imx-kuk@4fa61a24

[D18] add HDMI video support

  • enabled at u-boot: seco_config tool

--

Commit: seco-ne/kernel/linux-imx-kuk@2c8742bf

[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

--

Commit: seco-ne/kernel/linux-imx-kuk@246faf5a

[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)

--

Commit: seco-ne/kernel/linux-imx-kuk@a0727c82

[D18] add ECTRL support

--

Commit: seco-ne/kernel/linux-imx-kuk@5b6cd2e5

[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}

--

Commit: seco-ne/kernel/linux-imx-kuk@7f98b7a8

[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)

--

Commit: seco-ne/kernel/linux-imx-kuk@d3325c73

[D18] add QSPI support

--

Commit: seco-ne/kernel/linux-imx-kuk@fea7ea7c

[D18] add RTC PCF2123 support

--

Commit: seco-ne/kernel/linux-imx-kuk@87290d6a

[D18] add usb support: usb1, usb2

--

Commit: seco-ne/kernel/linux-imx-kuk@55f1a8e9

[D18] add flexcan support: can1, can2

--

Commit: seco-ne/kernel/linux-imx-kuk@fb85cd67

[D18] add uart4 support

--

Commit: seco-ne/kernel/linux-imx-kuk@1f98e1b7

[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

--

Commit: seco-ne/kernel/linux-imx-kuk@39dca582

[D18] add ethernet support: eth0, eth1

  • DP83867 Gigabit Ethernet PHY transceiver

--

Commit: seco-ne/kernel/linux-imx-kuk@80213e6c

[D18] add gpio expander PCAL6416 support

--

Commit: seco-ne/kernel/linux-imx-kuk@86a9a67e

[D18] external SD: enable WP and RESET

--

Commit: seco-ne/kernel/linux-imx-kuk@bb84b021

[D18] set MMC enumeration

  • internal eMMC --> device 0
  • external SD --> device 1

--

Commit: seco-ne/kernel/linux-imx-kuk@bdd701c5

[D18] clear dts from reference board and overlay peripherals

--

Commit: seco-ne/kernel/linux-imx-kuk@0e0f4fe7

seco:dts:d18: Added devicetree for D18

Original Commit 90ac559b5dc95a52dd15b6d11568acbde6c5fd76

BCS 746-001345

--

Commit: seco-ne/kernel/linux-imx-kuk@b2aeb41f

dts:seco: Added base for i.MX8MP

BCS 746-001345

--

Commit: seco-ne/kernel/linux-imx-kuk@bebe765e

dts:seco: Add base devicetree structure

BCS 746-001345

Merge request reports

Loading