]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: bcm590xx: Add support for multiple device types + BCM59054 compatible
authorArtur Weber <aweber.kernel@gmail.com>
Thu, 15 May 2025 14:16:30 +0000 (16:16 +0200)
committerLee Jones <lee@kernel.org>
Thu, 22 May 2025 09:56:49 +0000 (10:56 +0100)
commit6adf48a3aa316ce360e02dd10222e96da9a0eff5
tree16e5199de5daeb4601d096a6834e3c7e3c59a777
parent13980ebf8e9431975fe834df9df31dea39cb9a45
mfd: bcm590xx: Add support for multiple device types + BCM59054 compatible

The BCM59054 is another chip from the BCM590xx line of PMUs, commonly
used on devices with the BCM21664/BCM23550 chipsets.

Prepare the BCM590xx driver for supporting other devices by adding the
PMUID register values for supported chip types and store them in the
MFD data struct as "pmu_id". (These will be checked against the actual
PMUID register values in a later commit.)

Then, add a DT compatible for the BCM59054, and provide the PMU ID as
OF match data.

Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Reviewed-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Link: https://lore.kernel.org/r/20250515-bcm59054-v9-3-14ba0ea2ea5b@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/bcm590xx.c
include/linux/mfd/bcm590xx.h