Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b0ecfc1 authored by Xiaowen Wu's avatar Xiaowen Wu
Browse files

dt-bindings: drm: msm-lease: add empty resource support



Add support to msm-lease with empty resource defined in devicetree.
If a card is defined with empty resource, all resources that are
not leased by other cards will be leased to this card.

Change-Id: I60550bbe69bb71f8bfce9ceac959678b0bb6df4d
Signed-off-by: default avatarXiaowen Wu <wxiaowen@codeaurora.org>
parent e2df9ea4
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -4,14 +4,21 @@ Snapdragon Display Engine Lease registers with the Linux DRM/KMS framework to
facilitate DRM driver creation, publishing /dev/dri/card<n>, n=1,2,... from
card0 with objects implicitly leased.

This device must be added to the connectors list of qcom,sde-kms device.

Required properties
- compatible: Must be "qcom,sde-kms-lease".
- qcom,lease-connectors: Connector names leased to the card.
- qcom,lease-planes: Plane names leased to the card.

Optional properties
- qcom,lease-connectors: Connector names leased to the card.
- qcom,lease-planes: Plane names leased to the card.
- qcom,dev-name: Name of the lease device.

If there are cards with qcom,lease-connectors and/or qcom,lease-planes not
defined, the last one with empty connectors and/or planes in the connectors
list of qcom,sde-kms device will have all the remaining connectors and/or
planes that are not leased to other cards.

Example:
	card1: qcom,sde-kms-lease@0 {
		compatible = "qcom,sde-kms-lease";