From patchwork Wed Oct 13 07:38:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12555135 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 1B93BC433F5 for ; Wed, 13 Oct 2021 08:57:57 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DC43161074 for ; Wed, 13 Oct 2021 08:57:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DC43161074 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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: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:In-Reply-To:References: List-Owner; bh=fp7c4qESPUOXiqoPBv3uYynfz+oGHOSDuewecqW8R7c=; b=2N0ySeAO9czQUk SBwqU1M7mOu56UrjxywfF0tOkUK+HXGqIp9/ZqdroPdfBrDLflSJrzboEEriXXYcAq/GPNwO216WF YP2jk7vrIp1heL/wUB0WgIdr7ua1NJYM7BhcylIt+iCmSvbYyhl/S/ZrB9aNjm2OO8PoHQvxiE3QS eg2hRCifN6qv7nHNBEndcWC7oiMnSPRx6Hmby1v1Lkqqmehi+oGFE4MJGFN7oJpf2uJzNtS713Dd9 65J031JYL8T0/AZYeUkZU1YR8SLJ2ZyLQY88CMzH8Gsj4o47Q4BsJL+F9yBrfeCIEZIw8fD2gsSdg spkjaDiDH+jNEkaz1I4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maa21-00FfRw-UC; Wed, 13 Oct 2021 08:54:40 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1maYoc-00FOnF-3q for linux-arm-kernel@lists.infradead.org; Wed, 13 Oct 2021 07:36:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634110601; x=1665646601; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=e35QBy/Nqe9ylZ3RnAZciYD44FsyH163wDVKXigV+iY=; b=U/C7ccCUMmNxiu1iyBgnKO6gzhjhg1VxInl8AAsZJGH4kKJNatmvHsBv FX3MFXqtdjBmLgqEs37Dcsry1V5u4WyhwKY3HUmqKU1rnu/v56Jnw4Nbv KDWmU1twFWzF3DHHlH5asWyTxuEX6fclkh7RcK/UC8MBw+AfUTrKGRUDA YxyAzUuyLxTx4SuKBiu/QEHbqenC3qhpf4gVy1zjXEw0LuTNOTiH3xSWz 3AHK6qEt1dtfx0SLF0DLX4dsU2xHsERF10+wm+Qh6cCZ8rj5gP/ORskGh MNN0aqPHWCFtAJMvXmmPsXJDyJayaLptZXyjDV7+QNGt9RYslB0RW6zif Q==; IronPort-SDR: YqsXxA8KmfXPnYvm60pzrd5WkM6pI7C+dSXCPb70cxS3GCfdi5YrPwncoaJFD34bV/OnSpO3V0 vXJko/802wqzEivnEoWSLqweGR3wEPn/yuv/majApj2KTpOYwvkJQTJwQ+4gESnQIlct1D1jh7 pO7R+Fn+/TLAGdejEzhs5RFo0sS2RVyFyTvNd/LSldkq8ewMmQLpHRuEzP+HZuE92HfFblv+f0 7/g+egnUAY9ZdNfn2GOIQSb2gSgPDKJz7JkIsYsgv9MwZPGNMydEUQZXK1czcwTDvi31rVauHu YOskR8tozuhOgCzpB+nlW4W6 X-IronPort-AV: E=Sophos;i="5.85,369,1624345200"; d="scan'208";a="132818364" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Oct 2021 00:36:40 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 13 Oct 2021 00:36:40 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 13 Oct 2021 00:36:38 -0700 From: Horatiu Vultur To: , , , , , , , , CC: Horatiu Vultur Subject: [PATCH v3 0/2] Extend Sparx5 switch reset driver for lan966x Date: Wed, 13 Oct 2021 09:38:05 +0200 Message-ID: <20211013073807.2282230-1-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211013_003642_280947_5895FD40 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch serie extends the Microchip Sparx5 reset driver to support lan966x v2->v3: - rename variable reset_gpio to phy_reset_gpio - rename gpios property in documentation to phy-reset-gpios v1->v2: - add reviewed-by tag - extend driver to be able to release the reset also for external PHYs Horatiu Vultur (2): dt-bindings: reset: Add lan966x support reset: mchp: sparx5: Extend support for lan966x .../bindings/reset/microchip,rst.yaml | 14 +++- drivers/reset/Kconfig | 2 +- drivers/reset/reset-microchip-sparx5.c | 81 +++++++++++++++++-- 3 files changed, 87 insertions(+), 10 deletions(-)