From patchwork Mon Nov 7 23:56:38 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: 16770 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2373032wru; Mon, 7 Nov 2022 15:57:38 -0800 (PST) X-Google-Smtp-Source: AMsMyM4dhAtLpxuwpT41pS+yUN72d9jqshTOvniYlOmFIs4Nay1KAYGAfDEJwaCEaRsoSaPE5nmC X-Received: by 2002:a05:6a02:28b:b0:439:19d6:fad5 with SMTP id bk11-20020a056a02028b00b0043919d6fad5mr46640354pgb.591.1667865458116; Mon, 07 Nov 2022 15:57:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667865458; cv=none; d=google.com; s=arc-20160816; b=LGW3UGD9vgOiLIgz+9JCOw3vogApekIymSeCVO/5QvIxfbJWCq00Ke165au/hwlZGJ hhVCqRxuW95kGYLDA8/dcJrP5WPm+fxfz2ekR25rsphZ5+Mrb/XwpP0SqtkoiilRzTVm SP66syxuPgdehZ4Z0uNluQ3Aa9upI6XTeEvtr4+ioNI9jh1InzK+FdCehNyS+qNJ/I23 OsBKx8LoaGZC2T7YFRyoTo0yQPNj8dd9a7Nb+fyfV1g2gl+PUtdIDg+ajYY4afPVOeWy n63TckWOm94IfdaD3AUmwF7MikrfdtKfKTXzsRbjV79B0u+pfqcybeECvJ7CVdIPrynt 6UwA== 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=cGZG96v8cqz0v6+uEmiwdHlinvJUjde03wda6QbENf0=; b=OAWMAQp3N2AelzOy6mP/TKlpROq6nQT+jS5veUIroePutEyWWkp71RRn/e/Z4TO3K3 Hwf/klpbLB+AePkp2lXhLThrK5JPApCZQNMnlPzljjH8WaLKBTzQXKeC4bItD1mRlOQr Cp5LFWd8rayz/22VT0JPExjAW0QMRhIf/hvW7BofXxsWYMEfBPrPZdRqeKPaTShYqY8l JoLnHnDtSVKVFbY4iXW7kPlL4xSWpaT5Bur6YXkmMaXZhQAT0/+n71ne91D15Abx1kaJ x44AM4SmQqy8fuEBfPJuEMZHWU1IGk4ECUu9fwx8dZzkyOFGKKAtdSomSh2mYNLpZciR ZUBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QEGO01dj; 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 lx17-20020a17090b4b1100b00213cdfa8abasi13940470pjb.173.2022.11.07.15.57.22; Mon, 07 Nov 2022 15:57:38 -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=QEGO01dj; 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 S232706AbiKGX5H (ORCPT + 99 others); Mon, 7 Nov 2022 18:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbiKGX5E (ORCPT ); Mon, 7 Nov 2022 18:57:04 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14D6927176 for ; Mon, 7 Nov 2022 15:57:00 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id l39-20020a05600c1d2700b003cf93c8156dso6573071wms.4 for ; Mon, 07 Nov 2022 15:57:00 -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=cGZG96v8cqz0v6+uEmiwdHlinvJUjde03wda6QbENf0=; b=QEGO01djriBqoKxzJ2ibVdcEexNGpvy2oGh2bKckK11kSgma5ioa9nJerlGD/uP6YG 3tY+s9/fo8hCbW7/HUc+8lfdqauXsxKm+Z67xvM2xxyD3BQTDHqJKbJjQEl/EJQPuMgJ 5F/plRZ17atZZDd+s5h2iROyOkSF12h+DsarrDCexPJlLxe+k2nQV2siBIrlOyi2+E9t xCM+oq5z5naoZ1YV0hVa96EfXCfbhhONOXcIXguNUcSi7k+ZS3+N882EAR0blgp+yP1V Er/SOD/Lh5GsmWqCVE/BBQ3QOmjZ3L/1Axl/kYyvmWp15eUf/xMJZXWz8WA8/mHIH6pb V5Zw== 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=cGZG96v8cqz0v6+uEmiwdHlinvJUjde03wda6QbENf0=; b=WD0LaPvlgLyUEjhkYW1r6tQTc7LvAuRdUCm3BlbXVp7jXDg/u8ryT2p/TOeDPcCV2H j96hUlUYb6ksccjgJrqzpWosphrlQli070wZ4Jbkn5lM650sV2/ToXW13W3tmFDtbBDl VpYbiMQhPOUYbjQJSBJnb/ifjEdoKo97EadwRH5JxfzMRUpcwo5hAjzFgWA0/1s5VT+D I0kl7vvtoaStEhzx54iXodwnf4e98q89zC2V1Hfp5TleYyLVy/LRU/7JC6/AbI5ye0uI UZ2yS5uUudgIuTf+qkZQTgDoH8CvH4AI6UNRL/rBQtL2mhGHcPc8jiYq9QsQxsUUVBuE qIIw== X-Gm-Message-State: ACrzQf0EviyF0D8tT/2qwsXjv8Ut/HDsaKe0a92WV+caIH8vS2uKg8LS Vh3SqSgWXHSpAZhp1HMQKd/LAA== X-Received: by 2002:a7b:c341:0:b0:3c4:552d:2ea7 with SMTP id l1-20020a7bc341000000b003c4552d2ea7mr35599801wmj.82.1667865418625; Mon, 07 Nov 2022 15:56:58 -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 b18-20020a056000055200b00236545edc91sm8386161wrf.76.2022.11.07.15.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 15:56:58 -0800 (PST) From: Bryan O'Donoghue To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, quic_mkrishn@quicinc.com, linux-arm-msm@vger.kernel.org Cc: Bryan O'Donoghue , Sean Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/18] dt-bindings: msm: dsi-controller-main: Fix power-domain constraint Date: Mon, 7 Nov 2022 23:56:38 +0000 Message-Id: <20221107235654.1769462-3-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221107235654.1769462-1-bryan.odonoghue@linaro.org> References: <20221107235654.1769462-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?1748883690148393450?= X-GMAIL-MSGID: =?utf-8?q?1748883690148393450?= 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 Cc: Rob Clark Cc: Abhinav Kumar Cc: Dmitry Baryshkov Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Bryan O'Donoghue Acked-by: Krzysztof Kozlowski --- .../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