Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6960556rdb; Fri, 15 Dec 2023 13:13:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKjS1VaFkhcOtfoZ/B+0yUhZubgW9yhV5COovFAMPHL2CYz2/ajjuwJYj42y0jJsCm+TWF X-Received: by 2002:a05:6a20:7d8e:b0:190:2ce8:dc87 with SMTP id v14-20020a056a207d8e00b001902ce8dc87mr16634052pzj.60.1702674808655; Fri, 15 Dec 2023 13:13:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702674808; cv=none; d=google.com; s=arc-20160816; b=hvi5/J0xilTjPSB1BGJAqoqt5Dxm7G2+n3r+LvYRtSL7Y90/w+csti1Gzs/3MFEPTO HueiN4xCuKwTU86c3C1rX2KJUMZ8zcMyPklFeDHJlIN4BWya7xgoa9BeaoN88ybUe06y I3f6lE80bCDDvGObv496FzMD8txST+UQc1rK8f2hrfUiGQ5z1G07YBHGMM888rSQNoBg KVxAAb+2ripYdL6AL1sV4I87Wz/AuU59zDuoEPJQhY/XHWOCa25nl2cbhGXe+MjBj6ub Qh2QahogAxcHG5kORzWMkxpu9ctUVDw5VmSPUA4Kn6qqMwzDvfXe2eIKVxI6XKQa82bI g3zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Axj5C7O8/6dwnE6HU7LrOJYDWZDB0a4hepFgoRIJRkg=; fh=k70yp9d+wfM/LiD8TytBxARgaLs0fu6FENaxSOkubZM=; b=tgyN3NIpotDwB9Of2BGlJhhOR1uDutKGyPvLYuyEyxRuJNqJPG6bjgbxEow1trAVFO vRzQayEDJiShwgRh2EpmA23/8uTiapRyiZLmaLEyqcuvr2G0LbgNKa28FY+OzIl1fgQl AhGMvyUuoAL9pE45Lk9mwKla2knCpT1QSKilWBGASzpjKbbF9T5q4CG4Wi/fw+v1ML6C ZmjWmh/RRRb7N8ZFljDs6QYU3H8PLS4O7M55jvEV1q8GdvAW7Ng3z71FUbzkXtE3mXzw TlM8y6pqLufk/8v1YzdVp00oSwmTZ0E0OSLqZxhBv9fPXtpnCODOQ8HHWlh9gDcTzcWE Qa4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aQQW59io; spf=pass (google.com: domain of linux-kernel+bounces-1663-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m2-20020a635802000000b005bd27be66e1si13057696pgb.719.2023.12.15.13.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 13:13:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1663-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aQQW59io; spf=pass (google.com: domain of linux-kernel+bounces-1663-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1663-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 53DAD28695C for ; Fri, 15 Dec 2023 21:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 304F747F78; Fri, 15 Dec 2023 21:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="aQQW59io" X-Original-To: linux-kernel@vger.kernel.org Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1040F3E49F; Fri, 15 Dec 2023 21:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1702674794; bh=4Z0A8i3BQDX4XSWXqY1AsxNZ2UXBxVUatce/rv4lcqQ=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=aQQW59ioaNIQdMzt2vbe1pPJEASAIpZfAf6FHXhPw68vkAGU+ykS3yUhdCPVM1NSb 9wwk6IO6HDR5/myECbvSXLfKm5Tu1Iabzgg5CNmFx4rW+jmjwj80FBF83uWeDme4E6 1tGMZeRLjHm0LxPxHWvry3YxYPwwEWoHSeQ6LPFtKaDgt7FqT1Ls1jV3RGzxpIXezZ vDrQdzgzA2tZNIFtHVeEXRklDATFU6vLymVPKRTOAIMhrGbCxZsXxCzX8B/wwE5wnL SjuVBwV09aKtYTSaLrHp/5ZV+wzmPZtj2vSaXlJ30rCvmJRVYltyXoTaZsyioLFSMq jNgqz9s408vhw== Received: from [100.115.223.179] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 66C133781489; Fri, 15 Dec 2023 21:13:13 +0000 (UTC) Message-ID: <698fbb5d-0750-4f2a-857f-5429e5f589f9@collabora.com> Date: Fri, 15 Dec 2023 23:13:12 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 12/12] [UNTESTED] riscv: dts: starfive: beaglev-starlight: Enable gmac Content-Language: en-US From: Cristian Ciocaltea To: Emil Renner Berthing , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Samin Guo , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Richard Cochran , Giuseppe Cavallaro Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, kernel@collabora.com References: <20231029042712.520010-1-cristian.ciocaltea@collabora.com> <20231029042712.520010-13-cristian.ciocaltea@collabora.com> <2f06ce36-0dc1-495e-b6a6-318951a53e8d@collabora.com> In-Reply-To: <2f06ce36-0dc1-495e-b6a6-318951a53e8d@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/28/23 02:40, Cristian Ciocaltea wrote: > On 11/26/23 23:10, Emil Renner Berthing wrote: >> Cristian Ciocaltea wrote: >>> The BeagleV Starlight SBC uses a Microchip KSZ9031RNXCA PHY supporting >>> RGMII-ID. >>> [...] >> You've alse removed the phy reset gpio on the Starlight board: >> >> snps,reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW> >> >> Why? > > I missed this in v1 as the gmac handling was done exclusively in > jh7100-common. Thanks for noticing! Hi Emil, I think the reset doesn't actually trigger because "snps,reset-gpios" is not a valid property, it should have been "snps,reset-gpio" (without the trailing "s"). However, this seems to be deprecated now, and the recommended approach would be to define the reset gpio in the phy node, which I did in [1]. Hopefully this won't cause any unexpected behaviour. Otherwise we should probably simply drop it. [1]: https://lore.kernel.org/lkml/20231215204050.2296404-8-cristian.ciocaltea@collabora.com/