summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-04-14 12:42:30 +0200
committerRob Herring <robh@kernel.org>2023-04-19 01:46:21 +0200
commite5ace96f2cba612825b82421eb6068fc94fb9da5 (patch)
treec40ef793838f929df5d5c839e927b6d710f2065b /Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
parentdt-bindings: display: mediatek: simplify compatibles syntax (diff)
downloadlinux-e5ace96f2cba612825b82421eb6068fc94fb9da5.tar.xz
linux-e5ace96f2cba612825b82421eb6068fc94fb9da5.zip
dt-bindings: display: simplify compatibles syntax
Lists (items) with one item should be just const or enum because it is shorter and simpler. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230414104230.23165-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml24
1 files changed, 11 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
index 8bd58913804a..94bb5ef567c6 100644
--- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
+++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml
@@ -14,20 +14,18 @@ properties:
compatible:
oneOf:
# Deprecated compatible strings
- - items:
- - enum:
- - solomon,ssd1305fb-i2c
- - solomon,ssd1306fb-i2c
- - solomon,ssd1307fb-i2c
- - solomon,ssd1309fb-i2c
+ - enum:
+ - solomon,ssd1305fb-i2c
+ - solomon,ssd1306fb-i2c
+ - solomon,ssd1307fb-i2c
+ - solomon,ssd1309fb-i2c
deprecated: true
- - items:
- - enum:
- - sinowealth,sh1106
- - solomon,ssd1305
- - solomon,ssd1306
- - solomon,ssd1307
- - solomon,ssd1309
+ - enum:
+ - sinowealth,sh1106
+ - solomon,ssd1305
+ - solomon,ssd1306
+ - solomon,ssd1307
+ - solomon,ssd1309
reg:
maxItems: 1