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 X-Patchwork-Id: 836535 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yXySH3NRmz9t38 for ; Fri, 10 Nov 2017 09:26:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754172AbdKIW0V (ORCPT ); Thu, 9 Nov 2017 17:26:21 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:43142 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753216AbdKIW0Q (ORCPT ); Thu, 9 Nov 2017 17:26:16 -0500 Received: by mail-ot0-f194.google.com with SMTP id s12so330653otc.0 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=XPSU4bHppZenxd0RWy+te8uxXuXMQ1pcoRS7Hwk4IXMqxOo9YZxvpoHKlQP0XtufOz MS18FRJYKx7+bonR8qBVnE09PGsOx8firCEz8JJ5GMUZH71ovwFLHQHgaFuyzkWGuoo2 +abs/HBkuf7y3B6KQa3usAnsPUVJzD9pMycS+6h3C2qzIwehPz1SsWUVehPhnyVwhqp0 6qPMhggJI+aoufQMuPNF6Tn3vP4B3D1Gl+orpJJ1Gsvr/MyKhqQyJo20zbZOzrHCE07v NxR6K62I85wSRKeqD57vckSAljRqUe0263SN7Zgw9izK8rNF+F8lrnya8WYHAvQSlG8m y+ZQ== X-Gm-Message-State: AJaThX5EiPRYQbfco45hpDRYZKAe3V5tiPtYZ1CgGRdpSP8BtHRiVrV4 a+ljn5LEFN0yfHLYCXYoIIQW780= 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 Reviewed-by: Andrew Lunn Acked-by: Gregory CLEMENT --- 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