From patchwork Wed May 13 13:56:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagar Shrikant Kadam X-Patchwork-Id: 11546411 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 4277F1391 for ; Wed, 13 May 2020 13:57:36 +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 3F9E92054F for ; Wed, 13 May 2020 13:57:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eGoYoljj"; dkim=pass (1024-bit key) header.d=sifive.com header.i=@sifive.com header.b="Rberk0n0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F9E92054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Type:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=auhdIpVykeScLQHtqjvP+FzHVlmWZFx4SFd13kL/vhY=; b=eGoYoljjoNtwKhOY5CCUF6EB+ fdnJ/iWDWlKvMFDVVay4fhLKEtfNTvYkobj1FXRV5NrlOoCrolsxf8rh/NBoM+qIieqPXB/apAJyo ACGJWVjDCUR7sjUvo95OG2oxPiuIGPltUX+yAAHv2QODvap3KzP+itKMXVPwGEYnue/eun2O83CSl 04b4kV2V5MDy9cEeAKqw3AQ+dzdl+MAwczDugPBfpwKEmMnGCiyNr9/0tf3a9/C1ep62RynjjJxrj A+YJK9OkqqjNjE419tdlnSA4J2xN3RMNxBUb+0U9tiPYXh9Pa3/oYl+gAqy9lhBVrIBjiw+1pDeRJ xaq0McIlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrt7-0003Ao-1D; Wed, 13 May 2020 13:57:33 +0000 Received: from mail-bn8nam12on2058.outbound.protection.outlook.com ([40.107.237.58] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrt3-00035g-NE for linux-riscv@lists.infradead.org; Wed, 13 May 2020 13:57:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S358/DB/ZOUBusqauJ3U0wjWj1sIRrWYlpTahrs4aU975R4O1ksdf09JkWIhhrHuy0Nq6HmNkzxxXRBzPwWl8Tk9WbtcaqmU6TcFv8p9R8G4A1QzcibfE6B1WGqqbLOUJithkXXI8svfBF2ZiXMhArYbSxQTrRJEHWZVetZtcsJrRynS2FedYVl8PXsMQFmr+Z5V2B6xkdTDNIdyt5laywCca1ljJXrxVhjJqF+1uyV6s48Ho+UwEBuF6SNCm6GgCBEfBmMVKFUv8nO6NRDSV3WVzym3f025ODiXEQgpuXjLMNmUTIPCxdyp8QseVzhwa+N8ZFDuLEjytu2lDj9dhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=auhdIpVykeScLQHtqjvP+FzHVlmWZFx4SFd13kL/vhY=; b=anNNytamQ60Uyourwmz2tYoLFhxxiHnANFC5G/0mJsTyupat8hkWPwkOvgaATzA7dKmmndiHcgvwOhLrlCqTpdyAmm5QG0Z9njjpOa/g1F+LXuoMGbxldh+SvuzDJm4LyTPs8JIdJCbKWhN4eNj09xGcAY28y2d8ENU5dRzcDxMbhFXasQpeoClHf16xsVzAxXZuvYJlcso7g8vb3LB418wl/eBhVguCxn9VHvC0P9mNKjVyJzJv9dhqaMACugOUfRvG8QcuGLxKBqWSlVSlyhEGp4xTTmYCJMO+U0QEMql3jyvNCtb+o0thIEfd9WavelCAeBLf5b9no0kM0Ny+5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sifive.com; dmarc=pass action=none header.from=sifive.com; dkim=pass header.d=sifive.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=auhdIpVykeScLQHtqjvP+FzHVlmWZFx4SFd13kL/vhY=; b=Rberk0n07JJ7Tls0rOrU6bo2IBo/6ruBbEp9aLS7gG+CFAYzDykMzIxiwxjBHBAxkuawucpWXTvEA3g/Q0DLVu8133Ngq//04pRzUwBg5/Zy6mQ/gi7JIVK5ep/vpxvP6YQfRif8J7ySt38GyRhDQGWZQzAXPNVwR/aSU4Qi5dk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=sifive.com; Received: from BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) by BYAPR13MB2279.namprd13.prod.outlook.com (2603:10b6:a02:bd::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.6; Wed, 13 May 2020 13:57:24 +0000 Received: from BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6]) by BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6%7]) with mapi id 15.20.3000.013; Wed, 13 May 2020 13:57:24 +0000 From: Sagar Shrikant Kadam To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org Subject: [PATCH v1 1/3] dts: phy: fix missing mdio device and probe failure of vsc8541-01 device Date: Wed, 13 May 2020 06:56:59 -0700 Message-Id: <1589378222-15238-2-git-send-email-sagar.kadam@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> References: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> X-ClientProxiedBy: BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) To BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from gamma07.internal.sifive.com (64.62.193.194) by BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3000.20 via Frontend Transport; Wed, 13 May 2020 13:57:23 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [64.62.193.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 10621c8e-882c-4f36-66b3-08d7f745901c X-MS-TrafficTypeDiagnostic: BYAPR13MB2279: X-LD-Processed: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0402872DA1 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR13MB2614.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(346002)(376002)(136003)(396003)(39830400003)(33430700001)(2906002)(8676002)(956004)(6486002)(316002)(7696005)(8936002)(86362001)(36756003)(26005)(107886003)(66946007)(66476007)(2616005)(6666004)(52116002)(16526019)(66556008)(33440700001)(966005)(478600001)(5660300002)(186003)(4326008); DIR:OUT; SFP:1101; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5CqMnqRHBZPe8+361+eSBT9CeWpibrVLysY6oLA0mu1mWtO8p1ruwWwWTfoc1MfTE+5/2wQTGlQASSYtlQ7hyqfFG/UZmenj4/swlchca9zZ/52mUP+e17pe/8o4ljBKLNG7coP75TpPVpTos1Bpl3E0Gaw7UJtMDxINDs/FVZ5Zw0IVLP/U2BGiMbwqg2hZZ6mUfUvRJXlNR2QowpuKswLZWFdCvUs5zdLgNUGKvExYj54aSfkf69rQ1YccfK22jBZgNjBDH8vPVgyfTPW3C1q98xxuOhz/Zc2GO6LY6N2K0PTzVD8WTKW7XIpNYIAU2c2uPxhHa9sEdDb0UNU1SpLH0s4UwNaeOlQdN80ZAYdxe49qEWh9zRNt7QNMxvkemxzyrkghjlg+Eq+fYkPEaO0c9FCqlRcJ3CG2OjWzYv6wWuhkfSm+iA/PV7CP9C2B/LL5j4qBCrDa60sSAtTz+qvRb/aY/6nQEhf0avdXroDF4IjRuloPIUmQTZ5SiypP0GT1zSKoTiDQkUoyznYVD2D9Y9tn0U/v+muu40UCgOQxbrArOVz36kbPZy5Vwbfanydreho/KPK2cit4oAX66XntRRUTgjNsCzwOAXOid5A= X-MS-Exchange-AntiSpam-MessageData: WiFppinhghC+0LVcPT9NZe0q+ktt+lYtvBOnYdlnMuGFRCjjWbgPiMm29LMv1J1gQPxev5o/gAu6AS4SJNKxtIMGfIKMd5ISXEkZ6E9JYbwmmT8beWVo47FPtqnC9JFHDHUF97DFBWr/dcApobwLVFIAnRantPlnTQ4yYKDYVD5Yu5lYJ+tSvwEh3rQIY2zZR29KupDyWUCuwUBUso5Xqushm6uosr9FmY+iGGonCHY0ApLwvmGlWvUtkyC77/QYVIAAbpgb0n65JPR5KF6/aywX+mVDGV3AwKMVHGUIr18g4T7StlcXRYSbuor8b4BIOQ3Ak4lFB8geyv2HHA8BllZGtsJIlUG9amYEH2JGAge2Ah7WlHu9SPPp5doAG6gGa3n5zBN3e8U9yx6QrXPw873+2aayo3BWD+I7VtSCR5s1poXX+cNqUmFn8/S1PpCTELJD/MAGZ+tgJTH42uQa1zZt+o7QIjBY4X0oq0e3GFo= X-OriginatorOrg: sifive.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10621c8e-882c-4f36-66b3-08d7f745901c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 13:57:24.0608 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mLh3CDPYDRQPnuJY3qTPoIPYTWU7Sk2vCDQDw/F9aC9v4xPXYCKRd3q6+xhDWfIUAzpCxgYV7doXwNpsWpaMRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR13MB2279 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200513_065729_799083_A698EFDA X-CRM114-Status: GOOD ( 11.25 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.237.58 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.237.58 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_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: atish.patra@wdc.com, palmer@dabbelt.com, Sagar Shrikant Kadam , paul.walmsley@sifive.com Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org HiFive unleashed A00 board has VSC8541-01 ethernet phy, this device is identified as a Revision B device as described in device identification registers. In order to use this phy in the unmanaged mode, it requires a specific reset sequence of logical 0-1-0-1 transition on the NRESET pin as documented here [1]. Currently, the bootloader (fsbl) takes care of the phy reset. If due to some reason the phy device hasn't received the reset by the prior stages before the linux macb driver comes into the picture, the MACB mii bus gets probed but the mdio scan fails and is not even able to read the phy ID registers. It gives an error message: "libphy: MACB_mii_bus: probed mdio_bus 10090000.ethernet-ffffffff: MDIO device at address 0 is missing." Thus adding the device OUI (Organizationally Unique Identifier) to the phy device node helps to probe the phy device. [1]: VSC8541-01 datasheet: https://www.mouser.com/ds/2/523/Microsemi_VSC8541-01_Datasheet_10496_V40-1148034.pdf Signed-off-by: Sagar Shrikant Kadam --- arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 4a2729f..60846e8 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -88,6 +88,7 @@ phy-mode = "gmii"; phy-handle = <&phy0>; phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id0007.0771"; reg = <0>; }; }; From patchwork Wed May 13 13:57:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagar Shrikant Kadam X-Patchwork-Id: 11546415 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 0C69259D for ; Wed, 13 May 2020 13:57:40 +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 10F9E20671 for ; Wed, 13 May 2020 13:57:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sbHCprFp"; dkim=pass (1024-bit key) header.d=sifive.com header.i=@sifive.com header.b="dz8+Hioz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10F9E20671 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Type:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OYTuzDsYVXlx1KZz3pNkMeyEk60Msi5G8+1GvtTBjLU=; b=sbHCprFp/g5Dtusb1BT4ZXKDC iM0RC2b4gm5/NV+FQgSZ0L8YBBAlZeiRKN0Uogv3KZho3n9/wb2Vs6j8zzZtnVV3M0TirBgU8WmIs mqmQnbPWum5VIrysu4ydJdR/KOwty7gHKX9SkFzb296JZylHWkhc14omzyi/+yRkEFDVqwlnYnLC0 Ci8FR2kdpPFXlBtYsIRpvhTWaZbz2Qca6TkgrTxO0ft4JqAWleNBWyAtXYo3vOEo99OIf8kITqjc9 EWPJLZC3Y7PW/RT5ZGgNw7AmNpsgWguXesruVXg6vAYlzHaMyaFcQYMGlL8eqS56hjNUQ1+/x98aw NdZvoZLEg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrtA-0003Fr-O6; Wed, 13 May 2020 13:57:36 +0000 Received: from mail-bn8nam12on2058.outbound.protection.outlook.com ([40.107.237.58] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrt5-00035g-Jv for linux-riscv@lists.infradead.org; Wed, 13 May 2020 13:57:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Je239+E+a2tQwfoTMyJzTHIBVTp5mVTTY8kE0o0IgqZc1tD92Frdb/PLqKPP23cWHftyrqsqDyF/eG8VmnF1nrB3bK+aWCq4nyX8K6USnMMakbkz+O3EKLTcP2hklE6FDXWZb8KOxVX2nP5v8doXVp0tNzk9l+czyQ/snxnUxFn7AwGIuLkOXT57Fx7v6SrQL+PN2YIm1P0gaARMaCuDfvyNKAUCqqvacT5AnB/agFkGJeRqjCskiDq1E5s9APk0vQPGFM0Ouz/rWoCAcTEFbnBaoDoen4bAbBKqLNorePEo+ZTeEThjdvwDyRquoOeOgH+1q3o1t6NhvOAp1OmM8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OYTuzDsYVXlx1KZz3pNkMeyEk60Msi5G8+1GvtTBjLU=; b=JlT1qWpfg6S5EjoR8Z0wY0c8rD5twrf6w1vBnJQaHvGjZGzwaf3/mca7gDmmbvBSqSTSEPCyMyLlfpF2JVHvLQdOE/ewhLf7q1E/ggZvc0r1+KD5wyuGl7xEBMLDV6jDvfp9ufMIcAfMZFHfzK+Agxm+rnwxH9rz7jccTDkQ4L8kqUfcgzLCXrwKKU5Q9KwfGexo+xozvZAe2BhkJpKVgV+pCOTe5D4uMg8c5sGmPULBXEW6htPncJ7YF9518I3BqMaZu8QGcEpMa+Nkga90fvBt4NNJte/62KR+Ruvm7jqhzX3/fHgjn8lwxB2Z/dinAY+2p7IhVoWCm+mSahX/yg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sifive.com; dmarc=pass action=none header.from=sifive.com; dkim=pass header.d=sifive.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OYTuzDsYVXlx1KZz3pNkMeyEk60Msi5G8+1GvtTBjLU=; b=dz8+HiozmK0PTvvzRF0NawQA55tzgYXkup90b4f42SNoIyFPGUr0yqkmbxXppCBWnpp+cBB+aO6of5XWGqgpIDkGEf/SPzBFwq0+E1wFvHCofU6eeTG1fBaxua/FTzV8XfsbjHea+9DFAi47mr3OLYm69U4wAIYFSib9xwlTGh4= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=sifive.com; Received: from BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) by BYAPR13MB2279.namprd13.prod.outlook.com (2603:10b6:a02:bd::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.6; Wed, 13 May 2020 13:57:26 +0000 Received: from BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6]) by BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6%7]) with mapi id 15.20.3000.013; Wed, 13 May 2020 13:57:26 +0000 From: Sagar Shrikant Kadam To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org Subject: [PATCH v1 2/3] dts: phy: add GPIO number and active state used for phy reset Date: Wed, 13 May 2020 06:57:00 -0700 Message-Id: <1589378222-15238-3-git-send-email-sagar.kadam@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> References: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> X-ClientProxiedBy: BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) To BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from gamma07.internal.sifive.com (64.62.193.194) by BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3000.20 via Frontend Transport; Wed, 13 May 2020 13:57:25 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [64.62.193.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9183ed3-9dd4-4b33-d712-08d7f745912d X-MS-TrafficTypeDiagnostic: BYAPR13MB2279: X-LD-Processed: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2201; X-Forefront-PRVS: 0402872DA1 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR13MB2614.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(346002)(376002)(136003)(396003)(39830400003)(33430700001)(2906002)(8676002)(956004)(6486002)(316002)(7696005)(8936002)(86362001)(36756003)(26005)(107886003)(66946007)(66476007)(2616005)(6666004)(52116002)(16526019)(66556008)(33440700001)(478600001)(5660300002)(186003)(4326008)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oL13haf04sYnckeKMERjgR7lPAyT6iOdx5PBZjQ3eRQ8GffGGI7NTNK9taDClNvGAt/jpgFF4mGaeO0Gk2SqMqVqTBei0kBUw1JvdO+y5i8Z/yKqIZxw/5illGtt661frtF+VWkMLamX6KvsfMwLSaUjwQ7LTs4uCGdBzRpRmdgmCuKttrp3p10LV47qkGDIVPpXN4f1dTNQ++NYfrk4tcMPoMXA2AeTsOV1GkzbIp1ADsRjK3ejA0FoXcxb7/4lleD91XZmacxNMzaBwN6hy8zm53grgXYJ/o4dCkLg0NAGIZ4RWkTQUVIL/mY1GpejnpcqwOLrWWzTC4m9rCEC5PGDkXWMJGw7c2zJxy+zo6i7eYiiftEzLI0qs/m4Zvq88S4A5e+FOX6uc4ovRP1LXJc3bjve9SYVDC6Jr2t8i7CHwvQyjb2dd5eBpqDWjg+l+/sgb0dqmzE6MTFNI3uvmjlHGtwGSJbkMzUDGVIG30MXm7j5bHmZMnQPpiVpoMKYC2BPNMXzaCTFCzQRL0iVSA== X-MS-Exchange-AntiSpam-MessageData: Y2Spm9L/7Nt4LOQEt2A5NH19/OluB6bsHtKa1dAlbtdOCrYZQzQyBlJel+sNeZVyMOlUR3MkSkQqTYwvoxmkQQh8elvqoiEchOKSypTNRskEamT02bh0vAGuFWH6lEplJmN8oWaX9S4dlnMd1WHzISDKjTYknUoPQWcjvsBJBIUGKWw2FcbcmyGuqB7jX0+4xecgH6Oa4VSCxRYMWM0v2e0ip1bl1ClwzoQBYyB3C7rozbjO+6tluF/0L/AS0zEVscyFTrZvYSdqRL3F85QSMi9NHiUsZDFGwCqIwwOR3RAGb/WDLOFw+hzQpfpfz9OhNX6fexJGmU1KSgmnWLlD43GRBzwskzplxuTXOtDpcHyr380qY/h2G+0dlQVyGLCGpVpCyWVXPVQzx0NQDy7cvtGH8ejXscw7cF4r4c+TL2puSnI/H2QrK5BZho48w/Yi5/ALMDHUt2LwuUoHuBBf5ZZp2G9jRdvRk9LEDy3FxaU= X-OriginatorOrg: sifive.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9183ed3-9dd4-4b33-d712-08d7f745912d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 13:57:25.9017 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: R8E+EWn3H7CWis32EKJo+A2z4TeJDkkZyhgobgGivbxE2GxAq870bOERfUHVgCFQNCVcWEBcUAHaFOfF8hd6KQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR13MB2279 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200513_065731_655225_7C1FC5BF X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.237.58 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.237.58 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: atish.patra@wdc.com, palmer@dabbelt.com, Sagar Shrikant Kadam , paul.walmsley@sifive.com Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org The GEMGXL_RST line on HiFive Unleashed is pulled low and is using GPIO number 12. Add these reset-gpio details to dt-node using which the linux phylib can reset the phy. Signed-off-by: Sagar Shrikant Kadam --- arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 60846e8..24d75a1 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -90,6 +90,7 @@ phy0: ethernet-phy@0 { compatible = "ethernet-phy-id0007.0771"; reg = <0>; + reset-gpios = <&gpio 12 GPIO_ACTIVE_LOW>; }; }; From patchwork Wed May 13 13:57:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sagar Shrikant Kadam X-Patchwork-Id: 11546409 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 0F0FA59D for ; Wed, 13 May 2020 13:57:36 +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 0260820671 for ; Wed, 13 May 2020 13:57:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CfzISOZY"; dkim=pass (1024-bit key) header.d=sifive.com header.i=@sifive.com header.b="rPQubjxM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0260820671 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Type:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=60vPmv8RA5MlmBbtLlKW4Y/a5Zxl3G7WVKbBwMntZTk=; b=CfzISOZYY0Y/o2JnjivjCtAOQ U7ji4MO6wMCOPD2rf3OPUQ8G976wFtCcC2rChB3F+MHeErun3Gu3zjlhoDhuA6j9UAnTr/SPlTG7x NV8LMFbteCHul52A2r242lBwAc8CbvEVSEfckMyHzggpdAQUwXQeyphk4Yx6HKRlMT8FJJWUdqdXK Ab54LTvJ0CxwM3TcwgbI2vAqxvp/92qJMCvwjr34FODZPTwp7rQpD9ooddP+jnjkw7CoXCx0PTqZz 8O7kicru+iCcnH203qhroDGR18xbhEligOqxxk9d98jtpmpe5AGV9NgCJg80ixTjCvZ1nWa9zS14l fEEot/77g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrt8-0003Cz-Db; Wed, 13 May 2020 13:57:34 +0000 Received: from mail-co1nam11on2055.outbound.protection.outlook.com ([40.107.220.55] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYrt4-000371-UW for linux-riscv@lists.infradead.org; Wed, 13 May 2020 13:57:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ciTt8VmYRwdVT/khl6JI/clKWRez2Edqupdp7cXL57fR1TW4xEEvEySn/MwbI/Ni9tqUWRjwXSVpidXqVMGlLJEGvyQc/hYlB6TmPe9n2C839c2qrIhz2C3YnN5eop521EmapUhkuCwjzqnqaMKIoCC4ms3C8hustuem42D6dGjaDe/ubEnTmjln3GoUPKc/HsuEmcJCMOBjXIqqxphsXW+7AzFzoEFz+8TvKrsbyfHR9MnRyIMam8R1oQn9pnB8lG1zlVQjFhKkBl8V2EN4ZdV0hW9nMg52cOgaS/PGoZTjd92Vr9ZF7dIU6nxp3demOiRlTZg0aEE6oQohk2tELA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=60vPmv8RA5MlmBbtLlKW4Y/a5Zxl3G7WVKbBwMntZTk=; b=IOHz7ty52YQpZnPd8ap6yCr70TAlf3wuSMySTxnvyUBuLHLrK6E9BKD051RnH/kdM1FJxM69On+vRkvAte3U2xNV3Ahb920RptuInyOAyeK1sPXAelBIQXIKp/cqFfpqjfEnUW7IJuORmBdVPoqJMA2b3PG8okky4rcR7GWTLgqdY1sBU3cNNVXDehnFseZIjjyfh9U2g0bEynN2PE4rWzPG7abr2SWZsHzZ7txRk8SlWpl/ZcUmeV7xbAsKjMTIZmnKVOJxWIujVIbtRgSRNvAZdLq2ggzFZUonPsbXgpJI2C7A0FUoZnNBAVGW7QXJ5SlmuyGFHE1HyLjb69r0uA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sifive.com; dmarc=pass action=none header.from=sifive.com; dkim=pass header.d=sifive.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=60vPmv8RA5MlmBbtLlKW4Y/a5Zxl3G7WVKbBwMntZTk=; b=rPQubjxMATSoI5mhfqIP375B8xcjjWalTMPaySPYMAy3gI4VqJhuQZNscr6VKQwScNFWFrr1Uj8OCDczHEb6LqTs/SQUMTqUTgFKk1TyxrFi7XeJPh98nEvJ0WziTwcCiKrM6w63+TLTmzFwtUhdZSLIB240UVbOzBYmSWloupA= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=sifive.com; Received: from BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) by BYAPR13MB2792.namprd13.prod.outlook.com (2603:10b6:a03:b0::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.13; Wed, 13 May 2020 13:57:28 +0000 Received: from BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6]) by BYAPR13MB2614.namprd13.prod.outlook.com ([fe80::c0fc:30a3:5e5f:c2b6%7]) with mapi id 15.20.3000.013; Wed, 13 May 2020 13:57:27 +0000 From: Sagar Shrikant Kadam To: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, robh+dt@kernel.org Subject: [PATCH v1 3/3] riscv: defconfig: enable gpio support for HiFive Unleashed Date: Wed, 13 May 2020 06:57:01 -0700 Message-Id: <1589378222-15238-4-git-send-email-sagar.kadam@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> References: <1589378222-15238-1-git-send-email-sagar.kadam@sifive.com> X-ClientProxiedBy: BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) To BYAPR13MB2614.namprd13.prod.outlook.com (2603:10b6:a03:b4::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from gamma07.internal.sifive.com (64.62.193.194) by BY5PR16CA0005.namprd16.prod.outlook.com (2603:10b6:a03:1a0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3000.20 via Frontend Transport; Wed, 13 May 2020 13:57:27 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [64.62.193.194] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f6e60311-45f2-4c2d-0508-08d7f7459254 X-MS-TrafficTypeDiagnostic: BYAPR13MB2792: X-LD-Processed: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1332; X-Forefront-PRVS: 0402872DA1 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 54BjP+A1LjjzkJnvvSWghphgNC8Ad2Qq4SXF0E5jq/h+PabFglb7sD6QCpshteWMSOUJYOJmBHp5ao29QlXT0VbUugDqO/gQvs29319Ybipujw4HxQ5RB7fJiUg1ccgck6o6dVZjsv+hzi5jARIUHpXn+UXXLEesZnV1VTHkOcKCZ/etlXacveePUg43raWd3yQL45TsFmSwUBdiPZJ4Z9n/Y9qIw8mirjK0jH/tGPp/F1XWfu77bFBzSxV9Ftc1iU5jT26UsN3fazZ+XYAPPQLh19eIT7PduzkkVXv3hCO0N3Y1I56WZQXzh32smy61uhBCKha9mqagGKRQaf2eEmo0uDMQd5SfZ7O4I5B7gYOZDWtWGCU6BWua4guorZ8T33Antgg367rXY1sbYjZtJhXyvmo41oWO8zs5SnZ8x7Ec8/0wtIqtjrryd3gHc8HY6h67tH70GrTmheyDKJDFO0nKf1zgfrP8cV1u+tbdnCiLLQ7/s+7eOokEuzHuLcT+YZ27oHOUo8gGH2a1VUc1sw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR13MB2614.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(6029001)(366004)(396003)(136003)(376002)(39830400003)(346002)(33430700001)(8936002)(8676002)(6486002)(66556008)(2616005)(4744005)(52116002)(956004)(66476007)(478600001)(7696005)(66946007)(2906002)(316002)(6666004)(36756003)(107886003)(186003)(86362001)(4326008)(5660300002)(26005)(16526019)(33440700001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ChUBH7j6jhdUBi31J72zbi0hGDFii6Av1ywTtY427RcQEMGpWptm4V5VWnUYNplKrrKRT8H0On+40kk5Vr7dtaidHfxoqCB4KanLg7yNz5nEckldWlq08aAaFIKPMKkPQUujeVYzPQ3E+W3LK1eLPjrfJMuaNPakfTbYmCaxFX7/moQjfVjYuTIIEiuGSmmq3YtcgN+tGnhCFXyr9ciC2ZaRBF9fm8tD++k3VAhp5uNlHyNRDZvbDIgJLWxqsaAg6Bs7JFddolE8tnLtWuYhpY/80G73aqwJ4ibzis8ka2Hg07MJoO8xN082j8zcCoB0iM0uzowmQCcAycmS3g2/VB4VHWXQhnMXTJKeBcEfjHEHCC5+0qBWcjLMH5/sRqw8zNgqUP7MufbjbiJ8RN4n986Ghw7t7DvSOPm+07akBmmRVW/A0mxC5FfwWwEsWj8bxB0eD+3pRTFuNnudbxFWbujyOei2Bl6Viko2ixtwK38= X-OriginatorOrg: sifive.com X-MS-Exchange-CrossTenant-Network-Message-Id: f6e60311-45f2-4c2d-0508-08d7f7459254 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 13:57:27.8207 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DL7Lrf3V96M5+SZmPaAUAB1/HRXjS6ATF7DveZ5N2fPk2RQLl28DvYEytA9MTCMl9SiV5hbVxvOvnzJXkAJsQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR13MB2792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200513_065730_991546_7C4F3F4D X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.220.55 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.220.55 listed in wl.mailspike.net] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: atish.patra@wdc.com, palmer@dabbelt.com, Sagar Shrikant Kadam , paul.walmsley@sifive.com Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org Ethernet phy VSC8541-01 on HiFive Unleashed has its reset line connected to a gpio, so enable GPIO driver's required to reset the phy. Signed-off-by: Sagar Shrikant Kadam --- arch/riscv/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 4da4886..20c38b59 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -63,6 +63,8 @@ CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_VIRTIO=y CONFIG_SPI=y CONFIG_SPI_SIFIVE=y +CONFIG_GPIOLIB=y +CONFIG_GPIO_SIFIVE=y # CONFIG_PTP_1588_CLOCK is not set CONFIG_POWER_RESET=y CONFIG_DRM=y