mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
7618b86594
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
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/solomon,ssd-common.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Common properties for Solomon OLED Display Controllers
|
|
|
|
maintainers:
|
|
- Javier Martinez Canillas <javierm@redhat.com>
|
|
|
|
properties:
|
|
reg:
|
|
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
|
|
|
|
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.
|
|
|
|
allOf:
|
|
- $ref: /schemas/spi/spi-peripheral-props.yaml#
|
|
|
|
additionalProperties: true
|