-
Notifications
You must be signed in to change notification settings - Fork 5.4k
tdo_panel: bcm2712-gpu: Add dsi panel driver; #7316
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| /* | ||
| * Device Tree overlay for Waveshare DSI Touchscreens | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm confused as to whether this is a Waveshare product using the TDO display, or TDO submitting this. |
||
| * | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| / { | ||
| compatible = "brcm,bcm2835"; | ||
|
|
||
| dsi_frag: fragment@0 { | ||
| target = <&dsi1>; | ||
| __overlay__ { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| status = "okay"; | ||
| port { | ||
| dsi_out: endpoint { | ||
| remote-endpoint = <&panel_in>; | ||
| }; | ||
| }; | ||
|
|
||
| panel: panel_dsi1@0 { | ||
| compatible = "tdo,4.0-dsi-tl040wvs17"; | ||
| status = "okay"; | ||
| reg = <0>; | ||
| reset-gpios = <&gpio 47 1>; // Dummy GPIO , Unused or change | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The driver uses |
||
| port { | ||
| panel_in: endpoint { | ||
| remote-endpoint = <&dsi_out>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| i2c_frag: fragment@1 { | ||
| target = <&i2c_csi_dsi>; | ||
| i2cbus: __overlay__ { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@2 { | ||
| target = <&i2c0if>; | ||
| __overlay__ { | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| fragment@3 { | ||
| target = <&i2c0mux>; | ||
| __overlay__ { | ||
| status = "okay"; | ||
| }; | ||
| }; | ||
|
|
||
| __overrides__ { | ||
| tl034wvs03 = <&panel>, "compatible=tdo,4.0-dsi-tl034wvs03"; | ||
| tl040wvs17 = <&panel>, "compatible=tdo,4.0-dsi-tl040wvs17"; | ||
| tl040hds31 = <&panel>, "compatible=tdo,4.0-dsi-tl040hds31"; | ||
| rotation = <&panel>, "rotation:0"; | ||
| dsi0 = <&dsi_frag>, "target:0=",<&dsi0>, | ||
| <&i2c_frag>, "target:0=",<&i2c_csi_dsi0>; | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -940,6 +940,20 @@ config DRM_PANEL_TPO_Y17P | |
| Say Y if you want to enable support for panels based on the | ||
| TDO Y17P controller. | ||
|
|
||
| config DRM_PANEL_TDO_DSI_V1 | ||
| tristate "TDO touchscreen panels V1" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does a V1 display mean in this terminology? Is there a better family name for these panels? |
||
| depends on DRM_MIPI_DSI | ||
| depends on I2C | ||
| depends on BACKLIGHT_CLASS_DEVICE | ||
| help | ||
| Say Y here if you want to enable support for TDO DSI | ||
| touchscreen panels, e.g. tl034wvs03, tl040hds31, etc. | ||
| This driver provides MIPI DSI display interface. | ||
| It also handles backlight control via the backlight | ||
| class device. | ||
| To compile this driver as a module, choose M here; the | ||
| module will be called panel-tdo-dsi-v1. | ||
|
|
||
| config DRM_PANEL_TPO_TD028TTEC1 | ||
| tristate "Toppoly (TPO) TD028TTEC1 panel driver" | ||
| depends on OF && SPI | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4.0"?
https://www.panelook.com/TL034WVS03-B1476A-TDO-3-4-inch-With-CTP-480-480-250nits-40pins-SPI-3line18bitRGB-interface-detail_133606.html says it's 3.4"