Message ID | 20241014124636.24221-7-herve.codina@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 7D164D16268 for <linux-arm-kernel@archiver.kernel.org>; Mon, 14 Oct 2024 13:55:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=jyXjSeqKBZyL71QqcutV8ArwuYnG2LnYxkOoexou8f4=; b=R8l1sIMkshZJUXD1sDKSL4hkzV O+N49MbKCqm4rdAkIEKPQWP0NCgUvg99EMdctVMwvcKl1FKte7ZUal4FCbotRYGGYESRKQsmOggGz V4B69Pe8eFn5tQ7O1GhwTmjLmJprT//LYZ3k8/wDQ3OBy6JxjwnFJN+dMs9dlfOqJQtkXBcOfU2iT MhMhEBBKelREgZdVmV6MsnoDqiUU+5+C1MKFdypXG4oQTk7cZgOh48PhIgGs8peFPTt/F+Yr6cHn/ Ct4RMTIedYID1GqiIIP+mk5YicGWOsxqB+qE+r20kUp0eLBDTPum+MtOSEaVYyga4pxMa+P7FqIR3 kDAP5N6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0LXF-00000005N8X-3Ngu; Mon, 14 Oct 2024 13:54:57 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0KTV-000000057qD-0TKs for linux-arm-kernel@lists.infradead.org; Mon, 14 Oct 2024 12:47:02 +0000 Received: by mail.gandi.net (Postfix) with ESMTPA id C3560E0004; Mon, 14 Oct 2024 12:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1728910019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jyXjSeqKBZyL71QqcutV8ArwuYnG2LnYxkOoexou8f4=; b=UaeVhZSMOLqXf3943rottRZjFgBaSRTpNrforsOsAFFOc3ODMYV5tMOHBMOG0W7XFnRa3+ eMKoopHwpv0cDfHK8p9jHM3aF3tLVNJHNV2tbmT9aE7rHRFF+bbdIODXxbD9gUVe7pu64r LQNA+dPu/TdAYqOp0ib5JZ5cxwEr5Uh3olHieteGw0vJzuH5hwCiHjBiXDabJCR0Qpa23Y w5HLIZ/F5VoWd4asTi8eXdt6mg8lFV0P+6sfZnOxM0nfANQ4FrPKG654B6Fftya8yJknms 3LbKeCOoFd5aQfEUw9Utod/bYMOx3gTx3mu6hlRc9XX0jjDpUoeLIBf8DNAiUA== From: Herve Codina <herve.codina@bootlin.com> To: Geert Uytterhoeven <geert@linux-m68k.org>, Andy Shevchenko <andy.shevchenko@gmail.com>, Simon Horman <horms@kernel.org>, Lee Jones <lee@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Derek Kiernan <derek.kiernan@amd.com>, Dragan Cvetic <dragan.cvetic@amd.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Herve Codina <herve.codina@bootlin.com>, Bjorn Helgaas <bhelgaas@google.com>, Philipp Zabel <p.zabel@pengutronix.de>, Lars Povlsen <lars.povlsen@microchip.com>, Steen Hegelund <Steen.Hegelund@microchip.com>, Daniel Machon <daniel.machon@microchip.com>, UNGLinuxDriver@microchip.com, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Saravana Kannan <saravanak@google.com> Cc: "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Horatiu Vultur <horatiu.vultur@microchip.com>, Andrew Lunn <andrew@lunn.ch>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allan Nielsen <allan.nielsen@microchip.com>, Steen Hegelund <steen.hegelund@microchip.com>, Luca Ceresoli <luca.ceresoli@bootlin.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, =?utf-8?b?Q2zDqW1lbnQgTMOp?= =?utf-8?b?Z2Vy?= <clement.leger@bootlin.com> Subject: [PATCH v10 6/6] reset: mchp: sparx5: set the dev member of the reset controller Date: Mon, 14 Oct 2024 14:46:35 +0200 Message-ID: <20241014124636.24221-7-herve.codina@bootlin.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241014124636.24221-1-herve.codina@bootlin.com> References: <20241014124636.24221-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241014_054701_308105_1CD871DD X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add support for the LAN966x PCI device using a DT overlay
|
expand
|
diff --git a/drivers/reset/reset-microchip-sparx5.c b/drivers/reset/reset-microchip-sparx5.c index c4cc0edbb250..aa5464be7053 100644 --- a/drivers/reset/reset-microchip-sparx5.c +++ b/drivers/reset/reset-microchip-sparx5.c @@ -154,6 +154,7 @@ static int mchp_sparx5_reset_probe(struct platform_device *pdev) return err; ctx->rcdev.owner = THIS_MODULE; + ctx->rcdev.dev = &pdev->dev; ctx->rcdev.nr_resets = 1; ctx->rcdev.ops = &sparx5_reset_ops; ctx->rcdev.of_node = dn;