On Qualcomm SA8775P and X1E80100 the DP controller might be driving
either a DisplayPort or a eDP sink (depending on the PHY that is tied to
the controller). Reflect that in the schema.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Jessica, your X1E8 patch also triggers warnings for several X1E8-based
laptops. Please include this patch into the series (either separately
or, better, by squashing into your first patch).
---
.../bindings/display/msm/dp-controller.yaml | 26 ++++++++++++++-----
1 file changed, 20 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index 4676aa8db2f4..55e37ec74591 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -176,12 +176,26 @@ allOf:
properties:
"#sound-dai-cells": false
else:
- properties:
- aux-bus: false
- reg:
- minItems: 5
- required:
- - "#sound-dai-cells"
+ if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sa8775p-dp
+ - qcom,x1e80100-dp
+ then:
+ oneOf:
+ - required:
+ - aux-bus
+ - required:
+ - "#sound-dai-cells"
+ else:
+ properties:
+ aux-bus: false
+ reg:
+ minItems: 5
+ required:
+ - "#sound-dai-cells"
additionalProperties: false
--
2.39.5
On 7/19/2025 2:14 AM, Dmitry Baryshkov wrote: > > On Qualcomm SA8775P and X1E80100 the DP controller might be driving > either a DisplayPort or a eDP sink (depending on the PHY that is tied to > the controller). Reflect that in the schema. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> > --- > > Jessica, your X1E8 patch also triggers warnings for several X1E8-based > laptops. Please include this patch into the series (either separately > or, better, by squashing into your first patch). Hey Dmitry, Thanks for providing this patch -- I'll squash this with patch 1 and add your signed-off-by w/note. Thanks, Jessica Zhang > > --- > .../bindings/display/msm/dp-controller.yaml | 26 ++++++++++++++----- > 1 file changed, 20 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > index 4676aa8db2f4..55e37ec74591 100644 > --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml > @@ -176,12 +176,26 @@ allOf: > properties: > "#sound-dai-cells": false > else: > - properties: > - aux-bus: false > - reg: > - minItems: 5 > - required: > - - "#sound-dai-cells" > + if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,sa8775p-dp > + - qcom,x1e80100-dp > + then: > + oneOf: > + - required: > + - aux-bus > + - required: > + - "#sound-dai-cells" > + else: > + properties: > + aux-bus: false > + reg: > + minItems: 5 > + required: > + - "#sound-dai-cells" > > additionalProperties: false >
On Mon, Jul 28, 2025 at 11:29:31AM -0700, Jessica Zhang wrote: > > > On 7/19/2025 2:14 AM, Dmitry Baryshkov wrote: > > > > On Qualcomm SA8775P and X1E80100 the DP controller might be driving > > either a DisplayPort or a eDP sink (depending on the PHY that is tied to > > the controller). Reflect that in the schema. > > > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> > > --- > > > > Jessica, your X1E8 patch also triggers warnings for several X1E8-based > > laptops. Please include this patch into the series (either separately > > or, better, by squashing into your first patch). > > Hey Dmitry, > > Thanks for providing this patch -- I'll squash this with patch 1 and add > your signed-off-by w/note. Perfect! Then it should be S-o-B and Co-developed-by. Thank you! -- With best wishes Dmitry
On Sat, 19 Jul 2025 12:14:45 +0300, Dmitry Baryshkov wrote: > > On Qualcomm SA8775P and X1E80100 the DP controller might be driving > either a DisplayPort or a eDP sink (depending on the PHY that is tied to > the controller). Reflect that in the schema. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> > --- > > Jessica, your X1E8 patch also triggers warnings for several X1E8-based > laptops. Please include this patch into the series (either separately > or, better, by squashing into your first patch). > > --- > .../bindings/display/msm/dp-controller.yaml | 26 ++++++++++++++----- > 1 file changed, 20 insertions(+), 6 deletions(-) > Acked-by: Rob Herring (Arm) <robh@kernel.org>
© 2016 - 2025 Red Hat, Inc.