Commit 66b66c97 authored by Johannes Zink's avatar Johannes Zink Committed by Neil Armstrong

dt-bindings: display: simple: support non-default data-mapping

Some Displays support more than just a single default LVDS data mapping,
which can be used to run displays on only 3 LVDS lanes in the jeida-18
data-mapping mode.

Add an optional data-mapping property to allow overriding the default
data mapping. As it does not generally apply to any display and bus, use
it selectively on the innolux,g101ice-l01, which supports changing the
data mapping via a strapping pin.
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarJohannes Zink <j.zink@pengutronix.de>
Link: https://lore.kernel.org/r/20230523-simplepanel_support_nondefault_datamapping-v5-2-0d7928edafab@pengutronix.deSigned-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230523-simplepanel_support_nondefault_datamapping-v5-2-0d7928edafab@pengutronix.de
parent 5437d667
...@@ -21,9 +21,9 @@ description: | ...@@ -21,9 +21,9 @@ description: |
allOf: allOf:
- $ref: panel-common.yaml# - $ref: panel-common.yaml#
- $ref: ../lvds-data-mapping.yaml#
properties: properties:
compatible: compatible:
enum: enum:
# compatible must be listed in alphabetical order, ordered by compatible. # compatible must be listed in alphabetical order, ordered by compatible.
...@@ -359,6 +359,17 @@ properties: ...@@ -359,6 +359,17 @@ properties:
power-supply: true power-supply: true
no-hpd: true no-hpd: true
hpd-gpios: true hpd-gpios: true
data-mapping: true
if:
not:
properties:
compatible:
contains:
const: innolux,g101ice-l01
then:
properties:
data-mapping: false
additionalProperties: false additionalProperties: false
...@@ -378,3 +389,16 @@ examples: ...@@ -378,3 +389,16 @@ examples:
}; };
}; };
}; };
- |
panel_lvds: panel-lvds {
compatible = "innolux,g101ice-l01";
power-supply = <&vcc_lcd_reg>;
data-mapping = "jeida-24";
port {
panel_in_lvds: endpoint {
remote-endpoint = <&ltdc_out_lvds>;
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment