From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7468BCA5FF0 for ; Mon, 5 Oct 2026 22:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :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=f1FMabN7ENKRqBz9hSIR/rzdHpeT2krOjcoqtbYRelI=; b=sEp8Kn7nw/EsDK d8iNxJ+g4TXme9t4JFlef+RyanQr0GcIcd/wYwcEAqZueU8RhD1XZaW6IzWZfydAnTCsHvV8783YD itFyBpmsx7i25X1ZUQzfVK/zqjg4xw7D/kKk/s30KnpeNyWLdmgKZ1VCebEeb9okdpuvUSQex7O2w RjH8YdYp/vtNkBjKS4ORoqT4AGsa3BTeE70l0WinkNFvzSxIaJ39307z2piqKwP8HnCCMUesRUKq+ XWmsyiBwoT/hrkDniAFQe6ymmyWYP1mmyNVEE1qsXLXfmb29Fcvfh2ZHR6p566sQul4Pn3nD5+ZTY 5rNF6+l9uzB+4c2y6grg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xDqvR-0000000HEiE-1ErY; Mon, 05 Oct 2026 22:12:49 +0000 Received: from mail-pj2-x01.google.com ([2607:f8b0:4864:39::1]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xDqvN-0000000HEh4-36RS for linux-rockchip@lists.infradead.org; Mon, 05 Oct 2026 22:12:47 +0000 Received: by mail-pj2-x01.google.com with SMTP id d9443c01a7336-2e31e9f035fso8624295ad.1 for ; Mon, 05 Oct 2026 15:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791238365; x=1791843165; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=qKGy4C88fJ5sur3Q5XgFQ7glpkb5tmclhAnLtMHskg8=; b=OEAH0dhk8s2k1eSY+ioI1kqEM4hgFqTpW1YXyjv6iIPLEco0r2OqevYs5S7AJ91LMx y9u2tyi3Upz567ED0sbtz3OImBZxn2KZHnZLlC5uXOfX8d2r0f9uBGRbmfO1H0M3BYBB tWjx+03qHFV077aQkVhLUDhADQEh5GijA1NvzAUaKs2t+JTk1mmZpenjzvS/DHyz0M+W 9LH2vncb1rSOd5+3THMs4K7NaWBMu1e6VO0HqQslPdDl+LcTOHyGGZ/dnBpS7v5cEzUX De/j4fiQwh57gBTsOY6XKl6zxZr61fcVjSOvRg13iaQp4ko/2fj3PRtAJkTlEc+cm13o PcdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791238365; x=1791843165; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qKGy4C88fJ5sur3Q5XgFQ7glpkb5tmclhAnLtMHskg8=; b=zudHNtjdIl4aLKPWakWOc5eLv3bGITHgpGdaOAnTjBGcTeh8MS6RuKDVg/s2P14K4g 2GJCE1JmNKQsjKS9O/Hx9nbNWXKODZJZ1y/9JY+ffeAUhCf2A5FmGsmsiTeHC4lUJSxn JZQ9RLNYZOiDNN2IOhny1Suwp7qfNh2qpQz17bW/zCLuJNgiXdV7Wq/855Qlszd0WWAu a8eZDUXaQRMsmc8ryx5uosiRflfNUeoZmmdut3uOy+ARQ1XA4nLIHmDGj7YVeolIj+ns WF0yjvIsc7s9wf4ra3RCgd+TGtoyiFKF/8PRuOVMkqlfWCfl+mOMpWdX8ZMuy+TXWzFG lDDQ== X-Forwarded-Encrypted: i=1; AKwUvBw3VfEbQIL7hiDJrAQakvo0IitjC0E+d+p+J9G0om5TZqDzhT9YeW5RrRcwcEFRWw0XAeIP1/1vZTNZoco7xg==@lists.infradead.org X-Gm-Message-State: AFq9FYLbagEWzYiCghumfFneQV68isoDowl2g5/vEk9PtnvxHIY/Tzry b9Ojy/YXGiA4PE87wMApF4QTq6uE/F3D/X58FGc0/KYKviLyNDVWSOMs X-Gm-Gg: AYBFou2k1rRkVZWkiZjoNGvq+TT3vysQV4esUAfjg1RxSPoRkeHngjjgY2A9S6/IPDs 21+kumkQ91Th1OLCugLwXjQFlS2i/GNm8FM7q6B6jUCEmXoC1iKDaG5Zit9sqj5gsI/BWuqOnon mr99dCdkPU5DGICcZaPo+IimsrEwC6rHLYxF+Q60zyAzvXbj8lLVTLbT3DDwzltR+pCMO24KwH2 HRoI/tTFpyL3F85Z/7/5k2qmQwzi1i4YpOtSpBdjoY6lrPIBWhUh7hewB1Lf9AsmSzWYDAe1bwn hCpiq7J18LlshJnUFIxBHQ2D67NI94C0mL1PL+Xa8wjpzGzD/jwNacx0UgL+kbJGv1FvfR29ivy zp0U2ReNljC1+YVlCX3X1QGkcYdZPD+dN0IBmwIMiGUrXE6cvqMo+jZ2wT3JqlePymQzj9X0eYm lSXPQi1sEsTgCMKbLtTnXYQ2uPgJ8SA9dupoY3LpsD4Xbqd8BgWmpULDYJDETgUtjx3D0k X-Received: by 2002:a17:90a:6c90:b0:3a6:d94d:e147 with SMTP id 98e67ed59e1d1-3a6d94de194mr3494292a91.15.1791238364547; Mon, 05 Oct 2026 15:12:44 -0700 (PDT) Received: from server.lan ([168.138.199.194]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3a8533aba95sm1719425a91.2.2026.10.05.15.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2026 15:12:43 -0700 (PDT) From: Coia Prant To: Vinod Koul Cc: Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Coia Prant Subject: [PATCH v10 0/2] phy: rockchip: naneng-combphy: add SGMII MAC selection for RK3568 Date: Tue, 6 Oct 2026 06:12:27 +0800 Message-ID: <20261005221229.1095843-1-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261005_151245_816482_F359B14B X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This is the PHY part split out from the v10 RK3568 SGMII series. No code changes, only re-sent separately to linux-phy as suggested by Vinod and Jakub. On RK3568, the SGMII interface can be routed to either GMAC0 or GMAC1 via the GRF register pipe_sgmii_mac_sel. Patch 1 documents the "rockchip,sgmii-mac-sel" DT property, patch 2 adds the driver support. >From the RK3568 TRM (Part1, Page 229), PIPE_GRF_XPCS_CON0 bit 1 (pipe_sgmii_mac_sel) is defined as: 0: SGMII routed to GMAC0 1: SGMII routed to GMAC1 The hardware reset value is 1 (GMAC1). If the property is set to 0, the driver routes SGMII to GMAC0; if set to 1 (or omitted), it remains at GMAC1. This is necessary for boards such as the Ariaboard Photonicat, which uses the SGMII interface connected to GMAC0. The DTS changes using this property are sent separately to Heiko/linux-rockchip, and the net-next parts (XPCS glue, dwmac-rk SGMII support) are sent separately to net-next. There is no hard build dependency; the pieces can converge during the merge window. --- Coia Prant (2): dt-bindings: phy: rockchip: naneng-combphy: add rockchip,sgmii-mac-sel property phy: rockchip: naneng-combphy: add SGMII MAC selection for RK3568 .../bindings/phy/phy-rockchip-naneng-combphy.yaml | 13 +++++++++++++ drivers/phy/rockchip/phy-rockchip-naneng-combphy.c | 8 ++++++++ 2 files changed, 21 insertions(+) -- 2.47.3 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip