From patchwork Wed Mar 15 15:43:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Travkin X-Patchwork-Id: 70284 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2405928wrd; Wed, 15 Mar 2023 08:52:54 -0700 (PDT) X-Google-Smtp-Source: AK7set9XlvdMJzGexfl/IXsVxXS5KTjbpg1zyVcP5PaNkOfr81RuGFm3GuTZXduOQ40JkX6E569G X-Received: by 2002:a17:90b:3908:b0:23d:21c9:193 with SMTP id ob8-20020a17090b390800b0023d21c90193mr351985pjb.2.1678895574349; Wed, 15 Mar 2023 08:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678895574; cv=none; d=google.com; s=arc-20160816; b=RwowGDBzqFxZdb3rUFlXkEHgJXa5n28TSqw8BLHAtZ302hHa19t1RJQF/KhMOnT6+4 RDT0Gv6wDgIIJrAI3uQDo/jMQFy0KALtfzXeW+Zsva9oJswkx5nbPPbhY690qDYc+gf+ SLoYSE35bfKHIwpt9qKDAp7Rdr3DniVdGZgliC7QvhgXt7uGGRO0w4qZIEgaR6IJ0vMA W8/kgsD8Tt0xbQLOBbhhsCnyIw/MOp1rYaKQaEAlPjoC4hhRdx8Yy15dlG3OpVCElLQV lk1pTZ71FNsBaPX7lqYyoo6qhfCbC918WwpgJrOOQKh9SS8zH994w2JM1MPg7Em+ad7W ZscA== 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=gDPQsqdZD3N9I4qHSNzR2HfoNc2B4lqFEl6+yjevqUk=; b=w52HY6UQRcco/aN9Sy1gUgpiFchOLKVv+24YSZZkswj7iuycwirs7/XqsMx7+X8Mem 1kbzWNVMjrcnzmJF4OGPK+TlRzXRntrXX1AzMjVMtqWnIAynbwJjBmx3MiEe2U7g9/Wj ve/ftvpt/gZDOXpjcRt/M4Ayt6DFgbCWuAXogxiMlhw7hZw8XTG2fuKTJznCiPjk6zIV dLIMZ1vTcTYKue1OO6yaiXrFAVplDjxpxe671fgi3knJmPGqTM7vWpBu/2mX2rzTMJLl Emo7yZxG0il/kfkK4IHMdxHQcmiYnEiayMMTqZ10d5TDqmwnY3jXxRMBLqP3vqcq9vHU yQMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=IrA+D0Vt; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca17-20020a17090af31100b00233ecd0e71esi1958822pjb.81.2023.03.15.08.52.39; Wed, 15 Mar 2023 08:52:54 -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; dkim=pass header.i=@trvn.ru header.s=mail header.b=IrA+D0Vt; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232619AbjCOPn4 (ORCPT + 99 others); Wed, 15 Mar 2023 11:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232361AbjCOPnq (ORCPT ); Wed, 15 Mar 2023 11:43:46 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C2107B124; Wed, 15 Mar 2023 08:43:24 -0700 (PDT) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id 8F98D41853; Wed, 15 Mar 2023 20:43:20 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1678895001; bh=xX7EYL7wXsayPKP8zgaIQPK4KiM6Req4Uxirxf+cywE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IrA+D0VtP03Lkdms5G5i3OsiTMFo6u+dGSV2HyZ9KX1oFjuc0Z6To2bSIOvMkYu/H o8r4rCbqfZAIP11oSFE3v/tnwpmOp3sTZu8dguT8G+liUKqVvgG53XUCuq0Z8ZNZk2 m1bqQ0ydAL2LWb+QV4XHTkrwtL8R0L180ShSPPZ8md05F3pfQXXhQXVS8amUo7k5bO QRgJpJbxTble8Mdc5aXMrRBmAzSTZUVkzznF7t+xhuRiv6Ba/zHgD+46U5jHptF2My Jpuiv2jGdK1RKw5IRIW+HN6Bosfi1a6Vsnq8Tm8nUrsaLuza/0uY8mxshNLgCB3XSM KWpBbfRAxP9+A== From: Nikita Travkin To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nikita Travkin Subject: [PATCH v3 2/4] arm64: dts: qcom: sc7180: Drop redundant disable in mdp Date: Wed, 15 Mar 2023 20:43:09 +0500 Message-Id: <20230315154311.37299-3-nikita@trvn.ru> In-Reply-To: <20230315154311.37299-1-nikita@trvn.ru> References: <20230315154311.37299-1-nikita@trvn.ru> 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,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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?1760449605749079729?= X-GMAIL-MSGID: =?utf-8?q?1760449605749079729?= mdss is useless without a display controller which makes explicitly enabling mdp redundant. Have it enabled by default to drop the extra node for all users. Signed-off-by: Nikita Travkin Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 4 ---- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 4 ---- arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 -- 3 files changed, 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7180-idp.dts b/arch/arm64/boot/dts/qcom/sc7180-idp.dts index c3bdd3295c02..828c8b55d925 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -339,10 +339,6 @@ &dsi_phy { vdds-supply = <&vreg_l4a_0p8>; }; -&mdp { - status = "okay"; -}; - &mdss { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 26def6e12723..e72d49a3d97d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -818,10 +818,6 @@ dai-link@5 { }; }; -&mdp { - status = "okay"; -}; - &mdss { status = "okay"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index f0de177981f9..4ee64ee824b3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2983,8 +2983,6 @@ mdp: display-controller@ae01000 { interrupt-parent = <&mdss>; interrupts = <0>; - status = "disabled"; - ports { #address-cells = <1>; #size-cells = <0>;