From patchwork Tue Jan 7 14:34:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 206055 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=ham 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 921EFC33C8C for ; Tue, 7 Jan 2020 14:34:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6237B222D9 for ; Tue, 7 Jan 2020 14:34:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Ylxjn1iF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728327AbgAGOe2 (ORCPT ); Tue, 7 Jan 2020 09:34:28 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42277 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728308AbgAGOe1 (ORCPT ); Tue, 7 Jan 2020 09:34:27 -0500 Received: by mail-pf1-f195.google.com with SMTP id 4so28682941pfz.9 for ; Tue, 07 Jan 2020 06:34:27 -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=oyhzAHfoljmVmjnkI9lNRmSbLeJffd7zCPcm12fwKsY=; b=Ylxjn1iFB6Nsv1iNzIrG39vSWDowFcpsxBInwnIrBFTeoOmWvlZ05SEwLKIEfxAv78 Wf76kEVdIZIdWo1+aJjvrOwwCe7aPRrm4gJUVlA7fmqYMbd44+qb9oNsDlJzGZelIGod m8/j8ZamcQuywlsabrSQvqsGXU/2I4gn4l8q4= 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=oyhzAHfoljmVmjnkI9lNRmSbLeJffd7zCPcm12fwKsY=; b=bdwbkH9houfqEqrXskmJ2ZLzqkAIiStyAEBMk5tJEotZEj1vA0UYgLfCgrCxU3WM6p 9E9Y+Fbm6bgyTTxEZidPahvikAqxLBFhV9JJHKfOg1Q6/3jttVySRp7Fy+TgVXUbq4wN 0oqAtuAawRvNCB7JdhpkOmzsFvxOnIRx3R4e49Tkv3EprGiMb0FLoajRvHiPy1H9B0UB 4q6xC5Qhc57+zjhksdJhh1k0uo1tYnpMoe+CqNUsdKbvIaW3sZubZBQPflT5tUfFXVyH ffqpOI5em+9jkp2N5cFJKGQrOYnqmj6TF5gvv98q81qLs/sOadvTQ7g7XZOSi62A09/w H6qg== X-Gm-Message-State: APjAAAUNRwHDLC5RDZFeWo3CiSYg2x6mo+Vl+UpXD7+qvlG+WrwxuUEE Tpwl7ZzobMhBWO+4e0Ib1ppeSA== X-Google-Smtp-Source: APXvYqzNSykcM6yoTNp/9hwi45skb77ZtLlkW7Napf7i3caLd9iZ2+B/ZPvi2kG2lFbcs84V3l7Mew== X-Received: by 2002:a62:1552:: with SMTP id 79mr114424104pfv.156.1578407667283; Tue, 07 Jan 2020 06:34:27 -0800 (PST) Received: from acourbot.tok.corp.google.com ([2401:fa00:8f:203:93d9:de4d:e834:3086]) by smtp.gmail.com with ESMTPSA id a19sm28594808pju.11.2020.01.07.06.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 06:34:26 -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] arm64: dts: qcom: add Venus firmware node on Cheza Date: Tue, 7 Jan 2020 23:34:02 +0900 Message-Id: <20200107143402.122455-1-acourbot@chromium.org> X-Mailer: git-send-email 2.24.1.735.g03f4e72817-goog MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Cheza boards require this node to probe, so add it. Signed-off-by: Alexandre Courbot --- 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..35ba65cd9822 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_codec { + 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..7b913688cc6d 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_codec: video-codec@aa00000 { compatible = "qcom,sdm845-venus"; reg = <0 0x0aa00000 0 0xff000>; interrupts = ;