diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2023-10-14 09:15:07 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-10-18 09:53:31 +0200 |
commit | 7618b8659438c42baabb5678b2519abde4b4352a (patch) | |
tree | 8de7279c404d5cc9fbd83f0e844f0e643a9b97c5 /Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml | |
parent | fdd591e00a9c9d64a5f1d74779b72218c22bf15d (diff) | |
download | lwn-7618b8659438c42baabb5678b2519abde4b4352a.tar.gz lwn-7618b8659438c42baabb5678b2519abde4b4352a.zip |
dt-bindings: display: Split common Solomon properties in their own schema
There are DT properties that can be shared across different Solomon OLED
Display Controller families. Split them into a separate common schema to
avoid these properties to be duplicated in different DT bindings schemas.
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231014071520.1342189-6-javierm@redhat.com
Diffstat (limited to 'Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml index 20e2bd15d4d2..3afbb52d1b7f 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd1307fb.yaml @@ -27,38 +27,12 @@ properties: - solomon,ssd1307 - solomon,ssd1309 - reg: - maxItems: 1 - pwms: maxItems: 1 - reset-gpios: - maxItems: 1 - - # Only required for SPI - dc-gpios: - description: - GPIO connected to the controller's D/C# (Data/Command) pin, - that is needed for 4-wire SPI to tell the controller if the - data sent is for a command register or the display data RAM - maxItems: 1 - vbat-supply: description: The supply for VBAT - solomon,height: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Height in pixel of the screen driven by the controller. - The default value is controller-dependent. - - solomon,width: - $ref: /schemas/types.yaml#/definitions/uint32 - description: - Width in pixel of the screen driven by the controller. - The default value is controller-dependent. - solomon,page-offset: $ref: /schemas/types.yaml#/definitions/uint32 default: 1 @@ -148,7 +122,7 @@ required: - reg allOf: - - $ref: /schemas/spi/spi-peripheral-props.yaml# + - $ref: solomon,ssd-common.yaml# - if: properties: |