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/arm64/qcom/sc7180-trogdor-ti-sn65dsi86.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+ OR MIT)
    2 /*
    3  * Google Trogdor dts fragment for the boards with TI sn65dsi86 edp bridge
    4  *
    5  * Copyright 2021 Google LLC.
    6  */
    7 
    8 #include <dt-bindings/gpio/gpio.h>
    9 
   10 &dsi0_out {
   11         remote-endpoint = <&sn65dsi86_in>;
   12 };
   13 
   14 edp_brij_i2c: &i2c2 {
   15         status = "okay";
   16         clock-frequency = <400000>;
   17 
   18         sn65dsi86_bridge: bridge@2d {
   19                 compatible = "ti,sn65dsi86";
   20                 reg = <0x2d>;
   21                 pinctrl-names = "default";
   22                 pinctrl-0 = <&edp_brij_en>, <&edp_brij_irq>;
   23                 gpio-controller;
   24                 #gpio-cells = <2>;
   25 
   26                 interrupt-parent = <&tlmm>;
   27                 interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
   28 
   29                 enable-gpios = <&tlmm 104 GPIO_ACTIVE_HIGH>;
   30 
   31                 vpll-supply = <&pp1800_edp_vpll>;
   32                 vccio-supply = <&pp1800_brij_vccio>;
   33                 vcca-supply = <&pp1200_brij>;
   34                 vcc-supply = <&pp1200_brij>;
   35 
   36                 clocks = <&rpmhcc RPMH_LN_BB_CLK3>;
   37                 clock-names = "refclk";
   38 
   39                 no-hpd;
   40 
   41                 ports {
   42                         #address-cells = <1>;
   43                         #size-cells = <0>;
   44 
   45                         port@0 {
   46                                 reg = <0>;
   47                                 sn65dsi86_in: endpoint {
   48                                         remote-endpoint = <&dsi0_out>;
   49                                 };
   50                         };
   51 
   52                         port@1 {
   53                                 reg = <1>;
   54                                 sn65dsi86_out: endpoint {
   55                                         data-lanes = <0 1>;
   56                                         remote-endpoint = <&panel_in_edp>;
   57                                 };
   58                         };
   59                 };
   60 
   61                 aux-bus {
   62                         panel: panel {
   63                                 /* Compatible will be filled in per-board */
   64                                 power-supply = <&pp3300_dx_edp>;
   65                                 backlight = <&backlight>;
   66                                 hpd-gpios = <&sn65dsi86_bridge 2 GPIO_ACTIVE_HIGH>;
   67 
   68                                 port {
   69                                         panel_in_edp: endpoint {
   70                                                 remote-endpoint = <&sn65dsi86_out>;
   71                                         };
   72                                 };
   73                         };
   74                 };
   75         };
   76 };
   77 
   78 &tlmm {
   79         edp_brij_irq: edp-brij-irq {
   80                 pinmux {
   81                         pins = "gpio11";
   82                         function = "gpio";
   83                 };
   84 
   85                 pinconf {
   86                         pins = "gpio11";
   87                         drive-strength = <2>;
   88                         bias-pull-down;
   89                 };
   90         };
   91 };

Cache object: f9c3d8e657aa153a96eb2adc78178b02


[ 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.