From patchwork Sat Mar 21 21:54:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451437 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F9821667 for ; Sat, 21 Mar 2020 21:54:41 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5EB99206F9 for ; Sat, 21 Mar 2020 21:54:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pD8O8bNm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ieaj58da" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5EB99206F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=ixUUmqrL5bULprhF1S145PzGmcmWjmK7YC6xBGSG33A=; b=pD8 O8bNmiUMO42IStGQw90Z3rp8rYfCBVNSg8ihxxJ4Xlpp8dpXZ367ya6K1/tTSahOE5WOUeH/J19z7 yJOtynIy6F3lAOKto0HdXPIPxcPL4pGwlPdTrH2FeZGqV0+lUmHColXZQwHQaNcZBuI/IsTOh7x5/ QvAhE4kLKUFxkOhuvxGUYmCySbb5SyH159WdhvN4JXC0jMgP+p02zD5eG4HB+pbDva/yLEKyVR94w FYKTcEj7AnpPagZYBYoHGrPbfppt0cz54ltYmn8rq3s1a7a3vSk7teH7ZTyIWIgXrPJRanUeukkbR k//HGlVS4kvQmYpgVB18um4UgssLblA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4h-0003bK-Oi; Sat, 21 Mar 2020 21:54:35 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4f-0003aM-L3; Sat, 21 Mar 2020 21:54:34 +0000 Received: by mail-wr1-x442.google.com with SMTP id 31so5875112wrs.3; Sat, 21 Mar 2020 14:54:32 -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=cduFbfkN7trblFSGzHv8a855UhqOmpEhjQDTeBkl/LC4uC6RGJ4e35RUOMlhoxfIzC PPaFy0yiK0TXiwxD7EzOQkhCBlnSEn6T5Ub2XLQkTGVJYqPBBnXLTodBJAB24RrGQcu8 /ddC+OLcp+zh2GEhe4ZmDrylmowmKArKlS69VAodvCHFZl7hh6wmm/yqdZ6XwOM917w4 hnJlYbs+eF66r6dz3CX1EaoKxZ/TIQM0f4IXqjgWdKXJxIY6i94aokm7oskQ/fe/XBJZ g5pbfk1c37LWJkDnRNQvMmdzIANrlUxrA0NsWdVpIwGz60NGIifxpGwxGCr4gWzQMaEk O9rQ== X-Gm-Message-State: ANhLgQ1hjzf622jFlaNTFubaO1ns1uEVkl6BESQcmaHeCgQG6RvLV7qI 68fG8gIX09HxXVTZ2iKEd0BdRLCq X-Google-Smtp-Source: ADFU+vvRKpH8zZvngVS+BjZYxUICBZ/L0+SXI1hw0oMVZtCN4+mO/NHzqSU/EVpXrEVYGJT2aPtrVA== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145433_691582_E117EFA5 X-CRM114-Status: GOOD ( 14.61 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; From patchwork Sat Mar 21 21:54:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451439 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5BEFC92A for ; Sat, 21 Mar 2020 21:54:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0C194206F9 for ; Sat, 21 Mar 2020 21:54:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NpzUiZKF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mE6DwdoC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0C194206F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ud6jn9aeX4q32tpeBxZcMHAxwgd3wHA5SAlDZt81MN8=; b=NpzUiZKF9lG5teoDTI1rlZsq5S Ju5Lw7Sfb9+Abcu6AqMRZ67cLmIqE5relMez6bQDUTm87MKhG5UpooQsu8LwzIzYb2aee3G8hr5Iw SLaX4+COzDWYDuPgJvpwXOfV+Rc1hoWHt+eRn4GYQdcDGxzualJ7PKyEcFUHtWneqRcERA7I2vF9Y YuMZEvBQscNkNTmyrgC0KpKaJQB52+hUoCVjvGhEH73Mg7SXhT7YJRp3nJnRdqQ1RdM1BvKfkV39l BvxV527V8xU30durJpk7Tx1SLdhxdYYHQOGo4DFbjKoma1W3Kj6/2w9RhkBWdkxDLcNAzvgPR2Yrd 9GkopTQA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4u-0003mT-4i; Sat, 21 Mar 2020 21:54:48 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4f-0003aN-SB; Sat, 21 Mar 2020 21:54:35 +0000 Received: by mail-wr1-x443.google.com with SMTP id v11so11855111wrm.9; Sat, 21 Mar 2020 14:54:33 -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=/QGnM5aF633O9T+Q9bE7j7rBcANzw8cmYuGuF3OhlUI=; b=mE6DwdoCdvIrq6k6mckByOPROcnYRtJTsjJ01FfrQUXQfQpHOjpQ9NzteV55TDBsso J4bH/fAaVcbTldZtFetSL8nR6F07U7J/hNn29UDMnXCRcZVPHkFxw5gpn4B2J0hLfHip MxxqYLK9vMc2y7FCJaDgCV4Gt4j83HJ+X2p/NJPveRRn+SekYle/XHJEhGTkx8xJHXuw e7GarbzUhAR4IbNeUUfbrUIlS1iqmTJP9Wq5EgEFaFBR9JgwqPdwXbNF0htckv6c5rbQ O0D974ktV7tGRy4zpHbfnd6kPNXPMWZmPAIQWPfLkHeLmFO0hYFU1yK/ngn5Z2i42fby llyw== 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=/QGnM5aF633O9T+Q9bE7j7rBcANzw8cmYuGuF3OhlUI=; b=J5YvVW+Ufl9yceoqpgFQubRXRbswpGd0XhMiegrV8Nl0qNRvnDokduq1gOEk1O4NqF +j2bZxNVFsfWfB2qOh5zDOn+/QSnipOwRN48Qo1zsFvRq5bVdS9XaXcTqxqXGsz5/kIv l1oBtEVhXO/CwTn/GtGh66WRvn3vYuezUD6/6DYBCpJ1ByWHZZGV48ON5EfYf4uiOoJD QJsIQpge/qfQVe0VYO+S7617SepsxFbtreJvcpEvVnY8kuCKvHcGnkxS3qz1fR2BYM6S BF2wC2KJsPeXH6JyDi0KBbKh7w+jgs06tlljteEB7zYii9gQqITH9gi/dZviDnQCzdlI 8UxA== X-Gm-Message-State: ANhLgQ1mXCt1glWRsfRc+wd9NZGKqD/o43o4esVUlTy3U+2BdjxOyWn9 rtD7MY47HHJrjg2rEhoU1II= X-Google-Smtp-Source: ADFU+vuhRHlUNjw0nRmyX68DRkdDY/81x1nxjG77MQWmrMGsuHpBMKBLmYWp0wdtVlI085MN09BICg== X-Received: by 2002:a5d:5386:: with SMTP id d6mr12268879wrv.92.1584827672086; Sat, 21 Mar 2020 14:54:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:31 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 2/6] arm64: dts: rockchip: fix rtl8211f nodename for rk3328 Beelink A1 Date: Sat, 21 Mar 2020 22:54:19 +0100 Message-Id: <20200321215423.12176-2-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145433_908673_EE56A33B X-CRM114-Status: GOOD ( 14.00 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives this error: arch/arm64/boot/dts/rockchip/rk3328-a1.dt.yaml: phy@0: '#phy-cells' is a required property The rtl8211f node 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-a1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-a1.dts b/arch/arm64/boot/dts/rockchip/rk3328-a1.dts index 16f1656d5..fbd06a351 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-a1.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-a1.dts @@ -114,7 +114,7 @@ #address-cells = <1>; #size-cells = <0>; - rtl8211f: phy@0 { + rtl8211f: ethernet-phy@0 { reg = <0>; reset-assert-us = <10000>; reset-deassert-us = <30000>; From patchwork Sat Mar 21 21:54:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451445 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BAAEF92A for ; Sat, 21 Mar 2020 21:55:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 9839620754 for ; Sat, 21 Mar 2020 21:55:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YdO83f4Q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DYPMRioc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9839620754 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=6JUNHJI1FD2T6Es8KCvTGnwhBs2EheWkf9S8j98MFJo=; b=YdO83f4QqbAxNBTNvep4w6nPUF 4+V5cYsUPB8SuWJIS4yJciXSKThPtG+KRTjXfxmH3t0FQXkfyyHrRV7wKvKutxgsZd25hYytEWjmV VzI+Pi0OqHlfMf6Ypmz4TlCXwbgATBV5iHQwDQH0B8PwbtvKQwTRrLQz6pX4z5c2qTO+OUejd4HIu w0tkX24zIZ12AFTd/LSLsrlqcFKHWu5IT4efsjd4oRNrlkql8xGXOxo9Jx+s6lLEe88Cm5y+KJ7hr nEJ+5woW0ougE+mv//AqGg7XRt72ylmq0Pt291Rim8Sg4Mh2yY+exEapRjxNbLtSpOBBRtWx4BZFv GU1u1OVQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm5W-0005Jp-RK; Sat, 21 Mar 2020 21:55:26 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4g-0003aO-4y; Sat, 21 Mar 2020 21:54:36 +0000 Received: by mail-wr1-x442.google.com with SMTP id s1so11888777wrv.5; Sat, 21 Mar 2020 14:54:34 -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=yAx8su1/7aGFuhAGg/EaVyMzVkBJWF+j6/kaWK9mJHw=; b=DYPMRiocriecW171ocGwPa9hcFeccH9jeYHN2XRG1NEeJm4jMNxU5HEbT66vOzJ+0b TBM+D+7C+/rGvMBuWvg7CL+g6f8u/nBpXpE87DuISS9Miig1W+Lkw91huA7ov4ubDRsf FOpgumAN96EbnJbeMfACCrmh+z4C75zUyN9AgYGxnTo2DeubxMSx4kNyqVz6E7AdrEny 7fcCG5uRamQa0V/TnRUWzvNXwnVRKsZ8mfcAlfc4ACpKJ2z2GJpVTHk9UGlbvaotImyM YKaHOnPxLE2+ChXIQpvjLViwAimRpS0AQI/3bALuyQkarhgh26ntT3Ssj0/ZSaMQ0yEw /z7g== 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=yAx8su1/7aGFuhAGg/EaVyMzVkBJWF+j6/kaWK9mJHw=; b=oXT6TD3eOBMy8ypO7he0dMdTV2ysBFs86PHFKzgsa9jdMbQl23+LtZM9DZP6/cXVvT LroxVd3ynphqcs5la6HSun7k2/ca89WMcYRBXTUi3LcY/cCLi1bcJLvC1qV4xKNPCyTR RBUbbNVgaye2iRXmjOaufVMpnhqzsIgU3IOMoKBlagxBptgVMqPbBD8uoDbesjuD5vks Nnsh84FFVMF9fZKk7khk59CEE3NqBQfeysSMyMsv+cZBn7KgkX8JMDA116gFgLweSD1R EY9s6xjEk+omNWUdXsGJSs+W3mbpTx9ruSPN5niyrl3/AV+kS3dhQNTWHyocqrX0BZ2Z 7HRQ== X-Gm-Message-State: ANhLgQ2P1D0Lp/g493GHhKBqEW0M/UQndJBvhFV7/pEEYtBYV+Rc8+VH A72ahPfVH9ALARgZU6fFR+U= X-Google-Smtp-Source: ADFU+vv2IejMRNQduQ+Dww45mKhZKuLxpXnA3+KypuBSPMYHDsOLLuGwcTQoWBA5U+2hewuhWvgEPQ== X-Received: by 2002:a05:6000:1184:: with SMTP id g4mr19735035wrx.396.1584827673044; Sat, 21 Mar 2020 14:54:33 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:32 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 3/6] arm64: dts: rockchip: fix rtl8211e nodename for rk3399-nanopi4 Date: Sat, 21 Mar 2020 22:54:20 +0100 Message-Id: <20200321215423.12176-3-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145434_188565_EB0370F0 X-CRM114-Status: GOOD ( 14.14 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives these errors: arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dt.yaml: phy@1: '#phy-cells' is a required property arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4.dt.yaml: phy@1: '#phy-cells' is a required property arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dt.yaml: phy@1: '#phy-cells' is a required property The rtl8211e node 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/rk3399-nanopi4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi index c88018a0e..20529105c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi @@ -182,7 +182,7 @@ #address-cells = <1>; #size-cells = <0>; - rtl8211e: phy@1 { + rtl8211e: ethernet-phy@1 { reg = <1>; interrupt-parent = <&gpio3>; interrupts = ; From patchwork Sat Mar 21 21:54:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFA7592A for ; Sat, 21 Mar 2020 21:56:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BCF3620754 for ; Sat, 21 Mar 2020 21:56:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C0bSWOj3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SapOtdi4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BCF3620754 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VQ7dBK85YVbJbbgfWiVx2kCTZPSzEBl/0d0C1l6jJwA=; b=C0bSWOj3A53CWm2PxCjdDv43H5 ZMauxGvcg0FZ81BLPV8ypoX8+hVEXRcdQusoyJeGNCO0Z0qMz/davthFqn0FgxuJ9R4LPqGtbGLC2 9ApbSsGUI1vrBxMpYKfU1mNxICfVQjfCDQyuFIWikkvEdpI2+DYFpO+3ZDZ5GvXCc3SAA0Elm24V7 fbK4axACjW4DXGMMPKwDS1U2SOTylTEKNP5TPv+0DnJR8TNFzciv4U/SwAt0dSLZknRju4rUfdDGZ f93hj+yMlRtYXmaJw/mP2Jbqudge66o64KfE5AM0MKVUU00WJnIV6luB+HhDjbu0R1D/NuU5Cuf5v 3OgGPg2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm62-0005pr-I2; Sat, 21 Mar 2020 21:55:58 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4h-0003b4-Fp; Sat, 21 Mar 2020 21:54:36 +0000 Received: by mail-wr1-x444.google.com with SMTP id m17so2908399wrw.11; Sat, 21 Mar 2020 14:54:35 -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=Bxcr3nNnRLp2AG9FEGj15mIEI/kFHkOT02wIVui39kg=; b=SapOtdi4CUcy3PP4jh3XqIzTwXML5Wv/wnJb/OwAFB538IYea64Y6ExPjoIG0SzOij aazEeEFBMTbZRxJ4kBvuZfLBiYAQZaKjT4GHqsjMWzxDsm0IKi+b3CQjbL1re6vuKlxd dke7jLU0SPvxmQsNC4eBMfOrWt5c4xe+Qzhd8PQkjITqEcKBE2vwkjz4WEbWOyOj2TcF mnwq3ZsB1PXSG5zUc1W19Xb7xG0a5/GCRVcZUpk+RakV87qMK5qVqLisUIY+bXPYTbj5 X8cwdXTV+ynxu6erBzcT+pbSop0dflfJjK2Atx6w31QfcHGOb7g8tZMpvEDxMzx1vuKB ORvw== 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=Bxcr3nNnRLp2AG9FEGj15mIEI/kFHkOT02wIVui39kg=; b=rrsRP/iKYs7urQeJ8qGBMwucpOGrdwsKg3VO0tXGpph7klTgpyjISbpjTyFbQJ1DfV 5iMZt91kg6mja2LzdIEOcW2AfYq+QsrAZR+A421UY4Sm7KD5YVueAb7rA0gT0DGJsQCF xJb4XBs3i0O88hVw7XQC4jO5o3TJFGBUpQ1t38y89NM7EzaFTpAg9YsIy0cAZsCjtGPm bHsvZrgdMfaaPx5IMW4GNIXkiLkz95Q8kTpFrfkmJ4QDSZ1wx8X2L3idR/pcufwhTAav 2vIfQTxgkO7x87hxIzj2gHDvnnRz9e55QlQGmSgPhMHMwbqBMeXGjoj7iCVdAe9mK3BD jPYw== X-Gm-Message-State: ANhLgQ2OGU4nCCOF3uo13RjdsW6DEXkQtRe8eJs5fcRrgjmGmcBr5PPK NwW6EU9JVpHMFJ0jy54bs0Q= X-Google-Smtp-Source: ADFU+vsnerx72rIsn/e3/S0PUZrUA3I/NLF1OcJy9UClE81yPoADVu/RCabv7zYfNmrnE2Ad6JVelw== X-Received: by 2002:a5d:528e:: with SMTP id c14mr20126416wrv.308.1584827673988; Sat, 21 Mar 2020 14:54:33 -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.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:33 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 4/6] arm64: dts: rockchip: fix &pinctrl phy sub nodename for rk3399-nanopi4 Date: Sat, 21 Mar 2020 22:54:21 +0100 Message-Id: <20200321215423.12176-4-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145435_535646_5D62F7C5 X-CRM114-Status: GOOD ( 12.70 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives for example this error: arch/arm64/boot/dts/rockchip/rk3399-nanopc-t4.dt.yaml: phy: '#phy-cells' is a required property arch/arm64/boot/dts/rockchip/rk3399-nanopi-m4.dt.yaml: phy: '#phy-cells' is a required property arch/arm64/boot/dts/rockchip/rk3399-nanopi-neo4.dt.yaml: phy: '#phy-cells' is a required property 'phy' is a reserved nodename and should not be used for pinctrl, so change it to 'gmac'. 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/rk3399-nanopi4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi index 20529105c..1d246c2ca 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-nanopi4.dtsi @@ -525,7 +525,7 @@ }; }; - phy { + gmac { phy_intb: phy-intb { rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; }; From patchwork Sat Mar 21 21:54:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451449 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D4981667 for ; Sat, 21 Mar 2020 21:55:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 26E532076E for ; Sat, 21 Mar 2020 21:55:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HjrNWWxs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZeU5GSaa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26E532076E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5JicfJuzTKUtv6LXfVNeagHJSWPIFArDhUh3+RxhSy0=; b=HjrNWWxsntpY/Yk/rklb+e2KT5 TlnMFUjUrhy31ZBNTPMlLs2lkWWuZCC9zd6lZF/O01EQof+CMbu+ogv7z8jAqHS7+XzKbfgyzaWrS OR97Kkv2OgwxVK9PQf5iS7hRWLc2YANh09W2OVu65oA2W13yNSQ5mwZSRURe8vzMEr1EQFzhda60V wyDNCMbOoI4zbdF4GPNxUS30wndb69g3oYwDbbkVTJK8se/plW+ipriNKsPCOc2SuSJ2aBQv6h/IS vbNUIzr8BGrHVlZu7n83uW4TQKA5efRvgVtvj+xBS4wTf3uUxxAkVWu0FF6lPkFUWvl8buJG8RlC6 mT/ZSRew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm5m-0005aY-4E; Sat, 21 Mar 2020 21:55:42 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4i-0003bJ-4K; Sat, 21 Mar 2020 21:54:37 +0000 Received: by mail-wr1-x444.google.com with SMTP id a25so11909161wrd.0; Sat, 21 Mar 2020 14:54:36 -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=CRbOK0Ug5vXhs9Z5fx1QPwSTD+scMmXofqeuZ2mekL0=; b=ZeU5GSaazwnBvQe4FiH0Pxb6wa5Q9/UWZtE29jPBGqMsThgxKNMe2flZjSeEa7evUG xm9aj/xmgysYMgjKSMGjkduMqHh7Vh2nDZZEwBJxZY5oQPvXbTKaJJCd82Q1knkRK6dH 0XqGEKxQxGLfexoPbESNTIeE8AMICKO1JkAHG+EGnZES+3F2S8bugNdjF2tQe9vRNJX2 zVC8kReytt4t7UMbwa7rlFrZdzPyAItaBm7tSCctbSGH+6bV5wNwKlO8EVzdGlPxEVRp PxPFE8Ks1e+z/fM9Jl/uIBC78R/9hPjPn3kfdptZNMH49Vcr7g8uI2uyJPpKSBbXCf5a Q9bA== 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=CRbOK0Ug5vXhs9Z5fx1QPwSTD+scMmXofqeuZ2mekL0=; b=Hn+dSNttar50h3gskQJdmtnPaxaLF/Z7j5jGGRtNR09xxJakiFPDMlIH08fO9/2Xxp 2akVolzdjzh7tIc7NDY3tfRMd6mQt6FlG+kay12CAzgKTPwarJmdsjIAAjbkMi3cuEp3 dhOLpi3aBYVu5ATVYLtlytq1vVLjmVjSMuBYS5HkbvqySLD5fd3mS/yc8yb+NaNfUBem vJaCkMk1a1xpFkkLrZ6/8uhIradEcukMlgVfw+yp58oo3K+JD6LrjySWwv+fNlf5IOd+ miC2b+teSke3EM+D7tVp9ukeRoLttQ7Ztg8dxYiU4Awavg3SXq1d3i8nPIHSQfvH1Wa7 BE6A== X-Gm-Message-State: ANhLgQ1vtJMXoaXxVwNhd0Uhszrijm8NnvQPssp/FftZUs/tQ0l19VrM h6L1qyq/a5BQksT+pR0rYePGh8gv X-Google-Smtp-Source: ADFU+vtATJV3UPOuxt1SDCJN9hIZRqrM8HTS/NXRJUM+lx3c5VqCCNm2IXp0T90Nk916rwvxDgkyAw== X-Received: by 2002:adf:f7cb:: with SMTP id a11mr10473149wrq.79.1584827674881; Sat, 21 Mar 2020 14:54:34 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:34 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 5/6] arm64: dts: rockchip: fix rtl8211e nodename for rk3399-orangepi Date: Sat, 21 Mar 2020 22:54:22 +0100 Message-Id: <20200321215423.12176-5-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145436_206268_6D39DEA3 X-CRM114-Status: GOOD ( 13.94 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below gives this error: arch/arm64/boot/dts/rockchip/rk3399-orangepi.dt.yaml: phy@1: '#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/rk3399-orangepi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts index f9f7246d4..afbcd213c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts @@ -214,7 +214,7 @@ #address-cells = <1>; #size-cells = <0>; - rtl8211e: phy@1 { + rtl8211e: ethernet-phy@1 { reg = <1>; interrupt-parent = <&gpio3>; interrupts = ; From patchwork Sat Mar 21 21:54:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11451457 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D07291667 for ; Sat, 21 Mar 2020 21:56:15 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id ADF6F20754 for ; Sat, 21 Mar 2020 21:56:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YRedtNwg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="G+Ny8yQI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADF6F20754 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rvv/ibDyfc12q8yAGNRbaCaqSdP3+nw0A0YYX17Brwk=; b=YRedtNwgTNaE0B+JxFHocJzytf ncbOG2iOD9u3MfZDfCxkQBNwwcfiWSEv+X9g2FLw/hhUS8eWBuhAgmPxNvr45auxS+nSM8NnxJ/rd 4EvfNHKQrdFVNlu4APU8fAcPfRZnLZQz9ss686xF78/LAX9JJpkmij+UcGOARnx2yj7Zm0mcmXdX6 fADyUY2uTdeKVyG40cqbl4aarMkywxGKM7iiIB76sm/+R77EoPLSXT8M38Tny38b1ev2UW30o4VjG spnGIQF143vDXkzbvl0C/MbIW8aKc8oMUKapyhgviZex69A9BUlGRuJr8H9JbllAcuFGIqqqpf9a+ wd022uBA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm6G-00063c-64; Sat, 21 Mar 2020 21:56:12 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFm4j-0003cT-71; Sat, 21 Mar 2020 21:54:38 +0000 Received: by mail-wr1-x443.google.com with SMTP id v11so11855198wrm.9; Sat, 21 Mar 2020 14:54: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=yDruFVRHrSK5ODyzVMCRmTY0CPw77IJrtm55iVL4ls4=; b=G+Ny8yQIOG79RvLyCWGo3N2mrPHkrZ9M5A1g2Au0NO6RFN4ptQofj4Mkgf1YnTMN8z vvGFHT5+X7Jw7LTXVTr0O9jUE22wtXMADFetR2VO9M+Wn33ED7i3F6h7NX1qpzl+EEGL jII4jAFp0ngp6w+7X9/wcv+2jbi2/T3FxOdfIMhXkcQtbBG6FoxfB9t9rdX28Fi1WPq+ Qsa/MaPBd5uWfMGcMVA/4+e5H0GZveBJ6Mq84RcjVOh0soZtDwuAcw2mwss8TKMNadJN 3WaWwa6qJi3KDebK1190XVuNe7u8/G5pV8XoYtWqBkTVbegKvih/AaE7Jw4vtBqpeq7l Yq2A== 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=yDruFVRHrSK5ODyzVMCRmTY0CPw77IJrtm55iVL4ls4=; b=VWmDT0ZF89WD2c4CKXniISzzxEvLP9l6Qpec6mVVtx0vM2PQ7liUpwBAqO4ElOmYSb pBOOsQuFarr1gIdPzfZzP1dCh1+nhh43n41XAHu0sSR6qBxF7V25DNMnsMwCwus7Vwro aLuQcfkh+ECyaJcYKXh5ToHD6qPEh+InNyGJBDxTFiqNXDGlKMlybYx4vN5Unpc7nNBD 0i3o/WONyC0eju9J0KMtaPKb4KMnuarOCXVAEoCxHSm1TZVC7nRBoGgkT57d4uK6u5ca CDgGX0fLFHGEVn/Z9/pyZvP0uhJrjoZWbohfHbnbPP8dLuRQeFwidRUqd4shffhpP3aH g5og== X-Gm-Message-State: ANhLgQ1jxOPVsMPm2T+YiyYYp8zhg8xuL8RXpQmxZavLl2nN9tfPgId4 OAUp/JpOkDZTVP63D0fAK4c= X-Google-Smtp-Source: ADFU+vvfecVP4/2cTL1Qur4iAjfBJDvtPVohFp7zMiubwjXigr+XQIYueXlTgQ5kqnzW7sC5BvDI8A== X-Received: by 2002:adf:8182:: with SMTP id 2mr18848820wra.37.1584827675862; Sat, 21 Mar 2020 14:54:35 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Mar 2020 14:54:35 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 6/6] arm64: dts: rockchip: fix &pinctrl phy sub nodename for rk3399-orangepi Date: Sat, 21 Mar 2020 22:54:23 +0100 Message-Id: <20200321215423.12176-6-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200321_145437_282314_A171C19B X-CRM114-Status: GOOD ( 12.74 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, aballier@gentoo.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org A test with the command below this error: arch/arm64/boot/dts/rockchip/rk3399-orangepi.dt.yaml: phy: '#phy-cells' is a required property 'phy' is a reserved nodename and should not be used for pinctrl, so change it to 'gmac'. 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/rk3399-orangepi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts index afbcd213c..6163ae806 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts @@ -554,7 +554,7 @@ }; }; - phy { + gmac { phy_intb: phy-intb { rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; };