From patchwork Thu Nov 24 00:47:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 25261 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3116418wrr; Wed, 23 Nov 2022 16:49:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf43+hjtERKzfsx0OeACeqKNnAJ5JTkrMZ0vVS89vxVg+4fZaE5BawAA3D5gC+pRVfZjbdih X-Received: by 2002:a17:90b:1102:b0:212:d76f:b9e6 with SMTP id gi2-20020a17090b110200b00212d76fb9e6mr38079770pjb.224.1669250941432; Wed, 23 Nov 2022 16:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669250941; cv=none; d=google.com; s=arc-20160816; b=GOYGsih7I1IFmckb3rdEMQaTemEmAFEjOrb5TLNwuiJHq10SG98KQAORlUOlOjL32Y hYhhW6VOZ4+n8se0mmN0aCo1jacSmHqZxYV8N0TBo3tPbN+c+ZE6a0kI3+/46kn/nnNg RBjt+RcFVr3h0o63DdwVK5lAyVUlmD0VIcVgimc/aMphiVXq/m7VYURW1I7QyYSTC0Bk lwPLG9FQ1X9KyaetseWEuzZKZkeTCf5jEX+NZXzZ7erKmDzgjx69cD6k+8+0ar98On0T EMDi6XTkaIoTUciY5n6B91fMLngbcSUf+EJlUT+bo2TfK0YOrA2t0/53+if8V5tiYszB gxsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2cozmslkV1HJ5ORZW/fLPcfuOLJG0p6+yjVrLX810OU=; b=stsmjxZfALFkGKWnyKGlKiY95RbZ/ItWySSU2nKpl+etvzrnRiH1OhhdVdaOgTmHpV ZzgUCT0+r/4FcUgk2vCjQxVhmvnoQCPATlQAb8SuyZStPHX63I3wYi1uxvpECbuEzjHs 30pCYEj+V4CzdMZZ3v0QOw+k6ByqCU3GoRsgNGMzoyYmuM4GrnBN5Re4bOn+DQo2JswW 788kYdPZboS0QmFul12LpKQJT02zBPmglNmLMX3t1lEo774J1UbgcMtFPskqj917bifJ Y1QlcjS9o25UjvrHgk2e8YRBot6Ukgl9s50hAY7cCTzg9EYePM2hvh9CPEvZyExDQIf0 iz5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCtYnaGX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a65694f000000b00476e63cfd0fsi18872969pgq.466.2022.11.23.16.48.48; Wed, 23 Nov 2022 16:49:01 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=NCtYnaGX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbiKXAsR (ORCPT + 99 others); Wed, 23 Nov 2022 19:48:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiKXAsJ (ORCPT ); Wed, 23 Nov 2022 19:48:09 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CF405C751 for ; Wed, 23 Nov 2022 16:48:08 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id v1so213464wrt.11 for ; Wed, 23 Nov 2022 16:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2cozmslkV1HJ5ORZW/fLPcfuOLJG0p6+yjVrLX810OU=; b=NCtYnaGXUXEow8dtZclqy6wSoHW85K/gfhLzqpZpmDmMdQoo/248yXtDpGkc6ehSnZ sMn8ivZedEl4QV1vWgjHsTIbzTlPrfYIFG8C8xPyLCp1O5t9J2846hsPEK2CO0zYeJ5z RGIcs3pUXwpyxo+cXWRDAtXMgWvotmj5veWReeqN0e2awrDi3TrHa9dGq2DkOte0QHt4 G/x6xwBW2Qc/kv6S3KF3PJ1OQeCRqryE3uchHFNTWFoeKwrtmKK4bzXsSR897nA6OaEj ruIhzRbUAEg4/ddzeOzGO7U3aaRMEBCmbondyqFXb9zOBvEe2BrX1Fmd5G4DXCdL3TmQ WJjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2cozmslkV1HJ5ORZW/fLPcfuOLJG0p6+yjVrLX810OU=; b=sLaGKgPVpgJWAQ7MH4TotYSa8QSa1mXNzOukW6wkTQv43vXv9QkR4GYTki59gw7ICs +gsWpkt4Ldyz9ydTR44ZyAhKBTHgjz3paAHtordoifoYqcVlJRh5rF3lGaotNikBfwTl ZSi18EaJ+uiECehKkUvlnE9xw2YoeaSSB/+32ZKl36GDw0qpiSgyOCzIiygLX/Rpj2SO Qz86oR1xPvOfZAkCOdIcnPszXHP8nMo53kI8sEgHntMSCy8K/PJGIqBvUlprO1CC5pCo MNfPqJleL82mCA5eCyMx63U198GkIhL5XFjhvWVlfLnh7h0iTkcMwj9L9lZWDg6bnve6 JZ+A== X-Gm-Message-State: ANoB5plAOvbxZPmsmfjKgBeUopJ9WRyhk4r3shkxYXvKx/k4gm8+e+rl 9XsIxj2K6VX+HnmTv7NQ9FN/Lw== X-Received: by 2002:a5d:5965:0:b0:236:7148:4b98 with SMTP id e37-20020a5d5965000000b0023671484b98mr18152044wri.229.1669250887071; Wed, 23 Nov 2022 16:48:07 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id n38-20020a05600c3ba600b003c6bbe910fdsm5245076wms.9.2022.11.23.16.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 16:48:06 -0800 (PST) From: Bryan O'Donoghue To: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, dianders@chromium.org, david@ixit.cz, krzysztof.kozlowski+dt@linaro.org, swboyd@chromium.org, konrad.dybcio@somainline.org, agross@kernel.org, andersson@kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, bryan.odonoghue@linaro.org, Krzysztof Kozlowski Subject: [PATCH v3 02/18] dt-bindings: msm: dsi-controller-main: Fix power-domain constraint Date: Thu, 24 Nov 2022 00:47:45 +0000 Message-Id: <20221124004801.361232-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221124004801.361232-1-bryan.odonoghue@linaro.org> References: <20221124004801.361232-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750336475035541728?= X-GMAIL-MSGID: =?utf-8?q?1750336475035541728?= power-domain is required for the sc7180 dispcc GDSC but not every qcom SoC has a similar dependency for example the aqp8064. Most Qcom SoC's using mdss-dsi-ctrl seem to have the ability to power-collapse the MDP without collapsing DSI. For example the qcom vendor kernel commit for apq8084, msm8226, msm8916, msm8974. https://review.carbonrom.org/plugins/gitiles/CarbonROM/android_kernel_oneplus_msm8994/+/7b5c011a770daa2811778937ed646237a28a8694 "ARM: dts: msm: add mdss gdsc supply to dsi controller device It is possible for the DSI controller to be active when MDP is power collapsed. DSI controller needs to have it's own vote for mdss gdsc to ensure that gdsc remains on in such cases." This however doesn't appear to be the case for the apq8064 so we shouldn't be marking power-domain as required in yaml checks. Fixes: 4dbe55c97741 ("dt-bindings: msm: dsi: add yaml schemas for DSI bindings") Reviewed-by: Dmitry Baryshkov Acked-by: Krzysztof Kozlowski Signed-off-by: Bryan O'Donoghue --- .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml index 27ebfd5ffb22f..cf782c5f5bdb0 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -134,7 +134,6 @@ required: - phys - assigned-clocks - assigned-clock-parents - - power-domains - ports additionalProperties: false