From patchwork Thu Apr 16 17:03: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: 11493545 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 0DF4881 for ; Thu, 16 Apr 2020 17:03:38 +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 D877D20715 for ; Thu, 16 Apr 2020 17:03:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bLQ0j3du"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="uNKTtXHP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D877D20715 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=jEieJq0v4/YTwEn0XzzQxIEUh2OH/maaW91HDRP6kA0=; b=bLQ 0j3duuWRO6kjQ3c9kuTYlbknNR9UdBWec2gDu/xJL6Bsb6ZoKXFgxWCwrpfnTmdnIyhBYMZJY00+/ yVcelgLe5cfUs5+Tvl7EcluGkvtxVelAn0411Y9lY3Qadql4BrWexcaqdiJgnNqrcObcvwksFjcCj 3F9oJQWGtz1VNu6mCkHdaPGsY4ySQc3HiqFUa3LSQt6GtnuPfQCOzyHQQckaPH4CpRx6dtCWsWzB/ bP4mBBHOTiADHePbZhLXGry1dfKOIe2JqJbLk29PkPE5elddcbP+h5LvMLU5APgD6pWN8La8trRUq yA7GOvdcv7Jty1xeuMXvZgPV9xA1Giw==; 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 1jP7vJ-0000EP-Nl; Thu, 16 Apr 2020 17:03:33 +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 1jP7vH-0000DQ-Av; Thu, 16 Apr 2020 17:03:32 +0000 Received: by mail-wr1-x442.google.com with SMTP id f13so5653874wrm.13; Thu, 16 Apr 2020 10:03:29 -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=nLvlmP+OaOH6XW/i7K94s12/ONzxLukR4SF+ucpoCHw=; b=uNKTtXHP8cvUQQbNFw1c9nnkLSq7dHHgQI0iH/8O9iGDfpfukB9BaMqONTL4ICZlFp CDsLCWWKI+nGlFRMktoyd4JjrbUbBkAvY2WLSV4Hb8q8NQ1or2X9ZLaPBOMz0z2JCgBD 6iaa8u2mYbUr5jD5zPfKDmpVohCiuYqvxvd/Zf2LQal6zKnZQqjVI/ar6i5wrqBUC5Tq OOyaUGdFlbkKTB19y0b89KYUKHn46XnfHoqB6RxBbeAV6Q7A3af2LoWD+56J2StptJxR EZChN5V76QQ79KAibeYHEds7O0AtFN1q/Q6AjHYJSTK6PxGdiL3va23xkBGiQcjjHDul GfbA== 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=nLvlmP+OaOH6XW/i7K94s12/ONzxLukR4SF+ucpoCHw=; b=XXktGpD8cX9LHyHvr+3CPkxQX1RRqx9DN1V31sC0HLcHahOv91uPuucRJHAO7WbDi8 6zUVdoF3I0vOJaDPrjAHd0lx6vGTVVBi40fPeMZ2UgU6fkXx5tYmCbmWqc+7e3oxVU3t y1KM7BUS5OFS4BgqEFWlzqc58aDjCSQRJjmBaV5IOiZby/LigU2u1WMYghtUUDGRh2Zs w7bOKSeqymjZg5H3fu+a4LDVgUQGad90mSEXmQN7fPcBMfGJv4HHP5EKL5SO12xNAqF/ 5hR1ncKS1oxOTGpQEsKu/uXeJoNjPBxmabjA8HEGu8zsDxQLzlA7Gacq7Ur0+efO/zjE +4yg== X-Gm-Message-State: AGi0PuYE+udYtNKPrClNJKMBiVhyBfozw8KeLXjYr3/rgiHs23b9/vlR 7u3/gF+wGEKSwrWurv/sdKda5tXo X-Google-Smtp-Source: APiQypK95rbXcmypBPzPHCxDjxmMrTBCh+O7czfG2FI28j7jzckXtzx3G4SBDQAJt4D/gvqxhBXPlw== X-Received: by 2002:adf:eccc:: with SMTP id s12mr28943588wro.15.1587056608237; Thu, 16 Apr 2020 10:03:28 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g186sm4339600wme.7.2020.04.16.10.03.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2020 10:03:27 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 1/2] ARM: dts: rockchip: fix phy nodename for rk3228-evb Date: Thu, 16 Apr 2020 19:03:20 +0200 Message-Id: <20200416170321.4216-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-20200416_100331_399425_6C9198F8 X-CRM114-Status: GOOD ( 13.27 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 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 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@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/arm/boot/dts/rk3228-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=arm dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3228-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts index 5670b33fd..aed879db6 100644 --- a/arch/arm/boot/dts/rk3228-evb.dts +++ b/arch/arm/boot/dts/rk3228-evb.dts @@ -46,7 +46,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_MAC_PHY>; From patchwork Thu Apr 16 17:03: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: 11493549 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 75F81174A for ; Thu, 16 Apr 2020 17:03:47 +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 271C820715 for ; Thu, 16 Apr 2020 17:03:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NpXCyAuH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="etEaeasS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 271C820715 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=AGMO10IICr343uDn1lQbT9sJ7vFd13t0yDtUuq2bAtY=; b=NpXCyAuHGmt8IlJzzeyhQgaMNG 03tj8BHZHXSh5QNffCvUkuwmZVqBkWjPgywrSo3MAEKFzXuA97/4NEOMNe8X+au8ie7OCUHTrHaQt TETSnYEXNo7HirZbhyOSeD/GKZctOeK/ag4rNbfEDCTl2fx8/KBeRap3xIu8BW//sRiZwFn8G+PK/ uduTQsoeK52wWotNIETSPSSXBCykXrPl7KW4sZz+ichyGg/0ld8ttqtYgmz9Q3jDyEiYIxxg2k1eG FZLTW+4cXsEajyCzjCGGgKTLOzayUQA8FDUD5uZaHldqC3sVOXoBcT7pUIMPfdWUB6k6XLexMcX0T Mi5ER+5Q==; 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 1jP7vS-0000M1-37; Thu, 16 Apr 2020 17:03: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 1jP7vI-0000DU-2a; Thu, 16 Apr 2020 17:03:33 +0000 Received: by mail-wr1-x444.google.com with SMTP id h26so5709542wrb.7; Thu, 16 Apr 2020 10:03:30 -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=998VS9NQrf44xyeybmnR7tkwj8PiFEeNjnEnBJHx1Ko=; b=etEaeasSiSnGiMygaw1TlDGQZ5cuMJRKnWb8gWIaGHwyAXZBfJeejm33AX4ONaR8aI JxtnLBp+/eySPyxInci7beLJ4a52M/l9P5oIPnZIWPnk3E/+YPJkf1D28FRUYTewa3gd jpgUngG5usb629smh5qO5gW8bxf5/gSYukgwdSU9/cG2PyZJCP0WeNbbOt7zmuLALD/B lF/vnL+ODCRBwZGOX8dtzV9+aiKO5gJu70kFoO7oPWBO7ck8UQbkCUqvVL9DbSE8OkBy 3Wl2foDhlFoaaT+DXs8xvh3hVFeCXEg9Aa/5CqjGoV1OaCiJPCA46M8FFylgz6pFLtqn yPBQ== 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=998VS9NQrf44xyeybmnR7tkwj8PiFEeNjnEnBJHx1Ko=; b=iuZSfYKofKMgt7bokKK6eM9VRC3OrNXQsT4R/ubnlyPs0G54yI58hvG6K1bymfypZq CW1AvUdM7EnXo3SLnA5hwitR7TvKxA5qO41pUNLYADFbHyefm6ZeDM5WP8MnIJio+dl7 U5KZaoIYxWeN/vyc166CyNOWMvKuPLUr6tz8d6CojgVAbwD9v8NDE+Yeto5Jnen5NiTG 4Pp84OJdmNjdZp1jj9ifUMVfdl24jdNQOBsOiWyMHf1Bx0RbcxuuAJeCXkBU3aep5X0c pSteili6RJDB/iOu2ImgCqmZQc+QG6sIsXVisN1wdrKEe4BKVsjFzoI5szRPREpFtCQK PxbQ== X-Gm-Message-State: AGi0PubQaurjBx4GiL3KYaVv57OjuA1v0/L8TjDYfVNiTZCsX/ZLPrDj 1HCsWfhPt/+ABPvy/DV11EE= X-Google-Smtp-Source: APiQypJ4BZpuLiC8lmK4Vpk0+VBIqECGuTW9aEjV8pEaWUoRQYlq6LDI6LbwtVgS38F2ll9IB9SpLA== X-Received: by 2002:a5d:49c7:: with SMTP id t7mr34097581wrs.22.1587056609264; Thu, 16 Apr 2020 10:03:29 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g186sm4339600wme.7.2020.04.16.10.03.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Apr 2020 10:03:28 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH 2/2] ARM: dts: rockchip: fix phy nodename for rk3229-xms6 Date: Thu, 16 Apr 2020 19:03:21 +0200 Message-Id: <20200416170321.4216-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200416170321.4216-1-jbx6244@gmail.com> References: <20200416170321.4216-1-jbx6244@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200416_100332_114841_C99F47D4 X-CRM114-Status: GOOD ( 14.14 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 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 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@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/arm/boot/dts/rk3229-xms6.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=arm dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/ phy/phy-provider.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3229-xms6.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3229-xms6.dts b/arch/arm/boot/dts/rk3229-xms6.dts index 679fc2b00..933ef69da 100644 --- a/arch/arm/boot/dts/rk3229-xms6.dts +++ b/arch/arm/boot/dts/rk3229-xms6.dts @@ -150,7 +150,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>;