Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b36ca42 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by David Collins
Browse files

mfd: introduce I2C PMIC controller



The I2C PMIC Controller is used by multi-function PMIC devices
which communicate over the I2C bus.  The controller enumerates
all child nodes as platform devices, and instantiates a regmap
interface for them to communicate over the I2C bus.

The controller also controls interrupts for all of the children
platform devices.  The controller handles the summary interrupt
by deciphering which peripheral triggered the interrupt, and
which of the peripheral interrupts were triggered.  Finally, it
calls the interrupt handlers for each of the virtual interrupts
that were registered.

This is a snapshot from msm-4.19
commit 9a702c565e5a ("Use 'GPL-2.0-only' as the
SPDX-License-Identifier tag").

Change-Id: I28a4905e1666c06cb2c06d00f56ef66981621b2d
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 4354299c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment