]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/panel: Fix up DT bindings for Samsung lms397kf04
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Jul 2021 21:36:18 +0000 (23:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jul 2021 15:31:40 +0000 (17:31 +0200)
commit710fa9aa16321f2ffdd8383f6f780c9cc1e5a197
treef35773894dd2b877c5c23fdf7ee58253be67f8a0
parent4bfe6c8f7c23b01719671b69fd29b87a35ccd9d6
drm/panel: Fix up DT bindings for Samsung lms397kf04

Improve the bindings and make them more usable:

- Pick in spi-cpha and spi-cpol from the SPI node parent,
  this will specify that we are "type 3" in the device tree
  rather than hardcoding it in the operating system.
- Drop the u32 ref from the SPI frequency: comes in from
  the SPI host bindings.
- Make spi-cpha, spi-cpol and port compulsory.
- Update the example with a real-world SPI controller,
  spi-gpio.

Cc: Noralf Trønnes <noralf@tronnes.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210701213618.3818821-1-linus.walleij@linaro.org
Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml