brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 48c8cad Raw
84 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/display/brcm,bcm2835-hdmi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom VC4 (VideoCore4) HDMI Controller8 9maintainers:10  - Eric Anholt <eric@anholt.net>11 12properties:13  compatible:14    const: brcm,bcm2835-hdmi15 16  reg:17    items:18      - description: HDMI register range19      - description: HD register range20 21  interrupts:22    minItems: 223 24  clocks:25    items:26      - description: The pixel clock27      - description: The HDMI state machine clock28 29  clock-names:30    items:31      - const: pixel32      - const: hdmi33 34  ddc:35    $ref: /schemas/types.yaml#/definitions/phandle36    description: >37      Phandle of the I2C controller used for DDC EDID probing38 39  hpd-gpios:40    maxItems: 141    description: >42      The GPIO pin for the HDMI hotplug detect (if it doesn't appear43      as an interrupt/status bit in the HDMI controller itself)44 45  dmas:46    maxItems: 147    description: >48      Should contain one entry pointing to the DMA channel used to49      transfer audio data.50 51  dma-names:52    const: audio-rx53 54  power-domains:55    maxItems: 156 57required:58  - compatible59  - reg60  - interrupts61  - clocks62  - ddc63 64additionalProperties: false65 66examples:67  - |68    #include <dt-bindings/clock/bcm2835.h>69    #include <dt-bindings/gpio/gpio.h>70 71    hdmi: hdmi@7e902000 {72        compatible = "brcm,bcm2835-hdmi";73        reg = <0x7e902000 0x600>,74              <0x7e808000 0x100>;75        interrupts = <2 8>, <2 9>;76        ddc = <&i2c2>;77        hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;78        clocks = <&clocks BCM2835_PLLH_PIX>,79                 <&clocks BCM2835_CLOCK_HSM>;80        clock-names = "pixel", "hdmi";81    };82 83...84