On Thu, Jan 09, 2020 at 11:14:26AM -0600, Rob Herring wrote:
On Fri, Jan 3, 2020 at 9:28 AM Maxime Ripard maxime@cerno.tech wrote:
The Allwinner SoCs have a display engine composed of several controllers assembled differently depending on the SoC, the number and type of output they have, and the additional features they provide. A number of those are supported in Linux, with the matching bindings.
Now that we have the DT validation in place, let's split into separate file and convert the device tree bindings for those controllers to schemas.
Signed-off-by: Maxime Ripard maxime@cerno.tech
Changes from v2:
- Changed a number of maxItems to minItems to make more sense
- Fixed a few enum that were improperly declared. This raised a bunch of warnings that were unnoticed before. Fixed them.
- Added an if clause to the HDMI PHY binding to check the number of clocks
Changes from v1:
- Declare the ports in the bindings
.../allwinner,sun4i-a10-display-backend.yaml | 291 ++++++++ .../allwinner,sun4i-a10-display-engine.yaml | 114 +++ .../allwinner,sun4i-a10-display-frontend.yaml | 138 ++++ .../display/allwinner,sun4i-a10-hdmi.yaml | 183 +++++ .../display/allwinner,sun4i-a10-tcon.yaml | 676 ++++++++++++++++++ .../allwinner,sun4i-a10-tv-encoder.yaml | 62 ++ .../display/allwinner,sun6i-a31-drc.yaml | 138 ++++ .../allwinner,sun8i-a83t-de2-mixer.yaml | 118 +++ .../display/allwinner,sun8i-a83t-dw-hdmi.yaml | 273 +++++++ .../allwinner,sun8i-a83t-hdmi-phy.yaml | 117 +++ .../display/allwinner,sun8i-r40-tcon-top.yaml | 382 ++++++++++ .../display/allwinner,sun9i-a80-deu.yaml | 133 ++++ .../bindings/display/sunxi/sun4i-drm.txt | 637 ----------------- 13 files changed, 2625 insertions(+), 637 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-backend.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-hdmi.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tv-encoder.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun6i-a31-drc.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-de2-mixer.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-dw-hdmi.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-hdmi-phy.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml create mode 100644 Documentation/devicetree/bindings/display/allwinner,sun9i-a80-deu.yaml delete mode 100644 Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt
Reviewed-by: Rob Herring robh@kernel.org
Thanks!
I just applied it to drm-misc-next
Maxime