From patchwork Wed Aug 12 20:20:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 11711321 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9CA86618 for ; Wed, 12 Aug 2020 20:21:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 72F2B206DA for ; Wed, 12 Aug 2020 20:21:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="q7f1s0HB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VoCPqFd+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72F2B206DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=w6OseKqEAk5umb1YK7PDArCd6bfC4qkjZW7qB5Cpo0c=; b=q7f1s0HBRLGg4C3Obu1FDVOHG8 un2w/LtWl7hb+bBrcjtA+fO81kf0z1Z5tCLAmEGdrDTRvvKhzNS0HAZHaN6W5XvbUz22cEvT/h8yI MmCax3VCosV44F1+EVstqqbNKkGoFKCGsoOnlIwMx63Rs1hGtkErhSLlX7izWIEav7TfY7KUKwEWN rQrONbEou3/glAe8XWE+QsHEzMWws6jnBZovc8uFm9GSIwxDSDJIi/C7VsThc7XylANnBIytHuCJR fBSYBx7Rg2Sv6X5g8J+zgNMymTS4V3OsJnz/oa8SMk1r6SZ0dDPn6QKSdmp8WUHHoXK61Q2kb27da m4bflLTw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5xF9-0004Fh-Uq; Wed, 12 Aug 2020 20:21:04 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k5xF6-0004Eg-S0 for linux-arm-kernel@lists.infradead.org; Wed, 12 Aug 2020 20:21:01 +0000 Received: by mail-pf1-x442.google.com with SMTP id y206so1573007pfb.10 for ; Wed, 12 Aug 2020 13:21:00 -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=ZlYqHVX3AGBBK6l8zlqS+306syUnx3hCohlnRD0iMkM=; b=VoCPqFd+gsMxkaXdfyJpRc+EGaq7h9IdHKHP0UqWqYRVaj2o8TbQLuOd9xfTfR2owP 5IkYrInzMX6pXYMsBVviiI+fTrOsUvGGhACeEFZaoiwPB8tnp9NWEq/5NsSHG8CMTtEe VVg/xILtjqdLbYXzEpjvawEHEQb/Ra/tLmhPvOamu7THENoobjlOvW2a43IKlsooY3Y7 IMyVBJ2kgYA3IvaH90Oygg100mq03hdWfdOYdxe/DXQXN0xnSlDVVvDcMncgzONGi7jo rVc9eFvB+iioePiYMLOTXit6GSCr07dYX4WpUTifNOrp7xNsMMWkP09N4hfH0eHv33+W 9n/g== 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=ZlYqHVX3AGBBK6l8zlqS+306syUnx3hCohlnRD0iMkM=; b=aHtedYktyPPg2UpYuBUT6az/veW6VcM9/aUVEoVtgkWVnR8oAyM3PK2+Knr8KjtCu3 rCqN+nWgWGQOP88uVJvGHEe5i5RJ38053IyXUL4QaJ5RWOSm0kWofFX+bh8DW/F5ISKm GIsfgK2IwT1RZ23bIyVGJy3FrizrjDgnKzIS2VLcvISzYNt0uevX8z1SPZOX4BDnwKk1 jIF16wP33c4F4Y0VOWXmr0ugIwWvcnY3D80/BPt7fXTh/J2dMdc/hc8/tLFFC0OiTh7+ KhIJlbwQo4VYizqkifs1q+aPQvfiSUv2/6wJJVSVODgZfgJ62t3NU4hSGIqib/pJOaWc kJYQ== X-Gm-Message-State: AOAM533Kz9PdondwZ7vxONF8zH2uvC6vLDu+I7C6+EHvLetHM/T/NGM5 2F18y+YQYbDu3TCEUoG2yLg= X-Google-Smtp-Source: ABdhPJxsfwcRaPxZjqTkOGUv/RiRbejbFGQa6SjbnNeOG9mjx+3XSgYAZ/9yDtcr1D/1pubSFz7z8w== X-Received: by 2002:aa7:92d7:: with SMTP id k23mr1057102pfa.295.1597263658793; Wed, 12 Aug 2020 13:20:58 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id 75sm3292999pfx.187.2020.08.12.13.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2020 13:20:58 -0700 (PDT) From: Al Cooper To: linux-kernel@vger.kernel.org Subject: [PATCH 3/3] usb: Add Kconfig and Makefile changes to build brcmstb-usb-pinmap Date: Wed, 12 Aug 2020 16:20:18 -0400 Message-Id: <20200812202018.49046-4-alcooperx@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200812202018.49046-1-alcooperx@gmail.com> References: <20200812202018.49046-1-alcooperx@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200812_162100_946797_FE93B68A X-CRM114-Status: GOOD ( 13.82 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [alcooperx[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Florian Fainelli , Greg Kroah-Hartman , Al Cooper , Rob Herring , Al Cooper , bcm-kernel-feedback-list@broadcom.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Al Cooper Add Kconfig and Makefile changes to build brcmstb-usb-pinmap and update MAINTAINERS for the new driver. refs #SWLINUX-5537 Signed-off-by: Al Cooper Reported-by: kernel test robot Reported-by: kernel test robot --- MAINTAINERS | 8 ++++++++ drivers/usb/host/Kconfig | 4 ++++ drivers/usb/host/Makefile | 1 + 3 files changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f0569cf304ca..3a44ac61899b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3527,6 +3527,14 @@ S: Maintained F: Documentation/devicetree/bindings/usb/brcm,bcm7445-ehci.yaml F: drivers/usb/host/ehci-brcm.* +BROADCOM BRCMSTB USB PIN MAP DRIVER +M: Al Cooper +L: linux-usb@vger.kernel.org +L: bcm-kernel-feedback-list@broadcom.com +S: Maintained +F: Documentation/devicetree/bindings/usb/brcm,usb-pinmap.yaml +F: drivers/usb/host/brcmstb-usb-pinmap.c + BROADCOM BRCMSTB USB2 and USB3 PHY DRIVER M: Al Cooper L: linux-kernel@vger.kernel.org diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 1cb3004ea7b2..9c285053bb0c 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -109,12 +109,16 @@ endif # USB_XHCI_HCD config USB_EHCI_BRCMSTB tristate +config BRCM_USB_PINMAP + tristate + config USB_BRCMSTB tristate "Broadcom STB USB support" depends on (ARCH_BRCMSTB && PHY_BRCM_USB) || COMPILE_TEST select USB_OHCI_HCD_PLATFORM if USB_OHCI_HCD select USB_EHCI_BRCMSTB if USB_EHCI_HCD select USB_XHCI_PLATFORM if USB_XHCI_HCD + select BRCM_USB_PINMAP help Enables support for XHCI, EHCI and OHCI host controllers found in Broadcom STB SoC's. diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index bc731332fed9..0e63ef94790d 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -90,3 +90,4 @@ obj-$(CONFIG_USB_HCD_BCMA) += bcma-hcd.o obj-$(CONFIG_USB_HCD_SSB) += ssb-hcd.o obj-$(CONFIG_USB_FOTG210_HCD) += fotg210-hcd.o obj-$(CONFIG_USB_MAX3421_HCD) += max3421-hcd.o +obj-$(CONFIG_BRCM_USB_PINMAP) += brcmstb-usb-pinmap.o