From patchwork Wed Oct 17 22:29:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 10646143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F13171508 for ; Wed, 17 Oct 2018 22:30:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2D35285A2 for ; Wed, 17 Oct 2018 22:30:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D672028751; Wed, 17 Oct 2018 22:30:42 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C79F285A2 for ; Wed, 17 Oct 2018 22:30:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727348AbeJRG1s (ORCPT ); Thu, 18 Oct 2018 02:27:48 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45045 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727082AbeJRG1s (ORCPT ); Thu, 18 Oct 2018 02:27:48 -0400 Received: by mail-pf1-f193.google.com with SMTP id r9-v6so13861759pff.11; Wed, 17 Oct 2018 15:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q13zyxjtLMGSvq8CStH7nEQVSyTKekwyvItSN2Yi5X8=; b=rXzBEFOCXmSuTpy86h+k29rs6cpy+aXNQnInZy+sVSGhqkkG3RwBXoqWXKFiUoILbG 7wdTAO+RqFJkduxvF2rYFVTlZciqM0gKzkZ4wq5odC92Q4bY23cIKyOIisgRznLa8EI0 gUeGJmOcWjsD3AtJ7wY36La7ySulKMQtjulat7XrQ4rKafm0uCXg0zi0JkqY6Tqv/y+C AnO2WWmSIy8NXBim9rQD9/tTHuM307yVg7f/ckulZrD4i6GHRgbYjafca1APPThRhCu4 77hdVqkEZv2z1EBen2Zrjpgs0QBt+c/22RFBNl27csCkkvtyVdUOP8x0AnJQsBPGYqMP UoVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Q13zyxjtLMGSvq8CStH7nEQVSyTKekwyvItSN2Yi5X8=; b=PtpYlciSW5yTzH1C4fgYynvdyvMHE/PTVM/qLfCwiTRAjHMiCEILo/uet7mt2OXVNb brwak/c4N1KFapBvoDaHN+f4OIBcQg4G7cEaUh5vWNK6yYpeNdy5UZ3zhSa5cB2M/2ye /arcCkU2rLq5uWpX5YK9AEcVaj1EV1oitqNgzlWjz+G6xPoNX4VfC/FaiPANWlV3Zgea 1D3LFY2eglbiqCDvwjg92zw5Ed7Lh9pUjNdAHXL43VBhnuutL/VDooSaqfMAlMIhdKkw YEalToQMnq0V1y0qgRH/uQkvcPN2kV7x1v7mBEPi2pRHVHXfbrXnm1kpw+eumk7u8dBj gzeA== X-Gm-Message-State: ABuFfohGqbDQtvR0nEBTAx8SbMxlIyD6t0MfSbeVjKDVLrmajRgaU600 ZNmieVm1r46mC5gBN2pol/qiTAmXxM0= X-Google-Smtp-Source: ACcGV62qsmkmCO95yEo9x3h/6HQzSOlO36LG/8xYfHMjaTWd6n7QJKj5zsW59XYcR6Jaxov0SURmEQ== X-Received: by 2002:a62:3641:: with SMTP id d62-v6mr19200367pfa.97.1539815401214; Wed, 17 Oct 2018 15:30:01 -0700 (PDT) Received: from stbsrv-and-3.and.broadcom.com ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id p3-v6sm352597pgl.2.2018.10.17.15.29.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 15:30:00 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , Alban Bedel , Alex Elder , Andrew Morton , Arnd Bergmann , Avi Fishman , bcm-kernel-feedback-list@broadcom.com, Bjorn Andersson , Chunfeng Yun , "David S. Miller" , devicetree@vger.kernel.org, Dmitry Osipenko , Greg Kroah-Hartman , "Gustavo A. R. Silva" , Hans de Goede , James Hogan , Jianguo Sun , Johan Hovold , Kees Cook , linux-usb@vger.kernel.org, Lu Baolu , Mark Rutland , Martin Blumenstingl , Mathias Nyman , Mathias Nyman , Mauro Carvalho Chehab , Rishabh Bhatnagar , Rob Herring , Roger Quadros Subject: [PATCH V2 1/6] dt-bindings: Add Broadcom STB OHCI, EHCI and XHCI binding document Date: Wed, 17 Oct 2018 18:29:04 -0400 Message-Id: <1539815349-24126-2-git-send-email-alcooperx@gmail.com> X-Mailer: git-send-email 1.9.0.138.g2de3478 In-Reply-To: <1539815349-24126-1-git-send-email-alcooperx@gmail.com> References: <1539815349-24126-1-git-send-email-alcooperx@gmail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add DT bindings document for Broadcom STB USB OHCI, EHCI and XHCI drivers. Signed-off-by: Al Cooper Reviewed-by: Rob Herring --- .../devicetree/bindings/usb/brcm,bcm7445-ehci.txt | 22 +++++++++++++++++++++ .../devicetree/bindings/usb/brcm,bcm7445-ohci.txt | 22 +++++++++++++++++++++ .../devicetree/bindings/usb/brcm,bcm7445-xhci.txt | 23 ++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt new file mode 100644 index 000000000000..824f4bf5d07c --- /dev/null +++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.txt @@ -0,0 +1,22 @@ +Broadcom STB USB EHCI controller + +Required properties: +- compatible: should be "brcm,bcm7445-ehci" +- reg: should contain one register range i.e. start and length +- interrupts: description of the interrupt line +- phys: phandle + phy specifier pair + The specifier should be 0 for the OHCI/EHCI PHY + +Optional properties: +- clocks: A phandle for the EHCI clock + +Example: + +ehci@f0b00300 { + compatible = "brcm,bcm7445-ehci"; + reg = <0xf0b00300 0xa8>; + interrupts = <0x0 0x5a 0x0>; + interrupt-names = "usb0_ehci_0"; + phys = <&usbphy_0 0x0>; + clocks = <&usb20> +}; diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt new file mode 100644 index 000000000000..de5a22b3d138 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ohci.txt @@ -0,0 +1,22 @@ +Broadcom STB USB OHCI controller + +Required properties: +- compatible: should be "brcm,bcm7445-ohci" +- reg: should contain one register range i.e. start and length +- interrupts: description of the interrupt line +- phys: phandle + phy specifier pair + The specifier should be 0 for the OHCI/EHCI PHY + +Optional properties: +- clocks: A phandle for the OHCI clock + +Example: + +ohci@f0b00400 { + compatible = "brcm,bcm7445-ohci"; + reg = <0xf0b00400 0x58>; + interrupts = <0x0 0x5b 0x0>; + interrupt-names = "usb0_ohci_0"; + phys = <&usbphy_0 0x0>; + clocks = <&usb20>; +}; diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt b/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt new file mode 100644 index 000000000000..c41f3f8d836d --- /dev/null +++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-xhci.txt @@ -0,0 +1,23 @@ +Broadcom STB USB XHCI controller + +Required properties: +- compatible: should be "brcm,bcm7445-xhci" +- reg: should contain one register range i.e. start and length +- interrupts: description of the interrupt line +- phys: phandle + phy specifier pair + The specifier should be 1 for the XHCI PHY + +Optional properties: +- clocks: A phandle for the XHCI clock +- usb3-lpm-capable: determines if platform is USB3 LPM capable + +Example: + +xhci_0_0: xhci@f0b01000 { + compatible = "brcm,bcm7445-xhci"; + reg = <0xf0b01000 0x1000>; + interrupts = <0x0 0x5c 0x0>; + interrupt-names = "usb0_xhci_0"; + phys = <&usbphy_0 0x1>; + clocks = <&usb30>; +};