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/Bindings/display/bridge/tda998x.txt

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 Device-Tree bindings for the NXP TDA998x HDMI transmitter
    2 
    3 Required properties;
    4   - compatible: must be "nxp,tda998x"
    5 
    6   - reg: I2C address
    7 
    8 Required node:
    9   - port: Input port node with endpoint definition, as described
   10         in Documentation/devicetree/bindings/graph.txt
   11 
   12 Optional properties:
   13   - interrupts: interrupt number and trigger type
   14         default: polling
   15 
   16   - pinctrl-0: pin control group to be used for
   17         screen plug/unplug interrupt.
   18 
   19   - pinctrl-names: must contain a "default" entry.
   20 
   21   - video-ports: 24 bits value which defines how the video controller
   22         output is wired to the TDA998x input - default: <0x230145>
   23 
   24   - audio-ports: array of 8-bit values, 2 values per one DAI[1].
   25         The first value defines the DAI type: TDA998x_SPDIF or TDA998x_I2S[2].
   26         The second value defines the tda998x AP_ENA reg content when the DAI
   27         in question is used. The implementation allows one or two DAIs. If two
   28         DAIs are defined, they must be of different type.
   29 
   30   - nxp,calib-gpios: calibration GPIO, which must correspond with the
   31         gpio used for the TDA998x interrupt pin.
   32 
   33 [1] Documentation/sound/soc/dai.rst
   34 [2] include/dt-bindings/display/tda998x.h
   35 
   36 Example:
   37 
   38 #include <dt-bindings/display/tda998x.h>
   39 
   40         tda998x: hdmi-encoder {
   41                 compatible = "nxp,tda998x";
   42                 reg = <0x70>;
   43                 interrupt-parent = <&gpio0>;
   44                 interrupts = <27 2>;            /* falling edge */
   45                 pinctrl-0 = <&pmx_camera>;
   46                 pinctrl-names = "default";
   47                 video-ports = <0x230145>;
   48 
   49                 #sound-dai-cells = <2>;
   50                              /* DAI-format      AP_ENA reg value */
   51                 audio-ports = < TDA998x_SPDIF   0x04
   52                                 TDA998x_I2S     0x03>;
   53 
   54         };

Cache object: 0921779a2745d66d1dcdddf2ce06c5e5


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