From patchwork Tue Feb 21 08:56:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Leitner X-Patchwork-Id: 730384 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vSF3z3h83z9s74 for ; Tue, 21 Feb 2017 20:06:39 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751625AbdBUJGh (ORCPT ); Tue, 21 Feb 2017 04:06:37 -0500 Received: from mail1.skidata.com ([91.230.2.99]:64234 "EHLO mail1.skidata.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751618AbdBUJGd (ORCPT ); Tue, 21 Feb 2017 04:06:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FxBACF/6tY/0oKEKxeHAEBBAEBCgEBh?= =?us-ascii?q?TsHoAKTFYIPgg2GIgKDGBcBAgEBAQEBAQEDgQeEcQZ5EBg5VwYBDQW6LSYCiy4?= =?us-ascii?q?BAQEBAQEBAQIBAQEBAQEBIQkBhkKJKYVgHwWJDwqSb4ICkB2KWIY0kyQgAYE3E?= =?us-ascii?q?BAQBB+HHHSKA4ENAQEB?= X-IPAS-Result: =?us-ascii?q?A2FxBACF/6tY/0oKEKxeHAEBBAEBCgEBhTsHoAKTFYIPgg2?= =?us-ascii?q?GIgKDGBcBAgEBAQEBAQEDgQeEcQZ5EBg5VwYBDQW6LSYCiy4BAQEBAQEBAQIBA?= =?us-ascii?q?QEBAQEBIQkBhkKJKYVgHwWJDwqSb4ICkB2KWIY0kyQgAYE3EBAQBB+HHHSKA4E?= =?us-ascii?q?NAQEB?= X-IronPort-AV: E=Sophos;i="5.35,188,1484002800"; d="scan'208";a="2572221" From: Richard Leitner To: , CC: , , , , , Richard Leitner Subject: [PATCH 3/3] doc: dt-bindings: usb251xb: mark reg as required Date: Tue, 21 Feb 2017 09:56:19 +0100 Message-ID: <1487667379-2075-4-git-send-email-richard.leitner@skidata.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487667379-2075-1-git-send-email-richard.leitner@skidata.com> References: <1487667379-2075-1-git-send-email-richard.leitner@skidata.com> MIME-Version: 1.0 X-Originating-IP: [172.16.60.30] X-ClientProxiedBy: sdex1srv.skidata.net (172.16.10.92) To sdex1srv.skidata.net (172.16.10.92) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Mark the reg property as required and furthermore fix some typos and spellings in the documentation. Signed-off-by: Richard Leitner --- Documentation/devicetree/bindings/usb/usb251xb.txt | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/usb251xb.txt b/Documentation/devicetree/bindings/usb/usb251xb.txt index 4d6bd73..0408d9e 100644 --- a/Documentation/devicetree/bindings/usb/usb251xb.txt +++ b/Documentation/devicetree/bindings/usb/usb251xb.txt @@ -7,18 +7,18 @@ Required properties : - compatible : Should be "microchip,usb251xb" or one of the specific types: "microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b", "microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi" - - hub-reset-gpios : Should specify the gpio for hub reset + - reset-gpios : Should specify the gpio for hub reset + - reg : I2C address on the selected bus (default is <0x2C>) Optional properties : - - reg : I2C address on the selected bus (default is <0x2C>) - skip-config : Skip Hub configuration, but only send the USB-Attach command - - vendor-id : USB Vendor ID of the hub (16 bit, default is 0x0424) - - product-id : USB Product ID of the hub (16 bit, default depends on type) - - device-id : USB Device ID of the hub (16 bit, default is 0x0bb3) - - language-id : USB Language ID (16 bit, default is 0x0000) - - manufacturer : USB Manufacturer string (max 31 characters long) - - product : USB Product string (max 31 characters long) - - serial : USB Serial string (max 31 characters long) + - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) + - product-id : Set USB Product ID of the hub (16 bit, default depends on type) + - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) + - language-id : Set USB Language ID (16 bit, default is 0x0000) + - manufacturer : Set USB Manufacturer string (max 31 characters long) + - product : Set USB Product string (max 31 characters long) + - serial : Set USB Serial string (max 31 characters long) - {bus,self}-powered : selects between self- and bus-powered operation (default is self-powered) - disable-hi-speed : disable USB Hi-Speed support @@ -33,7 +33,7 @@ Optional properties : operation if the local power source is removed or unavailable - oc-delay-us : microseconds over current timer delay, valid values are 100, 4000, 8000 (default) and 16000. All other values are rounded up. - - compound-device : indicated the hub is part of a compound device + - compound-device : indicate the hub is part of a compound device - port-mapping-mode : enable port mapping mode - string-support : enable string descriptor support (required for manufacturer, product and serial string configuration) @@ -48,7 +48,8 @@ Optional properties : Examples: usb2512b@2c { compatible = "microchip,usb2512b"; - hub-reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; + reg = <0x2c>; + reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; }; usb2514b@2c {