From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbdKIROV (ORCPT ); Thu, 9 Nov 2017 12:14:21 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:47245 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751003AbdKIROR (ORCPT ); Thu, 9 Nov 2017 12:14:17 -0500 X-Google-Smtp-Source: AGs4zMb+pRjiOK/Vp4MoExf7rVzkhPLA27OuXqKnNg14gSTp9SFn37ds7lnqPAdf1AkkhxtVJL9aag== From: Johan Hovold To: Greg Kroah-Hartman Cc: Rob Herring , Mark Rutland , Arnd Bergmann , Alan Stern , Peter Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/8] dt-bindings: usb: clean up compatible property Date: Thu, 9 Nov 2017 18:07:18 +0100 Message-Id: <20171109170723.10960-4-johan@kernel.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171109170723.10960-1-johan@kernel.org> References: <20171109170723.10960-1-johan@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add quotation marks around the compatible string to avoid ambiguity due to following punctuation, and define the VID and PID components. Signed-off-by: Johan Hovold --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt index b749fb9f2674..e0b562e35a0c 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.txt +++ b/Documentation/devicetree/bindings/usb/usb-device.txt @@ -5,11 +5,11 @@ The reference binding doc is from: http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps Required properties: -- compatible: usbVID,PID. The textual representation of VID, PID shall - be in lower case hexadecimal with leading zeroes suppressed. The - other compatible strings from the above standard binding could also - be used, but a device adhering to this binding may leave out all except - for usbVID,PID. +- compatible: "usbVID,PID", where VID is the vendor id and PID the product id. + The textual representation of VID and PID shall be in lower case hexadecimal + with leading zeroes suppressed. The other compatible strings from the above + standard binding could also be used, but a device adhering to this binding + may leave out all except for "usbVID,PID". - reg: the port number which this device is connecting to, the range is 1-255. -- 2.15.0