From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79F872DCF55 for ; Wed, 29 Jul 2026 01:24:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785288274; cv=none; b=YkcMKamx89Uq4vbcRyPd4a+cBh/+BQwpiVpqZHVs6rZsMRdcyWfd6lBUQuBhQx5e5PHt7qny/76hNRrnUhbCAT4MXGCYlBzubaj0Oy3UR4w70FzWq0bRaapT6HDAooFEMURSe4VXMfPmakooo7vKDfKU+D4R6JQJDPF+YQp0N6k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785288274; c=relaxed/simple; bh=9kuNkMh30cWF5g7Vn8rhOkpm0/QjdCZ8taduOQM4uQs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KsMuu4zdytCWoBzZ2spjKBXm5SAC6xRGIBN9KSDgc7L2s/BbRsbjXWhDKAqBr/ImFdJ1+w9qdWRLIRBpP426D/kvIcpT9bbbnW0rFLef+d2qn3ladPWYm1zF1zNMbOHvwMcSR+F7o6Dj3noiIdZue6+Q6DQI5X7y3qvjhvdE85c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=frGtLM15; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="frGtLM15" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2cacf197759so7088045ad.2 for ; Tue, 28 Jul 2026 18:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785288273; x=1785893073; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=z0DReSFbvl/l2HPJej1GugpIyErIl/Q0rTs60WwHT90=; b=frGtLM1532KNnsN8iZQO9oujNc/sSNcg6vNDlr+9NPAuI+etYclDb2jy3N5kFXg6o3 w093OxNAopQRvPc6ZCSH+FLtAN5CTmB5CGRkFFnigNsRMlpT7xzTmxCyTY+/yZO4US1H O9qEIv+ttnyfBWITD8aeqY6wtjGLZqxxOpwqyBfsoMeQFeqnE5jNWA5XseIQrxRKSeMy ZfZU4WF1aCmZsuJa927QNMUxzTTrAxSBXDXbs8Fw8nQNb4i/1BKeo+5soHje/J3lMpFW 7A+3hww4X0xMWhkOLTBU/EkoRY8tqm3MCu9ftT2IkWoE2gUafDpfF/AoVOCWiB/txerR fGkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785288273; x=1785893073; h=content-transfer-encoding:mime-version:references:in-reply-to :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=z0DReSFbvl/l2HPJej1GugpIyErIl/Q0rTs60WwHT90=; b=fobOuitP3uXaZ0cdrC5cVt6gFT7v+AiGfHyCLqIKe0liKS6b/o2p+61p2idk9KDjLS JXaRr6Tx2V3nCMUDHWqMfQp+yc6HYiVbiHQyFKjYFAHugCAGWhUg0fJpw3p8GqbhM3Ow RIyH8TICvRPYaBQXmMmTJmD+4iRPE4LFXJ7IU/cu51rgXAUv2miLyywsjZGIiNLuyQ0q XQE8QpPAmBW9dbuuvbVWw+jWzAFlX81Y7Dtffc9wxzWv6LjV0qk3Lfh8jEyOE+M0GPt0 GQgwOM38Kz3ND0UMyvf53ZgAtMn1KtraktScX3EfZS/YHskAAtkPjZKl6Dd1ZKnHZDxT 02vQ== X-Forwarded-Encrypted: i=1; AHgh+RqYtverL34B4vZqOWAcruYD5VbYJgh+iw6qRbSMrBWFxLgruOA7RPynewxsZz3l4I38pUkiWKb3PyCcybo=@vger.kernel.org X-Gm-Message-State: AOJu0YyzrIM0RXMxuqPOksm7KSlDsrKa/vvfsaUjDy2VjmApHvo+VlPS Jpyx/O2Boc1HzjdNzNocHuMSR+3n+VdWlRoKVxwbt9JHODbTGZO3Do0nrpyj9MG3 X-Gm-Gg: AR+sD10Fgfu7YMprzZiII3X0njKH2kFzoKVpf7vKM4aela0qiRlkVSPDwyqzYTxIoOG muHFH3vrTI8SaCYpnS1yOGMcgULMpoIWLrX70gvj6tQdNNiOB8N8LKs1qKkP3Vkd2FsOj29i44/ h8v7vuUMQzWLcyGNoaS6pR5iBMvWBN9TOXRF3akaTf9jSEtLSZbkorzqHpyoUYgkmAdJbfNABOv sHNun3pxt0arrUvyFvzOJplu1ljZe0ITN39JLjL7wQaM8L7UyAAufIsfeWeanryP4snFAQSg5Nl U9rZW9avcfGD2SZJ9pWInYoAnlAjfo8KIykg8fcHniWbnc8amWQGaIB1LhI86xQicIzFjDCuuoa ZgIzCgsXEVS+kLFPGWNMtRUs5Aoqxel2Ek7+HFA2t08b0jcyGqrMfe5FTjUgd855SGzdQo5bRAU uNXoqDAmdwn+uSIovWvkdT6m6Sq2CBt1hSa1ZsV+j9zxHnBbrbXg2AI5PqsUmy0WqTxDmO4Q== X-Received: by 2002:a17:90b:5205:b0:38e:6f90:eabd with SMTP id 98e67ed59e1d1-38f6a3d599fmr5804183a91.5.1785288272736; Tue, 28 Jul 2026 18:24:32 -0700 (PDT) Received: from localhost ([2001:19f0:8000:3e6e:5400:6ff:fe38:3d01]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-38f7f292b06sm569244a91.10.2026.07.28.18.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2026 18:24:32 -0700 (PDT) From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: Inochi Amaoto , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Yixun Lan , Longbin Li Subject: [PATCH 2/2] riscv: dts: spacemit: Make dtschema recognize the etherent PHY correctly on K3 com260 board Date: Wed, 29 Jul 2026 09:24:17 +0800 Message-ID: <20260729012418.154652-2-inochiama@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260729012418.154652-1-inochiama@gmail.com> References: <20260729012418.154652-1-inochiama@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since the previous commit does not change the phy node name, the dtschema can not recognize the type of the ethernet phy, so the following error is produced: /arch/riscv/boot/dts/spacemit/k3-com260-ifx.dtb: phy@1 (ethernet-phy-id001c.c916): $nodename:0: 'phy@1' does not match '^ethernet-phy(@[a-f0-9]+)?$' from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml /arch/riscv/boot/dts/spacemit/k3-com260-ifx.dtb: phy@1 (ethernet-phy-id001c.c916): Unevaluated properties are not allowed ('reg', 'reset-assert-us', ' reset-deassert-us', 'reset-gpios' were unexpected) from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml Change the nodename to make the dtschema can recognize the right PHY type. Fixes: 9db839d52ccd ("riscv: dts: spacemit: Fix phy id check for the phy on com260 board") Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi index 2a07cd8f2a56..c7a04a338d08 100644 --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi @@ -173,7 +173,7 @@ ð1 { status = "okay"; mdio { - phy1: phy@1 { + phy1: ethernet-phy@1 { compatible = "ethernet-phy-id001c.c916"; reg = <1>; reset-gpios = <&gpio 1 5 GPIO_ACTIVE_LOW>; -- 2.55.0