mfd: Add irq domain support for max8997 interrupts
Add irq domain support for max8997 interrupts. The reverse mapping method used is linear mapping since the sub-drivers of max8997 such as regulator and charger drivers can use the max8997 irq_domain to get the linux irq number for max8997 interrupts. All uses of irq_base in platform data and max8997 driver private data are removed. Reviwed-by: NMark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: NMyungJoo Ham <myungjoo.ham@samsung.com> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NThomas Abraham <thomas.abraham@linaro.org> Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
Showing
想要评论请 注册 或 登录