5.6.2.2.4. MAX96724

5.6.2.2.4.1. Devicetree

The associated device tree entry describes how the GMSL links, video pipes, and CSI ports should be configured. The max96724 node serves as the top-level parent for all of the devices in the SerDes chain: specifically, a serializer, and one image sensor. This node will be a child of the I2C bus to which it is connected.

Required properties:

MAX96724 Required Properties

Name

Type

Description

reg

u32

The I2C address of the deserializer.

compatible

string

This must be set to d3,max96724.

status

string

okay if the MAX96724 driver should probe, disabled otherwise.

reset-gpios

prop-encoded-array

Specifies the GPIO controller and pin that controls the MAX96724’s reset pin.

Optional properties:

MAX96724 Optional Properties

Name

Type

Description

vdd-supply

phandle

The voltage regulator that controls power to the MAX96724.

poc-supply

phandle

The voltage regulator that controls Power-over-Coax to the MAX96724’s serial links.

MAX96724 Optional Native Frame Synchronization Properties (sync generated by MAX96724)

Name

Type

Description

frame-sync-enable

empty

Enables native frame sync signal generation and forwarding.

frame-sync-pin

u32

There are two options: 0 for MFP0 or 1 for MFP7.

frame-sync-freq

u32

The desired sync signal frequency in Hz.

pclk-freq

u32

The PCLK frequency in Hz.

frame-sync-tx-id

u32

The GMSL GPIO ID to forward the sync signal on.

frame-sync-master

empty

Generate the sync signal locally on the deserializer. The absense of this property when frame sync is not enabled means the signal will be received from the FSYNC_BUS pin.

MAX96724 Optional External Frame Synchronization Properties (sync provided to MAX96724 on GPIO pin)

Name

Type

Description

frame-sync-ports

prop-encoded-array

An array of GPIO pins to receive and forward sync signals on. For example, a value of <3 4> will forward GPIO3 and GPIO4 to all serial links with transmitter IDs of 3 and 4, respectively.

5.6.2.2.4.1.1. csi

For initial-deskew-width, the following values are possible (each enum element’s index is incremented from the previous by 1):

enum max96724_initial_deskew_width {
     MAX96724_INIT_DESKEW_1x32UI = 0,
     MAX96724_INIT_DESKEW_2x32UI,
     MAX96724_INIT_DESKEW_3x32UI,
     MAX96724_INIT_DESKEW_4x32UI,
     MAX96724_INIT_DESKEW_5x32UI,
     MAX96724_INIT_DESKEW_6x32UI,
     MAX96724_INIT_DESKEW_7x32UI,
     MAX96724_INIT_DESKEW_8x32UI,
     MAX96724_INIT_DESKEW_WIDTH_MAX = MAX96724_INIT_DESKEW_8x32UI,
};