mfd: tps65086: Read DEVICE ID register 1 from device
authorAndre Werner <andre.werner@systec-electronic.com>
Fri, 18 Aug 2023 08:37:21 +0000 (10:37 +0200)
committerLee Jones <lee@kernel.org>
Fri, 18 Aug 2023 20:43:02 +0000 (21:43 +0100)
commitc01467355f8eb126cab0ef28b66bb506fe6a2e21
treec181ea63a0ee6d1bae835e29460f346c02c424a3
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
mfd: tps65086: Read DEVICE ID register 1 from device

This commit prepares a following commit for the regulator part of the MFD.
The driver should support different device chips that differ in their
register definitions, for instance to control LDOA1 and SWB2.
So it is necessary to use a dedicated regulator description for a
specific device variant. Thus, the content from DEVICEID Register 1 is
used to choose a dedicated configuration between the different device
variants.

Signed-off-by: Andre Werner <andre.werner@systec-electronic.com>
Link: https://lore.kernel.org/r/20230818083721.29790-2-andre.werner@systec-electronic.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/tps65086.c
include/linux/mfd/tps65086.h