From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5D1493AC0E3; Tue, 10 Mar 2026 17:18:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773163125; cv=none; b=aJjOVCi7jQvPaU+FlFGrdhmbAmR1CVbaR1qh/BD1co+zmDMZfSBoXCfLsUigpNAz1L8Uaj3CYij6TBfIaCzybQ1CMnbUcF3895lu8dQIMuHlJRzH4+0MMPAzQQDuyr/2lxqkK5Ztb0D8dHDz1ACzGf6aBIME/d1xiWFhYNZlUyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773163125; c=relaxed/simple; bh=ssOac3bxyWtS0tltR+pILLaG3NN0ZgI0HUcEtKF5uRg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=MGcI/7OTc8CUFxWdEhhjmOEgURb3+iX9b4JbHd8tzPMXLGO7PfgmbsL+82OSc+RK+57oDS+uNb6WAd9D+6Woe+fO6xWaXHgb69BdV+wibR2F0YL2br6vUdifaDtFz6NdK7/UpShZ18K9DQjP5AHmMH5P6NSUF6ZKuPahuMahJSY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uM77GE58; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uM77GE58" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFADAC19423; Tue, 10 Mar 2026 17:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773163125; bh=ssOac3bxyWtS0tltR+pILLaG3NN0ZgI0HUcEtKF5uRg=; h=From:To:Cc:Subject:Date:From; b=uM77GE58J6M5lK2RRmBrfQA1Djxa+7Vra9kK54/+wt1K9oRFu9Qbei6KgDivjziIX qotoROcjjoFYuc2MWvX7alS6iRdeYbIahjM3gx+Qgj30jvdPnnMv0rrFJMu2k3dawD N6/9fOfnQtXvv06UNpEF+1zLSZ0zQRL5EH/AhHHG6pc4N05n0/khsrCkGEvAWrGoF/ PV+41GjX7zhFj0dkQ4YPST4FiSSuXG4aWkW5zl9eWwBA/IaxGngHHaGEveO2YE36xK tJLdavbbIaup6QiJpLumkwDWJr81tZ5QybfOe7ac4QvFQ8NMLtDbFMTDIblVciBQJK dEoKQfutb0Mnw== From: Conor Dooley To: netdev@vger.kernel.org Cc: conor@kernel.org, Conor Dooley , Valentina.FernandezAlanis@microchip.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daire McNamara , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Nicolas Ferre , Claudiu Beznea , Richard Cochran , Samuel Holland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Dave Stevenson , Sean Anderson , Vineeth Karumanchi , Abin Joseph , =?UTF-8?q?Th=C3=A9o=20Lebrun?= , Ryan.Wanner@microchip.com Subject: [PATCH net-next v3 00/10] macb usrio/tsu patches Date: Tue, 10 Mar 2026 17:17:07 +0000 Message-ID: <20260310-moneyless-dispense-7bce14b16388@spud> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4269; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=QrQ6yekBVGBayH1oG22woO0zUs3eFYGTHF3VO06A6ns=; b=owGbwMvMwCVWscWwfUFT0iXG02pJDJkbgpRmG69Rc+n+PSe0OqY+ddVpZ7UMPpcv23TTPjdW6 BrqTNTtKGVhEONikBVTZEm83dcitf6Pyw7nnrcwc1iZQIYwcHEKwES4Uhn+p6cyedeaFs34wviF 12L74WupLGUeXlP/P8nZf0IzgPFYA8N/D8tyxoU9LXd9VDYYbfapWX9K79oGGQV9+er1nLGO7Pf 4AA== X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Conor Dooley Hey folks, At the very least, it'd be good of the soc vendor folks could check their platforms and see if their usrio stuff actually lines up with what the driver currently calls "macb_default_usrio". Ours didn't and it was a nasty surprise. Theo, you added eyeq5 recently. Does it genuinely have the same usrio bits as the at91 devices? Ryan and I figured out that the sama7g5 stuff is not actually using the same usrio bits as earlier devices, so there's now more patches in this series to split them apart. I've not tested the split or the new property due to lack of hardware, but Ryan has. Cheers, Conor. v3: - reorder patches - fix smatch issue reported by Simon - add patches reworking usrio handling of clken/refclk (and remove the issue the llm reported in the process) - add a new devicetree property for refclk selection, replacing the existing one. - drop the dts patch CC: Valentina.FernandezAlanis@microchip.com CC: Andrew Lunn CC: David S. Miller CC: Eric Dumazet CC: Jakub Kicinski CC: Paolo Abeni CC: Rob Herring CC: Krzysztof Kozlowski CC: Conor Dooley CC: Daire McNamara CC: Paul Walmsley CC: Palmer Dabbelt CC: Albert Ou CC: Alexandre Ghiti CC: Nicolas Ferre CC: Claudiu Beznea CC: Richard Cochran CC: Samuel Holland CC: netdev@vger.kernel.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org CC: linux-riscv@lists.infradead.org CC: Dave Stevenson CC: Sean Anderson CC: Vineeth Karumanchi CC: Abin Joseph CC: Théo Lebrun CC: Ryan.Wanner@microchip.com Conor Dooley (10): net: macb: rename macb_default_usrio to at91_default_usrio as not all platforms have mii mode control in usrio net: macb: split USRIO_HAS_CLKEN capability in two dt-bindings: net: cdns,macb: replace cdns,refclk-ext with cdns,refclk-source net: macb: rework usrio refclk selection code net: macb: np4 doesn't need a usrio pointer net: macb: add mpfs specific usrio configuration net: macb: warn on pclk use as a tsu_clk fallback net: macb: clean up tsu clk rate acquisition dt-bindings: net: macb: add property indicating timer adjust mode net: macb: timer adjust mode is not supported .../devicetree/bindings/net/cdns,macb.yaml | 54 ++++- drivers/net/ethernet/cadence/macb.h | 6 + drivers/net/ethernet/cadence/macb_main.c | 197 ++++++++++++------ 3 files changed, 186 insertions(+), 71 deletions(-) -- 2.51.0