PCI: brcmstb: Add bcm7278 register info
authorJim Quinlan <jquinlan@broadcom.com>
Fri, 11 Sep 2020 17:52:23 +0000 (13:52 -0400)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 17 Sep 2020 11:30:38 +0000 (12:30 +0100)
commit1cf1b0a6dd95250e30a7706c962044c51c5e06bd
tree25ffa694268d2f7724fa26edc12bedf85256cea9
parente6f98b292413f175391b52f5e3b20500c5c834c8
PCI: brcmstb: Add bcm7278 register info

Add in compatibility strings and code for three Broadcom STB chips.  Some
of the register locations, shifts, and masks are different for certain
chips, requiring the use of different constants based on of_id.

We would like to add the following at this time to the match list but we
need to wait until the end of this patchset so that everything works.

    { .compatible = "brcm,bcm7211-pcie", .data = &generic_cfg },
    { .compatible = "brcm,bcm7278-pcie", .data = &bcm7278_cfg },
    { .compatible = "brcm,bcm7216-pcie", .data = &bcm7278_cfg },
    { .compatible = "brcm,bcm7445-pcie", .data = &generic_cfg },

Link: https://lore.kernel.org/r/20200911175232.19016-4-james.quinlan@broadcom.com
Signed-off-by: Jim Quinlan <jquinlan@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
drivers/pci/controller/pcie-brcmstb.c