linux-sg2042/drivers/spmi
Stephen Boyd 987a9f128b spmi: pmic-arb: Support more than 128 peripherals
Add support for more than 128 peripherals by taking a lazy
caching approach to the mapping tables. Instead of reading and
caching the tables at boot given some fixed size, read them and
cache them on an as needed basis. We still assume a max size of
512 peripherals, trading off some space for simplicity.

Based on a patch by Gilad Avidov <gavidov@codeaurora.org> and
Sagar Dharia <sdharia@codeaurora.org>.

Cc: Gilad Avidov <gavidov@codeaurora.org>
Cc: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-08 14:57:30 -08:00
..
Kconfig spmi: Select IRQ_DOMAIN instead of depend on it 2015-08-05 12:27:09 -07:00
Makefile spmi: Add MSM PMIC Arbiter SPMI controller 2014-02-15 11:55:28 -08:00
spmi-pmic-arb.c spmi: pmic-arb: Support more than 128 peripherals 2016-02-08 14:57:30 -08:00
spmi.c spmi: Auto-populate driver.owner in spmi_driver_register() 2015-09-20 19:32:02 -07:00