From: Noralf Trønnes Date: Wed, 24 Nov 2021 15:07:54 +0000 (+0100) Subject: dt-bindings: display: sitronix, st7735r: Remove spi-max-frequency limit X-Git-Tag: howlett/maple/20220722_2~460^2~21^2~208 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=df0a9e8d3008050f61241f471c70438ef1e90a1b;p=users%2Fjedix%2Flinux-maple.git dt-bindings: display: sitronix, st7735r: Remove spi-max-frequency limit 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 Acked-by: Rob Herring Acked-by: David Lechner Link: https://patchwork.freedesktop.org/patch/msgid/20211124150757.17929-4-noralf@tronnes.org --- diff --git a/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml b/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml index f81d0d0d51fe..157b1a7b18f9 100644 --- a/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml +++ b/Documentation/devicetree/bindings/display/sitronix,st7735r.yaml @@ -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