Message ID | 20230627-sm6125-dpu-v2-6-03e430a2078c@somainline.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8452340vqr; Tue, 27 Jun 2023 13:26:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53jfBwAgTxf0byZsrmdISk1B1BZJ75h3wun8uRCHIre3LPNsMQM4wCPeGhMZfsWULOzUio X-Received: by 2002:a17:90a:ab8a:b0:260:ea8f:613d with SMTP id n10-20020a17090aab8a00b00260ea8f613dmr13480298pjq.20.1687897615571; Tue, 27 Jun 2023 13:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687897615; cv=none; d=google.com; s=arc-20160816; b=ITZB23MM/tecpvSSQZhrAHE8gH/iAXRirWm/Lx5xI51nH49TwVxgMgOQeRiVLripPw g/qBVfhYprwcNxtpcrCFDaTk+Wgd/N5HrSofkv1Olde8D33gqvOocGOZRtuNnhTNSN6p KmISXOQ67RRfkhvhyHLqARxpfozEMNK+GV0uiHLf2o32Y06nsIwq5ts8IuGkTupbu3VK jfNi1YO3y3uLoDKd9ruPO1VtUmbx2C0NJSQatOtCvq7h6V29IsgwxqePx4U/Go2QAA0s A/sPa4Vhl4wQt9PGaZ1z9RAUWYN4PDFngX6nejbq4JfSRe8HpNYI9pp2xWawQeoSvZx9 3DRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=bV9SM78UW3R8aV5PHgdqxS9L1JdpOlVC/FZz9qFnqzg=; fh=pj9lVTD7zJGSjaLEKdvLb7dkz1RbGKHUxYpQTxVQ54Y=; b=wmqv1fMXXYRzES7htCpTo3g/RYkNO6LxkyfpYaxwSWUV0/xGjjp+LUVp/060octj/l Gp+Z4ZgLJ/y38o3ldvQkRRUPiJKOmAbhRDfooGbcMGMLxbOfHz60HPcDJ2RfXzFN/ITP dstQ8coHrgHKVT0BVjl4z99gwFVfDPV9jVdRSLWcuin3/vWSmpl1YvANFUNtSqyXi/ON B91kfoJmD3OsX634sBOlgIgIOrzxBrvwriHLVPuqXZKC4h/9eJkj7xM7Z74G8IZlnmiq 0AJUCQxXXIUWnHZOSVmJVPYydrnOkb5sXRxlJtliiaMQafcgPMRu/6wOKPOoX8Z9PbIo 1hEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j2-20020a17090a2a8200b0024e2afd72a3si7646963pjd.182.2023.06.27.13.26.42; Tue, 27 Jun 2023 13:26:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230416AbjF0UPP (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 16:15:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231137AbjF0UOf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 16:14:35 -0400 Received: from relay08.th.seeweb.it (relay08.th.seeweb.it [5.144.164.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1F62716 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 13:14:31 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 3E1AA3F767; Tue, 27 Jun 2023 22:14:29 +0200 (CEST) From: Marijn Suijten <marijn.suijten@somainline.org> Date: Tue, 27 Jun 2023 22:14:21 +0200 Subject: [PATCH v2 06/15] dt-bindings: display/msm: sc7180-dpu: Describe SM6125 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230627-sm6125-dpu-v2-6-03e430a2078c@somainline.org> References: <20230627-sm6125-dpu-v2-0-03e430a2078c@somainline.org> In-Reply-To: <20230627-sm6125-dpu-v2-0-03e430a2078c@somainline.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Krishna Manikandan <quic_mkrishn@quicinc.com>, Marijn Suijten <marijn.suijten@somainline.org>, Loic Poulain <loic.poulain@linaro.org>, Konrad Dybcio <konrad.dybcio@somainline.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Konrad Dybcio <konrad.dybcio@linaro.org>, Martin Botka <martin.botka@somainline.org>, Jami Kettunen <jami.kettunen@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga <they@mint.lgbt> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769888930073601007?= X-GMAIL-MSGID: =?utf-8?q?1769888930073601007?= |
Series |
drm/msm: Add SM6125 MDSS/DPU hardware and enable Sony Xperia 10 II panel
|
|
Commit Message
Marijn Suijten
June 27, 2023, 8:14 p.m. UTC
SM6125 is identical to SM6375 except that while downstream also defines
a throttle clock, its presence results in timeouts whereas SM6375
requires it to not observe any timeouts. This is represented by
reducing the clock array length to 6 so that it cannot be passed. Note
that any SoC other than SM6375 (currently SC7180 and SM6350) are
unconstrained and could either pass or leave out this "throttle" clock.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
---
.../devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
Comments
On Tue, 27 Jun 2023 22:14:21 +0200, Marijn Suijten wrote: > SM6125 is identical to SM6375 except that while downstream also defines > a throttle clock, its presence results in timeouts whereas SM6375 > requires it to not observe any timeouts. This is represented by > reducing the clock array length to 6 so that it cannot be passed. Note > that any SoC other than SM6375 (currently SC7180 and SM6350) are > unconstrained and could either pass or leave out this "throttle" clock. > > Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> > --- > .../devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml index 630b11480496..37f66940c5e3 100644 --- a/Documentation/devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml +++ b/Documentation/devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml @@ -15,6 +15,7 @@ properties: compatible: enum: - qcom,sc7180-dpu + - qcom,sm6125-dpu - qcom,sm6350-dpu - qcom,sm6375-dpu @@ -73,6 +74,19 @@ allOf: clock-names: minItems: 7 + - if: + properties: + compatible: + const: qcom,sm6125-dpu + + then: + properties: + clocks: + maxItems: 6 + + clock-names: + maxItems: 6 + examples: - | #include <dt-bindings/clock/qcom,dispcc-sc7180.h>