This pull request contains Broadcom ARM/ARM64 SoC drivers changes for
5.16, please pull the following: - Cai updates the bcm-pmb and bcm63xx-power drivers to use the devm_platform_ioremap_resource() helper - Florian updates the Bus Interface Unit code to tune the 72116 and 72113 chips according to their existing counterparts. The GISB driver is updated to be built as a non-removable module -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEm+Rq3+YGJdiR9yuFh9CWnEQHBwQFAmFlvVUACgkQh9CWnEQH BwRmlg/+OODOgiL6Sorp4uXVZS3jhPGsXon2/FaaXlcB51KgAW3EX5CveAGVA0s5 8nof7r2J4THXyarEirtqNl07EsOQ63ivLfaUWI8INByu7lQ7S8EycSHdcpNpoadn lbsy4ytFZBBCn/uOJWbye+Oerk8LD02ShwZ+/Hd4OEyb3T/vPLJJ6kFRcuuDkaWD ZcgiWvUwtUwGj51PqUinG6xoYa0JoquhCuu1KvXBzTIdQFUUTo+82XUwzCs6nv2I MY9Wf7mZjSWrYWslud9LRhis69pO5LF4+Rwrms2+Y0QzTIQ7lNeXwyJi+nvqV+Jp 9Uc6vtX8zO1NhnqFYPfV7XPVDBRrJ4QpVgk4KPZU/HI1/Y7/73l5eq66qbncwTvP /ovGeiFfHh8EuT48eWW46tWThLwcIARuLOYM8Xq6f+qC46Wztpkl1S79ig4x3mqw WH/CAEPLt7E0/5uFJYVcrhCOX9/X7UrY4+UwsYih1ffqQO9CB65qsWRqQjsTDzen HHOms0fclq8xDUlCRlXBjmKedj3r17/9hb9hF/J85fz5H4eJVk31fG6ugWV79dXU WWL2Zw/TRU8v7WDhdFXUJtcu5062Q0ayiMAf4z4nRhhrCGOwUU7KmsiSP0ZdnMVd 7pTzCLcdU8qOyIQt4N0NTyKl9CY+lpH/PXDA7gt/7bNzCvCpGuk= =9x6r -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIyBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmFnSTUACgkQmmx57+YA GNnNmA/0DWaUnTBHfpc8SVsH4cVlaVDdHV3MV5UGsKLM67P/23dxmJMmqfdoGEVQ /NcLCNyf5b1rECZoUmq9h3QwJc2aqr15kx+J4zH3TgoSBVuOI8rsbo+acVwrN9Jx tfrvXpYvIT05fRwLb4hTm13Pm9Jxij9tgV9ObprlNresclhB3yfZDMxuG6cVvuuG QIPtCxCc5LBZNiopB0Atu0M34HGoXn5S1kvo86WXsswQyP8b67fTjl1c1RRg10T0 sjJAYlNVCBrUk202vNiCUOgRIdTauu44FYTemLBjdYPjVydYRWSqFn6CYYHls7RE Qvjz+pG5Ds2FM6mMW0FGzmwOMe0qjR1+FsJggSh4rooQFj69RWo34ODxmwoTAvZT yAgwwbZEZswpxCj2rVfOjjv+3h9GFsGimZovhJxvsydVEEAHK6eUjug5EgcHM6qp rWfZbFSztKUCeLo36RBSaZRSS0xLg47WuL/NSc5Q+JTehNxDKbCzTKz8MhyTwvrl boOQtRhOiG5Abe9NKQK+nAn5x6Fq5kYSTiJXUCOw+wCbxHxgUbdzlGFH/vgTBGOx MznHVvgpIuMATf1qaHyp85r4pPlzVcHZI6x9K9uxIHAoO8aK2knoMIkNoSr89fAy 5EXAHHfQ5Pvf9qicr163LPSaDRQoUnEsi9C27qdpXgE7lcng5g== =Is9X -----END PGP SIGNATURE----- Merge tag 'arm-soc/for-5.16/drivers' of https://github.com/Broadcom/stblinux into arm/drivers This pull request contains Broadcom ARM/ARM64 SoC drivers changes for 5.16, please pull the following: - Cai updates the bcm-pmb and bcm63xx-power drivers to use the devm_platform_ioremap_resource() helper - Florian updates the Bus Interface Unit code to tune the 72116 and 72113 chips according to their existing counterparts. The GISB driver is updated to be built as a non-removable module * tag 'arm-soc/for-5.16/drivers' of https://github.com/Broadcom/stblinux: bus: brcmstb_gisb: Allow building as module soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72116 soc: bcm: brcmstb: biuctrl: Tune MCP settings for 72113 soc: bcm63xx-power: Make use of the helper function devm_platform_ioremap_resource() soc: bcm: bcm-pmb: Make use of the helper function devm_platform_ioremap_resource() Link: https://lore.kernel.org/r/20211013174016.831348-3-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
790f42a61e
|
@ -30,7 +30,7 @@ config ARM_INTEGRATOR_LM
|
|||
found on the ARM Integrator AP (Application Platform)
|
||||
|
||||
config BRCMSTB_GISB_ARB
|
||||
bool "Broadcom STB GISB bus arbiter"
|
||||
tristate "Broadcom STB GISB bus arbiter"
|
||||
depends on ARM || ARM64 || MIPS
|
||||
default ARCH_BRCMSTB || BMIPS_GENERIC
|
||||
help
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (C) 2014-2017 Broadcom
|
||||
* Copyright (C) 2014-2021 Broadcom
|
||||
*/
|
||||
|
||||
#include <linux/init.h>
|
||||
|
@ -536,6 +536,7 @@ static struct platform_driver brcmstb_gisb_arb_driver = {
|
|||
.name = "brcm-gisb-arb",
|
||||
.of_match_table = brcmstb_gisb_arb_of_match,
|
||||
.pm = &brcmstb_gisb_arb_pm_ops,
|
||||
.suppress_bind_attrs = true,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -546,3 +547,7 @@ static int __init brcm_gisb_driver_init(void)
|
|||
}
|
||||
|
||||
module_init(brcm_gisb_driver_init);
|
||||
|
||||
MODULE_AUTHOR("Broadcom");
|
||||
MODULE_DESCRIPTION("Broadcom STB GISB arbiter driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
@ -276,7 +276,6 @@ static int bcm_pmb_probe(struct platform_device *pdev)
|
|||
struct device *dev = &pdev->dev;
|
||||
const struct bcm_pmb_pd_data *table;
|
||||
const struct bcm_pmb_pd_data *e;
|
||||
struct resource *res;
|
||||
struct bcm_pmb *pmb;
|
||||
int max_id;
|
||||
int err;
|
||||
|
@ -287,8 +286,7 @@ static int bcm_pmb_probe(struct platform_device *pdev)
|
|||
|
||||
pmb->dev = dev;
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
pmb->base = devm_ioremap_resource(&pdev->dev, res);
|
||||
pmb->base = devm_platform_ioremap_resource(pdev, 0);
|
||||
if (IS_ERR(pmb->base))
|
||||
return PTR_ERR(pmb->base);
|
||||
|
||||
|
|
|
@ -91,7 +91,6 @@ static int bcm63xx_power_probe(struct platform_device *pdev)
|
|||
{
|
||||
struct device *dev = &pdev->dev;
|
||||
struct device_node *np = dev->of_node;
|
||||
struct resource *res;
|
||||
const struct bcm63xx_power_data *entry, *table;
|
||||
struct bcm63xx_power *power;
|
||||
unsigned int ndom;
|
||||
|
@ -102,8 +101,7 @@ static int bcm63xx_power_probe(struct platform_device *pdev)
|
|||
if (!power)
|
||||
return -ENOMEM;
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
power->base = devm_ioremap_resource(&pdev->dev, res);
|
||||
power->base = devm_platform_ioremap_resource(pdev, 0);
|
||||
if (IS_ERR(power->base))
|
||||
return PTR_ERR(power->base);
|
||||
|
||||
|
|
|
@ -136,6 +136,8 @@ static int __init mcp_write_pairing_set(void)
|
|||
|
||||
static const u32 a72_b53_mach_compat[] = {
|
||||
0x7211,
|
||||
0x72113,
|
||||
0x72116,
|
||||
0x7216,
|
||||
0x72164,
|
||||
0x72165,
|
||||
|
|
Loading…
Reference in New Issue