summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/lvds.yaml
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-05-08 20:20:51 +0300
committerMark Brown <broonie@kernel.org>2020-05-08 20:20:51 +0300
commitc50ad6dbf6cc1d1671a3cd5618b3a52c495b78ca (patch)
treedddb8875cc95ce42f31032b3271263ea5a7640df /Documentation/devicetree/bindings/display/panel/lvds.yaml
parentaab5fd7a1b7b931487694b527322f48f423701c7 (diff)
parent60ab7f4153b6af461c90d572c31104086b44639f (diff)
downloadlinux-c50ad6dbf6cc1d1671a3cd5618b3a52c495b78ca.tar.xz
Merge tag 'linear-ranges-lib' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.8
lib: Add linear ranges helper library and start using it Series extracts a "linear ranges" helper out of the regulator framework. Linear ranges helper is intended to help converting real-world values to register values when conversion is linear. I suspect this is useful also for power subsystem and possibly for clk.
Diffstat (limited to 'Documentation/devicetree/bindings/display/panel/lvds.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/panel/lvds.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/lvds.yaml b/Documentation/devicetree/bindings/display/panel/lvds.yaml
index d0083301acbe..946dd354256c 100644
--- a/Documentation/devicetree/bindings/display/panel/lvds.yaml
+++ b/Documentation/devicetree/bindings/display/panel/lvds.yaml
@@ -96,12 +96,20 @@ properties:
If set, reverse the bit order described in the data mappings below on all
data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.
+ port: true
+ ports: true
+
required:
- compatible
- data-mapping
- width-mm
- height-mm
- panel-timing
- - port
+
+oneOf:
+ - required:
+ - port
+ - required:
+ - ports
...