Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp771532pxb; Tue, 14 Sep 2021 08:23:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDNlRhvh6d82TGM3K8OAh52niCP+ir0ST2YTusAfZjeEVFti/ya1asYVl5wXBBFPRL/lj1 X-Received: by 2002:a05:651c:2006:: with SMTP id s6mr15541888ljo.171.1631633034536; Tue, 14 Sep 2021 08:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631633034; cv=none; d=google.com; s=arc-20160816; b=h/sXBYwZlxDjjngsyIgtRQBjAVHBNtnahega+Wd7rc8kbzpabaG8/DgiklbXFDMCRF NzxHSgb4gLKPTO+vuNWIc0iMc27EnownD319Dh5gETrGW1xOOoMWY6UkONrXKtzdQw/8 UQwd07g0TAaQTVLPplLXQz26H+KJ0XRc4FR1yEUtgRr+ChYr/nvrNTWcoikT8RuA9BuQ gRp736vySKSG3Hd0rwOUU9czyNNSWzXqf4CXSreyntnRwiExYQFjOCqE3JVWC//kkt4G 4ReW/oxXBKW8ELNKZDf7p68C3sI+fF52bJ+RwhO2OH/dPYvlt8u/teYjPbDf2vcm2HHV xECg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=QKl1eFz5s4wchzYvbLXit39cZx43DGNKcPhQfyVjgI0=; b=RfEFM6LmLSsq8NF5gXIV9w7Q1iY17zDmhdAGLAa1yJ8RbnBUIKbAOSmlfs3MZ3hrmb S87eiXbtqR8WGKDNvVo4+bW9bnxFrCCRwajalmgnHG4876xcrpJrIK+Rd+MciBSdaseJ hM7P5X0ym3wUxBZz4eqA09WV20YbhD/udYKP0fVQDb/P6fFSaNlzaMRTEhBXkU4uz0Az cOQJOEYqeFhMSIiJrmSuRe4WNHGDo2ZFzRgRx5Xkf92KYvksx/32AzCBFQVAHnTRCWvg m6DVjpGL2VcEGaQxH/1uIUzcX7seZ9GOkudHcevqyUNKGz5Y+Qgc0uvQtrX3bNpLQy3V zkng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si13411184lji.263.2021.09.14.08.23.18; Tue, 14 Sep 2021 08:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234838AbhINPUY (ORCPT + 99 others); Tue, 14 Sep 2021 11:20:24 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:39559 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234418AbhINPTN (ORCPT ); Tue, 14 Sep 2021 11:19:13 -0400 Received: from stefan-VirtualBox.in-tech.global ([37.4.249.93]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9nEJ-1mVuoU0Kmb-005qyf; Tue, 14 Sep 2021 17:17:43 +0200 From: Stefan Wahren To: "David S. Miller" , Jakub Kicinski , Rob Herring Cc: Michael Heimpold , jimmy.shen@vertexcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stefan Wahren Subject: [PATCH RFC 0/3] add Vertexcom MSE102x support Date: Tue, 14 Sep 2021 17:17:14 +0200 Message-Id: <20210914151717.12232-1-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.17.1 X-Provags-ID: V03:K1:dRzwDf3j4cmeskC53//79LwiP6y4k5KUoq/lb3JfXIggv2RmtVO Fq5kZGc9BO7QNdmbT/yJSDbLDX4VF5YA20b+YKDTsLQotuwk0Pu0q9Bkos9a0Xn80fYNqq8 2Q1wzb6L+gkekLCs7GlBtU9KaQnr2je4+UISYKnPj2E4rQIr+pAAVOmViy58j/PXMj+5chz r+wEYk2phHsfNXMs3PuEQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lGVGEhB0dKs=:JDwuSPWB6wd/SsJG/7I6oB QnbNuIt4jNKHpThwgNQJrxw7y4xAC1iJ7d7tppaLc46qMkhOFV+GNzFaYXzFAIZHQbWPYCbsT 2JxzXptR7AZ0tpUlXNzrN46p7xgWwbCBB3ZilK5v/OGO7T/RQC2dHonTFnfP+EDuzQLe1v9N8 mb8zYa/quZQcMqcc/SdDUbq3UaArQMJut+s5I9sGS1wJv1jLo4W4tB28hw8lCgNIXCMKUZrJg L7MXDw8CLbF6HYaR4BzL8WMjwonVhjOJFCyPB2eDeEb3jbtF92/q5HjvFbflNt6YEzLIhPD07 vmUMPdSzVXPHzL4YwjFvBx1GDMQ8OBzgjsdGcVJXEExjK317R1OH5dMJSKlSy5D8eue9AXl0n vlrH8BP8dHolIR6whkNCphVYDvKWgoYJyhKgjXWknPHHGIFxwDQh3b2wkeg67+S6SYrbIk/Pu WZRIyA/aDq8AxTSACh7wSO0RIxHTY5MJPJbvzpqKKj+hy7fwIrKIOrixBH1aS4cRMX3NUUrHP bRph5KhpzlsLsfNl0K5nN0ppIep6YEMO/UYb0azk1ZA877nQYGYWVNevNppMymSWo1EdPZ4oC P7PbWEegNK5LOFUCObCyuPULxbG5XSU6WTdwn+sslrEoi7Ok8pwd9+vmN0OqeEIO7oSdzItkW gE+Y4bMbdXBW426VaodGHD/826GlCHTwET+zqCyDK+u6OqTElEc9PiP5nLWl+sWCp1laXOgT2 rPFQidYTYvtlVHHiwin3sP3oyDdI4um7eho1Sw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for the Vertexcom MSE102x Homeplug GreenPHY chips [1]. They can be connected either via RGMII, RMII or SPI to a host CPU. These patches handles only the last one, with an Ethernet over SPI protocol driver. The code has been tested only on Raspberry Pi boards, but should work on other platforms. Any comments about the code are welcome. [1] - http://www.vertexcom.com/p_homeplug_plc_en.html Stefan Wahren (3): dt-bindings: add vendor Vertexcom dt-bindings: net: add Vertexcom MSE102x support net: vertexcom: Add MSE102x SPI support .../bindings/net/vertexcom-mse102x.yaml | 71 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/Makefile | 1 + drivers/net/ethernet/vertexcom/Kconfig | 25 + drivers/net/ethernet/vertexcom/Makefile | 6 + drivers/net/ethernet/vertexcom/mse102x.c | 803 ++++++++++++++++++ 7 files changed, 909 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/vertexcom-mse102x.yaml create mode 100644 drivers/net/ethernet/vertexcom/Kconfig create mode 100644 drivers/net/ethernet/vertexcom/Makefile create mode 100644 drivers/net/ethernet/vertexcom/mse102x.c -- 2.17.1