Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp337414ybb; Wed, 1 Apr 2020 00:38:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtPeFNtuFmU/Jw8Xaf2K2oIRv9LD9uxrcoSSPhMHwaOmie2XeXtqWUpdGWXQ1ivSiKW6mjE X-Received: by 2002:a9d:6e05:: with SMTP id e5mr15632750otr.277.1585726688462; Wed, 01 Apr 2020 00:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585726688; cv=none; d=google.com; s=arc-20160816; b=B+wrx9mX91uGObS2kchHj8hbhVAC1UgtddpFsHIFGYf1r1hO6CJ5Z3NfKoc4OP13f8 KTqcLOKXDJ915jr15Xg8/LArQvGTZCiUa9E0ojvjeFhheajhID2gf8UGwV8ZkguLYLy9 oL3jtdn9uqndC4OWld2OQVkU6cvwJYN41NJZiQQwPH6QlI8+lf8m9as9mX7SvGpub6iI JKdexX1UfiZ75PfjiqLiTZdwYLz6PyJ/tBJF586HyRG64F9NEiVLnDm/JhmSM41fnqhe dk0WYv8HqLc9LlICSKqPpKZFcgD9eeojkW7cP3cBcVwWrcKo/Pj/2COb+kZ/Ex+dQQ0M uwRQ== 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=0Y6Wj9TjOPkwLscHBPA5Cfe2j0fMXJtpZJ9SAqxrysY=; b=PVNCzVDXgCXZgh+yPYmPyOdj5eiVdweX+gTdm3WPuKq7Ktx8tBOpAXJsfnYbandOB1 qRumDCVvBvbUE9OXmsXL8mX6zXldtYPFDnlHjVN9tpO+4qdabOr4wTmzVhcgJQEOUFHm yQR4TLzsRmZobLXsZwT27Ca8YseropSqAiGbRpusyCkX2dgtXnIYeOFC/9igb41wfJOF bfIYNG4gljdCUbYfBsbwMlu7/J8cib/f8NMZElOcXaG/oLiIuyWi/49/fvctoawMG2tO e935z5jvk8QJALzRoMKFdirTNZuZNpxTE9o9nOyabsB1npjCSMbX4yTOdZrVNS9WE08g 5ybA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gLIfnCa9; 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 l19si459477otp.119.2020.04.01.00.37.55; Wed, 01 Apr 2020 00:38:08 -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=gLIfnCa9; 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 S1731961AbgDAHhi (ORCPT + 99 others); Wed, 1 Apr 2020 03:37:38 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52752 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731849AbgDAHhi (ORCPT ); Wed, 1 Apr 2020 03:37:38 -0400 Received: by mail-wm1-f68.google.com with SMTP id t8so2046107wmi.2; Wed, 01 Apr 2020 00:37: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=0Y6Wj9TjOPkwLscHBPA5Cfe2j0fMXJtpZJ9SAqxrysY=; b=gLIfnCa9RtFY4bg+BQkrVUO4Rvy87KxQjWbI4NQsRQAzQL0j7izLckcgIVc92kpaIC xqfFVmbpVbso5u+xZy9+UrR6XKHdhiFyWltAqmDbM2rzuZLhLJVuH2NiPb5Z1MWAH88r i9ocprWSufx8F2X7UhYwELcDpu5DwChiP80XwBruxSesGs8H9BwuFhDO4uTL/2sRJAsO 2OgSzLfNkoKmgtbn5Np6X7TqKUDOmWuTNl6Ej4D9PfKmZE2wX0V3cmWoxAN4vsz0EmaK y8LoUpmUhQ4VOgyL7wxa0ALaHJABHW/scbpQl9TEhsNSVYHhxdd5qD9OTVmND9jgR1U7 QAEA== 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=0Y6Wj9TjOPkwLscHBPA5Cfe2j0fMXJtpZJ9SAqxrysY=; b=RcG9ys32HAjz4x5aqwzzOjoWuvynlHBnWn91d733D/I6aYEnS29r5dprwmSyAC+yEZ sQheb8wRK6j3abnUIvsJfamnVbqZGZ3Z69Y979ejlym/Tt/PHZPyW2gzQ4cAnpnvED1Y finjJmYehV4djg2e1whNkWSqVZK9PAX9VT+D5y4FoBHoNtR/sDgq4OLxAVww/SY9fzRR uod0IsvpDZTx3vXaT3a1GHfVkwKKdFQyNIsDUYE/EjW+gkMT7WyF67t8sdrexHbigP9d H9niZvD/2DPkbMSy4tazlwWSQPQS6I0jhcokOTGVJ/sTpMxqVScBpXYQGShmcQscinml 2LUg== X-Gm-Message-State: AGi0PuZ4Rmna/TAhpHHhKwGkW9+uo9MwWLxF5kmgeh6HCzK0YCBZc5AM TDVgLBFmUXSCag0HX4Ao7pRY7h1J X-Received: by 2002:a1c:dd8b:: with SMTP id u133mr2754794wmg.109.1585726655777; Wed, 01 Apr 2020 00:37:35 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g3sm1793431wrm.66.2020.04.01.00.37.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2020 00:37:35 -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 v1 2/2] arm64: dts: rockchip: add #phy-cells to all usb2-phy nodes Date: Wed, 1 Apr 2020 09:37:25 +0200 Message-Id: <20200401073725.6063-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200401073725.6063-1-jbx6244@gmail.com> References: <20200401073725.6063-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Current dts files for Rockchip with 'usb2-phy' subnodes are manually verified. In order to automate this process phy-rockchip-inno-usb2.txt has been converted to yaml. 'usb2-phy' nodes are now checked by: 'phy-rockchip-inno-usb2.yaml' and 'phy-provider.yaml'. '#phy-cells' is now required for all usb2-phy nodes, so add them. make -k ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/ phy/phy-rockchip-inno-usb2.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 5 +++-- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 ++- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index bd5f51d23..6f7171290 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -822,10 +822,11 @@ reg = <0x100 0x20>; clocks = <&pmucru SCLK_USBPHY_REF>; clock-names = "phyclk"; - #clock-cells = <0>; + clock-output-names = "usb480m_phy"; assigned-clocks = <&cru USB480M>; assigned-clock-parents = <&u2phy>; - clock-output-names = "usb480m_phy"; + #clock-cells = <0>; + #phy-cells = <0>; status = "disabled"; u2phy_host: host-port { diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 8976c869f..470783a48 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -830,9 +830,10 @@ clocks = <&xin24m>; clock-names = "phyclk"; clock-output-names = "usb480m_phy"; - #clock-cells = <0>; assigned-clocks = <&cru USB480M>; assigned-clock-parents = <&u2phy>; + #clock-cells = <0>; + #phy-cells = <0>; status = "disabled"; u2phy_otg: otg-port { diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 3dc8fe620..a7ee5aa65 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1391,8 +1391,9 @@ reg = <0xe450 0x10>; clocks = <&cru SCLK_USB2PHY0_REF>; clock-names = "phyclk"; - #clock-cells = <0>; clock-output-names = "clk_usbphy0_480m"; + #clock-cells = <0>; + #phy-cells = <0>; status = "disabled"; u2phy0_host: host-port { @@ -1418,8 +1419,9 @@ reg = <0xe460 0x10>; clocks = <&cru SCLK_USB2PHY1_REF>; clock-names = "phyclk"; - #clock-cells = <0>; clock-output-names = "clk_usbphy1_480m"; + #clock-cells = <0>; + #phy-cells = <0>; status = "disabled"; u2phy1_host: host-port { -- 2.11.0