From patchwork Thu Oct 27 13:40:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 13022183 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 506BCECAAA1 for ; Thu, 27 Oct 2022 13:44:55 +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: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=jjKY8LVL3tLyUkCsbGGGrkMBvxIDWu8NXJh53q9bZXw=; b=XZP2GH/DHcs50k X48opxQxBqwDUJXHN3cIbd/DiDixqlQYN1tBOaxBPi2z1gwAPEG1EAzJvST/vb56baa4ejxlothAE PJSanMOzVFuL3KseKgbxrsudqFpA8BCC5CsivbBuzYbtmGGC8QdwsUjRNs40UTmVZ1BoHb22WX+bm kM4A/b0JQmV5ZOMwLWnjYRyz0qVRYe5qUkXHDqv3wPEqsmAlSGqq4kl7dIFAegk4KhNGh+Mhmg8dF Ku4aVeb67NM0tlyy/sfDevemRNa+WFACLXnFIej9hFBjectj2rwQRi+cAiFE9e7IaNWBas0I1pNkL NhgX1p9vlFr7cYHz9HcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo3Bm-00DerL-Ln; Thu, 27 Oct 2022 13:44:54 +0000 Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie6.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo37E-00Dc2B-Bc for linux-phy@lists.infradead.org; Thu, 27 Oct 2022 13:40:13 +0000 X-IronPort-AV: E=Sophos;i="5.95,217,1661785200"; d="scan'208";a="140602794" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 27 Oct 2022 22:40:11 +0900 Received: from localhost.localdomain (unknown [10.166.15.32]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 2E37140083E4; Thu, 27 Oct 2022 22:40:11 +0900 (JST) From: Yoshihiro Shimoda To: vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda Subject: [RESEND PATCH v3 0/2] phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8 Date: Thu, 27 Oct 2022 22:40:04 +0900 Message-Id: <20221027134006.2343164-1-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_064012_548034_9D5BF24D X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org (I resent this patch series because an email address was wrong.) This patch series is based on next-20221027. Add support for R-Car S4-8 Etherent SERDES as a Generic PHY. Changes from v2: https://lore.kernel.org/all/20221019083449.933005-1-yoshihiro.shimoda.uh@renesas.com/ - Rebased on next-20221027. - Fix examples on the dt-bindings doc. - Remove unneeded variable in r8a779f0_eth_serdes_probe(). Changes from v1: https://lore.kernel.org/all/20220922051645.3442321-1-yoshihiro.shimoda.uh@renesas.com/ - Rebased on next-20221017. - Rename the dt-binding file. - Fix the node name of examples. - Fix Makefile. - Modify the initialized procedure for all channels. - Add commit description about the initialization. Yoshihiro Shimoda (2): dt-bindings: phy: renesas: Document Renesas Ethernet SERDES phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8 .../phy/renesas,r8a779f0-ether-serdes.yaml | 54 +++ drivers/phy/renesas/Kconfig | 7 + drivers/phy/renesas/Makefile | 1 + drivers/phy/renesas/r8a779f0-ether-serdes.c | 416 ++++++++++++++++++ 4 files changed, 478 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/renesas,r8a779f0-ether-serdes.yaml create mode 100644 drivers/phy/renesas/r8a779f0-ether-serdes.c