From patchwork Thu Apr 6 15:06:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Travkin X-Patchwork-Id: 80310 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1103255vqo; Thu, 6 Apr 2023 08:15:18 -0700 (PDT) X-Google-Smtp-Source: AKy350Z/EUlqUaeD3zBC0CrfCnoV7o2heLt8dpG/l+d5Q54DKwRCCbYBvyMHNNvvyhYS36UQMxB5 X-Received: by 2002:a17:90b:4c85:b0:23b:355f:b26c with SMTP id my5-20020a17090b4c8500b0023b355fb26cmr11795251pjb.23.1680794118051; Thu, 06 Apr 2023 08:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680794118; cv=none; d=google.com; s=arc-20160816; b=hnsLq1ZbnpY8fn3C/tx70LQt8qEECSzvVXK43Y5Mom5pUcGueruQGlu07k9tqWySr/ CyiN6KyXRJAP5bVwIp+EsXVNhEYk+8eHPEO6TP9glKc5t1R6Cn5HioW+6D9rQX1GxirI qEH/UTVUqXwj9MYoOxxLl5POPIXQReQWIm+m5d8JEq19+43ac3ltsRqVc3YMwjmv7Lq/ gkuZHjpvIo4MhPWsUbVOmZOz4zs5hjVSGFLmmcU+1Y9SgQQOY3gKnVRVVemP7latfTyZ OTRNRxxgtju/6h1wfamhcHV6sI1dTVfsyd6Js0UeMsXRmYVAgZ7WecIcOplYZzom4/WW y5RA== 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=bSyThqtsB54XtJMFjZhNzFBcsUwnAarsLHA/EpwO2Pw=; b=sFUbDzg5pWxMYmbrKjyT2gyxtglLVUWW4ygDkhDPN4aM6K6DxrUfSQRz22cub5/WmX Xj/nCmBtTxUSUy3IZvkDlKHcJjm/zoExj8dhmirT/gAHob8dDN5hFhk07bxbOmrSoLwI KJjqT+VbagY38fTcD+qEARNWsdWQ8uTMA/Q1gmStjEc4d7W9rJNtvaE7DmBzss5Eyhct mie+LzJzfhUgyYBs3JS4SxCCtKZkv08ddeWsPswseoxoYbfhSSz+yNzQOeyeWXpCxLe3 p9xD6SqWVktXmjxEO9mYIopw/SQrC7RiHKdwVMqqlaBoaUXfRcEEodHblP57NxuKsJCW hMPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=NEY+IJ+7; 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 q17-20020a17090311d100b0019926d9c734si1955333plh.602.2023.04.06.08.15.04; Thu, 06 Apr 2023 08:15:18 -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=NEY+IJ+7; 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 S239599AbjDFPHW (ORCPT + 99 others); Thu, 6 Apr 2023 11:07:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239527AbjDFPHQ (ORCPT ); Thu, 6 Apr 2023 11:07:16 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6456DAF11; Thu, 6 Apr 2023 08:06:58 -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 415B448FC7; Thu, 6 Apr 2023 20:06:55 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1680793615; bh=t2Au1NFulgtj3JUVd+q3OVyUhu9F/G6xYLSj/GEnDns=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NEY+IJ+7eXoC0jZMmiGq0TQ9WQduR2N036HkYL/PvYinQOJ0r3dbxy5KdyhXZ27lO XF3XQwp6DaYDzedOiVkY2lHEtUz3lO0B9n46HNzNAs3zUbNmgBM+47O8vAqpnRyJm7 ydgwTaTseivUddNBgkFCUu5vnIsiKfc+g4BcZVuI/AxotXB2/0zXw8ZarPKGv7LXT2 Uxa1bW1eVEXYP0VMBwE3bfMW0Smit8K8L7LKIGqSgMp2owT/YYkevbeeXgGTSDjNmt jDHjdHdtn0jfEkFOS+pynw4tWdRD0T5QR9DmarFs7+0at2SxaFxfm2LGmDNISnWreg pVmpSDdbMkpbQ== From: Nikita Travkin To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, quic_srivasam@quicinc.com, judyhsiao@chromium.org, mka@chromium.org, dianders@chromium.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 v4 2/4] arm64: dts: qcom: sc7180: Drop redundant disable in mdp Date: Thu, 6 Apr 2023 20:06:31 +0500 Message-Id: <20230406150633.83351-3-nikita@trvn.ru> In-Reply-To: <20230406150633.83351-1-nikita@trvn.ru> References: <20230406150633.83351-1-nikita@trvn.ru> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762440372762409418?= X-GMAIL-MSGID: =?utf-8?q?1762440372762409418?= 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 fcabbc6a897f..292aed241839 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-idp.dts +++ b/arch/arm64/boot/dts/qcom/sc7180-idp.dts @@ -334,10 +334,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 6f40301faa1c..13e4a5045fdc 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>;