Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2176305ybb; Sat, 21 Mar 2020 14:56:44 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsjYnCyuKvoNtTAiGrsTgczIAkPvWvuGZByyGJJBS11yqhpBoSlHd42brGsoxqHvd6mnRxY X-Received: by 2002:a05:6830:22f6:: with SMTP id t22mr13048993otc.229.1584827804500; Sat, 21 Mar 2020 14:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584827804; cv=none; d=google.com; s=arc-20160816; b=YIpsL15A0uMeGOB2rGwTGtvqbQiV+S6dlMMFOGiP2ZgnrowXeGSYINfCGg0oQYSIuB NZztl/RuZYpmvtcW9nvnosMYXYU/6pzbeFtPzK3/TlGp6Hi/Gvco71uxbYy9A2VTeIxC se8j+uIchdoqJUkklZXiBlGEBm5N1PeQD3QGmFSbI1KrxarrspCNa3RuvhLmvRsUAGa8 71+KL8iA2j0+ZFbCP1/dkr88vdxxkaumqByEwn1h0nuzIW5s/mtgD4jIAeXQQxhaSQuj /3/465zwSI+SCc4JL42IpIQguEKJbzXFvDW/mPEOBH8WgrEpTXKR264pheC7IAewD+5z zEyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=DpqLQNw+Y8418IGRjNUnbHR+oFWS/Jp+NdksTj8XtVM=; b=iQO07wk0OYywd93lmGLWcNYaB4+HZj1hnegNNNHzzL6iMSFgSilo5CY+8UeDTOMRdE W3uPi+1j3KXxga2gJ4XJbPJ3QfQ6pOfByg+Mef+lym/d2+ip/+Ma+nG04VDdUJL5gRKB 8+OHnis/1d4usy6F4i1R0yS69AZQcHYyCYeYiWKMeyZPbTabS9thzwqFpDJMeUOBS5gh 9BlaABenyp4RfccJssXa83kB38i+Rkh9ZHcsVtYQIPpbrKigHBk7edCGv908bI3ZoOZZ 1SePXndu9yfnphX56nG3TfHQ07xSMvmGKSKR6WxJIvadSsfDGQl/YOOu7vSeqmN43B0S 5aVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ieaj58da; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si5580381otp.239.2020.03.21.14.56.33; Sat, 21 Mar 2020 14:56:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ieaj58da; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727573AbgCUVyd (ORCPT + 99 others); Sat, 21 Mar 2020 17:54:33 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:47011 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726813AbgCUVyd (ORCPT ); Sat, 21 Mar 2020 17:54:33 -0400 Received: by mail-wr1-f68.google.com with SMTP id j17so8475106wru.13; Sat, 21 Mar 2020 14:54:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DpqLQNw+Y8418IGRjNUnbHR+oFWS/Jp+NdksTj8XtVM=; b=Ieaj58daFUjzApL99s/gSTwsOHAkxY28s8mVlRF88WpDa+sxVLHOlX54uBK0eR6+w6 mGDr5YMrqluu+3tiAUUza6bRaumRKLvtuLxfkM0in/Uon3yjy1txb42JyegYqiDv1+NT zPfhyJmgAk9yS5CSlW6fF3UBKBRZRjeJFZRb4+hrGyrOjnvyG/DJq9CuHY2Icf/s1/9h /fezGHHS5vKAp9nWyOteswcCAoIxcSPrBiQytB/s4Y/m2F1xYdynH1KhM4NV415DHTKN UDlbpxjNFjvQrER3+YZ8Fd6mKzINmIvmZZTlVENAu2dmW5eyMYnUaK7qOLNQ/uwk+DZl un1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DpqLQNw+Y8418IGRjNUnbHR+oFWS/Jp+NdksTj8XtVM=; b=YSy3khPTesiD/hOlY65Q2FjzVXHNSCKo4fxg4KN8P7SQQLX4xhtJwtgSt+1amQzZ/e g7F1E0VbE9qHlDFfXN94AWTdI0l8o0bSHeygzwAiO73EymutWvxvp+REyHUPnIISgX3r GIMGIaGCoWpdw/D86I5MIekhajN2RgfDrvbVVjNDfBQa+U98yEGjvw6RoK03Vszn3Cd7 gYPib/dI0ZHd/tbsYQ2zk17mkw/7Vo96OjZeBf3grCa2fiD9i9hzebBAgngGXphCLpLa D5NJPm4+/7gavWAufheq+Wy7wWpQCuDF7/oYORHwKbBI3b0lbFatXgDYy6tEVKEbrgGd C3oA== X-Gm-Message-State: ANhLgQ1aiyjlC+7uYaKTCU8ymH6Se1dnf185/lYjnXTO9hYuFtceDFYH bpOG+DdNOAs6hEvxOu8IYZs= X-Received: by 2002:adf:fc05:: with SMTP id i5mr19783133wrr.152.1584827671212; Sat, 21 Mar 2020 14:54:31 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id l83sm14113796wmf.43.2020.03.21.14.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:30 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robin.murphy@arm.com, aballier@gentoo.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: rockchip: fix phy nodename for rk3328 Date: Sat, 21 Mar 2020 22:54:18 +0100 Message-Id: <20200321215423.12176-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3328-evb.dt.yaml: phy@0: '#phy-cells' is a required property The phy nodename is used by a phy-handle. The parent node is compatible with "snps,dwmac-mdio", so change nodename to 'ethernet-phy', for which '#phy-cells' is not a required property make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 54b3f4616..8976c869f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -934,7 +934,7 @@ #address-cells = <1>; #size-cells = <0>; - phy: phy@0 { + phy: ethernet-phy@0 { compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"; reg = <0>; clocks = <&cru SCLK_MAC2PHY_OUT>; -- 2.11.0