]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6537f0fe18d58fc0b8c6d8f3891acf4d6340e35c
tree25ffa694268d2f7724fa26edc12bedf85256cea9
parentb1a118ac7a52833b851ba9fa2496329a0a8ba3fd
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