Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp855609ybz; Wed, 29 Apr 2020 10:33:39 -0700 (PDT) X-Google-Smtp-Source: APiQypKbgAXTMxTsgXAd8g3oSo4yVSuN1GIDmPmR9w6N8bllV5fXCWZNuM/w+onwsClRJKZ87Uco X-Received: by 2002:a17:906:4e8f:: with SMTP id v15mr3751814eju.321.1588181619721; Wed, 29 Apr 2020 10:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588181619; cv=none; d=google.com; s=arc-20160816; b=oTKrcD8WY0C5ksXNbxYko6r0xxroK1QiaEz7uKiKSacu24MhXNHim8YzojhZXzUkiI G2hkvWfh0lpqygIXDaWLJNXAocQeua2mOOPHVwpv8v+a4dhbwrC35a9goXq9hA3r0HQ0 PLBX3eCkl7Y0Y6TVT/9JFnxgiP58VwRv/YdzwCQ6Zk9+nFKr4Wpf+xNuTdAjjfcNtz8s ZQN7Lt8wUZ/rzxYFzs/xJsZk7Kt6oE+xO/qb4wszF9Vn6tS0Ud5w0LEuvKqg2exWhC+/ js+rqACLpwdUk9oJ99qMKGsPFWpBmA+ojzuO7bM77dfTL7Vnqf6cwA0FjtT9FZMVT/+c dT5g== 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=hQqyiz3VgaSkn1orBkc5cYQMmcAyasI8rZi9b6SsAs4=; b=ulzhh/YFpV5w+SBvF92GF2OsLeSo30Gk1pxjXmPddpePkVcQ+ho6McEAXoCIAk1Hw8 pkr+1xYIsCtqwQPJhfUHn4wFefKcS26ptKKpjX+f+tHpVutJp6CyZ3i/rzXpVY4WD0P+ 9FS10D8VcOCeT65vIb8rkF7p6TuRGfFZhaj0ORh3DZr/aZMR/eKZpCkG7aDJ0Tgy5MAe pKC/urFbQxEyHuwyPvZDxj0x3+Uimxih7jFNONmuIXI+5YTPrP3Vb7cMzElz1o5CAkf4 ejLBGOyVtYKntGWdJTJr2hGI0hpOzpPkXF7iMBEWOJ20b9NrBTz377uHfht7a5d4Zk/2 DcFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iGmDqbcC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y20si4345059eje.323.2020.04.29.10.33.09; Wed, 29 Apr 2020 10:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iGmDqbcC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727089AbgD2Rbh (ORCPT + 99 others); Wed, 29 Apr 2020 13:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726456AbgD2Rbg (ORCPT ); Wed, 29 Apr 2020 13:31:36 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D39C03C1AE; Wed, 29 Apr 2020 10:31:36 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id g13so3527957wrb.8; Wed, 29 Apr 2020 10:31:35 -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=hQqyiz3VgaSkn1orBkc5cYQMmcAyasI8rZi9b6SsAs4=; b=iGmDqbcCdUM4/oWQteb7EnZKNc4+48gf8xUxyYVGo3TnmH2aD0JS4wqeYNBziFwmwz GS5HInIahI7uiczakMz9KITiJdoGCRjSbUXSGqxWKOcFYhkHJAtytjDrMoS0OeF1YrKE A/WHmSmYNt6mPfO+tVxTO3GyCbYed9RJ+6quGhTNegERcyMzmfbmX3tbshkusTJY9mXB 1P7K2bIllGcy1fBzG5RRPKVf1pSlhtWSgSvXwnuzE/t1QOruMG2KDphEexc+EmnberTR FQF0JqY1iD069jekWxSp5jiXGCJjz85Pj5O0urydo/5ot8JWbAirQWvqYAgDJGaqzcea +fcA== 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=hQqyiz3VgaSkn1orBkc5cYQMmcAyasI8rZi9b6SsAs4=; b=Atyl8noxp6jWPhQbTJ5RX54VHEoTAMe2KTd7yW8W5KPjg3Uq3+e1SJlfE7aeBcbBta 5lZ1oXKuX/Sfz9SQyuY12k+/DBOKfcL45PwZ72b8Zgz6cNHqasOF1V98nW7RLH5eKD0x NYcTylyCqkoLMarDh1b2VXSVhJzGjnmjGa/+nr6I7+mDFbli9xCg9SPg5sOn2S8oV80K i81eczm/WurTEl5cnLDO/sTxy1GdJVlnvjWBjkCMN3IWmM1L4DV9xwL1vUSSwHH12nfe Ine7mfan63lieYgRL71ICX2X7f7270ORnWOuS93vNSszEaLzYCVSSqXBkfM+49X3pF0F tSiA== X-Gm-Message-State: AGi0PuaIZBWjJEeI1tL1bGGzyVqtmm5evNUHguMXeSFSmcKdtN1XyT6m mHiGwodh/SKccwYCtlyKYkG7XJoxrs8= X-Received: by 2002:adf:f58e:: with SMTP id f14mr39298005wro.79.1588181494446; Wed, 29 Apr 2020 10:31:34 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id j11sm31177182wrr.62.2020.04.29.10.31.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Apr 2020 10:31:33 -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 , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mathias Nyman , Rob Herring , Yoshihiro Shimoda , Andy Shevchenko Subject: [PATCH v4 1/4] dt-bindings: Add Broadcom STB USB support Date: Wed, 29 Apr 2020 13:31:09 -0400 Message-Id: <20200429173112.38366-2-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200429173112.38366-1-alcooperx@gmail.com> References: <20200429173112.38366-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..7c67f7dd7a67 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%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: + maxItems: 1 + + 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 dc025f126d71..23e89d798b1b 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt @@ -24,6 +24,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