diff options
author | Derald D. Woods <woods.technical@gmail.com> | 2017-12-16 14:14:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-01 09:04:19 -0500 |
commit | d9be183b4c1a90649bb065f55754515abc96d51c (patch) | |
tree | f646069ccd8d1b11bacfbf6f32ecc8b847e43b26 /arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi | |
parent | 2d28ba18b53fc8581c7ed06afcb8c77ec841ac8c (diff) |
ARM: dts: omap3-evm: Add support for TMDSEVM{3530, 3730}
This commit adds OMAP3 EVM devicetree files from Linux v4.15-rc3. Note
that this is the first addition of OMAP34XX devicetree files.
Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Diffstat (limited to 'arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi')
-rw-r--r-- | arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi b/arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi new file mode 100644 index 00000000000..b8b9fcc41ef --- /dev/null +++ b/arch/arm/dts/omap3-panel-sharp-ls037v7dw01.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Common file for omap dpi panels with QVGA and reset pins + * + * Note that the board specifc DTS file needs to specify + * at minimum the GPIO enable-gpios for display, and + * gpios for gpio-backlight. + */ + +/ { + aliases { + display0 = &lcd0; + }; + + backlight0: backlight { + compatible = "gpio-backlight"; + default-on; + }; + + /* 3.3V GPIO controlled regulator for LCD_ENVDD */ + lcd_3v3: regulator-lcd-3v3 { + compatible = "regulator-fixed"; + regulator-name = "lcd_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + startup-delay-us = <70000>; + }; + + lcd0: display { + compatible = "sharp,ls037v7dw01"; + label = "lcd"; + power-supply = <&lcd_3v3>; + envdd-supply = <&lcd_3v3>; + + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; +}; + +/* Needed to power the DPI pins */ +&vpll2 { + regulator-always-on; +}; + +&dss { + status = "ok"; + port { + dpi_out: endpoint { + remote-endpoint = <&lcd_in>; + data-lines = <18>; + }; + }; +}; + +&mcspi1 { + tsc2046@0 { + reg = <0>; /* CS0 */ + compatible = "ti,tsc2046"; + spi-max-frequency = <1000000>; + vcc-supply = <&lcd_3v3>; + ti,x-min = /bits/ 16 <0>; + ti,x-max = /bits/ 16 <8000>; + ti,y-min = /bits/ 16 <0>; + ti,y-max = /bits/ 16 <4800>; + ti,x-plate-ohms = /bits/ 16 <40>; + ti,pressure-max = /bits/ 16 <255>; + ti,swap-xy; + wakeup-source; + }; +}; |