From patchwork Mon May 17 15:41:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 12262297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 995B9C433ED for ; Mon, 17 May 2021 15:43:52 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 6016A61108 for ; Mon, 17 May 2021 15:43:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6016A61108 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lucaceresoli.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=X8N7b00ECd9fQ96QuyEw/Mfn6mDz+Kjm880cI8V5bLM=; b=N49RhHAPRqNfsvYgbcUBYOj6cl +Z2/2/+LrI8NlGyongdz6NQqQT0HQl5ksnEvtZgPNfaQCZPEjvVy8gy423VNpS3Ifd4TMWLf6+jTQ XhGAwu44T0lxZhr2rPgKqI+0b1ytodrVrg3JebS+UnExtb2SFTB0NjYI1SGIrHE2GAX8lsY+VkTmr uCIVZvw6VZzY7E9s1RBV1cpUQP7NGEQGJVupn5rfxciXI+7hvmBbIwj0oR3f6fuB5JK9Jkfox2EWl bZW0LmvqCCO2yIhcPbn/U7lidnyVbzx+uLJd3bbmGKTlt07CdFXRmq3uoOW+srFxwqSc0If627/wI BXV+3tlw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lifNI-00FRYP-Ag; Mon, 17 May 2021 15:41:45 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lifNF-00FRXi-HV for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 15:41:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=hjgIAFf6ZngWC3T61cMRw5qWDC64vYUdRVp/rYp+ZEI=; b=qQdltwi+gTn5S9NARP4RITnfCS GA8KEx3yCWYNiKoKs296ZdzPNkT+IDC9pAZO5oTxoJul5UeVmYgl6EdeGNprYEeOukUE9xdcDSsev gmcLB6eYF9ati7ynW+sanI04wwnFevsj5K253WyzFlmI1jGJzJ0eHPoPb24N9HvDLdQGB+LIHLVnT ZDDmbrlkwvOCjoDr070rYTeOD+4RMsNLvqy34vhqCnO7SYtTHUMXJjdX+UmjPPXlBWhapD1HUFvo3 /HXAuQ0dsjHxRED5g7pFgT9IdDtG3QIEeI5SKD719vyvX3PPQHsYVUavbWNPObi0TWkmwJmbl5dte tH+Risfg==; Received: from hostingweb31-40.netsons.net ([89.40.174.40]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lifNC-00Dw5v-S6 for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 15:41:40 +0000 Received: from [77.244.183.192] (port=64722 helo=melee.fritz.box) by hostingweb31.netsons.net with esmtpa (Exim 4.94.2) (envelope-from ) id 1lifNA-000Exi-CJ; Mon, 17 May 2021 17:41:36 +0200 From: Luca Ceresoli To: linux-pci@vger.kernel.org Cc: Luca Ceresoli , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , Jingoo Han , Gustavo Pimentel Subject: [PATCH 0/5] PCI: dwc: pci-dra7xx: miscellaneous improvements Date: Mon, 17 May 2021 17:41:17 +0200 Message-Id: <20210517154122.430544-1-luca@lucaceresoli.net> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - lists.infradead.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_084139_105159_8FFD1EBD X-CRM114-Status: UNSURE ( 4.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is an series of mixed improvements to the DRA7 PCI controller driver: allow building as a loadabel module, allow to get and enable a clock and a small cleanup. Luca Luca Ceresoli (5): PCI: dwc: export more symbols to allow modular drivers PCI: dwc: pci-dra7xx: make it a kernel module PCI: dwc: pci-dra7xx: allow to build as a loadable module PCI: dwc: pci-dra7xx: remove unused include PCI: dwc: pci-dra7xx: get an optional clock drivers/pci/controller/dwc/Kconfig | 6 +++--- drivers/pci/controller/dwc/pci-dra7xx.c | 21 +++++++++++++++++-- .../pci/controller/dwc/pcie-designware-ep.c | 1 + drivers/pci/controller/dwc/pcie-designware.c | 1 + 4 files changed, 24 insertions(+), 5 deletions(-)