From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA3DBC4332B for ; Thu, 19 Mar 2020 12:12:24 +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 8B47B20663 for ; Thu, 19 Mar 2020 12:12:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qKs7S50i"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dvmBHnBU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B47B20663 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+infradead-linux-arm-kernel=archiver.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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:Subject:References:To:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=spmnmdzCQTnYKRGT7jjIh0B5NJdOHmd10nIbtXJuoZ8=; b=qKs7S50it45Lci JfRDRpuyI5CR8ZguQNkQdkZFZ+acW1dmPzW3RVmD5uakto3BRDBDdJZHZSg2HlEHqcgwOs7/GBBKv MexpZQ8qK7MbuzTSDyCTN241hcpgU3+jvHp5vdCJSiMYT88EIlMrclZ9M5xMhh+O8YyehvL/WBNWy 6BwwxAenUywkvBBHS0iluTBIS4CsnA2Rzfp8f2xybBwTiyOEPo3cITqyjrNlg9KsIjMgDOjJxVY95 EvP+bR3f3IZ+NVwZOXcsMKSXvJIKaBVVtAdMSpocCHx9TSqxoNEYa4d5cJNffQqer2Dyp7mNCdnlx mgT6uipeexMAn5sB/SAg==; 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 1jEu2B-0007Ez-5Y; Thu, 19 Mar 2020 12:12:23 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jEu26-0007DK-HM; Thu, 19 Mar 2020 12:12:19 +0000 Received: by mail-wm1-x343.google.com with SMTP id c187so2004115wme.1; Thu, 19 Mar 2020 05:12:17 -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=Em4vRop2pvc9irzY76jIUNrSv1ogjr2Ksxiamesj0H42Cc5c9S9r19ybKhMo1Neii7 rsZTR5BsVoJFyXhnvCeJIY4iAkq/XaUzfJGI0/eckp/DQJOSGujNp4s94Wzah+50fCby lnN5kfMY2KyJ1VhGTZmJAFebjenvzVJkTfSedOgNvjSevzI69FBaQAUZk9pRqmPKw/D9 cBVJCekxaANFoQQB3mM34Ysut+CLLi77baOBt5a+ch/pkIMORJpsq9ew4uysQHPNpa/d aYfj7fPuJUNd8kYNDw481wjBcQKwSLQDLzOm15UNDUKt1mFV0da3KVW9EWGPe5XECCIg nXLg== X-Gm-Message-State: ANhLgQ0p11Mb2jQZ8uyq3zpxPpp3IJs/fKkpFg+aqzskeBgjZJdbcWIc BPAo/Xh3kxmfb6iMyNkAY8cgKmp6 X-Google-Smtp-Source: ADFU+vsWdNexPTrldLcXBS702PY8o8wIPXwP8saxqT60mkVJ/ps29oW5lL6dM5+K82yyY3AUWrKxag== 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 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200319_051218_603155_A6244637 X-CRM114-Status: GOOD ( 11.23 ) 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, heiko@sntech.de, linux-kernel@vger.kernel.org, kishon@ti.com, linux-rockchip@lists.infradead.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; > + }; > + }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel