add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 176
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 187 insertions(+), 0 deletions
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 371 +
3 files changed, 382 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x.c b
chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
exported a group of r/w bulk r/w and bits set API for facility.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800.c | 593
upled and probed separately;
2, re-used the most of API for pm800 and pm805 per Arnd's comments;
3, use regmap_irq, instead of previous 88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd
On 07/09/2012 09:21 PM, Samuel Ortiz wrote:
Hi Mark,
On Mon, Jul 09, 2012 at 11:55:33AM +0100, Mark Brown wrote:
On Mon, Jul 09, 2012 at 12:55:51PM +0200, Samuel Ortiz wrote:
I applied the first 2 patches, I'd like to get an ACK from the respective
maintainers for the rtc and the input ones.
add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 176
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 187 insertions(+), 0 deletions
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 371 +
3 files changed, 382 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x.c b
;
3, use regmap_irq, instead of previous 88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd's comments.
5, updated some coding style issue.
Qiao Zhou (4):
mfd: support 88pm80x in 80x
chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
exported a group of r/w bulk r/w and bits set API for facility.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800.c | 593
add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 176
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 187 insertions(+), 0 deletions
88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd's comments.
5, updated some coding style issue.
Qiao Zhou (4):
mfd: support 88pm80x in 80x driver
mfd: workaround: add companion ch
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 371 +
3 files changed, 382 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x.c b
chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
exported a group of r/w bulk r/w and bits set API for facility.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800.c | 593
805, such as chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
exported a group of r/w bulk r/w and bits set API for facility.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800-core.c
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 371 +
3 files changed, 382 insertions(+), 0 deletions
add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 176
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 187 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x-i2c.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x-i2c.c b
tead of previous 88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd's comments.
5, updated some coding style issue.
Qiao Zhou (4):
mfd: support 88pm80x in 80x driver
mfd: workaround: add companion
On 07/05/2012 08:06 PM, Arnd Bergmann wrote:
On Thursday 05 July 2012, Qiao Zhou wrote:
+
+static const struct i2c_device_id pm80x_id_table[] = {
+ {"88PM800", CHIP_PM800},
+ {"88PM805", CHIP_PM805},
+};
+MODULE_DEVICE_TABLE(i2c, pm80x_id_table);
The point of
add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 190
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 201 insertions(+), 0 deletions
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 366 +
3 files changed, 377 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x-i2c.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x-i2c.c b
mments;
3, use regmap_irq, instead of previous 88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd's comments.
5, updated some coding style issue.
Qiao Zhou (4):
mfd: support 88pm80x in 80x drive
805, such as chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap, and 88pm80x-i2c
exported a group of r/w bulk r/w and bits set API for facility.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800-core.c
> On Wed, Jul 04, 2012 at 03:27:13PM +, Arnd Bergmann wrote:
> > On Wednesday 04 July 2012, Qiao Zhou wrote:
>>
> > > >On the other hand, I think it probably makes sense to drop the
> > > >irq_base member in this struct and rely on irq domains to allocat
> On Wednesday 04 July 2012, Qiao Zhou wrote:
> > >> +ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0],
> > >> + ARRAY_SIZE(onkey_devs),
> > >> &onkey_resources[0],
> > >> +
>> +ret = mfd_add_devices(chip->dev, 0, &onkey_devs[0],
>> + ARRAY_SIZE(onkey_devs), &onkey_resources[0],
>> + chip->irq_base);
>
>According to what I discussed with Mark in the previous version, I think you
>need to pass 0 instead of chip->irq_
add onkey support to MARVELL 88PM80X PMIC.
Signed-off-by: Qiao Zhou
---
drivers/input/misc/88pm80x_onkey.c | 190
drivers/input/misc/Kconfig | 10 ++
drivers/input/misc/Makefile|1 +
3 files changed, 201 insertions(+), 0 deletions
805, such as chip init, irq
init/handle, mfd device register, including codec, headset/mic detect
etc.
the i2c operation of both 800 and 805 are via regmap.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm800-core.c | 492
drivers/mfd/88pm805-core.c
add rtc driver for MARVELL 88PM80X PMIC and enable rtc function.
Signed-off-by: Qiao Zhou
---
drivers/rtc/Kconfig | 10 ++
drivers/rtc/Makefile |1 +
drivers/rtc/rtc-88pm80x.c | 366 +
3 files changed, 377 insertions(+), 0 deletions
workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou
---
drivers/mfd/88pm80x-i2c.c | 28
include/linux/mfd/88pm80x.h |1 +
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm80x-i2c.c b
ost of API for pm800 and pm805 per Arnd's comments;
3, use regmap_irq, instead of previous 88pm80x_irq_data per Mark's comments.
use regmap_add_irq_chip, and remove previous 88pm80x irq handling.
4, remove callback function in rtc pdata per Arnd's comments.
5, updated some codin
On 07/02/2012 11:58 PM, Arnd Bergmann wrote:
On Monday 02 July 2012, Qiao Zhou wrote:
On 07/02/2012 06:12 PM, Mark Brown wrote:
On Mon, Jul 02, 2012 at 06:09:57PM +0800, Qiao Zhou wrote:
On 07/02/2012 06:03 PM, Mark Brown wrote:
What do you mean by pages? regmap has paging support which
36 matches
Mail list logo