On Sat, Jan 25, 2020 at 2:35 PM Sam Ravnborg <s...@ravnborg.org> wrote: > > Add display-timings.yaml - that references panel-timings.yaml. > display-timings.yaml will be used for display bindings > when they are converted to meta-schema format. > > For now the old display-timing.txt points to the new > display-timings.yaml - and all users are left as-is. > > v2: > - Updated native-mode description > > Signed-off-by: Sam Ravnborg <s...@ravnborg.org> > Cc: Rob Herring <r...@kernel.org> > Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com> > Cc: Thierry Reding <thierry.red...@gmail.com> > Cc: Oleksandr Suvorov <oleksandr.suvo...@toradex.com> > Cc: devicet...@vger.kernel.org > --- > .../bindings/display/panel/display-timing.txt | 124 +----------------- > .../display/panel/display-timings.yaml | 68 ++++++++++ > 2 files changed, 69 insertions(+), 123 deletions(-) > create mode 100644 > Documentation/devicetree/bindings/display/panel/display-timings.yaml
> diff --git > a/Documentation/devicetree/bindings/display/panel/display-timings.yaml > b/Documentation/devicetree/bindings/display/panel/display-timings.yaml > new file mode 100644 > index 000000000000..508302cd307a > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/display-timings.yaml > @@ -0,0 +1,68 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/display-timings.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: display timing bindings > + > +maintainers: > + - Thierry Reding <thierry.red...@gmail.com> > + - Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> > + - Sam Ravnborg <s...@ravnborg.org> > + > +properties: > + $nodename: > + const: display-timings > + > + native-mode: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: | > + The default dispaly timing is the one specified as native-mode. > + If no native-mode is specified then the first node is assume the > + native mode. > + > +patternProperties: > + "^timing.*$": '.*$' can be omitted. Probably should have a 'type: object' here too. With that, Reviewed-by: Rob Herring <r...@kernel.org> > + allOf: > + - $ref: panel-timing.yaml# _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel