The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/omap3-panel-sharp-ls037v7dw01.dtsi

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: GPL-2.0
    2 /*
    3  * Common file for omap dpi panels with QVGA and reset pins
    4  *
    5  * Note that the board specifc DTS file needs to specify
    6  * at minimum the GPIO enable-gpios for display, and
    7  * gpios for gpio-backlight.
    8  */
    9 
   10 / {
   11         aliases {
   12                 display0 = &lcd0;
   13         };
   14 
   15         backlight0: backlight {
   16                 compatible = "gpio-backlight";
   17                 default-on;
   18         };
   19 
   20         /* 3.3V GPIO controlled regulator for LCD_ENVDD */
   21         lcd_3v3: regulator-lcd-3v3 {
   22                 compatible = "regulator-fixed";
   23                 regulator-name = "lcd_3v3";
   24                 regulator-min-microvolt = <3300000>;
   25                 regulator-max-microvolt = <3300000>;
   26                 startup-delay-us = <70000>;
   27         };
   28 
   29         lcd0: display {
   30                 compatible = "sharp,ls037v7dw01";
   31                 label = "lcd";
   32                 power-supply = <&lcd_3v3>;
   33                 envdd-supply = <&lcd_3v3>;
   34 
   35                 port {
   36                         lcd_in: endpoint {
   37                                 remote-endpoint = <&dpi_out>;
   38                         };
   39                 };
   40         };
   41 };
   42 
   43 /* Needed to power the DPI pins */
   44 &vpll2 {
   45         regulator-always-on;
   46 };
   47 
   48 &dss {
   49         status = "okay";
   50         port {
   51                 dpi_out: endpoint {
   52                         remote-endpoint = <&lcd_in>;
   53                         data-lines = <18>;
   54                 };
   55         };
   56 };
   57 
   58 &mcspi1 {
   59         tsc2046@0 {
   60                 reg = <0>;                      /* CS0 */
   61                 compatible = "ti,tsc2046";
   62                 spi-max-frequency = <1000000>;
   63                 vcc-supply = <&lcd_3v3>;
   64                 ti,x-min = /bits/ 16 <0>;
   65                 ti,x-max = /bits/ 16 <8000>;
   66                 ti,y-min = /bits/ 16 <0>;
   67                 ti,y-max = /bits/ 16 <4800>;
   68                 ti,x-plate-ohms = /bits/ 16 <40>;
   69                 ti,pressure-max = /bits/ 16 <255>;
   70                 ti,swap-xy;
   71                 wakeup-source;
   72         };
   73 };

Cache object: 0f2e81d863a6e6a4dc84956e38bdb1fc


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.