From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53BF013AA2F for ; Tue, 28 Oct 2025 05:07:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761628024; cv=none; b=YD97nZtUstOfvNG6ACP9tHq7w7OWBxKT6+D8Im3assuQhSAbp8j1M9v/mzORXcHO5Ki6IVh4oMVKP4zwu868ImGm9kWQAtnsF/ByyuVH5Ql1kKjjQQ1Ufglv3tgwrNYjVJmK7WF7/8UnnK2ZJ9xSUp2aMEBB2htHjtUG7mU5AAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761628024; c=relaxed/simple; bh=7WS0GW5x6SfWasTVXVpP4R8gG91SxqEQc2K3YufypYU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=E5MQlrQ/b2FG3dfMdhtNKMJBTIIBxl0Rvvfxnl3G0iCVnvvDLWUlmxr0TtAmioTFAwTyuq3lEXR7pPcIeKmHdJ8VBHMIhYTQJi5C3yV41uAZOHJ3BbaHIJ68uzRoIbDgr6lT6x2bbQ+juoWJFeX/ec95A6Jllr9wtsdpS1V1iLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=n4xIB97U; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="n4xIB97U" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 59S3eHZm3165355 for ; Tue, 28 Oct 2025 05:07:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= MZNW1TFGtDAWcNhp/IoE4ZPcy7N00ZT6ylN3xTPhhGE=; b=n4xIB97U2mqcnhkU 6P5VQ680nYuUHSx4WyZJFu3ysqwpt53eRQ8DrqX3jqRyrNL36EJN+/CDWef59N7X Y0JookWEvHRpWEuPjg5mMwYtF3fKZghUYNSmibXPyGBwl6+ByAyess6X+KhSNk8s gELQfjF0aR8g0RKNWqrklLqhcvKAgteY0m8Dz6ZOnY7E77yclRr/YuE8ObqddpGC jwaM0LYqHwbKvWPtCV7cI5gs9bLpsp+JenjXIX5D1K+8b7uZgomAmIvaFN/QJb7n sMS6SrsGu7ejRLHV8lgyC4AVvYSa22bhWO3qBvoRsD1cZbAF2e12v8Y+IQYkWDCA x8bh8Q== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a2bwx1wbm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 28 Oct 2025 05:07:02 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-26b3e727467so24945595ad.0 for ; Mon, 27 Oct 2025 22:07:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761628021; x=1762232821; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=MZNW1TFGtDAWcNhp/IoE4ZPcy7N00ZT6ylN3xTPhhGE=; b=NhZkfEFtk4x1HaaCdQ7/TGARYha9lthXmxftlcndjDkEqVF8CEan5mJmognuZ7ht0U /uy4zlLzCmJn/EOpytPeY8nVUQ+8W2WuGy7/PpK0YeK1McbE4ZfAwcjeuyi0eMTSmXQX 4d6BkxFO2NxQIgiYrrqszWhFMZEwjEVbYXXSgMjtOCBk7TvoSGDTabURn29CIqc1xVwo t0qlIa6mqcLpELgibK3g0Kq8++3I11JGPAR0QmwvYh1eFPylDWmsEZW0PA73BH9OB3/W GNv2ZMwdy9G0eCnMw8STJU7HjlCDLUDYuKb7zeh4IeWpa+sLQBULTg/1gjPjeib3Caax hDzg== X-Forwarded-Encrypted: i=1; AJvYcCXLypnHw+RGJuj8wxhXRXtf/sgxFFV8ZPG+7wp8Uj4ALtIWoMxqC8+SF9kWR7pHOedIa1jcRrNc8CpCcuv+@vger.kernel.org X-Gm-Message-State: AOJu0YwO9a81/F07dx4vRJtjzEsvQ30kIkLw0AhEigaRHu+WAQBJvRZ9 ysyOCNQuOLRPg3Myg3DrBo7vv+Xbaaxk8/inQw910H7LrD21vlpJEG9iTkes0DO/5patHTxeIW3 QCgTwdqkZWkCEmWqtBaBnBqnxLlQEaM/knqCT2yxyFV2HzQosI81rvQ5tn00CSLXC9qzR X-Gm-Gg: ASbGncudUGGYaZ+0KbvUgxNmFaksuFu9FGv0wfdZkk21SSzFL6kZPz2y4K09NY+aNzF Stece6wQsvxKmNeXwrB61z+gaUEai7uirFOAlYRJcvQFzrEQzptGyQwxSHMV+k5UtYFmom5Y9bI WgyO2Igr4hja3vqmi3qIze5l9baOKpqX8xQDTgNBZAn5tYM7Y0dGW7Ix7IWoH7IfUBk7sA5l6wD GmjITX80ISog21ZmrdXLYOSPXLrEUIgT1C58uCMjvBb5AEGd7a2fdQA7x/mVGAk7BGAf73xMA0S NRcmsRckXJ2aRV+37Oz4kAc1OVvauD3gcyp718lR81+vfARIQZKtj+/QVK8Fm2ZblSxVHDmHTF2 5dPgiogL+2PhJNSJvKI+/eS02Nj5TA4auyF1kD8L+UPq6gj/5V97TRtm7VQ== X-Received: by 2002:a17:903:1905:b0:290:c5c5:57eb with SMTP id d9443c01a7336-294cb37baf2mr13570675ad.3.1761628021342; Mon, 27 Oct 2025 22:07:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIHYfyFAfOxSLKOcwg5AGIho0OEXAci87txVeGZ9/S1disJk2HryFaJBGudHTWVhJDhYB5lg== X-Received: by 2002:a17:903:1905:b0:290:c5c5:57eb with SMTP id d9443c01a7336-294cb37baf2mr13570515ad.3.1761628020813; Mon, 27 Oct 2025 22:07:00 -0700 (PDT) Received: from [10.133.33.251] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498d0ac07sm101578395ad.43.2025.10.27.22.06.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Oct 2025 22:07:00 -0700 (PDT) Message-ID: <207641b8-c272-46d5-a459-eb720a4b94a6@oss.qualcomm.com> Date: Tue, 28 Oct 2025 13:06:52 +0800 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 1/4] dt-bindings: display: msm: Add SM6150 DisplayPort controller To: Rob Herring Cc: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, fange.zhang@oss.qualcomm.com, yongxing.mou@oss.qualcomm.com, li.liu@oss.qualcomm.com References: <20251024-add-displayport-support-to-qcs615-devicetree-v6-0-c4316975dd0e@oss.qualcomm.com> <20251024-add-displayport-support-to-qcs615-devicetree-v6-1-c4316975dd0e@oss.qualcomm.com> <20251027152647.GA915648-robh@kernel.org> From: Xiangxu Yin In-Reply-To: <20251027152647.GA915648-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMDI4MDA0MiBTYWx0ZWRfX/E2b8PKWQa9u t8O0ayUv3J+QiZAmfk/Tj4IpNwOVZZt9aDZkwlp4qiPouvbmE9pPM1oKIjhL2KuCVnzM4KMg7qK 9wu4rokt8LONUdksFpmBex0AWysJuSCaLqEAX+T2wNGwJZNXHy4NUg5szPkpT0jomUKLcwiYlv/ LCcBdEQWV7bn7pRkK1epjc8MaGfwWaobTsZD4hoqeEd4ORgIRTs5x7d+zyS/Rec5SCgWApgBU6Q 66EYI2crPrk0yStO6kPsADM9Hr49P3cbuna/EaiA+TcD399MTulHnI/E5q/l51Z1nbKuNc8v8uf fYWJvhJNB5drUKYWg1o4fXrScgdPjrHxcXv3MWd25aWNZh1z1gwezWT1FfUu6FCCElFdtJIDQGu FA2FmHzZJgnZTIUVyL+mgJSGQPNTEA== X-Proofpoint-ORIG-GUID: -3xPpBtES5DP8udmxrQDDUFriss2Jb5S X-Authority-Analysis: v=2.4 cv=U9WfzOru c=1 sm=1 tr=0 ts=69004f76 cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=x6icFKpwvdMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=z2EatxdDDGNeVA2bIAQA:9 a=PRpDppDLrCsA:10 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-GUID: -3xPpBtES5DP8udmxrQDDUFriss2Jb5S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-10-28_02,2025-10-22_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510020000 definitions=main-2510280042 On 10/27/2025 11:26 PM, Rob Herring wrote: > On Fri, Oct 24, 2025 at 01:21:01PM +0800, Xiangxu Yin wrote: >> SM6150 uses the same DisplayPort controller as SM8150, which is already >> compatible with SM8350. Add the SM6150-specific compatible string and >> update the binding example accordingly. >> >> Signed-off-by: Xiangxu Yin >> --- >> .../devicetree/bindings/display/msm/qcom,sm6150-mdss.yaml | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sm6150-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sm6150-mdss.yaml >> index 9ac24f99d3ada1c197c9654dc9babebccae972ed..ba0dea2edea98cee0826cf38b3f33361666e004a 100644 >> --- a/Documentation/devicetree/bindings/display/msm/qcom,sm6150-mdss.yaml >> +++ b/Documentation/devicetree/bindings/display/msm/qcom,sm6150-mdss.yaml >> @@ -51,6 +51,16 @@ patternProperties: >> compatible: >> const: qcom,sm6150-dpu >> >> + "^displayport-controller@[0-9a-f]+$": >> + type: object >> + additionalProperties: true >> + properties: >> + compatible: >> + items: >> + - const: qcom,sm6150-dp >> + - const: qcom,sm8150-dp >> + - const: qcom,sm8350-dp > The actual schema will check the order. Here, just: > > compatible: > contains: > const: qcom,sm6150-dp My initial plan was to use only `qcom,sm6150-dp` with `contains` as suggested. But when I tried that, CHECK_DTBS schema check failed: ‘displayport-controller@ae90000:compatible: ['qcom,sm6150-dp', 'qcom,sm8150-dp', 'qcom,sm8350-dp'] is too long from schema $id: http://devicetree.org/schemas/display/msm/qcom,sm6150-mdss.yaml’‘ So, I have added all. > >> + >> "^dsi@[0-9a-f]+$": >> type: object >> additionalProperties: true >> >> -- >> 2.34.1 >>