From patchwork Mon Jan 18 03:16:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365449 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886614jap; Sun, 17 Jan 2021 19:21:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJxb8p5RG9OcdLcARBYjGtO1djhM846dVTLB5CmYlO8RwlSM/eqJYuay1fNhvOB8eThCWFfI X-Received: by 2002:a17:906:86cf:: with SMTP id j15mr8575934ejy.216.1610940100300; Sun, 17 Jan 2021 19:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940100; cv=none; d=google.com; s=arc-20160816; b=NmpJn1tceTYrYnQZwAv9fT2125sMkXUm6WaUid6R1C7+FEa/H8jZ1dPC/gQkac42PB 6ebkwFARatjlnSVns/7x7u3fcI6lekbOqxsLKSOJjCWB+xKNEjtGguk/EKdIxYopoUdt RXMWnHd8jUWsBB8tMdxTfNqYm30d/mabCrmPyI7bE0zZouh8N2Ib4v0s7ummI0JfjkW+ YbZY7sMN9pLaH3M5yJJPXWQTo0QZvmNuXZsvQ8WONwNdwMOumlsP0YrWNiHgU9o3sbDX uUqI5llyYJ6iy8zJB2UlPqsClA10sfI6UuWqvYtIxQ2RZ2Py59TfTHMym9tIYWQvbRq7 p4Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9jHKC4AZp/Fa1VfLUCGmI9ia9bQle5ZfPyU9zPb2XFA=; b=qiyBGKBW92wqctnjXu+2TRTpt/TwjO+GDnVb1E5kUofN8NqGprzvPR2skdg06fETI7 qaeVD3pxo2VBNJ6hITHBMmbGbnb/3KICYVcU9THoBxV8mU0uyrLhACORKBMgyDM1as+Z S+4W+Hw3IenJ9nD/e9SNjPYsw9t50ZlrUbxs3FYhbDZI7SHWr65wzNKaHfk0X4YKX++q lGy+ZJDwwlrZJL/OOIBSChSkXBi16Bz8/cduTzLQ+dPJcQBDzWKwj3VjB1b2VtzFnsDK oMepwthdVxsdQmsdk5Hdqn5zLmluVwm+PsoBDka7KIsMApGNHbhWiHD7s7/N8243fltj n/fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.40; Sun, 17 Jan 2021 19:21:40 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731534AbhARDVj (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:39 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:11171 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731529AbhARDVi (ORCPT ); Sun, 17 Jan 2021 22:21:38 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DJxpq3hMtzl6Hv; Mon, 18 Jan 2021 11:19:31 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:43 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 5/6] arm64: dts: hisilicon: avoid irrelevant nodes being mistakenly identified as PHY nodes Date: Mon, 18 Jan 2021 11:16:33 +0800 Message-ID: <20210118031634.934-6-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Currently, the names of several nodes incorrectly match common PHY provider schema. And the phy-provider.yaml requires them must have property "#phy-cells". As a result, false positives similar to the following are reported: usb2-phy@120: '#phy-cells' is a required property Change their names slightly so that they do not match pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$". Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi index 16e11fde3ed9020..a83b9d4f172e350 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi @@ -113,7 +113,7 @@ #size-cells = <1>; ranges = <0x0 0x8a20000 0x1000>; - usb2_phy1: usb2-phy@120 { + usb2_phy1: usb2_phy@120 { compatible = "hisilicon,hi3798cv200-usb2-phy"; reg = <0x120 0x4>; clocks = <&crg HISTB_USB2_PHY1_REF_CLK>; @@ -134,7 +134,7 @@ }; }; - usb2_phy2: usb2-phy@124 { + usb2_phy2: usb2_phy@124 { compatible = "hisilicon,hi3798cv200-usb2-phy"; reg = <0x124 0x4>; clocks = <&crg HISTB_USB2_PHY2_REF_CLK>;