[PATCH v8 0/10] mfd: mt6360: Merge different sub-devices I2C read/write

Gene Chen
2021-05-17T17:34:01Z

This patch series merge different sub-device I2C read/write into one Regmap and
fix coding style for well-organized.

Gene Chen (10)
mfd: mt6360: Rearrange include file
mfd: mt6360: Remove redundant brackets around raw numbers
mfd: mt6360: Indicate sub-dev compatible name by using
mfd: mt6360: Combine mt6360 pmic/ldo resources into mt6360
mfd: mt6360: Rename mt6360_pmu_data by mt6360_ddata
mfd: mt6360: Rename mt6360_pmu by mt6360
mfd: mt6360: Remove handle_post_irq callback function
mfd: mt6360: Fix flow which is used to check ic exist
mfd: mt6360: Merge header file into driver and remove unuse register define
mfd: mt6360: Merge different sub-devices I2C read/write

drivers/mfd/Kconfig | 1 +
drivers/mfd/mt6360-core.c | 552 ++++++++++++++++++++++++++++++---------------
include/linux/mfd/mt6360.h | 240 --------------------
3 files changed, 376 insertions(+), 417 deletions(-)

changelogs between v2 & v3
- Replace mt6360_data to mt6360_ddata
- Split I2C read/write to regmap driver

changelogs between v3 & v4
- Merge back mt6360 regmap driver to MFD driver

changelogs between v4 & v5
- use devm_regmap_init
- define crc calculation magic number

changelogs between v5 & v6
- Remove unrelated change
- Remove regulator device of_compatible

changelogs between v6 & v7
- Replace OF_MFD_CELL by MFD_CELL_RES

changelogs between v7 & v8
- use MFD_CELL_RES for regulator sub-device and sync codebase to latest