Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp581705ybg; Thu, 19 Mar 2020 05:13:29 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsosvXEtQAoPKljxyEnU75tmhtZ9eo+TsJ5u/kVEISNGdPM2NVSQtaVFXLk/PUx6aQBorGu X-Received: by 2002:aca:fcd6:: with SMTP id a205mr2111117oii.28.1584620009492; Thu, 19 Mar 2020 05:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584620009; cv=none; d=google.com; s=arc-20160816; b=DDbZ+ZGFCf3cl1QfXZcLrE4/VPgxc1Z4oXcR8RtjXX8rwJ7pn20okpxtgsGDJdAAIm dxXkVBUgQbeFdEHDdQ8CmqiumujF9zFCdyR5wo9ew/8/DX0TIWZnXDvv6OgJdrv04XYg ErojBFaBsblCHk+PLCw4mMvN/3020hIqrlgAGlvq7bzOO143hC1dD6lC2M8ZvXpEDY9n xls4EaxQdy2DlLPAWmF+Dhngcpm4/rXPAutZneO7YsD0W7oKZ3TUes92F2n/6FSBeB/T 1URZYRDw0o91pLLUThj5vwwFPLfgSKIA1VBYxoKMv/WvmYSDFST3Z0V0dSATe+fsPBwg hdzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:subject:references:cc:to:dkim-signature; bh=daN7ej1V/WbdDXvs8Fgxqp9xAyCMYiSLqVG5aeGru8U=; b=skPVQ3E63eKbFfcwpUlkRGCkft9ehhB0iWR//bgQn3tTL0qcj1EywfT9gn/wSYIt7H g71tiaS68atvsO6yssd28i+RTouFLfYWsbTb3djmxWhiaMmTR8/QTS6P2OND+j0B+gtA 8p9evsWlC/sBOeePWrYkve6lA0i5EqNjC+RSdjB3nFUmtuBrnjTr5edNdckzM4PjpTvp ONIrKgsIv6BHL9TPw00I99ncAavoS8swIuOicJpIbE1VYOqG4nyYl0W/IE0ndypcXrVY Fqp+iW3WMqPp1Prr+FCxQnL/9ZK4B3uBknTkPvOCtWeEnGdU7Wt/R8CoYassJYkbqaGf 53nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dvmBHnBU; 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 e15si874311oie.5.2020.03.19.05.13.05; Thu, 19 Mar 2020 05:13:29 -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=dvmBHnBU; 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 S1727006AbgCSMMS (ORCPT + 99 others); Thu, 19 Mar 2020 08:12:18 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36283 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbgCSMMS (ORCPT ); Thu, 19 Mar 2020 08:12:18 -0400 Received: by mail-wm1-f67.google.com with SMTP id g62so1963178wme.1; Thu, 19 Mar 2020 05:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:references:subject:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=daN7ej1V/WbdDXvs8Fgxqp9xAyCMYiSLqVG5aeGru8U=; b=dvmBHnBUXGiqvvQ1+2E51PjzCzn/o0oGD7PLE7ea8u0pLrC31AtHH/04xGfdBYmXEZ bFrsZ23yrpPVd9GhXnKVFJMFe+Z/nOVknS97xlq4HF9IUENfspVLHt0yk36Hc0D8TWWl RfxTZSc95T4TII146KC0tdDa9Z5XTpyBaB2T8OcPTbRVpK6JJ/zOFGvVZrDVQ695g6kn 3CfQN9LJgEBIz3n/lbi1DaJfyWpqQFbrv9+xOJgp9XypgVB6GWkV9798vtpzBuw3ndX+ 5kBfdzL42NLgQLemfpeza4Wr4lQ+OUj3UMPNqYlEuGeMWtPad0BQZEtvtPU1VRR9eqDT 5Baw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:subject:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=daN7ej1V/WbdDXvs8Fgxqp9xAyCMYiSLqVG5aeGru8U=; b=YLXTJzoEaWVU5uxZn9DZmsdRLCtmQ28nwxg9wRCOm2UGQ5YYxcLjHmBGDna7h+mx8J 0bGZw6s1/5w+v32Le94wKtV+KCyYzgpugHteyb849jfvfB6QY15i/AZ7q/57nEKMoE5s OwEw30hZ0MuFCbX+nphySFn1F+fLIHUPzHuPDzAGxUUbf83KgNgi3pLp+RvOc9hDcxNG XPbgotpLyODSyhyUfJqJR4vx/KhNmUiu/m31Vvp5UsdbeLHGyivzxhxy/7rz1PD8xOk9 IbVKsQMJ2psNtHWxZyXf/IQpq1Ejj7qgdCWcbxVydtYk3NiC21oT4YCH5/7bN48WUBiP k5qA== X-Gm-Message-State: ANhLgQ04qlf3DGeNwiw0JbKb+8SjCqr1Ml8t9xjoHqe2zzpYSQ6snamO 0VmKNIxSVZfA6BwvAhO80YY= X-Received: by 2002:a1c:9d0b:: with SMTP id g11mr3450811wme.77.1584619936056; Thu, 19 Mar 2020 05:12:16 -0700 (PDT) Received: from [192.168.2.1] (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id c85sm2910002wmd.48.2020.03.19.05.12.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Mar 2020 05:12:15 -0700 (PDT) To: jbx6244@gmail.com Cc: devicetree@vger.kernel.org, heiko@sntech.de, kishon@ti.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, robh+dt@kernel.org References: <20200318192901.5023-1-jbx6244@gmail.com> Subject: Re: [RFC PATCH 1/2] dt-bindings: phy: convert phy-rockchip-inno-usb2 bindings to yaml From: Johan Jonker Message-ID: <86f9bff8-4e3e-8a26-b89b-ce80cb865103@gmail.com> Date: Thu, 19 Mar 2020 13:12:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200318192901.5023-1-jbx6244@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, A test with the command below gives this error: DTC Documentation/devicetree/bindings/phy/ phy-rockchip-inno-usb2.example.dt.yaml CHECK Documentation/devicetree/bindings/phy/ phy-rockchip-inno-usb2.example.dt.yaml Documentation/devicetree/bindings/phy/ phy-rockchip-inno-usb2.example.dt.yaml: usb2-phy@e450: '#phy-cells' is a required property 'phy-provider.yaml' uses regex pattern: "^(|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy(@[0-9a-f,]+)*$" in combination with nodename 'usb2-phy' gives a full match. '#phy-cells' is only for subnodes I think. Question: Should we: 1: rename all 'usb2-phy' nodes in dtsi, then please advise what name should be used. Or: 2: add '#phy-cells' to 'usb2-phy' nodes? Please advice. make -k ARCH=arm dt_binding_check > +examples: > + - | > + #include > + #include > + #include > + u2phy0: usb2-phy@e450 { Regex gives a full match. > + compatible = "rockchip,rk3399-usb2phy"; > + reg = <0xe450 0x10>; > + clocks = <&cru SCLK_USB2PHY0_REF>; > + clock-names = "phyclk"; > + clock-output-names = "clk_usbphy0_480m"; > + #clock-cells = <0>; > + > + u2phy0_host: host-port { > + #phy-cells = <0>; > + interrupts = ; > + interrupt-names = "linestate"; > + }; > + > + u2phy0_otg: otg-port { > + #phy-cells = <0>; > + interrupts = , > + , > + ; > + interrupt-names = "otg-bvalid", "otg-id", "linestate"; > + }; > + };