All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Rob Herring <robh@kernel.org>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>,
	Maxime Ripard <mripard@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH v3 0/5] dt-bindings: convert timing + panel-dpi to DT schema
Date: Sun, 16 Feb 2020 19:15:08 +0100	[thread overview]
Message-ID: <20200216181513.28109-1-sam@ravnborg.org> (raw)

This set of patches convert display-timing.txt to DT schema.
To do that add a panel-timing.yaml file that include all the
panel-timing properties and use this in panel-common and in display-timings.

panel-dpi was also converted so we have no .txt users left of panel-timing
in panel/

Everything passed dt_binding_check - and the trivial errors I tried in
the examples was all catched during validation.

This work was triggered by a patch-set from Oleksandr Suvorov aiming
at updating panel-lvds to support panel-dpi.
This will make it simple to add additional properties to panel-dpi.

Thanks for the quick responses on v2 and likewise the quick
feedback on the request for the license change!

Highlight from v3 - se individual patches for details.
- Added panel-dpi support to panel-simple.
  We can now add a simple panel just by addding timing parameters
  in a DT node
  The patch [5/5] is RFC as test is pending
- To support panel-dpi in panel-simple - add a data-mapping
  property to panel-dpi

Highlights from v2 - see individual patches for details.
- Got acks for the license change
- Simplfied panel-timings bindings
- panel-dpi can now be used without a panel specific compatible
  So panel-dpi can be used as a generic binding for dumb panels

Feedback welcome!

	Sam

Sam Ravnborg (5):
      dt-bindings: display: add panel-timing.yaml
      dt-bindings: display: convert display-timings to DT schema
      dt-bindings: display: convert panel-dpi to DT schema
      dt-bindings: display: add data-mapping to panel-dpi
      drm/panel: simple: add panel-dpi support

 .../bindings/display/panel/display-timing.txt      | 124 +----------
 .../bindings/display/panel/display-timings.yaml    |  77 +++++++
 .../bindings/display/panel/panel-common.yaml       |  15 +-
 .../bindings/display/panel/panel-dpi.txt           |  50 -----
 .../bindings/display/panel/panel-dpi.yaml          |  82 ++++++++
 .../bindings/display/panel/panel-timing.yaml       | 227 +++++++++++++++++++++
 drivers/gpu/drm/panel/panel-simple.c               |  74 ++++++-
 7 files changed, 470 insertions(+), 179 deletions(-)



WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Rob Herring <robh@kernel.org>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>,
	Oleksandr Suvorov <oleksandr.suvorov@toradex.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	Sam Ravnborg <sam@ravnborg.org>
Subject: [PATCH v3 0/5] dt-bindings: convert timing + panel-dpi to DT schema
Date: Sun, 16 Feb 2020 19:15:08 +0100	[thread overview]
Message-ID: <20200216181513.28109-1-sam@ravnborg.org> (raw)

This set of patches convert display-timing.txt to DT schema.
To do that add a panel-timing.yaml file that include all the
panel-timing properties and use this in panel-common and in display-timings.

panel-dpi was also converted so we have no .txt users left of panel-timing
in panel/

Everything passed dt_binding_check - and the trivial errors I tried in
the examples was all catched during validation.

This work was triggered by a patch-set from Oleksandr Suvorov aiming
at updating panel-lvds to support panel-dpi.
This will make it simple to add additional properties to panel-dpi.

Thanks for the quick responses on v2 and likewise the quick
feedback on the request for the license change!

Highlight from v3 - se individual patches for details.
- Added panel-dpi support to panel-simple.
  We can now add a simple panel just by addding timing parameters
  in a DT node
  The patch [5/5] is RFC as test is pending
- To support panel-dpi in panel-simple - add a data-mapping
  property to panel-dpi

Highlights from v2 - see individual patches for details.
- Got acks for the license change
- Simplfied panel-timings bindings
- panel-dpi can now be used without a panel specific compatible
  So panel-dpi can be used as a generic binding for dumb panels

