Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp942302ybj; Tue, 5 May 2020 10:04:45 -0700 (PDT) X-Google-Smtp-Source: APiQypJMZvUQ3dpd4qlsCJ/Z8PyyL5TTmRDhNyrcnrc2VcOLzL+fLe4IN6cvzjv0CxithgvbhEL5 X-Received: by 2002:a50:f058:: with SMTP id u24mr3313770edl.171.1588698285795; Tue, 05 May 2020 10:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588698285; cv=none; d=google.com; s=arc-20160816; b=KIRQeMI4b49DoySz//a94afDvB1+a2dba7BaZuEikq0z/xOuuEyhxZKK/ZzQpF+Kv3 P2z7SrIsRFrrmG6DFNhx71wwNV6vEKMdG/nyvWAkTmYrgzYKChVzO6FxBj62CprOm2ce jhR1o7YrEdwMsioME/xiOeiFvM5b4bX0ImX71fPq6n9XBsFjySv5pI7wRqEfriGzgjMv nvl1HVuphn3H+kLL4XBDsQconemw/hl6Cv5s38B7XoWyILwvj6n46ccZiSPyU8JYQs+B 8RAadONp7JVjG12tIAqZYh+uhscZ1mks/Dj38aOg2tKunMBiNlW1dCC10iv3FSLOGwlO PDDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=4Fa9SRX5iGefguq9oBjY0ujY1kxsa+01Ny22B/LnyJg=; b=w6eUz6rsC/+InJQ0J0RrUpO0eZeVRmYzqZs/wxXpNmTcvjcqtGXPv0ijYsoZxojs/I 5hISCp+mwFP9BHoEs0EbCQkLiYei/eg+loXvPzuB+Z6jsICipHmzO3+jcJONiHrOZvq2 5Z8kxHvH4ZmdnBsggsUqt/YOIY5p/Yw/rPPRyzZotvZ+bsYmqxf2BQ77IKJWh4dvCvAU 6DpLdlpSLSJ0LoKtYVr6bp9NiuUddX6cgIPiR3d19B3hbwAWZJIMuLrXvfh5R/94WGmb GC21q7mP1PrOhiH0JayLvHXqQPNR9faJQ+HGdG2ZAUddILGxUnXm7Uq6Bq8mMFFTH0lx 2EKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ota0VHhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id q25si1538643ejb.274.2020.05.05.10.04.20; Tue, 05 May 2020 10:04:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ota0VHhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730488AbgEERCj (ORCPT + 99 others); Tue, 5 May 2020 13:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728804AbgEERCi (ORCPT ); Tue, 5 May 2020 13:02:38 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08B85C061A0F; Tue, 5 May 2020 10:02:38 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id x25so3111351wmc.0; Tue, 05 May 2020 10:02:37 -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:in-reply-to:references; bh=4Fa9SRX5iGefguq9oBjY0ujY1kxsa+01Ny22B/LnyJg=; b=Ota0VHhLwimGfuqQXDT5Cm/ryqh3nix86NndMnb4/lv3yKDFdLDPzSIF3rL/1VCQ8J c5JfalcNar2PI5aHHHMY+BVkiHyCgS/qr2yRvC8BUxaoZs/Opr9bgDh2xFrJP+yHb42Z kdx2HPpLIBmypvHxR8iRBlw8v1gkOvij88nxQSDewwTherDFxQJ6j7OmpK3SH1fQw3HN JR95is0tt0sfsleV0tTGzH+7CKoFhWTSNDUvBySF3MBuNv/wH3VWrpoijovq8iblG4TK hz7RBOvoR9VUpVy+vH4y2KnH/cXOX8RqaAUT5ZRUfRHzKwXm5tjdXa2WsQZMSAloY40o Oudg== 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:in-reply-to :references; bh=4Fa9SRX5iGefguq9oBjY0ujY1kxsa+01Ny22B/LnyJg=; b=YdFKyBzCQN0+/UT7zvIg6t2c1Ncz2jvPaFosUPdbRxf5eYkcV4rEtC9SxdodkTDabZ bICF5XX9LyR7ddaKhTiW3RFQBGmPOnXFciSmUkcTrKdnDWUmsb0Mhg3AFseJ2xbj5KVT Pk+379Sj5D7Lh9xBoFelYOkBE6Wtjif+gSIlnypJE6qRSrcdZGzyIKnoSgZeonawU+iG IOOdHhqlPs5+PWHHNmGRxptkqA3gihrhnPtVtYhlF/0SnXovAGNDPYnsJAeT9CgL/glS 0k5LUtbNjjnILdMwLUi0ewYwE45bbmLYS4DE/rMPhehBPYEY6uy2IHiStND6tPLmAVv2 HTtA== X-Gm-Message-State: AGi0Pubm+Il/Fwg7lc+LMNRBm/b3JYC0t414HmzuZvyokkKOCWy7LeaC zfkrxpmSNZgiJmlFs0/3SgE= X-Received: by 2002:a7b:c456:: with SMTP id l22mr4204827wmi.148.1588698156757; Tue, 05 May 2020 10:02:36 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id o6sm4397252wrw.63.2020.05.05.10.02.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2020 10:02:36 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: 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 v2] arm64: dts: rockchip: fix phy nodename for rk3328 Date: Tue, 5 May 2020 19:02:27 +0200 Message-Id: <20200505170227.6503-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200321215423.12176-1-jbx6244@gmail.com> References: <20200321215423.12176-1-jbx6244@gmail.com> 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 normally used by a phy-handle. This node is however compatible with "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22" which is just been added to 'ethernet-phy.yaml'. 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 --- Changes v2: Reword commit message in the same way as in the patches for 'rk3228-evb.dts' and 'rk3229-xms6.dts' that are already aproved. Patch 2-6 of version 1 unchanged. --- 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 931a9279e..fdf0e1b26 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -935,7 +935,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