Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp938426ybb; Wed, 8 Apr 2020 12:57:46 -0700 (PDT) X-Google-Smtp-Source: APiQypJmH8wvGjtA+PX9EsN+ce/RkXcDe7dgSPF6ZjxxTp5JaU+nLcKIIo3Ml1/kf0EtEfTglo/L X-Received: by 2002:a05:6830:2017:: with SMTP id e23mr5958881otp.329.1586375866553; Wed, 08 Apr 2020 12:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586375866; cv=none; d=google.com; s=arc-20160816; b=DSmOu3GgwntsjDGJh5bJMO6y0s/LXaryIuvJtgnarRK23a06J3bBKBXJTLm4lUgPTg ndfuguHHSbZJxnD3Kvcwu1bI3VJ/WieK9nwbKDkcNQmYCIIgz8TBpIKBZoW29Nn7n5/w MEkGb5RwXF9k48YS19hkQM4QEiny35MdE42gMTilcuBHxistPeaaEMZQt6+EiyBe//DN SUe2ecgGNTNbD5TKA4/xEV1UhZwxeKkePeJtFMLHQ5oux577c7c8jOY1aYi5SgcF3Bwc L7CI5pNgHuzS/J3P4ShDlZxdvrXukytWivOoTY01+WVqGjD6SdTMDwZm1bHoF1dcdKhr Wcaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=0e196N9NUbdplitpkQkJfpaeN0+6myfhv6YB2DCo4aQ=; b=X0a3avI1VlInhz6tPq1p3aNVXjDTwQUfEdCn+uz8CS+1EgR9BMBH7Q20/DiMMN1733 /18GxZfQKbfqBv92IXSqvEHYALfcMANldTbhT/Yc76V0vRoz/khIzgC9H/vJF3Wq/laD 7ow7VkIqU4hFxxX7KbejW2wQWeFsOspU7ROJsqSkDUjMdWmzTHGA1e5OsuJaL8Pw5UWC BsG0VB8Brp8EhfvdTji/4aH4x/7YCrq+mHZTzmAdetop/uYjK4LZM4sZRF4Hq/GmHDBr U/8jx3OdAlgIOCERycr/e6b/0Ba7/HI8Z75nMXnkFV3GZvClz9oKIM1u1eHmeuyBrhi3 MphA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RYxzKsPQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si3088727oob.73.2020.04.08.12.57.33; Wed, 08 Apr 2020 12:57:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RYxzKsPQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730634AbgDHSOr (ORCPT + 99 others); Wed, 8 Apr 2020 14:14:47 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:34060 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728772AbgDHSOq (ORCPT ); Wed, 8 Apr 2020 14:14:46 -0400 Received: by mail-wm1-f65.google.com with SMTP id c195so599741wme.1; Wed, 08 Apr 2020 11:14:44 -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=0e196N9NUbdplitpkQkJfpaeN0+6myfhv6YB2DCo4aQ=; b=RYxzKsPQI0RrSAlJMp+GdU5mQkQ515lCzrbilXZebOZZ81KBIP+RPpHEwvmpQN1j02 9QwON2l829ZghxUN4/8UZupk/XnJSQk+wwVpvqqObWNEJEFjxI62PYlHbLr5FMLKcM6Y NfZQ4+N9fk9oFDXeiQbJ8y1whumB/twb6A53Hes8WImrtek57vrkUaeUJ5PABEoHJZPQ UecRhJCEgM/Ny2KVRstNF9P49VV9g6ogA5pVFr3Ure2TIpqh4H1D34oKSh1BHViUlAyj 1KldDhDtAzf/dbV7O3kGl/6RcCJe77SE14kgnhQGCJ3MGTpobV1AYt1DG8P3zXY3L13X 4ThQ== 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=0e196N9NUbdplitpkQkJfpaeN0+6myfhv6YB2DCo4aQ=; b=gr74rZ1Udm0DoNwFnyzLdB+Fx7wOX/2FVZ8yafqGyt46UfZAzh5Vy8h0S814A9Ri98 V9OW912w4C5PA+rNfXurThLd8FFl2y7xGEjJeNuoXbub0y6C1/0YLYtjctCzyvFGCa3i wFU5N2EF0m7tMNfCDVgW1nSiOKfyfzjFKTZhToVSmDsQCgvQiVCqSZdNAVbNCjh3duIW +fh+r4drznaPQH2vUexUuiW2vyZoFm+dNgyWhQhy9v05jIyt3tBw2ee9/aBsFnoGWgvo HHKDd+H2eGnCAzpWhA6DiBiyTpHLV2kkIHgvzpoHSDU2zWDJM5eEVGWsXYjMUObJTvUR OKcQ== X-Gm-Message-State: AGi0PuYvUaHc+HK6PmPwHJCQx4AWxRO79BvxLtFtGNhfvEW0AYXJ2rNM ahb+86qVpJWBalCwuRMxsVKuXa7I0P0= X-Received: by 2002:a1c:4e:: with SMTP id 75mr5718681wma.24.1586369683082; Wed, 08 Apr 2020 11:14:43 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id n124sm441700wma.11.2020.04.08.11.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 11:14:42 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Andy Shevchenko Subject: [PATCH v3 1/4] dt-bindings: Add Broadcom STB USB support Date: Wed, 8 Apr 2020 14:14:03 -0400 Message-Id: <20200408181406.40389-2-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200408181406.40389-1-alcooperx@gmail.com> References: <20200408181406.40389-1-alcooperx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings for Broadcom STB USB EHCI and XHCI drivers. NOTE: The OHCI driver is not included because it uses the generic platform driver. Signed-off-by: Al Cooper --- .../bindings/usb/brcm,bcm7445-ehci.yaml | 60 +++++++++++++++++++ .../devicetree/bindings/usb/usb-xhci.txt | 1 + 2 files changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml diff --git a/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml new file mode 100644 index 000000000000..d41710574b5e --- /dev/null +++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/brcm,bcm7445-ehci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom STB USB EHCI Controller Device Tree Bindings + +allOf: + - $ref: "usb-hcd.yaml" + +maintainers: + - Al Cooper + +properties: + compatible: + contains: + const: brcm,bcm7445-ehci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + description: Clock specifier for the EHCI clock + + clock-names: + const: sw_usb + + phys: + description: PHY specifier for the USB PHY + + phy-names: + const: usbphy + +required: + - compatible + - reg + - interrupts + - phys + - clocks + +additionalProperties: false + +examples: + - | + usb@f0b00300 { + compatible = "brcm,bcm7445-ehci"; + reg = <0xf0b00300 0xa8>; + interrupts = <0x0 0x5a 0x0>; + phys = <&usbphy_0 0x0>; + phy-names = "usbphy"; + clocks = <&usb20>; + clock-names = "sw_usb"; + }; + +... diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index 3f378951d624..aafc316b5a8e 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt @@ -23,6 +23,7 @@ Required properties: device - "renesas,rcar-gen3-xhci" for a generic R-Car Gen3 or RZ/G2 compatible device + - "brcm,bcm7445-xhci" for Broadcom STB SoCs with XHCI - "xhci-platform" (deprecated) When compatible with the generic version, nodes must list the -- 2.17.1