From patchwork Mon Oct 18 09:15:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12565433 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 C2875C433F5 for ; Mon, 18 Oct 2021 09:16:03 +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 82D81610A6 for ; Mon, 18 Oct 2021 09:16:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 82D81610A6 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=uJgjcvMI5i0YrvyaHBRfTyom/xHkMeSWS1aiGrOgQU4=; b=rVoFU+BHupIhf1 1AM4ww1XqB2dYP44L6eXrTl07PIi/VoRRbFl7LOal8evkdehZAiHAT1ESUHEAL/LESjdzIcqNUSjp SJ2rW8NRifoM3lYlrOkgQljqTwG1SzIDlvt5yvBr3Sm7EIsly2pn70riecyuN3Mr6rZuUtLkcoS/l UrNUEaUZz2T0cf0CZCftoJAUenilIfvCE35q3bCQaGn+ptXN1qjBcTBb4vLnL+FrTny3cUcRAJPUV Xj0OzXit230Wh5fhaczA7nWLUJqh+r9j7cgCY+fGgSka3wFs7xxEg0abcp7T7hMGztdOvbEtXBlvo la5xJGvBPO6XyEZ8BJxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcOjG-00ElCf-JQ; Mon, 18 Oct 2021 09:14:46 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mcOj9-00ElA4-S7 for linux-arm-kernel@lists.infradead.org; Mon, 18 Oct 2021 09:14:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634548480; x=1666084480; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=EthqdF0WURJPQ6gp/6rS+J0VsWkJfQK9X5QrE1WEVvQ=; b=2caXobqP5YGrq2MKxjzkyyMRUtvbWgIB9BXGnyALbMfOgkJlagWBEE32 mFW1iN23gUWSz7eH0b6mY0yQnbVw5MLVE1tzgPdfVQJn33w35fUkd8Qbs MKu/cNt/ydJxpgbL3wZJV/bbxwyLNtLgY7xWcnBQ41RW9XSaNE/RDxMCe aYzTLSRQDhCjTcCcYMimtDXvj50r4nrXrRe108iZxYPbYFxyjXY9JCft9 MKx+nOVjV7pjzU3pWR/UZ0QN7wOr5BNBGwkOPfCyEuqnQqaH5YTJDPyCn KCUUDE6TiuO/bOrXJRx+ej0m8Lv4INsZmc6T8a0JIK6v1HdZqJww7ygaX w==; IronPort-SDR: fU1Zkm+QLxHdXUDXySFWAQT6nwL+7OmoP8pVj440pQSQsK2B+vpMyFTR3wxdnpfG4cl1RZcLvj squ2J2VWWtWPAPIAAU6hc2pPnUxpfhVIYpNFvZ78rzdjpXisPFZfsYbBfi67re8LTjL0dlwT9v jhJ7hSZzdRuh//HH0+9L5vA5c0LrznSjQUN8W661lfJ7NMbew3J5at2cG+dYdUaFiksziR00+2 epCL5kPuAK9eBJx/z7lDgXVIuhnLlSmx7vXYH+SZvDhfjOFgXTQ3piP0mpjgDvZMOUy/ElgrTZ tD9s0N2kaUP5TjHeKCPDJ8xQ X-IronPort-AV: E=Sophos;i="5.85,381,1624345200"; d="scan'208";a="140706368" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Oct 2021 02:14:39 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Mon, 18 Oct 2021 02:14:38 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Mon, 18 Oct 2021 02:14:36 -0700 From: Horatiu Vultur To: , , , , , , , CC: Horatiu Vultur Subject: [PATCH v4 0/2] Extend Sparx5 switch reset driver for lan966x Date: Mon, 18 Oct 2021 11:15:20 +0200 Message-ID: <20211018091522.1113510-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-20211018_021439_949253_7FA32EC8 X-CRM114-Status: UNSURE ( 9.34 ) 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 v3->v4: - drop all the changes regarding the phy reset. - use enum instead oneOf in dt-bindings 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 | 4 +- drivers/reset/Kconfig | 2 +- drivers/reset/reset-microchip-sparx5.c | 40 +++++++++++++++---- 3 files changed, 36 insertions(+), 10 deletions(-)