| Message ID | 20260923-qcom-sa8255p-emac-v15-2-e82f33720737@oss.qualcomm.com (mailing list archive) |
|---|---|
| State | New |
| Headers |
Return-Path: <linux-sunxi+bounces-26197-sunxi=pue.re@lists.linux.dev>
X-Original-To: noreply@patchwork.local
Delivered-To: noreply@patchwork.local
Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mxe881.netcup.net (Postfix) with ESMTPS id A9C6E1C03CB
for <noreply@patchwork.local>; Wed, 23 Sep 2026 18:12:24 +0200 (CEST)
Authentication-Results: mxe881;
dkim=pass header.d=qualcomm.com;
dkim=pass header.d=oss.qualcomm.com;
spf=pass (sender IP is 172.234.253.10)
smtp.mailfrom=linux-sunxi+bounces-26197-noreply=patchwork.local@lists.linux.dev
smtp.helo=sea.lore.kernel.org
Received-SPF: pass (mxe881: domain of lists.linux.dev designates
172.234.253.10 as permitted sender) client-ip=172.234.253.10;
envelope-from=linux-sunxi+bounces-26197-noreply=patchwork.local@lists.linux.dev;
helo=sea.lore.kernel.org;
Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org
[100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id 90733E15DB
for <noreply@patchwork.local>; Wed, 23 Sep 2026 15:15:33 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C8B754146F;
Wed, 23 Sep 2026 15:15:10 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b="g/xKcA8i";
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b="AF+OmLMB"
X-Original-To: linux-sunxi@lists.linux.dev
Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com
[205.220.168.131])
(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 A4F1B53E311
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:06 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=205.220.168.131
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1790176509; cv=none;
b=qMeZteOcIyoABmL/8cgH6VLshLslEU7+SSG2UYvZa971tbBlin8YWL7xdiSmIfvMQEp0A92Ird2A+G6tJ+5SO/600M94Mu60gvUBG0tbTYmmFPHmS0OV405hOUDjpRErJHF4rXKmNUpzUqnmK613mI6HXrgZK065jzvq/wKyYEM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1790176509; c=relaxed/simple;
bh=BfrbL1Fwh6l+Z6nIdrB6wR8juwiurOHR3kGeK2lY/yQ=;
h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:
In-Reply-To:To:Cc;
b=OkwHxWVYa0wNGksOTcodNKowamdST8UQhCdcZEH60nQeu/6Bwgr4CiuJROJ6JYJPjicRB+8d33ToD93McdWK2hkmseL+ljcRMb0MP0yw3rXABgW0WhPOCEaaCFXURssc8U2Ubd1P+WWR3VsCjA7s39i4pwhW+77Y6bZuvN2Kins=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b=g/xKcA8i;
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b=AF+OmLMB; arc=none smtp.client-ip=205.220.168.131
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=oss.qualcomm.com
Received: from pps.filterd (m0279864.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
68NDKpCR2056305
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:05 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:in-reply-to
:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
EswjIYLr1e96wvciUd6ySjqcZdj8RdoKtvkdKwUdjN0=; b=g/xKcA8i+/NobfHf
BWhEYPeXdGSHGYYpPDDeFyNv9rVep+nPuQ4CckyrbRT/aTG0JaXqJY78C1J67l7Z
sruuwjsIeJityex8fyb/0uLQjjn1rk/EyVF2EUQwMHXnxbV9aK3wSHKQfaMn7PlP
l6lGZC973H7vyl/V17/Tkj3HSS81jkf4dwak9FvtV/s3raXj9cIvVCmZs3DfNIYA
2LuWTNltF2erkMJ6Y4c2T13iQwnd+m5Xwkb43l0l+/tz5kb8NPYXBho0wEu9+GA6
dxtSfMD2ZhbMz4KATPI8PrVPNqCLi2n2Vut1lv99OldheOvVeIsiTkpqQWXDU3wt
8B1pqQ==
Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com
[209.85.221.197])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gvfjv0hdu-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <linux-sunxi@lists.linux.dev>; Wed, 23 Sep 2026 15:15:05 +0000 (GMT)
Received: by mail-vk1-f197.google.com with SMTP id
71dfb90a1353d-5c82b120e93so402241e0c.3
for <linux-sunxi@lists.linux.dev>;
Wed, 23 Sep 2026 08:15:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1790176504; x=1790781304;
darn=lists.linux.dev;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=EswjIYLr1e96wvciUd6ySjqcZdj8RdoKtvkdKwUdjN0=;
b=AF+OmLMBLwf7oLWIkTLzbGacDYfCMUdKgAxX68HoaxDi7cbFPpUS3fn6x+G1q7KYhZ
7do9FgWdEBfcUU48kw61zhV8UNYIg3bGoZOw/5cxeDBvNc+/geC5gQdqAGehflXa9VAw
QbxnJDrdaUQnG7cELXM33T41wcbiCexDHbPgGODzzmRZvwbuxPzFR7WsN2nwQBjwI9OJ
sCEUZ6B3eYing0CfrF6WzYzRuQYcXmh8VeUpkrFgng3Oy1sViBZFagmd7nkeU+gJvHHm
XbyCTBcXklMFgBnX8s48+eCqrlNU63ijKrzlzE+vdN9w8tDs2noFjHH87NnyqMh2SfBe
sriw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1790176504; x=1790781304;
h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
:content-type:mime-version:subject:date:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=EswjIYLr1e96wvciUd6ySjqcZdj8RdoKtvkdKwUdjN0=;
b=Bf0yz3NVBUp7l4XG67qe497xbz7cOdLqyisSxR51UkIAvr9b/r0ZZpc2KiCPNOdXJf
MijCgsfXOCmStFUP1Nu68/TS9tnIDpbspxAbBs4qgUuYEqxGBfi7NSDQIrKAO2TTr3t9
0dNZiOCQSIzEaJcutM72oqOmoCfgA2gQF9dHTAJbc7c9YOrnq8Jm+qVHWvfLyfw2XGEP
cdoHdp3yk7f8vpr8rpqUd99QTYCe9dzzCVUhHLQHTJTOGQPnWQfqv/3WtJTE5aB9A4ch
10I+1Db+T9F5DFJ0UgXsl+zSdvpAiLxf02OH3Wh+9giM5nk1IYdWGrssJbjuRgAn8f1N
SJ8Q==
X-Forwarded-Encrypted: i=1;
AKwUvBx2GXbAZlfuKsFzpGw9AZ5PUeBUbNWIwbnYO+bkPYJtyMnGiuHqt8b+YZq5yx+a4QwPftodpDiKv4wr3Q==@lists.linux.dev
X-Gm-Message-State: AFuF++lkMqQZe1APCDrDSGjIYh54PX2PZM3jStwuUDUkSJHTqyCTMYvx
b791b2EOvjinsE0bt0Q4zXIoynJdBh2KSqxEJMVpoorohi6D8SdvUdu1FMSiwcJ0wG89f3M1f7a
SqoUodWPGhXLT0ZXkay04EFWa8d1tvQm+A1vF1qotej7+zgxJObcNFL8cm0OfoQCxjNRjtVStmg
==
X-Gm-Gg: AYBFou3S655h1OUmRfXCV4c1CV/mX8wGNFc02M6fJCygioMHBW2UZCY7pzJYk7Sb8z/
9HwKGAuucMOrB70DeruqUpLNfM1ljUBjPLFeiHsVJZXVy5tn417DySM/RsT/l7DO9nN6Rjg9RvX
i+CYf88yDV/iK6JXH80XKOTYNpwZZuqT9zbQL8TdmMfTjivS+jFC/PpPUv5uGzi2P3G3+YHeWLD
VlY16kW/2R42ajVomj445I25gYh5DenGI7f93tm9kr1F6dbVwq6pheYjM2XmNgq2FsrvbChRLnT
gS3SydCGjesCW1OdAOluV9PLfLF8nmZdam0Dx3ubyWXLy75qlZ2JTtX+jv+g/MlGguDlINi6hSJ
g/bxbXYHIxhc7otBKbAQaHwO9VX25
X-Received: by 2002:a05:6122:21a5:b0:5c9:a617:5814 with SMTP id
71dfb90a1353d-5c9f1676503mr3187468e0c.17.1790176504278;
Wed, 23 Sep 2026 08:15:04 -0700 (PDT)
X-Received: by 2002:a05:6122:21a5:b0:5c9:a617:5814 with SMTP id
71dfb90a1353d-5c9f1676503mr3187414e0c.17.1790176503766;
Wed, 23 Sep 2026 08:15:03 -0700 (PDT)
Received: from brgl-qcom.local ([2a01:cb1d:dc:7e00:34c6:dbd6:5b58:a3fe])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-49fe0c4054fsm55126325e9.3.2026.09.23.08.15.00
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 23 Sep 2026 08:15:02 -0700 (PDT)
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Date: Wed, 23 Sep 2026 17:14:36 +0200
Subject: [PATCH net-next v15 2/9] dt-bindings: phy: document the serdes PHY
on sa8255p
Precedence: bulk
X-Mailing-List: linux-sunxi@lists.linux.dev
List-Id: <linux-sunxi.lists.linux.dev>
List-Subscribe: <mailto:linux-sunxi+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:linux-sunxi+unsubscribe@lists.linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <20260923-qcom-sa8255p-emac-v15-2-e82f33720737@oss.qualcomm.com>
References: <20260923-qcom-sa8255p-emac-v15-0-e82f33720737@oss.qualcomm.com>
In-Reply-To: <20260923-qcom-sa8255p-emac-v15-0-e82f33720737@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Vinod Koul <vkoul@kernel.org>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>, Shawn Guo <shawnguo@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Jan Petrous <jan.petrous@oss.nxp.com>, s32@nxp.com,
Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>,
Romain Gantois <romain.gantois@bootlin.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
Christophe Roullier <christophe.roullier@foss.st.com>,
Bartosz Golaszewski <brgl@kernel.org>, Radu Rendec <radu@rendec.net>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
Drew Fustini <dfustini@tenstorrent.com>, linux-sunxi@lists.linux.dev,
linux-amlogic@lists.infradead.org, linux-mips@vger.kernel.org,
imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org, sophgo@lists.linux.dev,
linux-riscv@lists.infradead.org, brgl@kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
X-Mailer: b4 0.14.2
X-Developer-Signature: v=1; a=openpgp-sha256; l=1956;
i=bartosz.golaszewski@oss.qualcomm.com; h=from:subject:message-id;
bh=BfrbL1Fwh6l+Z6nIdrB6wR8juwiurOHR3kGeK2lY/yQ=;
b=owEBbQKS/ZANAwAKAQWdLsv/NoTDAcsmYgBqs+zk0lgESfJu4hyoxLhEt1pboqFY9LRHQZuEw
q0ROLyv5jiJAjMEAAEKAB0WIQSR5RMt5bVGHXuiZfwFnS7L/zaEwwUCarPs5AAKCRAFnS7L/zaE
wz4FD/4ml974ygSP/1dV7u+o15KeVGW38T1ko1qMY6cajeU7hdx6Qr106v7TNItQOExCcFYuhLI
MMmwMRi3EjGvQgzSOiVgdoqzyt3LLFe5dVcneqhHMGt4o7RcuIwfLnvDqWtyZrZ4zHh3MS6Z95G
RCuYcBIg9YUrkT92SYOHFyJlK/CBwKrmWWztnZ1KGv5wpDpa1iBxAj1m9B4phfGRCuBBmeEsC1U
9fpj5D5lAiB+7uWInhm7xVA3QB+t/Pv9kt5mySVyLL/PgiPdZgMqoi/EvoKawbQORzi8lNS70AZ
NqCrUEZiOrl5e/yRzUIEb17PYM8HJTvOksc0MyI4FOnXMSumjGdif3sY3lTs9JG2Dn7DfHJgtMS
qLjs/KP4L6YwLyOVo8LY7DdyR7Q6lv8gx43JDteeKzQZ0z7uc2dUYWbMaRP73kP/kpIn6hu7Iup
qWWrqOIitb29xK3xBPllY5waUZZqX1dlmv9+2DxfiGgfNDVgJuMH/c4nhBqHOplXDorkvfoUwjH
vy9EvQ5KlHe2hO3Bz9gUxk4Nok5S4BBIpUE3XRU+sGlu6QUjpYqRRWur8AYhy1QaEWAtTTPWzhg
FpPvfMJgXKlz6E35SUOkJYzI1aEdzFCWAL6cVs2kgdlgg8YPrK2AvV87CZYRP3M1eodmkx9Sl0/
HTv1Ck05DDVfirw==
X-Developer-Key: i=bartosz.golaszewski@oss.qualcomm.com; a=openpgp;
fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTIzMDA2MCBTYWx0ZWRfX7GzFd/WiiMiu
OcsnLHrye9ujc17hnqhYjcaLejWHZ5S6Tl8Zo7fIKh9JCb47AufEZaa2OHxz890afHmTxRH9QUt
Y/jzUqfPXuh8dbCkGIpqPB9rWR6cG3XE9UHRyxAjYa/1Ag+TKUhsO+KmX+2yorAHMx/3B89/xOF
ArU3zQrcv7Wpa5hAnZz+BnrxbOwNg+cKhsuLUJOTkCVCHCbwKfbp8RRcbQP3C8gwMpUbm09eL5s
1TfaQNhcwlfXOy9ygjKnPhtP89TJRjQZVQriTV4na4E8vZU3N8j+gpaauLVfuCSTwFVx+NNyEGM
bcgYebI26huV5iKuscZnU25Oa3kRr1usUwI+jkGsmmd/18w582BENzV+OjQ9ey15gZrsqibbGlH
0u7JyT9dTVFHSz2ZrN06CFOTO+HAmVAdwm6IjgleASZKnJJN/nATGYnkxg3pJiCYJt98GBw4nCl
jHQwHQ5pz/it4jrsPOQ==
X-Authority-Analysis: v=2.4 cv=aIxlOr9m c=1 sm=1 tr=0 ts=6ab3ecf9 cx=c_pps
a=JIY1xp/sjQ9K5JH4t62bdg==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=gEfo2CItAAAA:8
a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=wENndLYK2PIMvs9AUu4A:9 a=QEXdDO2ut3YA:10
a=tNoRWFLymzeba-QzToBc:22 a=sptkURWiP4Gy88Gu7hUp:22
X-Proofpoint-GUID: VGyzrTwhrh8Lo4rTlqTIsMkKZs7V_j2M
X-Proofpoint-Spam-Info: AW1haW4tMjYwOTIzMDA2MCBTYWx0ZWRfX4M2jYilq2vpq
sDLoc2tYJGHt/xsf9cLsBPWJylvLaOeI5yzNAyUKvyytPgpoevshcPvnDxO2hOpctsTiPV9nXDX
atv74MC4lxM1EiMTpjRL/xEnaARXl6U=
X-Proofpoint-ORIG-GUID: VGyzrTwhrh8Lo4rTlqTIsMkKZs7V_j2M
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49
definitions=2026-09-23_04,2026-09-21_02,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
impostorscore=0 suspectscore=0 priorityscore=1501 spamscore=0 phishscore=0
malwarescore=0 lowpriorityscore=0 adultscore=0 bulkscore=0 clxscore=1015
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609230060
X-MORS-Enabled: yes
X-MORS-DOMAIN: patchwork.local
X-MORS-HOSTING: hosting172546
X-MORS-USER: hosting172546
X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?=
|
| Series |
net: stmmac: qcom-ethqos: add support for SCMI power domains
|
|
Commit Message
Bartosz Golaszewski
Sept. 23, 2026, 3:14 p.m. UTC
Describe the SGMII/SerDes PHY present on the Qualcomm sa8255p platforms. This is essentially the same hardware as sa8775p rev3 but the PHY is managed by firmware over SCMI. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> --- .../bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+)
Comments
Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] In the new binding Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-… -- dt-bindings: phy: document the serdes PHY on sa8255p This commit adds a new binding for the SGMII/SerDes PHY on Qualcomm sa8255p platforms. The hardware is the same as sa8775p rev3, but here firmware manages the PHY over SCMI. > diff --git a/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml > new file mode 100644 > index 0000000000000..9e846e3815555 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml [ ... ] > + power-domains: > + maxItems: 1 > + > + power-domain-names: > + maxItems: 1 [Severity: Low] This isn't a bug, but should power-domain-names pin its value here? The property is listed under required, and the example uses "serdes". However, the only constraint is maxItems: 1. A node with power-domain-names = "foo" would still pass dt_binding_check, so the value of a required property is left undefined in the ABI. The other firmware-managed sa8255p bindings fix their names with const entries. For example, qcom,sa8255p-geni-i2c.yaml has: power-domain-names: items: - const: power - const: perf qcom,sa8255p-ethqos.yaml, added later in this series, does the same with core and mdio. power-domains also has no description, so the binding doesn't say what the single domain represents. Could this use items: - const: serdes for power-domain-names, and add an items: - description: entry for power-domains? Another option is to drop power-domain-names, since there is only one entry. The driver added later in the series (phy-qcom-sgmii-eth-scmi.c) doesn't look the domain up by name. The driver core attaches the single domain automatically, so an unexpected name causes no runtime failure. The concern is limited to the schema and the ABI definition. > + > + "#phy-cells": > + const: 0 > + > +required: > + - compatible > + - reg > + - "#phy-cells" > + - power-domains > + - power-domain-names [ ... ] > + power-domains = <&scmi7_dvfs 0>; > + power-domain-names = "serdes"; > + };
diff --git a/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9e846e381555514bb32177f884abf0cf2c942948 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/qcom,sa8255p-dwmac-sgmii-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SerDes/SGMII ethernet PHY controller (firmware managed) + +maintainers: + - Bartosz Golaszewski <brgl@kernel.org> + +description: + The SerDes PHY sits between the MAC and the external PHY and provides + separate Rx Tx lines. + +properties: + compatible: + const: qcom,sa8255p-dwmac-sgmii-phy + + reg: + items: + - description: serdes + + power-domains: + maxItems: 1 + + power-domain-names: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - "#phy-cells" + - power-domains + - power-domain-names + +additionalProperties: false + +examples: + - | + phy@8901000 { + compatible = "qcom,sa8255p-dwmac-sgmii-phy"; + reg = <0x08901000 0xe10>; + #phy-cells = <0>; + power-domains = <&scmi7_dvfs 0>; + power-domain-names = "serdes"; + };