Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2553254pxb; Sun, 28 Feb 2021 05:13:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfAEeCtVSZVCNamjcKYzqg20WVMkEOVCXPYXsSztikzVz6R8gJjnbhgOStuCxhpeDCM/E4 X-Received: by 2002:a17:906:13c4:: with SMTP id g4mr11747393ejc.390.1614517986592; Sun, 28 Feb 2021 05:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614517986; cv=none; d=google.com; s=arc-20160816; b=W/ckp+7TFCAosb/7JCv4+yCNq9SwzufLdepqmaO2+VCQz5vAh37/IFcSFWKXg9Sprf 9IM/RDp1cXwkT4INlyuYhGdnBfGpNP6XUAUaW97hc/bu++mjxnAuLva+NiXm0BJSvlBs cjYeMc7JamSm1Eg4lh7rHlPPnUZoXCs84Jm22d7kFy1XF6yXdSuI0A+n15CojN3njiFX N5tsuCNVjAwGAcyARgUqbbQUDhLs0e4lYb1sTEXdV7I8Gh6m27SmFMFyS9T07XQkQ+m6 DwJHJapC7Die8GlK+MaWOuH0GQzvZa62LYQtpizQUNQAICnu/r+GaUSwZKAgD2eTn3NN iOqA== 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; bh=FSpN+ip3GcTTvqRVd3QjKKjbBuo+Yl5zE661XL1NBX4=; b=AsRb1qSesWH3vsM3R4fX+YhIqpiGP7P2I3TmF7EhJewIK4Sg230HNsnowSCEENmmAp 0e9s/9/ncSyqQ2BJtRypbmSx/n7U+hNU0bQ7gl38LQTCPZQOqpRDMkMTibbb0KlZIAWt zlPi5kdQ0AJLEHBHK/VuY0J7WlYCxuU5jQm4WLN+N6XD5JhWgsXeEWVdvV+iIRxTXLcZ RaZqTL+mybyQ8wsQ1eirHJH64ko2duqpS4arCfn1S6QhK1kK1FtfgHd3G6W8qjFsvElq XJtMDXjUwU16s+DkxZfJ+WWAScavdhROXo+LeRS7zlmq9poRUprp6GszuALH3hF1Ndzs s0iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n2si10316478ejl.444.2021.02.28.05.12.44; Sun, 28 Feb 2021 05:13:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230075AbhB1NLl (ORCPT + 99 others); Sun, 28 Feb 2021 08:11:41 -0500 Received: from relay03.th.seeweb.it ([5.144.164.164]:41985 "EHLO relay03.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbhB1NKJ (ORCPT ); Sun, 28 Feb 2021 08:10:09 -0500 Received: from localhost.localdomain (abab236.neoplus.adsl.tpnet.pl [83.6.165.236]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 2C2DB1F568; Sun, 28 Feb 2021 14:08:54 +0100 (CET) From: Konrad Dybcio To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] arm64: dts: qcom: msm8996: Disable Venus by default Date: Sun, 28 Feb 2021 14:08:25 +0100 Message-Id: <20210228130831.203765-7-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210228130831.203765-1-konrad.dybcio@somainline.org> References: <20210228130831.203765-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Disable Venus by default to allow booting without closed firmware and enable it on the boards that didn't previously disable it. This commit brings no functional difference. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts | 4 ++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 63c7cd0ad2ee..e6ef76971c31 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -1093,6 +1093,10 @@ &usb3phy { }; +&venus { + status = "okay"; +}; + &wcd9335 { clock-names = "mclk", "slimbus"; clocks = <&div1_mclk>, diff --git a/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts b/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts index c6d7c6250de4..8c7a27e972b7 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts +++ b/arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts @@ -391,3 +391,7 @@ &ufsphy { vdda-phy-max-microamp = <18380>; vdda-pll-max-microamp = <9440>; }; + +&venus { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index e0f042cf8295..d557fd5b9f82 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1624,7 +1624,7 @@ adreno_smmu: iommu@b40000 { power-domains = <&mmcc GPU_GDSC>; }; - video-codec@c00000 { + venus: video-codec@c00000 { compatible = "qcom,msm8996-venus"; reg = <0x00c00000 0xff000>; interrupts = ; @@ -1655,7 +1655,7 @@ video-codec@c00000 { <&venus_smmu 0x2d>, <&venus_smmu 0x31>; memory-region = <&venus_region>; - status = "okay"; + status = "disabled"; video-decoder { compatible = "venus-decoder"; -- 2.30.1