OSDN Git Service

dt-bindings: display: sitronix, st7735r: Remove spi-max-frequency limit
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 24 Nov 2021 15:07:54 +0000 (16:07 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Wed, 9 Mar 2022 10:28:37 +0000 (10:28 +0000)
The datasheet lists the minimum Serial clock cycle (Write) as 66ns which is
15MHz. Mostly it can do much better than that and is in fact often run at
32MHz. With a clever driver that runs configuration commands at a low speed
and only the pixel data at the maximum speed the configuration can't be
messed up by transfer errors and the speed is only limited by the amount of
pixel glitches that one is able to tolerate.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124150757.17929-4-noralf@tronnes.org
Documentation/devicetree/bindings/display/sitronix,st7735r.yaml

index f81d0d0..157b1a7 100644 (file)
@@ -32,15 +32,13 @@ properties:
               - okaya,rh128128t
           - const: sitronix,st7715r
 
-  spi-max-frequency:
-    maximum: 32000000
-
   dc-gpios:
     maxItems: 1
     description: Display data/command selection (D/CX)
 
   backlight: true
   reg: true
+  spi-max-frequency: true
   reset-gpios: true
   rotation: true