Add solomon,col-offset, solomon,dclk-div and solomon,dclk-frq for the SSD1322, to set where the panel sits in the controller's columns and the panel's refresh rate. On the SSD1322 the clock divisor is a power of two, from 1 to 1024.
Assisted-by: LLM Signed-off-by: Fabio Piparo <[email protected]> --- .../bindings/display/solomon,ssd132x.yaml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml index dd7939989cf..6c7830af0e5 100644 --- a/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml +++ b/Documentation/devicetree/bindings/display/solomon,ssd132x.yaml @@ -16,6 +16,29 @@ properties: - solomon,ssd1325 - solomon,ssd1327 + solomon,col-offset: + $ref: /schemas/types.yaml#/definitions/uint32 + maximum: 119 + default: 0 + description: + Offset of columns that the screen is mapped to, in units of four + pixels. + + solomon,dclk-div: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024] + default: 2 + description: + Clock divisor. + + solomon,dclk-frq: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 15 + default: 9 + description: + Clock frequency, higher value means higher frequency. + required: - compatible - reg @@ -46,6 +69,9 @@ allOf: default: 128 solomon,height: default: 80 + solomon,col-offset: false + solomon,dclk-div: false + solomon,dclk-frq: false - if: properties: @@ -58,6 +84,9 @@ allOf: default: 128 solomon,height: default: 128 + solomon,col-offset: false + solomon,dclk-div: false + solomon,dclk-frq: false unevaluatedProperties: false -- 2.53.0
