Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary imx 5.4.x 2.1.0 lt8912 drm #64

Open
wants to merge 3 commits into
base: boundary-imx_5.4.x_2.1.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/freescale/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb imx8mm-evk-rpmsg.dtb imx8mm-evk-rm67191
imx8mm-nitrogen8mm.dtb \
imx8mm-nitrogen8mm-m4.dtb \
imx8mm-nitrogen8mm_rev2.dtb \
imx8mm-nitrogen8mm_rev2-lt8912.dtb \
imx8mm-nitrogen8mm_rev2-m4.dtb \
imx8mm-nitrogen8mm-tc358743.dtb \
imx8mm-nitrogen8mm_som.dtb \
Expand Down
68 changes: 68 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mm-nitrogen8mm_rev2-lt8912.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright 2018 Boundary Devices
*/

#include "imx8mm-nitrogen8mm_rev2.dts"

/ {
model = "Boundary Devices i.MX8MMini Nitrogen8MM Rev2 with lt8912 mipi_dsi to hdmi converter";
compatible = "boundary,imx8mm-nitrogen8mm_rev2-lt8912" ,"boundary,imx8mm-nitrogen8mm_rev2", "fsl,imx8mm";

/delete-node/ alias_create_phandles;

aliases {
/delete-property/ fb_mipi;
/delete-property/ mipi;
/delete-property/ mipi_to_lvds;
/delete-property/ t_mipi;
};

soc@0 {
bus@30800000 {
i2c@30a30000 {
/delete-node/ mipi-to-lvds@2c;
};
};

bus@32c00000 {
mipi_dsi@32e10000 {
/delete-node/ panel@0;
port@1 {
mipi_dsi_hdmi_out: endpoint {
remote-endpoint = <&lt8912_1_in>;
attach-bridge;
};
};
};
};
};

};

&TOUCHSCREEN_I2C_BUS {
i2cmux9540@70 {
TOUCHSCREEN_I2C_BUS@1 {
lt8912@48 {
/delete-property/ display-dsi;
};
};
};
};

&TOUCHSCREEN_I2C_BUS {
i2cmux9546@70 {
TOUCHSCREEN_I2C_BUS@0 {
lt8912@48 {
compatible = "lontium,lt8912_drm";
dsi-lanes = <4>;
/delete-property/ display-dsi;
port@0 {
lt8912_1_in: endpoint {
remote-endpoint = <&mipi_dsi_hdmi_out>;
};
};
};
};
};
};
1 change: 1 addition & 0 deletions arch/arm64/configs/boundary_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ CONFIG_DRM_I2C_CH7006=m
CONFIG_DRM_I2C_SIL164=m
CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_PANEL_RAYDIUM_RM67191=y
CONFIG_DRM_LT8912=y
CONFIG_DRM_FSL_IMX_LVDS_BRIDGE=y
CONFIG_DRM_SII902X=m
CONFIG_DRM_I2C_ADV7511=y
Expand Down
9 changes: 9 additions & 0 deletions drivers/gpu/drm/bridge/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ config DRM_LVDS_ENCODER
Support for transparent parallel to LVDS encoders that don't require
any configuration.

config DRM_LT8912
tristate "Lontium LT8912 mipi_dsi to HDMI out bridge"
depends on OF
select DRM_KMS_HELPER
select REGMAP_I2C
select DRM_PANEL
---help---
Lontium LT8912 mipi_dsi to HDMI out bridge driver.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/mipi_dsi/MIPI-DSI/


config DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW
tristate "MegaChips stdp4028-ge-b850v3-fw and stdp2690-ge-b850v3-fw"
depends on OF
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/bridge/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o
obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o
obj-$(CONFIG_DRM_FSL_IMX_LVDS_BRIDGE) += fsl-imx-ldb.o
obj-$(CONFIG_DRM_LVDS_ENCODER) += lvds-encoder.o
obj-$(CONFIG_DRM_LT8912) += lt8912.o
obj-$(CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW) += megachips-stdpxxxx-ge-b850v3-fw.o
obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o
obj-$(CONFIG_DRM_PARADE_PS8622) += parade-ps8622.o
Expand Down
Loading