Hi,
this patch set aims is to add support of multiple peripheral of the
Boundary8M board:
- USB Host (behind a resatable hub, started by u-boot);
- USB device;
- DB_DSIHD sub board for MIPI-DSI to HDMI output (via lt8912b chip).
Thanks,
Adrien Grassein (4):
arm64: dts: imx8mq-nitrogen: add USB OTG support
arm64: dts: imx8mq-nitrogen: add USB HOST support
arm64: dts: imx8mq-nitrogen: add lt8912 MIPI-DSI to HDMI
arm64: defconfig: Enable LT8912B DRM bridge driver
.../boot/dts/freescale/imx8mq-nitrogen.dts | 185 ++++++++++++++++++
arch/arm64/configs/defconfig | 1 +
2 files changed, 186 insertions(+)
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Add the description for the USB OTG port.
The OTG port uses a dedicated regulator for vbus.
Signed-off-by: Adrien Grassein <redacted>
---
.../boot/dts/freescale/imx8mq-nitrogen.dts | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
Add the description for the USB host port.
At this time, the port will not work directly from the
kernel because it's connected through a resettable hub
that is not handle in the kernel. It should be controlled
in the bootloader or in the userspace.
In the case of the Boundary's u-boot, this is done on the
boot script:
"
starting USB...
Bus usb@38100000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38100000 for devices... 1 USB Device(s) found
scanning bus usb@38200000 for devices... 3 USB Device(s) found
"
Signed-off-by: Adrien Grassein <redacted>
---
.../boot/dts/freescale/imx8mq-nitrogen.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
From: Ahmad Fatoum <a.fatoum@pengutronix.de> Date: 2021-03-30 08:39:36
Hello Adrien,
On 30.03.21 10:35, Adrien Grassein wrote:
Add the description for the USB host port.
At this time, the port will not work directly from the
kernel because it's connected through a resettable hub
that is not handle in the kernel. It should be controlled
in the bootloader or in the userspace.
Couldn't you add a gpio-hog that gets the hub out of reset?
Cheers,
Ahmad
quoted hunk
In the case of the Boundary's u-boot, this is done on the
boot script:
"
starting USB...
Bus usb@38100000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38100000 for devices... 1 USB Device(s) found
scanning bus usb@38200000 for devices... 3 USB Device(s) found
"
Signed-off-by: Adrien Grassein <redacted>
---
.../boot/dts/freescale/imx8mq-nitrogen.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
Hello Ahmad,
Le mar. 30 mars 2021 à 10:38, Ahmad Fatoum [off-list ref] a écrit :
Hello Adrien,
On 30.03.21 10:35, Adrien Grassein wrote:
quoted
Add the description for the USB host port.
At this time, the port will not work directly from the
kernel because it's connected through a resettable hub
that is not handle in the kernel. It should be controlled
in the bootloader or in the userspace.
Couldn't you add a gpio-hog that gets the hub out of reset?
Let's try, I didn't think about this solution ^^.
Cheers,
Ahmad
quoted
In the case of the Boundary's u-boot, this is done on the
boot script:
"
starting USB...
Bus usb@38100000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38100000 for devices... 1 USB Device(s) found
scanning bus usb@38200000 for devices... 3 USB Device(s) found
"
Signed-off-by: Adrien Grassein <redacted>
---
.../boot/dts/freescale/imx8mq-nitrogen.dts | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
Add support of the lt8912b in the DTB.
This adds the support of the DB_DSIHD daugther board from
Boundary Devices.
Signed-off-by: Adrien Grassein <redacted>
---
.../boot/dts/freescale/imx8mq-nitrogen.dts | 128 ++++++++++++++++++
1 file changed, 128 insertions(+)
This driver is used by the Nitrogen8 SBC.
Signed-off-by: Adrien Grassein <redacted>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)