adi,adv7535 (on i2c bus)

Description

Analog Devices ADV7535 MIPI DSI to HDMI bridge

The ADV7535 is an I2C-controlled bridge that converts MIPI DSI video to HDMI.
Its CEC/DSI register map uses a secondary I2C address. The MIPI DSI endpoint
is represented separately as a child of the MIPI DSI host.

Examples

#include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  display-bridge@3d {
    compatible = "adi,adv7535";
    reg = <0x3d>;
    adi,addr-cec = <0x3b>;
    dsi-device = <&adv7535_dsi>;
    display-timing = <&hdmi_timing>;
  };
};

mipi_dsi: mipi-dsi@40000000 {
  compatible = "vnd,mipi-dsi-host";
  reg = <0x40000000 0x1000>;
  #address-cells = <1>;
  #size-cells = <0>;

  adv7535_dsi: display-bridge@0 {
    compatible = "adi,adv7535-dsi";
    reg = <0>;
    data-lanes = <4>;
    pixel-format = <MIPI_DSI_PIXFMT_RGB888>;
  };
};

display-controller {
  width = <1920>;
  height = <1080>;

  hdmi_timing: display-timings {
    compatible = "zephyr,panel-timing";
    clock-frequency = <148500000>;
    hsync-len = <44>;
    hfront-porch = <88>;
    hback-porch = <148>;
    vsync-len = <5>;
    vfront-porch = <4>;
    vback-porch = <36>;
    hsync-active = <1>;
    vsync-active = <1>;
    de-active = <1>;
    pixelclk-active = <1>;
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

adi,addr-cec

int

Seven-bit address of the CEC/DSI register map.

This property is required.

dsi-device

phandle

Auxiliary adi,adv7535-dsi node describing the DSI link of this
bridge. It is a child of the MIPI DSI host the bridge is wired to.

This property is required.

display-timing

phandle

zephyr,panel-timing node describing the porches, sync lengths and pixel
clock of the HDMI output. Its parent is the display controller node
that owns the timing and carries the active area.

This property is required.

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.