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: 118489 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp7166717qgn; Thu, 9 Nov 2017 14:26:23 -0800 (PST) X-Google-Smtp-Source: ABhQp+RokVsmd6ntyaynzxzaP+/j3cJXgasblrGWy+lAfuL3kUkAJ+A9RuI9NRtSma3oPGyfPxtO X-Received: by 10.98.34.130 with SMTP id p2mr2006058pfj.108.1510266383129; Thu, 09 Nov 2017 14:26:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510266383; cv=none; d=google.com; s=arc-20160816; b=xVNh5QpInNFT05xmFg9+unc5S4qUFh9cVt6tqViwtWhEBDlxulefCPZSsXglytcbft kZdXbpVTta95tJpEKHhGLHRc5zzZuB9Ek7S+YEjZnrtnydn4HYDkebcxrrvIK8lZFwhl aAr01t38QgJgIHMov3Eaix2u2xr7gpU/ZhrrTrTQmOTNOWT+IeM1HV9a61vwWblJS9SO 8pfRm+5YFnpNreMwYR/p9gEbK523ylmeu8h+quJs6HMt07g8GIm/ZgXaUiQB6zj/NZnu VwiWWvoQsQuLzULgHtzbre5u7e/able5EWJBHZmOBM0Ai6RqCDc3h3d6pUnN357c8012 H9aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=ZB1QzsoneE7y1cZrBXXrYnBH55r9Z5eSlvEWn+R/U3c=; b=PNEZ7m6fFWPWRHctB7E9PGGYlkt4ZQaD4Iu7EAQAKWyA2/I1VZk1eAFxBpWvgy8Atx 7fBfPSOqSloWRWaXBocw/B5c4hwLF5pzoqH2QXbDc62N0TbRABTelqGUrN01nMECEcma mmopJHdNhpEy8I7c3vqrMsR1/kcrIAbHJNe97p9W14191hSbSLxcfgnPbcFz4e7xyz3O Mje3PoZI4I42vdsWLLroMRiYhdQ2Lu7eGWnTfQz47GLeGx28nWkjGYNTi01R3oHDjm99 zOyKE/k7JGgciKbVrn5HuW9jaUucFr93ZVa8vYUG8O9+pwsJ2G4YlLj80CGMdJlTbkgP DRfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si7795744pfc.167.2017.11.09.14.26.22; Thu, 09 Nov 2017 14:26:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754172AbdKIW0V (ORCPT + 6 others); 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-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 --- I'll apply to DT tree. Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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