From patchwork Tue Jul 18 21:24:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 122245 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2018993vqt; Tue, 18 Jul 2023 14:27:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlF8IsMI8jpM3rvWc7f0/ufhgFR1UgjQusDNPfJPNiYFmH8w3WuIeW1FsRI7z2l8dHvt1/WO X-Received: by 2002:a05:6402:1347:b0:51e:5786:dcd0 with SMTP id y7-20020a056402134700b0051e5786dcd0mr914970edw.20.1689715636405; Tue, 18 Jul 2023 14:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689715636; cv=none; d=google.com; s=arc-20160816; b=VsH4BRJIGW4DHuAcc3I3UZ+pjHwkCzr9HjE+cKXZpNyZ6Sa9BjGw6bKrO+f0PQEIgi oIhatx1z/RBtVbFINnDj/k9ra1X6z3xDwF4tRWjVXXTE+AUfsSW8kn4DxkxL+LPM0mrP pFa4YaSpSFcEXTDc1G/puvVmAvHgO2SgvPXzVXuvdfG1p9GvNau8+axPmnb3n6XlUaIT xWG2AsymcIHrRPIW4F3KrOR3aEWR1cHbPKEM6kdAuffBEx3YcmK65UnWFkbTS5IjvFt9 eS1/aRjjXWgLg2+ILNtKf3Hftq+XTmpHcNtCriVYFadLwgAUHAvMbhp1IfnDWpX0mKUe 7g9A== 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=qJEaTDIMw1yriuh/uTrrxQW4dplkjXnokounlgnxkaY=; fh=XCLPd95NpP6a7nxU7Z41HcJNASq6E03t5OkjbIehthU=; b=dKwaJ5Vepg2mq+qYdidatjnlkjhqUGfojxK+Bj+u0kafdPx9FvrRKGu5sFNlPX4zPu kSUIpuyQFDwpAWMrUOuiwdkitO+OAcLTZieJclyLBmyQR3lo0gm8YYdwaJQDA/2LS7rt oWmsczWUEQts/7ko4pS2zMvpWNoawG/7H9tlT27BNkTDN7R6YghuMD4VPsykAsmaa5Sv C3jc+IXAgi2PxKnQFb82cM3a90SLn5B5uxYCEUI9L/0Ifr0sRgeRx/ZrSu7H9KlHq0ss jClsDHwE57hpO1Lyt/IxMjKiyeO9AgHK4IrJfe27wvnDnZqCCxynFlVmuYF8ew7Udx1g liYw== 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 w13-20020a50fa8d000000b0051da5fd4a05si1790538edr.607.2023.07.18.14.26.52; Tue, 18 Jul 2023 14:27:16 -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 S231404AbjGRVZC (ORCPT + 99 others); Tue, 18 Jul 2023 17:25:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbjGRVYz (ORCPT ); Tue, 18 Jul 2023 17:24:55 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [5.144.164.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FC641BC3 for ; Tue, 18 Jul 2023 14:24:49 -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 4FC423F6FE; Tue, 18 Jul 2023 23:24:46 +0200 (CEST) From: Marijn Suijten Date: Tue, 18 Jul 2023 23:24:42 +0200 Subject: [PATCH v3 06/15] dt-bindings: display/msm: sc7180-dpu: Describe SM6125 MIME-Version: 1.0 Message-Id: <20230718-sm6125-dpu-v3-6-6c5a56e99820@somainline.org> References: <20230718-sm6125-dpu-v3-0-6c5a56e99820@somainline.org> In-Reply-To: <20230718-sm6125-dpu-v3-0-6c5a56e99820@somainline.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , Marijn Suijten , Loic Poulain , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga , Rob Herring X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771795263330518174 X-GMAIL-MSGID: 1771795263330518174 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. Reviewed-by: Rob Herring Signed-off-by: Marijn Suijten --- .../devicetree/bindings/display/msm/qcom,sc7180-dpu.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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