From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64F37C433FE for ; Fri, 12 Nov 2021 13:12:50 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E1B16103A for ; Fri, 12 Nov 2021 13:12:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1E1B16103A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E21B8400CC; Fri, 12 Nov 2021 13:12:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A14vA4HngQ7t; Fri, 12 Nov 2021 13:12:48 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 7773440145; Fri, 12 Nov 2021 13:12:48 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3BBE5C001E; Fri, 12 Nov 2021 13:12:48 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4E927C0012 for ; Fri, 12 Nov 2021 13:12:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E5E53400CC for ; Fri, 12 Nov 2021 13:12:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mqyehORkuwuj for ; Fri, 12 Nov 2021 13:12:44 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by smtp2.osuosl.org (Postfix) with ESMTPS id 89AFF40145 for ; Fri, 12 Nov 2021 13:12:44 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id u18so15441583wrg.5 for ; Fri, 12 Nov 2021 05:12:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CD8KrErZHm2h0/ca8/KMvKQBC9npkDaLuOssn3ZYFLU=; b=WhgOPku/sJMt9I096l9adybmV45TCPeL5vYAMvumDuf4XLqQEQi9ByjZiWFvBqTb/T wePpQAZ9se+qWnxsOuElDdl6LSU2Pmm/Hsx4ehCuASikRcdDMES66ADfcFgeDaXPo/1m NlemVs7zbsTktVJmPRxljAF/CJDRceLKE32XC/DE7ff9YWSIZYTpde+P7zdto7OJox0e R/Mj2i0dNGUh4x0odLrgMPSAkdPsbpOoJibLX2lJFHF36z4/AYL59dxm6Aly/tIYunmC PSCN9o6jR6ab2bOdT9vgECNbEH9vKUZb5bDwpf6lpdX+sTpUYDXv/pom4HT33E0gRioZ kh9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CD8KrErZHm2h0/ca8/KMvKQBC9npkDaLuOssn3ZYFLU=; b=DuNaANS39nfe9WrYIa7Rb7CLpVgtOKRxxjYa4A5JD5sWch+k1/oaOT5wI52ZVubA1k GlQaQFiiD2o5XBD3AzVXzG9K5yc5NOZq2wcikoD1U5VF72hMKE8SfejJk3Zl/rPGT9PG cEyKsGkf84eG82jKld8b6HswsqqL1l+PzqRWjzFkU47Za8fHYoz6klINsocCha4KVM61 0zHMTpjn0iD38bndIv6EaGhb62rNqu0FAtuCJaSdBMhKWhK2fdDAvH/HzPGEWvo6RMYh ZRyFVRLzHdYXfOd8/6+kjtVGhRBexEaLRieDxXq2nPPAB0LTWD0LPrV7rK7xauBmAIzF TElg== X-Gm-Message-State: AOAM530WZlYCnHbUqNY/C3+6687JF73XNdQ9o4BsVQl0dDLULGY3p3k0 HfFtMEo6jxM6sDM5YGZnxxY= X-Google-Smtp-Source: ABdhPJzobwIYLFkRU9Zi7ARLqvfIYTYsPB7tVqy3KAjMnKkoqWgxe1N4kFQxuKkmGCazsQHjw2/KwQ== X-Received: by 2002:a5d:68d2:: with SMTP id p18mr18611547wrw.21.1636722762864; Fri, 12 Nov 2021 05:12:42 -0800 (PST) Received: from localhost ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id x1sm5665416wru.40.2021.11.12.05.12.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Nov 2021 05:12:41 -0800 (PST) From: Thierry Reding To: Joerg Roedel , Will Deacon , Robin Murphy , Rob Herring Subject: [PATCH 3/4] iommu/arm-smmu: Support Tegra234 SMMU Date: Fri, 12 Nov 2021 14:12:30 +0100 Message-Id: <20211112131231.3683098-4-thierry.reding@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211112131231.3683098-1-thierry.reding@gmail.com> References: <20211112131231.3683098-1-thierry.reding@gmail.com> MIME-Version: 1.0 Cc: devicetree@vger.kernel.org, Jon Hunter , iommu@lists.linux-foundation.org, Thierry Reding , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" From: Thierry Reding Allow the NVIDIA-specific ARM SMMU implementation to bind to the SMMU instances found on Tegra234. Signed-off-by: Thierry Reding --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c index 2c25cce38060..658f3cc83278 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c @@ -211,7 +211,8 @@ struct arm_smmu_device *arm_smmu_impl_init(struct arm_smmu_device *smmu) if (of_property_read_bool(np, "calxeda,smmu-secure-config-access")) smmu->impl = &calxeda_impl; - if (of_device_is_compatible(np, "nvidia,tegra194-smmu") || + if (of_device_is_compatible(np, "nvidia,tegra234-smmu") || + of_device_is_compatible(np, "nvidia,tegra194-smmu") || of_device_is_compatible(np, "nvidia,tegra186-smmu")) return nvidia_smmu_impl_init(smmu); -- 2.33.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu