From patchwork Tue Dec 20 12:36:15 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: 13077805 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 305FAC4167B for ; Tue, 20 Dec 2022 12:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233561AbiLTMgr (ORCPT ); Tue, 20 Dec 2022 07:36:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233507AbiLTMgm (ORCPT ); Tue, 20 Dec 2022 07:36:42 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EF2511A3E for ; Tue, 20 Dec 2022 04:36:41 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id bg10so8620224wmb.1 for ; Tue, 20 Dec 2022 04:36:41 -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=u+Ok/Y8Pr2ds0xVbkzxTKyFSBfTt/36m9CaPlTa4hTI=; b=Ag1chGkW8b+L6VHPtMej8JYigTy4MJpq9bKbqyfbscX949mD/b1DQh1u7rZ0YUA72a DYpejL92sBjCMJ4cSf0UjL4aVuySRIE7A78VGq+pWP2agojIl7kKufLjRoEe7ADrrNc+ T1os/kTg5MJ4cmk/LcNEpRDf1f5M+09GI/YP99Op/Ep+1gVRzAhHxVrsxRFWis9LqBFY r8s8yjwoDnBT4w7dLISdmxSAU0FOTCgzrYkA8JVa00QpiF2MCO8/uOIlLG6w57ePuDwi buHZhv2+Rm+Juu4VhZf8EH+Jq7ANjWC2WupAosZk1GaSFuqvb9CRG6qgU43bPygym6i4 NO/g== 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=u+Ok/Y8Pr2ds0xVbkzxTKyFSBfTt/36m9CaPlTa4hTI=; b=x3HA6ieXbf2gAMoKVerQucsxk+hxfLF1UHcjZ3g4fCxygfbk5VsRYCmXQKK9NH13xM AIDGVrRVWgkbq6IS0sN+enGcP4MgsJnw1zRXhFYOg1OWIKP6E+o3gLHqmN4ViwoVRyvQ buQkwldeeINpwLaf2TDAtJ2mAaoBkq67LegJy/9Ti5zwpl0iGUTMJly8KyLwMzLG5lqd 4/M8qiF6UWrc3IxvK4MiWn2roH9FbEdAnUwDtCUnRdW4QSy3GhL6YewQ3afi8H+RUQoC MuQ8qknGCKW6nth/3JdN07HHKeu8gPj53V5WsdcAljAmpE3XlsF+ffSvbIcj3abtZX9x cx9Q== X-Gm-Message-State: ANoB5plzQFUlECMFRsJjqvInWJ3IuG8YcxYKf94V9cmrvTuYR7rA2TQ8 N2CRjQQU33MuNrJSnbggpvxLelYz6yC2YgS0Yxo= X-Google-Smtp-Source: AA0mqf4PxgQM04G2ksh2FXeAbW88jOU2n+w0+LzI66CabwqjcV7HzBb9OwQuhQwrv1iFoIAvaAAg5Q== X-Received: by 2002:a05:600c:42c2:b0:3d2:24d2:d02b with SMTP id j2-20020a05600c42c200b003d224d2d02bmr25615593wme.29.1671539799584; Tue, 20 Dec 2022 04:36:39 -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 da13-20020a056000408d00b00242257f2672sm12641208wrb.77.2022.12.20.04.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 04:36:39 -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 v5 02/21] dt-bindings: msm: dsi-controller-main: Fix power-domain constraint Date: Tue, 20 Dec 2022 12:36:15 +0000 Message-Id: <20221220123634.382970-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220123634.382970-1-bryan.odonoghue@linaro.org> References: <20221220123634.382970-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org power-domain is required for the sc7180 dispcc GDSC but not every qcom SoC has a similar dependency for example the apq8064. 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 55bfe1101d6f4..8ba61fef576a5 100644 --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml @@ -137,7 +137,6 @@ required: - phys - assigned-clocks - assigned-clock-parents - - power-domains - ports additionalProperties: false