From patchwork Thu Nov 9 22:26:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10052011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 718A86032D for ; Thu, 9 Nov 2017 22:26:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 644002B176 for ; Thu, 9 Nov 2017 22:26:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 584F12B172; Thu, 9 Nov 2017 22:26:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EA8902B172 for ; Thu, 9 Nov 2017 22:26:47 +0000 (UTC) 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:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OLTVgZ80yctFI60Tly+6XD/4IAAsz/O0tahl+bRvizA=; b=YsYsUR65yXtCv0 gaIQKWjpvMJVc6NkGcl4PnZjolzGqpDp9ixi0qazV0WanODkPBQ79rbrKM4fWuinB7xJasz6LRm3G X3u54r0BRfJPP/SMV9mKwCjaSa06D++6GzDXmCvo9d4ccbJ9PXQ55fZxr+hzN/MddiGjadF/ooG5Z iyzyCoMd5koIixIdSJDPDhvbe2qchDmWhKqewoOWigi4Jgk7C4AD4wdbEb2CizGzMJ41E6gYk2Oi6 Yj9PTiIf3hJfLdnUprJS0RtK48GPZT2Yb89zJNeL0UTcsTcQ6WUr1KTnXbK6Lo2Sa2Mok4Qnpl9wb tYZ9mtLd2keRudhhr8kg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eCvHW-0004N3-6w; Thu, 09 Nov 2017 22:26:42 +0000 Received: from mail-ot0-f194.google.com ([74.125.82.194]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eCvHS-0004JZ-1r for linux-arm-kernel@lists.infradead.org; Thu, 09 Nov 2017 22:26:40 +0000 Received: by mail-ot0-f194.google.com with SMTP id w8so6674991otw.11 for ; Thu, 09 Nov 2017 14:26:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=FFlL0AXjnq2IcsKON8auF+KaS3UDvIy8nL0KIMcmvfs=; b=odJ3/OwpwFQN1XoTWBr08Akenr/nhazvbmLnIWNUnmVxnuHV5Wf+Iv6dErb7dB+pvs oMJ/DKXxBbeIb+mJSIRwvgtU2yQVSAL9ZE++QP8Q1GkOd7tSGyrkpJlWovmze5UyEbbl vFs84ll2fUWrA2NQ44VqPNNvMEafDPMkLwsycKi8vdgQzDencW8ETeYicZqBA+UUOHEU 2V9PN1ejdfwobZiuoAy0f30exkqo2U8nrD4s2gysiYjjz3Ycy/0BdbRjdqdIBs249AId u/LIyYh2sZKTuzVd9vmMavqNV1D6ZIKZojhdO+k7ZqbQa2G2/oUSGxhgFPEm1JSpSzqE 8jxQ== X-Gm-Message-State: AJaThX56K/U56yC5k9LbiK/svPfyxlFqgiSgdSYHBJ2rMS8nM6KrU/ES XxwVySzT6HhrL43XXWvLQQ== X-Google-Smtp-Source: AGs4zMZHAA0cGsdvD5o7sPJhPYzDP4VMpriii4OOwHheqyvhOFGYr5WnwtZdufQIPxGmUEgsQmo5qg== X-Received: by 10.157.45.34 with SMTP id v31mr1445750ota.228.1510266375970; Thu, 09 Nov 2017 14:26:15 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id 74sm3537271oii.50.2017.11.09.14.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Nov 2017 14:26:15 -0800 (PST) From: Rob Herring To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, arm@kernel.org Subject: [PATCH 1/6] dt-bindings: usb: add #phy-cells to usb-nop-xceiv Date: Thu, 9 Nov 2017 16:26:09 -0600 Message-Id: <20171109222614.5719-1-robh@kernel.org> X-Mailer: git-send-email 2.14.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171109_142638_208257_6FF0DF1A X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Consumers of usb-nop-xceiv use the phy binding, but #phy-cells is missing from the binding. This is probably because this binding predates the common phy binding. So add #phy-cells as a required property. This should not break any users as missing should be treated as 0 cells. Signed-off-by: Rob Herring --- I'll apply to DT tree. Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt index 5be01c859b7a..4dc6a8ee3071 100644 --- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt +++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt @@ -2,6 +2,7 @@ USB NOP PHY Required properties: - compatible: should be usb-nop-xceiv +- #phy-cells: Must be 0 Optional properties: - clocks: phandle to the PHY clock. Use as per Documentation/devicetree @@ -33,6 +34,7 @@ Example: reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>; vbus-regulator = <&vbus_regulator>; + #phy-cells = <0>; }; hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator