mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-25 09:29:31 +00:00

Apart from the already handled data bus (MAS_MDP_Pn<->DDR), there are other connection paths: - a path that connects rotator block to the DDR. - a path that needs to be handled to ensure MDSS register access functions properly, namely the "reg bus", a.k.a the CPU-MDSS CFG interconnect. Describe these paths to allow using them in device trees and in the driver. [Konrad: rework for one vs two MDP paths, update examples] Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/569480/ Link: https://lore.kernel.org/r/20231125-topic-rb1_feat-v3-2-4cbb567743bb@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
107 lines
2.3 KiB
YAML
107 lines
2.3 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/msm/mdss-common.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Qualcomm Display MDSS common properties
|
|
|
|
maintainers:
|
|
- Krishna Manikandan <quic_mkrishn@quicinc.com>
|
|
- Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
- Rob Clark <robdclark@gmail.com>
|
|
|
|
description:
|
|
Device tree bindings for MSM Mobile Display Subsystem(MDSS) that encapsulates
|
|
sub-blocks like DPU display controller, DSI and DP interfaces etc.
|
|
|
|
# Do not select this by default, otherwise it is also selected for qcom,mdss
|
|
# devices.
|
|
select:
|
|
false
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^display-subsystem@[0-9a-f]+$"
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
reg-names:
|
|
const: mdss
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 2
|
|
maxItems: 4
|
|
|
|
clock-names:
|
|
minItems: 2
|
|
maxItems: 4
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
interrupt-controller: true
|
|
|
|
"#address-cells": true
|
|
|
|
"#size-cells": true
|
|
|
|
"#interrupt-cells":
|
|
const: 1
|
|
|
|
iommus:
|
|
minItems: 1
|
|
items:
|
|
- description: Phandle to apps_smmu node with SID mask for Hard-Fail port0
|
|
- description: Phandle to apps_smmu node with SID mask for Hard-Fail port1
|
|
|
|
ranges: true
|
|
|
|
# This is not a perfect description, but it's impossible to discern and match
|
|
# the entries like we do with interconnect-names
|
|
interconnects:
|
|
minItems: 1
|
|
items:
|
|
- description: Interconnect path from mdp0 (or a single mdp) port to the data bus
|
|
- description: Interconnect path from mdp1 port to the data bus
|
|
- description: Interconnect path from CPU to the reg bus
|
|
|
|
interconnect-names:
|
|
oneOf:
|
|
- minItems: 1
|
|
items:
|
|
- const: mdp0-mem
|
|
- const: cpu-cfg
|
|
|
|
- minItems: 2
|
|
items:
|
|
- const: mdp0-mem
|
|
- const: mdp1-mem
|
|
- const: cpu-cfg
|
|
|
|
resets:
|
|
items:
|
|
- description: MDSS_CORE reset
|
|
|
|
memory-region:
|
|
maxItems: 1
|
|
description:
|
|
Phandle to a node describing a reserved framebuffer memory region.
|
|
For example, the splash memory region set up by the bootloader.
|
|
|
|
required:
|
|
- reg
|
|
- reg-names
|
|
- power-domains
|
|
- clocks
|
|
- interrupts
|
|
- interrupt-controller
|
|
- iommus
|
|
- ranges
|
|
|
|
additionalProperties: true
|