This add the new display driver and DRM driver device
nodes to the Nomadik NHK8815. -----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJcOO4dAAoJEEEQszewGV1zTjIP/3XbnlpdDVjyzx3EvPq7Lv+g LmfT+7NvGc1rcRVD3EK+9qOgUNyERUG2suLkmUwiC3HgwGoASnXp0KLt0D2CquWh 7XK79WT1+l/0c7CSti3TNnypOGQID3ExrYqN8wTakT9ctbMXqL/0tRfhoUoZIAVC JWqja3hFb4YiVBIYn4cIIDiDqY9eNFxChCLD1yEb2O78HjYvQL0OAJv6YiDWz8J6 zOFls6CSlgnLuAKbfZwynS7mAVXI9KqX7uW4PrWZu7TQtNAqLZGRKT/zAY5XZ/hB WkLZjI0r3yx/FE3x05BZEYvO5cqrXVlC3pKPsj5+h9jDAnkvDnI/reXsh1iAEvo5 u/lNg/JQcN13ubq3RH4Qh6qsGKh5Hq6Yrz/wh5BWulRkN5lks99TyiUwC+gUBd1N MDjacHi6ZVubPjbYvMYNMl9KSnoZdM+i9bciEIR/H24AxYOp7ahYMVjB4Gyv/20A 4VoasTSBDa6BYPljiOggRbUQv+WbABvlBnjGnz1QWR+SNTMtm+nmyQ2+HTTbZa0W +RjMbmjG/8f5/f8HWZ0U0NQc01PmDZ+Zv2XyHf6nvciitDmtjqlYTKz11QpF87/a cFzdb7gihuHMqc5stc64fCjAiaq2rapxKtve0GAaaxU6DLksoQyeG7ilWt7HPeqd hGTKrUeJdjBFRBnvXi12 =PIyf -----END PGP SIGNATURE----- Merge tag 'nomadik-dts-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik into arm/dt This add the new display driver and DRM driver device nodes to the Nomadik NHK8815. * tag 'nomadik-dts-v5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik: ARM: dts: nomadik: Augment NHK15 panel setting Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
acf14c5474
@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Device Tree for the ST-Ericsson Nomadik S8815 board
|
||||
* Produced by Calao Systems
|
||||
* Device Tree for the ST Microelectronics Nomadik NHK8815 board
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
@ -182,43 +181,12 @@
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&clcd_24bit_mux>;
|
||||
port {
|
||||
nomadik_clcd_pads: endpoint {
|
||||
nomadik_clcd: endpoint {
|
||||
remote-endpoint = <&nomadik_clcd_panel>;
|
||||
arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* WVGA connector 21
|
||||
* WVGA (800x480): 4.3" TPG110 TDO43MTEA2 24-bit RGB
|
||||
* with TPO touch screen.
|
||||
*/
|
||||
panel {
|
||||
compatible = "tpo,tpg110", "panel-dpi";
|
||||
grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>;
|
||||
scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
||||
scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||
backlight = <&bl>;
|
||||
|
||||
port {
|
||||
nomadik_clcd_panel: endpoint {
|
||||
remote-endpoint = <&nomadik_clcd_pads>;
|
||||
};
|
||||
};
|
||||
|
||||
panel-timing {
|
||||
clock-frequency = <33200000>;
|
||||
hactive = <800>;
|
||||
hback-porch = <216>;
|
||||
hfront-porch = <40>;
|
||||
hsync-len = <1>;
|
||||
vactive = <480>;
|
||||
vback-porch = <35>;
|
||||
vfront-porch = <10>;
|
||||
vsync-len = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Activate RX/TX and CTS/RTS on UART 0 */
|
||||
@ -233,6 +201,55 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi {
|
||||
compatible = "spi-gpio";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/*
|
||||
* As we're dealing with 3wire SPI, we only define SCK
|
||||
* and MOSI (in the spec MOSI is called "SDA").
|
||||
*/
|
||||
gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>;
|
||||
/*
|
||||
* It's not actually active high, but the frameworks assume
|
||||
* the polarity of the passed-in GPIO is "normal" (active
|
||||
* high) then actively drives the line low to select the
|
||||
* chip.
|
||||
*/
|
||||
cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
|
||||
num-chipselects = <1>;
|
||||
|
||||
/*
|
||||
* WVGA connector 21
|
||||
* WVGA (800x480): 4.3" TPG110 TDO43MTEA2 24-bit RGB
|
||||
* with TPO touch screen.
|
||||
*/
|
||||
panel: display@0 {
|
||||
/*
|
||||
* The TPO display driver is connected to a
|
||||
* 5.7" OSD OSD057VA01CT TFT display.
|
||||
*/
|
||||
compatible = "tpo,tpg110";
|
||||
reg = <0>;
|
||||
spi-3wire;
|
||||
/* 320 ns min period ~= 3 MHz */
|
||||
spi-max-frequency = <3000000>;
|
||||
/* Width and height from the OSD data sheet */
|
||||
width-mm = <116>;
|
||||
height-mm = <87>;
|
||||
grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>;
|
||||
backlight = <&bl>;
|
||||
|
||||
port {
|
||||
nomadik_clcd_panel: endpoint {
|
||||
remote-endpoint = <&nomadik_clcd>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
bl: backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&stmpe0_pwm 0 500000>;
|
||||
|
Loading…
Reference in New Issue
Block a user