From patchwork Wed Jan 8 03:26:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 190742 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA829C00523 for ; Wed, 8 Jan 2020 03:26:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EE6A2080A for ; Wed, 8 Jan 2020 03:26:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="YfjvWjsa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726145AbgAHD0d (ORCPT ); Tue, 7 Jan 2020 22:26:33 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35712 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgAHD0d (ORCPT ); Tue, 7 Jan 2020 22:26:33 -0500 Received: by mail-pf1-f196.google.com with SMTP id i23so896001pfo.2 for ; Tue, 07 Jan 2020 19:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1xOSp/kO5RUHbhgM95X1/1jyAywCmLEOyBUx87fFFtw=; b=YfjvWjsaaKSbVwMhWV4e2o2UhVmKdwk3YsOZGjWpCogvoGsPWrQNsyJorRN6s8wfgN A85ZEmclMJYvt2/41/sVuGiUkdi/SXwXQY6qW7HuF+q9QkWp2hRZRITST6+4z4vW9W3c SONMWPY5/FwsyIQDvtO00HuOxmyjd1HOhKXis= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1xOSp/kO5RUHbhgM95X1/1jyAywCmLEOyBUx87fFFtw=; b=BBHx//oOO9SvXgnv88b/8YtUQ1ezYip1ncLqDfkj1hIvn2AwDOQgEIW8cZGx1E2Lum +4lih3Gx49Jmo13h1JbLR1MvyA/VNKhLUt/7jBwX/svQh4OFT1wVmkJ3SfvaKMTL6JlL +3xykNeRW0Mu3ykl1Yl8V9d3ch7exDsmuOp7QnbJu1i5cC7jTZG+8o99yEXulwXIhlh6 zONac3rUbcALkBDbNdX/Irb+Qi8boHxkIgpHCJkZt2Zx3lHjvhg7NjeM2qDWwMxLXaC4 HUjENsPypaLpL01JftzJ09YbgaRjlevGgGvpDQ2d9uI+OBBMd5UO66PtR4O0nPTZBIl1 0v5Q== X-Gm-Message-State: APjAAAVlQ1zPPOM/LnsHOSGXKPYQbS9ps7qN+GJ1qHurCfoot3Oe4V2+ 9JomsPehs8m5p6jj1DQvJQUIGg== X-Google-Smtp-Source: APXvYqyUT6VsXxCtYuElv5Y3o6IQMdGzsPCyousxOHbeS/ntlyTO3M2XSD2NtvvArGznvirU2k991Q== X-Received: by 2002:a62:3086:: with SMTP id w128mr2755138pfw.58.1578453992605; Tue, 07 Jan 2020 19:26:32 -0800 (PST) Received: from acourbot.tok.corp.google.com ([2401:fa00:8f:203:93d9:de4d:e834:3086]) by smtp.gmail.com with ESMTPSA id 80sm1056157pfw.123.2020.01.07.19.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 19:26:31 -0800 (PST) From: Alexandre Courbot To: Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Courbot Subject: [PATCH v2] arm64: dts: qcom: add Venus firmware node on Cheza Date: Wed, 8 Jan 2020 12:26:23 +0900 Message-Id: <20200108032623.113921-1-acourbot@chromium.org> X-Mailer: git-send-email 2.24.1.735.g03f4e72817-goog MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Cheza boards require this node to probe, so add it. Signed-off-by: Alexandre Courbot Reviewed-by: Stanimir Varbanov --- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 6 ++++++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi index 9a4ff57fc877..8c2e3aeacac4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi @@ -1279,3 +1279,9 @@ config { }; }; }; + +&venus { + video-firmware { + iommus = <&apps_smmu 0x10b2 0x0>; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index ddb1f23c936f..8f1d19c5a098 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2567,7 +2567,7 @@ usb_2_dwc3: dwc3@a800000 { }; }; - video-codec@aa00000 { + venus: video-codec@aa00000 { compatible = "qcom,sdm845-venus"; reg = <0 0x0aa00000 0 0xff000>; interrupts = ;