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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F567C3DA7A for ; Tue, 3 Jan 2023 01:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F6eV9G7fd6u5kj4uFZSOZ34CJKlav+Sn3a3wVwLOq1w=; b=uJueG79R2MIkoJ vvmkeWpUyfWh0M2SwyjL3KsQu2n470VEz7n+uPZRYBR46salg3Wjho9NTd8g7c3a3eyIZzZq3G/oQ kbMuMhj7VODSdiFIsYR35sf45YZxzsgfF5BqVWjaDQYX6Z5i6qMj0pgK6hPPFFsG3yMRHSgbLtmWz 1xrOWjDAjoMqf6fzvWBJ/1vSZKlPZLBGnvhCAyrjnIzNW1mAJnjMD5wHtH9hR+VtgeqrWgxlhsDfe jugt9aKXT1aT06Fs0oL3Xq3lXxX6E3W60DEmpgPsoYbFqeTor5B36JlmhgIT0bw7yN6gzW2Ki3UkI i2H0FxYog4sKWgVLR/aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCVqG-00FVoT-80; Tue, 03 Jan 2023 01:11:49 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCVnu-00FVG9-9b for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 01:09:23 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CC9773200919; Mon, 2 Jan 2023 20:09:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 02 Jan 2023 20:09:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672708160; x=1672794560; bh=kH E08T4gTPodlZPGVapmZ0HQSfgCMhmZCAbX+vErrtM=; b=UyYQ7IlwpwAkOuo1HN QDKkchKl0wnktPq2cNwHZDz/BhriE4CQUKnW4f9locHk+hPipNeJieJhsnxP57be ZmQgMnnGleRgrVMPSkYDeLqrSdwV99GA3KD0A9ASuCnXHEkE/Hnds9WqfZv+d4hz cq/lCK28mpL8wesFvohvkC7I1F9rw77Ttt0pxN2yz154eZjAC77+V88d5Vx8wcJX kVtmIXQO6wx9DKmGn15Yg/WHkv+2SeImCsrq5lJV+iruBh6AasrFRCM2vLsq6QHZ PGvC/3W/7ZsxfZQ3q+LrKMBH0KIx5+69LSTRPOzB2MUPwbI1ujNAxuW3vAPUjXaH YA4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672708160; x=1672794560; bh=kHE08T4gTPodl ZPGVapmZ0HQSfgCMhmZCAbX+vErrtM=; b=EdxZN0apqAanSNtdkixjNQzRPslC8 IveKKh2SOhsJmhEnCcah95XZf55+fEphZb101Yf09BDfRB0Noqssfgcwl0tmDcHW /LO2op7yyEoHIlRWs8b9wdc5ceSH1qCkZzs9eyF5DEO51lBJPn0y371QVkQYeeQN eiMY91EpgtcWLUX9sz2aqzNQ7AokNAHlEmudb+M+KQbxFSchLsuQU7IdSCjGRM6z ATx5o4ccxIJocWWP4MQGusuzbKwoB8zkmReHw03AyYoVd1qtbKCV28jVmS9R1RFt g9GQ0y/BhlUffGtWYKlEhSg+8fCAsRLQDT666sm/wnoTRIgCU2iRwGLGQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjeefgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Jan 2023 20:09:19 -0500 (EST) From: Samuel Holland To: Joerg Roedel , Will Deacon , Robin Murphy , Chen-Yu Tsai , Jernej Skrabec , Krzysztof Kozlowski , Rob Herring Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maxime Ripard , Samuel Holland Subject: [PATCH v2 5/6] iommu/sun50i: Add support for the D1 variant Date: Mon, 2 Jan 2023 19:09:02 -0600 Message-Id: <20230103010903.11181-6-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20230103010903.11181-1-samuel@sholland.org> References: <20230103010903.11181-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_170922_431167_5201123C X-CRM114-Status: GOOD ( 13.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org D1 contains an IOMMU similar to the one in the H6 SoC, but the D1 variant has no external reset signal. It also has some register definition changes, but none that affect the current driver. Reviewed-by: Jernej Skrabec Signed-off-by: Samuel Holland --- (no changes since v1) drivers/iommu/sun50i-iommu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/sun50i-iommu.c b/drivers/iommu/sun50i-iommu.c index d19f6ce25f76..8652559a2ca3 100644 --- a/drivers/iommu/sun50i-iommu.c +++ b/drivers/iommu/sun50i-iommu.c @@ -1085,11 +1085,15 @@ static int sun50i_iommu_probe(struct platform_device *pdev) return ret; } +static const struct sun50i_iommu_variant sun20i_d1_iommu = { +}; + static const struct sun50i_iommu_variant sun50i_h6_iommu = { .has_reset = true, }; static const struct of_device_id sun50i_iommu_dt[] = { + { .compatible = "allwinner,sun20i-d1-iommu", .data = &sun20i_d1_iommu }, { .compatible = "allwinner,sun50i-h6-iommu", .data = &sun50i_h6_iommu }, { /* sentinel */ }, }; -- 2.37.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel