Skip to content

Commit 5769b45

Browse files
aford173superna9999
authored andcommitted
dt-bindings: bridge: samsung-dsim: Make some flags optional
In the event a device is connected to the samsung-dsim controller that doesn't support the burst-clock, the driver is able to get the requested pixel clock from the attached device or bridge. In these instances, the samsung,burst-clock-frequency isn't needed, so remove it from the required list. The pll-clock frequency can be set by the device tree entry for samsung,pll-clock-frequency, but in some cases, the pll-clock may have the same clock rate as sclk_mipi clock. If they are equal, this flag is not needed since the driver will use the sclk_mipi rate as a fallback. Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230528132727.3933-1-aford173@gmail.com
1 parent 67d0109 commit 5769b45

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Documentation/devicetree/bindings/display/bridge/samsung,mipi-dsim.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ properties:
7070
samsung,burst-clock-frequency:
7171
$ref: /schemas/types.yaml#/definitions/uint32
7272
description:
73-
DSIM high speed burst mode frequency.
73+
DSIM high speed burst mode frequency. If absent,
74+
the pixel clock from the attached device or bridge
75+
will be used instead.
7476

7577
samsung,esc-clock-frequency:
7678
$ref: /schemas/types.yaml#/definitions/uint32
@@ -80,7 +82,8 @@ properties:
8082
samsung,pll-clock-frequency:
8183
$ref: /schemas/types.yaml#/definitions/uint32
8284
description:
83-
DSIM oscillator clock frequency.
85+
DSIM oscillator clock frequency. If absent, the clock frequency
86+
of sclk_mipi will be used instead.
8487

8588
phys:
8689
maxItems: 1
@@ -134,9 +137,7 @@ required:
134137
- compatible
135138
- interrupts
136139
- reg
137-
- samsung,burst-clock-frequency
138140
- samsung,esc-clock-frequency
139-
- samsung,pll-clock-frequency
140141

141142
allOf:
142143
- $ref: ../dsi-controller.yaml#

0 commit comments

Comments
 (0)