Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1779057ybh; Fri, 13 Mar 2020 07:17:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuzHv5jlB7A/TgXfRB2dIAAnUjL6b7Km2ofndVf7wzVEVCoQmSlrwcOT07e9jU2bh1GeQgB X-Received: by 2002:a05:6808:4e:: with SMTP id v14mr7268242oic.70.1584109039738; Fri, 13 Mar 2020 07:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584109039; cv=none; d=google.com; s=arc-20160816; b=E5vS8RrZky33buoHt05tRZ1cOKvd1EhejKhiys1aCaBvyqr5oqPst2WTbo+vdH/WTa 0JlaHj2Q69GoEJVSJusrKTef2WQ8RHXp7EzaeZwizIkEG/LvBxYAjjqhvaHpVF0uxZP8 6B0yx7LsCw8ty6oQyfcHg819C39wHxXA29yixkQIQ2kHGBfjsvRspROj+UOUuutuxgOi TtSf7BYDWACoViud6NGBPyjHZKM0OhJJMRGH9FRflPb+x/Y+EmQSG7QQDe98km4SJutX 5ec3HyiS7aPkm4Pw6TuqARpTK2BatRfBBT3e7MPfFlcovcNFvEG8lWOP2qIyzEzH1VBf tBhQ== 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=0geItnR1hP77wUFBV2Yc0AfuV9aOuFucx1z+d3zMZmA=; b=fN96V8BIQDfjhu4vIv+TlcYDCMcs3ha6Ng76njv0nCU1Fq7+tkyTOcYZzQhRMi/Lpt /ZrEeL58Tdy3w/2tgjWazecxDb0q3shQMvIoe7ab4ouajr6guSAIR/aa1TwYZneKdhRo TddJLOMoxgFkdX1kHlVFfjQwO7Hf9C6yE3AnH6iB6NNg4QKFvpvFWUzkLqoSwnLdM9F6 w/M7mYHf+rNdP7jlzT+2+PuSKmIUllI/9qIv2bDwc8D/LkAyX3ZCSf717vbCV/Yo4RZ4 9qdp7+HbUhFCkWNJvE1Q04WX1DW7bJHoWU87ZCss3BB+j+mrt/8Un7Y6Tq4QM3ahmYAU fBWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NhJNuSGh; 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 m9si4653467otq.87.2020.03.13.07.17.05; Fri, 13 Mar 2020 07:17:19 -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=NhJNuSGh; 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 S1726947AbgCMOQ1 (ORCPT + 99 others); Fri, 13 Mar 2020 10:16:27 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33615 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726874AbgCMOQ0 (ORCPT ); Fri, 13 Mar 2020 10:16:26 -0400 Received: by mail-wr1-f66.google.com with SMTP id a25so12323246wrd.0; Fri, 13 Mar 2020 07:16:24 -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=0geItnR1hP77wUFBV2Yc0AfuV9aOuFucx1z+d3zMZmA=; b=NhJNuSGh3aeUVHWb8I5+1v8F6hpJ820KgXzZRWXUkyFhdPaskoGMldtvlGR0Ob6qTS NEmrVMV+RYx8FFiLoE9i4n71jDeUefLr/d9RKqKQbJkRk12YoKmKRDsROv/BLWYq5ljM kMkvyhzm10Ll4muq6YKBIvVcNESK1s0aERipIKLGamoIMVPASeHQVO3/veCl3x+Xgm4e Np1/VL8EYmVQU3zX0sXV/wv7giAnNTYQYc8DKjDwIEMbewBfGDDDKdwd2J0kahRJLoDh j3AlELAXdArbY897E4d/cVqokpTLtNnA1fCCVhKMqI53MFEPVaTyYZw+UFUdmnJpBsKC H84g== 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=0geItnR1hP77wUFBV2Yc0AfuV9aOuFucx1z+d3zMZmA=; b=HQM/KGP4LlGjjGcWI2wSnDH+r+EdySouzyAtYwy3nGJfvJlw6tL/QHSRPRf4vm9s9h lG9yyEk88OgUYrNnKDAcSYUkL9lGGLeFvE/pzG+TUEW3GBzvBKuMiIflaTAfI2JpJmsP tywtAcgopmFipu/ZPuC6yvKfxUol4SxQhBl6RAoF94eXUcAHmToKfeXN/YgWFmDDVL4G 55J0DAPa7ZWUg1aCD/YJQn4EdK5bFg2z1EaKJbtljA1KMkUU4d7s3Ux1r7kFkI9NjFn9 WQBjdvqb5ykyyhj7rpXpow85K6AHPlXaFgy7FwUSfHPmfhK8P+IFWPygt3yipotY4dNd X1qQ== X-Gm-Message-State: ANhLgQ3WEtLPmERWqkeaXAnp/lmZmWoZ2/K03PbFoQQNv2Wlt819FwwP hxTCOYXrUjkaLvxSmmhD4R0Q5idvPSc= X-Received: by 2002:a5d:4406:: with SMTP id z6mr18164979wrq.68.1584108983406; Fri, 13 Mar 2020 07:16:23 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id l83sm17561422wmf.43.2020.03.13.07.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2020 07:16:22 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Cc: Al Cooper , Alan Stern , Andy Shevchenko , Arnd Bergmann , Bartlomiej Zolnierkiewicz , bcm-kernel-feedback-list@broadcom.com, "David S. Miller" , devicetree@vger.kernel.org, Greg Kroah-Hartman , Johan Hovold , Jonathan Cameron , Krzysztof Kozlowski , linux-usb@vger.kernel.org, Mark Rutland , Mathias Nyman , Mauro Carvalho Chehab , Rob Herring , Rob Herring Subject: [PATCH 1/4] dt-bindings: Add Broadcom STB USB support Date: Fri, 13 Mar 2020 10:15:42 -0400 Message-Id: <20200313141545.31943-2-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200313141545.31943-1-alcooperx@gmail.com> References: <20200313141545.31943-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..ad570ca4ca6d --- /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: + - | + ehci@f0b00300 { + compatible = "brcm,bcm7445-ehci"; + reg = <0xf0b00300 0xa8>; + interrupts = <0x0 0x5a 0x0>; + interrupt-names = "usb0_ehci_0"; + 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