Feedback welcome!

	Sam

Sam Ravnborg (5):
      dt-bindings: display: add panel-timing.yaml
      dt-bindings: display: convert display-timings to DT schema
      dt-bindings: display: convert panel-dpi to DT schema
      dt-bindings: display: add data-mapping to panel-dpi
      drm/panel: simple: add panel-dpi support

 .../bindings/display/panel/display-timing.txt      | 124 +----------
 .../bindings/display/panel/display-timings.yaml    |  77 +++++++
 .../bindings/display/panel/panel-common.yaml       |  15 +-
 .../bindings/display/panel/panel-dpi.txt           |  50 -----
 .../bindings/display/panel/panel-dpi.yaml          |  82 ++++++++
 .../bindings/display/panel/panel-timing.yaml       | 227 +++++++++++++++++++++
 drivers/gpu/drm/panel/panel-simple.c               |  74 ++++++-
 7 files changed, 470 insertions(+), 179 deletions(-)


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2020-02-16 18:15 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-16 18:15 Sam Ravnborg [this message]
2020-02-16 18:15 ` [PATCH v3 0/5] dt-bindings: convert timing + panel-dpi to DT schema Sam Ravnborg
2020-02-16 18:15 ` [PATCH v3 1/5] dt-bindings: display: add panel-timing.yaml Sam Ravnborg
2020-02-16 18:15   ` Sam Ravnborg
2020-02-16 18:15 ` [PATCH v3 2/5] dt-bindings: display: convert display-timings to DT schema Sam Ravnborg
2020-02-16 18:15   ` Sam Ravnborg
2020-03-03 18:46   ` Laurent Pinchart
2020-03-03 18:46     ` Laurent Pinchart
2020-02-16 18:15 ` [PATCH v3 3/5] dt-bindings: display: convert panel-dpi " Sam Ravnborg
2020-02-16 18:15   ` Sam Ravnborg
2020-02-18 20:01   ` Rob Herring
2020-02-18 20:01     ` Rob Herring
2020-03-03 19:00   ` Laurent Pinchart
2020-03-03 19:00     ` Laurent Pinchart
2020-02-16 18:15 ` [PATCH v3 4/5] dt-bindings: display: add data-mapping to panel-dpi Sam Ravnborg
2020-02-16 18:15   ` Sam Ravnborg
2020-02-18 20:13   ` Rob Herring
2020-02-18 20:13     ` Rob Herring
2020-02-18 22:16     ` Sam Ravnborg
2020-02-18 22:16       ` Sam Ravnborg
2020-02-19  3:02       ` Rob Herring
2020-02-19  3:02         ` Rob Herring
2020-03-03 18:55       ` Laurent Pinchart
2020-03-03 18:55         ` Laurent Pinchart
2020-02-16 18:15 ` [RFC PATCH v3 5/5] drm/panel: simple: add panel-dpi support Sam Ravnborg
2020-02-16 18:15   ` Sam Ravnborg
2020-02-17 12:13   ` Maxime Ripard
2020-02-17 12:13     ` Maxime Ripard
2020-02-17 13:29   ` Oleksandr Suvorov
2020-02-17 13:29     ` Oleksandr Suvorov
2020-03-03 19:00   ` Laurent Pinchart
2020-03-03 19:00     ` Laurent Pinchart
2020-02-29 18:13 ` [PATCH v3 0/5] dt-bindings: convert timing + panel-dpi to DT schema Sam Ravnborg
2020-02-29 18:13   ` Sam Ravnborg
2020-03-03 18:48   ` Laurent Pinchart
2020-03-03 18:48     ` Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200216181513.28109-1-sam@ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=mripard@kernel.org \
    --cc=oleksandr.suvorov@toradex.com \
    --cc=p.zabel@pengutronix.de \
    --cc=peter.ujfalusi@ti.com \
    --cc=robh@kernel.org \
    --cc=s.trumtrar@pengutronix.de \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.