• Rob Herring's avatar
    PCI: dwc: Move "dbi", "dbi2", and "addr_space" resource setup into common code · a0fd361d
    Rob Herring authored
    Most DWC drivers use the common register resource names "dbi", "dbi2", and
    "addr_space", so let's move their setup into the DWC common code.
    
    This means 'dbi_base' in particular is setup later, but it looks like no
    drivers touch DBI registers before dw_pcie_host_init or dw_pcie_ep_init.
    
    Link: https://lore.kernel.org/r/20201105211159.1814485-4-robh@kernel.orgTested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
    Signed-off-by: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Acked-by: default avatarJingoo Han <jingoohan1@gmail.com>
    Cc: Kishon Vijay Abraham I <kishon@ti.com>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Cc: Bjorn Helgaas <bhelgaas@google.com>
    Cc: Murali Karicheri <m-karicheri2@ti.com>
    Cc: Minghuan Lian <minghuan.Lian@nxp.com>
    Cc: Mingkai Hu <mingkai.hu@nxp.com>
    Cc: Roy Zang <roy.zang@nxp.com>
    Cc: Jonathan Chocron <jonnyc@amazon.com>
    Cc: Jesper Nilsson <jesper.nilsson@axis.com>
    Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
    Cc: Xiaowei Song <songxiaowei@hisilicon.com>
    Cc: Binghui Wang <wangbinghui@hisilicon.com>
    Cc: Andy Gross <agross@kernel.org>
    Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
    Cc: Stanimir Varbanov <svarbanov@mm-sol.com>
    Cc: Pratyush Anand <pratyush.anand@gmail.com>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Cc: Jonathan Hunter <jonathanh@nvidia.com>
    Cc: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Cc: linux-omap@vger.kernel.org
    Cc: linuxppc-dev@lists.ozlabs.org
    Cc: linux-arm-kernel@axis.com
    Cc: linux-arm-msm@vger.kernel.org
    Cc: linux-tegra@vger.kernel.org
    a0fd361d
pcie-kirin.c 12.9 KB