Hi, On Tue, Dec 10, 2019 at 04:36:28PM +0800, Kevin Tang wrote: > From: Kevin Tang <kevin.tang@xxxxxxxxxx> > > The Unisoc DRM master device is a virtual device needed to list all > DPU devices or other display interface nodes that comprise the > graphics subsystem > > Cc: Orson Zhai <orsonzhai@xxxxxxxxx> > Cc: Baolin Wang <baolin.wang@xxxxxxxxxx> > Cc: Chunyan Zhang <zhang.lyra@xxxxxxxxx> > Signed-off-by: Kevin Tang <kevin.tang@xxxxxxxxxx> > --- > Documentation/devicetree/bindings/display/sprd/drm.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/sprd/drm.txt > > diff --git a/Documentation/devicetree/bindings/display/sprd/drm.txt b/Documentation/devicetree/bindings/display/sprd/drm.txt > new file mode 100644 > index 0000000..7327b9e > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/sprd/drm.txt > @@ -0,0 +1,18 @@ > +Unisoc DRM master device > +================================ > + > +The Unisoc DRM master device is a virtual device needed to list all > +DPU devices or other display interface nodes that comprise the > +graphics subsystem. > + > +Required properties: > +- compatible: Should be "sprd,display-subsystem" > +- ports: Should contain a list of phandles pointing to display interface port > + of DPU devices. > + > +example: > + > +display-subsystem { > + compatible = "sprd,display-subsystem"; > + ports = <&dpu_out>; > +}; You should be using YAML schemas to describe your bindings nowadays. Also, I'm not sure about how the display engine (and its component) is going to be integrated into the SoCs, but usually have the name of the first SoC to use it is a good practice in the case where there's a second generation of display engine coming up in the future. Maxime
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel