From patchwork Thu Jul 23 16:24:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 11681287 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D3FE913B4 for ; Thu, 23 Jul 2020 16:26:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 AC8FD206D8 for ; Thu, 23 Jul 2020 16:26:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eCm3ROR8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="DIrqI/Il" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC8FD206D8 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=zt5Zi9/N1eeA2jM4CprY5Zb3OJ/ao1+z5GC4T6Xh8oo=; b=eCm3ROR8Gbk50NkP9zJr17KTmA uRnMXmS8qjBKIoI/CWAwhF/IRwFBRPvOED6y54/xfNqqVcmyFkAxpp/jlb0ssUN+Uy3vXG42R+x0h wQRCd88QqMlG7RzAa2yTkGCbbUkgV6p0bAyRLLbaPDSB5MdMjZLS465cgc8dOYkUqp9w6EjzPHhpu 4s6BCnbKcgdqsd9PE0phANpab/FKGdSSCYGx5hKqkVWFpSLkPhELAlUh/rW43tKOLPLEaNRzsRv8z gFt0qawdCQOgtSTT/jutRvGzujarZS3hoL4PQQ++JQ4L/D6A5aug2OpOlllF6wKsA64jdhA4LI0sz 3nRrMK/Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jye21-00038H-8y; Thu, 23 Jul 2020 16:25:17 +0000 Received: from esa2.microchip.iphmx.com ([68.232.149.84]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jye1y-00037I-5w for linux-arm-kernel@lists.infradead.org; Thu, 23 Jul 2020 16:25:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1595521513; x=1627057513; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GmZjKvHA4i9aKtLNXB0oUxh93lHYoeSrTMVIgaJmzgU=; b=DIrqI/IlvmgMuPmoIL1kDKsrTd3NFuGOs5LhLRDI1r/R57Mf8KFX3KFf cnO5I73V/fpXZC9OBjSS+Rszi1VW8a/rVFuSCO+oIceSKAknmyC3Ewfqd GOxTa0r/jUbxUf78jdGAoyGptE2DzO8fVJQcVbWUkPpiAeK9agpJEOHc2 GpgFi8dpgF1O42swebK1P3abO6Kr6Vw9eg9b+dc/H6BsS/eFsapw78Wa4 PeMfO1mT7Hal8jiUBe0+x/0ISXsteGjZ3dCucTnIeFT76Z6PCXQVIe4BC uyoswU+t7tOCPD5gyN590hQlZC9OnrdQ2wwihFcVtelMMRls0R0x7adRj Q==; IronPort-SDR: PvTi7/sNZx75j3/s3VVK8G+NM+DWXFyea4Wrj9IzWNWCBatfNfGZexU7y5Y+WL+MslZCtWSKVm cuSe+JQlGNXrU0pwSEpt4GvLG8PjzKjZRt3sUBIpwy2UqqR9CCB4/LqZl3Sks0i6VfItk2OPE1 xfWw+OrJCo/laauNB6OVDghPjuZ37jb84AmNVRBcwAsGtz9JahvWZMIxYKrr6UkXbpuadg8c3K tFBUjFl18N61LdFt1/nXNJOGAMXKTbh76brU2vsVslJvlfIfCSK8eHgUbKx/bJRekeCJNkMQqO BEY= X-IronPort-AV: E=Sophos;i="5.75,387,1589266800"; d="scan'208";a="83016633" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 23 Jul 2020 09:25:12 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 23 Jul 2020 09:25:12 -0700 Received: from rob-ult-m19940.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 23 Jul 2020 09:25:08 -0700 From: Codrin Ciubotariu To: , Subject: [PATCH 1/3] ARM: configs: at91: sama5: add support for KSZ ethernet switches Date: Thu, 23 Jul 2020 19:24:32 +0300 Message-ID: <20200723162434.1983643-1-codrin.ciubotariu@microchip.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-20200723_122514_429248_585C5FE6 X-CRM114-Status: UNSURE ( 8.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.149.84 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [68.232.149.84 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, arnd@arndb.de, ludovic.desroches@microchip.com, Razvan Stefanescu , Codrin Ciubotariu , cristian.birsan@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Razvan Stefanescu Enable DSA and KSZ9477 support as modules. Ethernet switches are used by the SAMA5D2-ICP board. Signed-off-by: Razvan Stefanescu Signed-off-by: Codrin Ciubotariu --- arch/arm/configs/sama5_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index f688443fe7bf..123b95c1447a 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig @@ -49,6 +49,7 @@ CONFIG_IP_PNP_RARP=y # CONFIG_INET6_XFRM_MODE_TUNNEL is not set # CONFIG_INET6_XFRM_MODE_BEET is not set CONFIG_IPV6_SIT_6RD=y +CONFIG_NET_DSA=m CONFIG_CAN=y CONFIG_CAN_AT91=y CONFIG_CAN_M_CAN=y @@ -80,6 +81,8 @@ CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y # CONFIG_SCSI_LOWLEVEL is not set CONFIG_NETDEVICES=y +CONFIG_NET_DSA_MICROCHIP_KSZ9477=m +CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI=m CONFIG_MACB=y # CONFIG_NET_VENDOR_BROADCOM is not set # CONFIG_NET_VENDOR_CIRRUS is not set