On Tue, Jun 18, 2013 at 4:48 PM, Felipe Balbi wrote:
> Hi,
>
> On Tue, Jun 18, 2013 at 11:45:05AM +0300, Roger Quadros wrote:
>> > this looks wrong for two reasons:
>> >
>> > a) you're not grabbing the PHY here.
>> >
>> > You can't just assume another entity grabbed
Some controller need software to initialize PHY before add
host controller, and shut down PHY after remove host controller.
Add the generic code for these controllers so they do not need
do it in its own host controller driver.
Signed-off-by: Chao Xie
---
drivers/usb/core/hcd.c | 19
Some controller need software to initialize PHY before add
host controller, and shut down PHY after remove host controller.
Add the generic code for these controllers so they do not need
do it in its own host controller driver.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/usb/core
On Wed, Jun 19, 2013 at 10:48 AM, Greg KH gre...@linuxfoundation.org wrote:
On Tue, Jun 18, 2013 at 10:31:20PM -0400, Chao Xie wrote:
Some controller need software to initialize PHY before add
host controller, and shut down PHY after remove host controller.
Add the generic code
Some controller need software to initialize PHY before add
host controller, and shut down PHY after remove host controller.
Add the generic code for these controllers so they do not need
do it in its own host controller driver.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/usb/core
On Tue, Jun 18, 2013 at 4:48 PM, Felipe Balbi ba...@ti.com wrote:
Hi,
On Tue, Jun 18, 2013 at 11:45:05AM +0300, Roger Quadros wrote:
this looks wrong for two reasons:
a) you're not grabbing the PHY here.
You can't just assume another entity grabbed your PHY for you.
Isn't
Compile passed for the configuration
pxa168_defconfig
aspenite.c(MACH_ASPENITE), teton_bgs.c(MACH_TENTON_BGA)
Signed-off-by: Chao Xie
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
arch/arm/mach-mmp/teton_bga.c | 10 +++---
2 files changed, 14 insertions(+), 6 deletions(-)
diff
keypad
under mach-pxa.
The patch "arm: pxa: use matrix_keymap for all boards" is new.
The patch "arm: mmp: use matrix_keymap for all boards" merges
previous changes for aspenite and teton_bga.
All other patches are not modified.
Chao Xie (5):
input: pxa27x-keypad: use matrix_key
(MACH_PALMTX), palmz72.c(MACH_PALMZ72),
palmt5.c(MACH_PALMT5)
pxa3xx_defconfig
littleton.c(MACH_LITTLETON), tarvorevb.c(MACH_TAVOREVB),
zylonite.c(MACH_ZYLONITE320), mioa701.c(MACH_MIOA701),
z2.c(MACH_ZIPIT2)
mainstone_defconfig
maintone.c(MACH_MAINSTONE)
Signed-off-by: Chao Xie
---
arch/arm
Signed-off-by: Chao Xie
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 +
drivers/input/keyboard/pxa27x_keypad.c | 232 +++-
2 files changed, 288 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/pxa27x
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/platform_data/keypad-pxa27x.h
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap
for the matrix keyes.
Signed-off-by: Chao Xie
---
drivers/input/keyboard/Kconfig |1 +
drivers/input/keyboard/pxa27x_keypad.c | 36 +-
include/linux/platform_data/keypad-pxa27x.h
On Tue, Jun 18, 2013 at 1:07 AM, Dmitry Torokhov
wrote:
> On Monday, June 17, 2013 03:10:27 PM Arnd Bergmann wrote:
>> On Sunday 05 May 2013 23:04:07 Chao Xie wrote:
>> > Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
>> > remove the unus
On Tue, Jun 18, 2013 at 1:07 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Monday, June 17, 2013 03:10:27 PM Arnd Bergmann wrote:
On Sunday 05 May 2013 23:04:07 Chao Xie wrote:
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap
for the matrix keyes.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/input/keyboard/Kconfig |1 +
drivers/input/keyboard/pxa27x_keypad.c | 36 +-
include/linux/platform_data
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie chao@marvell.com
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux
(MACH_PALMTX), palmz72.c(MACH_PALMZ72),
palmt5.c(MACH_PALMT5)
pxa3xx_defconfig
littleton.c(MACH_LITTLETON), tarvorevb.c(MACH_TAVOREVB),
zylonite.c(MACH_ZYLONITE320), mioa701.c(MACH_MIOA701),
z2.c(MACH_ZIPIT2)
mainstone_defconfig
maintone.c(MACH_MAINSTONE)
Signed-off-by: Chao Xie chao
Signed-off-by: Chao Xie chao@marvell.com
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 +
drivers/input/keyboard/pxa27x_keypad.c | 232 +++-
2 files changed, 288 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree
under mach-pxa.
The patch arm: pxa: use matrix_keymap for all boards is new.
The patch arm: mmp: use matrix_keymap for all boards merges
previous changes for aspenite and teton_bga.
All other patches are not modified.
Chao Xie (5):
input: pxa27x-keypad: use matrix_keymap for matrix keyes
arm: mmp
Compile passed for the configuration
pxa168_defconfig
aspenite.c(MACH_ASPENITE), teton_bgs.c(MACH_TENTON_BGA)
Signed-off-by: Chao Xie chao@marvell.com
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
arch/arm/mach-mmp/teton_bga.c | 10 +++---
2 files changed, 14 insertions(+), 6
On Fri, Jun 14, 2013 at 8:56 PM, Arnd Bergmann wrote:
> On Friday 14 June 2013 17:15:33 Chao Xie wrote:
>> On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann wrote:
>
>> > I guess that is a problem we have on other platforms as well, we should
>> > find a generic solut
On Fri, Jun 14, 2013 at 8:56 PM, Arnd Bergmann a...@arndb.de wrote:
On Friday 14 June 2013 17:15:33 Chao Xie wrote:
On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann a...@arndb.de wrote:
I guess that is a problem we have on other platforms as well, we should
find a generic solution
On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann wrote:
>
>> >> > __initdata = {
>> >> > > .virtual= (unsigned long)AXI_VIRT_BASE,
>> >> > > .length = AXI_PHYS_SIZE,
>> >> > > .type = MT_DEVICE,
>> >> > > - },
>> >> > > + }, {
>> >> > > +
On Mon, Jun 10, 2013 at 4:35 PM, Arnd Bergmann a...@arndb.de wrote:
__initdata = {
.virtual= (unsigned long)AXI_VIRT_BASE,
.length = AXI_PHYS_SIZE,
.type = MT_DEVICE,
- },
+ }, {
+ .pfn=
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c | 28
include/linux/mfd/88pm80x.h |8
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index 35c7fe8..ec9d815 100644
--- a/drivers/mfd
mfd: 88pm800/88pm805: remove "IRQF_TRIGGER_FALLING" flag
Other patches are new.
Chao Xie (7):
mfd: 88pm80x: fix driver name for 88pm800 and 88pm805
mfd: 88pm800: fix for mask_invert
mfd: 88pm800: remove the power and gpadc page addr from platform data
mfd: 88pm800: fixes error handling
Change the chip id definition and detection.
It brings the benefits
1. do not need add PM800_CHIP_XXX for the coming revision.
2. do not need pass driver_data in i2c_device_id because we
can distinguish the chips by CHIP_ID register.
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c
From: Yi Zhang
move "device_800_init" to fix NULL pointer error when
calling "device_gpadc_init"
for "device_gpadc_init" needs "subchip->regmap_gpadc"
to set registers via regmap interface
Signed-off-by: Yi Zhang
Signed-off-by: Chao Xie
---
drivers
pm800_pages_init and pm800_pages_exit are called by pm800_probe.
Change the code to enhance error handling and remove unused code at
pm800_pages_init/exit and pm800_probe.
Signed-off-by: Yi Zhang
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c | 80
Separate the devices initialization into different functions.
It makes the probe function clearly.
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c | 61 +---
1 files changed, 42 insertions(+), 19 deletions(-)
diff --git a/drivers/mfd/88pm800.c b
88pm800 has same driver name as 88pm805. Fix it.
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c |2 +-
drivers/mfd/88pm805.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index b2f9f0f..0801049 100644
--- a/drivers
From: Yi Zhang
88pm800/88pm805 interrupt is asserted low if the events happened.
So remove IRQF_TRIGGER_FALLING for irq request.
How the interrupt is connected to SOC chip depends on the board design.
So do not set IRQF_TRIGGER flags.
Signed-off-by: Yi Zhang
Signed-off-by: Chao Xie
mask_invert must be set. Or interrupt cannot be cleared.
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index 0801049..cca63f2 100644
--- a/drivers/mfd/88pm800.c
+++ b
88pm800 has two addtional pages - power and gpadc.
The address of the pages depends on the address of 88pm800.
So do not need pass the address of the power and gpadc in
platform data.
Signed-off-by: Chao Xie
---
drivers/mfd/88pm800.c |5 +++--
include/linux/mfd/88pm80x.h |2 --
2
...@marvell.com
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c |2 +-
drivers/mfd/88pm805.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index cca63f2..d2951d7 100644
--- a/drivers/mfd/88pm800.c
+++ b/drivers
mask_invert must be set. Or interrupt cannot be cleared.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index 0801049..cca63f2 100644
--- a/drivers/mfd
88pm800 has two addtional pages - power and gpadc.
The address of the pages depends on the address of 88pm800.
So do not need pass the address of the power and gpadc in
platform data.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c |5 +++--
include/linux/mfd
88pm800 has same driver name as 88pm805. Fix it.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c |2 +-
drivers/mfd/88pm805.c |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index b2f9f0f..0801049
Separate the devices initialization into different functions.
It makes the probe function clearly.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c | 61 +---
1 files changed, 42 insertions(+), 19 deletions(-)
diff --git
pm800_pages_init and pm800_pages_exit are called by pm800_probe.
Change the code to enhance error handling and remove unused code at
pm800_pages_init/exit and pm800_probe.
Signed-off-by: Yi Zhang yizh...@marvell.com
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c | 80
/88pm805: remove IRQF_TRIGGER_FALLING flag
Other patches are new.
Chao Xie (7):
mfd: 88pm80x: fix driver name for 88pm800 and 88pm805
mfd: 88pm800: fix for mask_invert
mfd: 88pm800: remove the power and gpadc page addr from platform data
mfd: 88pm800: fixes error handling for sub pages
Change the chip id definition and detection.
It brings the benefits
1. do not need add PM800_CHIP_XXX for the coming revision.
2. do not need pass driver_data in i2c_device_id because we
can distinguish the chips by CHIP_ID register.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers
From: Yi Zhang yizh...@marvell.com
move device_800_init to fix NULL pointer error when
calling device_gpadc_init
for device_gpadc_init needs subchip-regmap_gpadc
to set registers via regmap interface
Signed-off-by: Yi Zhang yizh...@marvell.com
Signed-off-by: Chao Xie chao@marvell.com
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/mfd/88pm800.c | 28
include/linux/mfd/88pm80x.h |8
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c
index 35c7fe8..ec9d815
hi, Dmitry
What are the status for these patches? Thanks.
On Wed, May 15, 2013 at 2:40 PM, Dmitry Torokhov
wrote:
> Hi Chao,
>
> On Mon, May 13, 2013 at 04:02:07PM +0800, Chao Xie wrote:
>> hi, dmitry
>> What is your idea about these patches?
>> Do i need add
hi, Dmitry
What are the status for these patches? Thanks.
On Wed, May 15, 2013 at 2:40 PM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
Hi Chao,
On Mon, May 13, 2013 at 04:02:07PM +0800, Chao Xie wrote:
hi, dmitry
What is your idea about these patches?
Do i need add someone else
hi, Arnd
Thanks for your review.
On Fri, Jun 7, 2013 at 12:26 AM, Arnd Bergmann wrote:
> On Thursday 06 June 2013, Neil Zhang wrote:
>> > > diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
>> > > index ebdda83..0955191 100644
>> > > --- a/arch/arm/mach-mmp/Kconfig
>> > > +++
hi, Arnd
Thanks for your review.
On Fri, Jun 7, 2013 at 12:26 AM, Arnd Bergmann a...@arndb.de wrote:
On Thursday 06 June 2013, Neil Zhang wrote:
diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index ebdda83..0955191 100644
--- a/arch/arm/mach-mmp/Kconfig
+++
> -Original Message-
> From: Mark Brown [mailto:broo...@kernel.org]
> Sent: Tuesday, May 28, 2013 6:04 PM
> To: yi zhang
> Cc: Liam Girdwood; Chao Xie; jett.z...@marvell.com;
> linux-kernel@vger.kernel.org; Yi Zhang
> Subject: Re: [PATCH] regulator: 88pm800:
-Original Message-
From: Mark Brown [mailto:broo...@kernel.org]
Sent: Tuesday, May 28, 2013 6:04 PM
To: yi zhang
Cc: Liam Girdwood; Chao Xie; jett.z...@marvell.com;
linux-kernel@vger.kernel.org; Yi Zhang
Subject: Re: [PATCH] regulator: 88pm800: add regulator driver
On Tue, May
hi, Thierry
Eric has acked all the patches. So can you help to merge them?
Thanks.
On Mon, May 13, 2013 at 2:20 PM, Eric Miao wrote:
> On Mon, May 13, 2013 at 1:04 PM, Chao Xie wrote:
>>>> + const struct of_device_id *of_id =
>>>> + of_ma
hi, Thierry
Eric has acked all the patches. So can you help to merge them?
Thanks.
On Mon, May 13, 2013 at 2:20 PM, Eric Miao eric.y.m...@gmail.com wrote:
On Mon, May 13, 2013 at 1:04 PM, Chao Xie xiechao.m...@gmail.com wrote:
+ const struct of_device_id *of_id
hi, dmitry
What is your idea about these patches?
Do i need add someone else to review them?
On Mon, May 6, 2013 at 11:04 AM, Chao Xie wrote:
> The patches include 2 parts
> 1. use matrix_keypad for matrix keyes support
> 2. add device tree support for pxa27x-keypad
>
> V2->
hi, dmitry
What is your idea about these patches?
Do i need add someone else to review them?
On Mon, May 6, 2013 at 11:04 AM, Chao Xie chao@marvell.com wrote:
The patches include 2 parts
1. use matrix_keypad for matrix keyes support
2. add device tree support for pxa27x-keypad
V2-V1:
Do
>> + const struct of_device_id *of_id =
>> + of_match_device(pxa_pwm_of_match, >dev);
>> + unsigned int npwm;
>> +
>> + if (!of_id)
>> + return -ENODEV;
>> +
>> + npwm = (unsigned int)of_id->data;
>> + pwm->chip.npwm = (npwm &
+ const struct of_device_id *of_id =
+ of_match_device(pxa_pwm_of_match, pdev-dev);
+ unsigned int npwm;
+
+ if (!of_id)
+ return -ENODEV;
+
+ npwm = (unsigned int)of_id-data;
+ pwm-chip.npwm = (npwm HAS_SECONDARY_PWM) ? 2
The patch series remove the incorrect patch, and submit the correct one.
Chao Xie (2):
Revert "drivers/rtc/rtc-pxa.c: fix set time sync time issue"
rtc: pxa: add pxa95x rtc support
drivers/rtc/rtc-pxa.c | 141 +++
include/linux/rtc-px
This patch have something wrong.
1.The pxa_sync_time API is not needed. The RTC sync can be done
by user space applications, so in kernel this API is not needed.
2.The pxa_rtc_open can not be deleted. This change has been
declined during review at the mail list
3.Based on specification and talked
the pxa95x rtc need access PBSR register before write to RTTR, RCNR, RDCR, and
RYCR registers.
Signed-off-by: Chao Xie
---
drivers/rtc/rtc-pxa.c | 96 ++--
1 files changed, 84 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-pxa.c b
Signed-off-by: Chao Xie
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 +
drivers/input/keyboard/pxa27x_keypad.c | 232 +++-
2 files changed, 288 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/pxa27x
The patches include 2 parts
1. use matrix_keypad for matrix keyes support
2. add device tree support for pxa27x-keypad
V2->V1:
Do not copy the members from pdata. For device tree support,
directly allocate the pdata structure.
Chao Xie (5):
input: pxa27x-keypad: use matrix_keymap for mat
Signed-off-by: Chao Xie
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9f64d56..1e23346 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp
Signed-off-by: Chao Xie
---
arch/arm/mach-mmp/teton_bga.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c
index 8609967..d8967fa 100644
--- a/arch/arm/mach-mmp/teton_bga.c
+++ b/arch/arm/mach-mmp
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/platform_data/keypad-pxa27x.h
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap
for the matrix keyes.
Signed-off-by: Chao Xie
---
drivers/input/keyboard/Kconfig |1 +
drivers/input/keyboard/pxa27x_keypad.c | 36 +-
include/linux/platform_data/keypad-pxa27x.h
if the PWM device is not probed.
The driver based on PWM driver can make use of -EPROBE_DEFER
to delay its probing.
So arch_initcall can be replaced by module_platform_driver.
Signed-off-by: Chao Xie
---
drivers/pwm/pwm-pxa.c | 12 +---
1 files changed, 1 insertions(+), 11 deletions
Add the deice tree support for pwm-pxa.
Signed-off-by: Chao Xie
---
drivers/pwm/pwm-pxa.c | 52 -
1 files changed, 51 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index aa4bea7..c8d59a2 100644
err = parse_pdata();
}
if (err < 0)
return err;
Chao Xie (3):
pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA
pwm: pxa: use module_platform_driver()
pwm: pxa: add device tree support
drivers/pwm/Kconfig |2 +-
drivers/pwm/pwm-pxa.c | 64 +++
The PWM driver is not only used by ARCH_PXA but also ARCH_MMP.
Signed-off-by: Chao Xie
---
drivers/pwm/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 115b644..9ec4040 100644
--- a/drivers/pwm/Kconfig
+++ b
;
Chao Xie (3):
pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA
pwm: pxa: use module_platform_driver()
pwm: pxa: add device tree support
drivers/pwm/Kconfig |2 +-
drivers/pwm/pwm-pxa.c | 64 +++-
2 files changed, 53 insertions(+), 13
The PWM driver is not only used by ARCH_PXA but also ARCH_MMP.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 115b644..9ec4040 100644
--- a/drivers/pwm
if the PWM device is not probed.
The driver based on PWM driver can make use of -EPROBE_DEFER
to delay its probing.
So arch_initcall can be replaced by module_platform_driver.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/pwm-pxa.c | 12 +---
1 files changed, 1 insertions
Add the deice tree support for pwm-pxa.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/pwm-pxa.c | 52 -
1 files changed, 51 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index aa4bea7
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap
for the matrix keyes.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/input/keyboard/Kconfig |1 +
drivers/input/keyboard/pxa27x_keypad.c | 36 +-
include/linux/platform_data
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie chao@marvell.com
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux
Signed-off-by: Chao Xie chao@marvell.com
---
arch/arm/mach-mmp/teton_bga.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c
index 8609967..d8967fa 100644
--- a/arch/arm/mach-mmp/teton_bga.c
+++ b/arch
The patches include 2 parts
1. use matrix_keypad for matrix keyes support
2. add device tree support for pxa27x-keypad
V2-V1:
Do not copy the members from pdata. For device tree support,
directly allocate the pdata structure.
Chao Xie (5):
input: pxa27x-keypad: use matrix_keymap for matrix
Signed-off-by: Chao Xie chao@marvell.com
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9f64d56..1e23346 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch
Signed-off-by: Chao Xie chao@marvell.com
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 +
drivers/input/keyboard/pxa27x_keypad.c | 232 +++-
2 files changed, 288 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap
for the matrix keyes.
Signed-off-by: Chao Xie
---
drivers/input/keyboard/Kconfig |1 +
drivers/input/keyboard/pxa27x_keypad.c | 29 +++---
include/linux/platform_data/keypad-pxa27x.h
matrix_keypad for matrix keyes support
3. add device tree support for pxa27x-keypad
Chao Xie (6):
input: pxa27x-keypad: copy members of platform data to device private
data
input: pxa27x-keypad: use matrix_keymap for matrix keyes
arm: mmp: use matrix_keymap for aspenite
arm: mmp: use
Signed-off-by: Chao Xie
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9f64d56..1e23346 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch/arm/mach-mmp
Signed-off-by: Chao Xie
---
arch/arm/mach-mmp/teton_bga.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c
index 8609967..d8967fa 100644
--- a/arch/arm/mach-mmp/teton_bga.c
+++ b/arch/arm/mach-mmp
Signed-off-by: Chao Xie
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 ++
drivers/input/keyboard/pxa27x_keypad.c | 198 +++-
2 files changed, 252 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/input/pxa27x
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/platform_data/keypad-pxa27x.h
Original driver will directly use platform data when driver is
running.
In fact, the platform data may be freed after system is bootup,
or pointer for platform data is NULL if it has device tree support.
Define the useful members of platform data in device private data.
Signed-off-by: Chao Xie
the pwm driver is not only used by ARCH_PXA but also ARCH_MMP
Signed-off-by: Chao Xie
---
drivers/pwm/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 115b644..9ec4040 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers
Signed-off-by: Chao Xie
---
drivers/pwm/pwm-pxa.c | 12 +---
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index dee6ab55..aa4bea7 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
@@ -187,16 +187,6 @@ static
_OF for device tree support.
rebase to for-next
V3->V2:
change "mrvl,xxx" to "marvell,xxx".
Chao Xie (3):
pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA
pwm: pxa: use module_platform_driver for driver register
pwm: pxa: add device tree support
drivers/pwm/Kc
Add the deice tree support for pwm-pxa.
Signed-off-by: Chao Xie
---
drivers/pwm/pwm-pxa.c | 57 +++-
1 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index aa4bea7..45d9047 100644
Add the deice tree support for pwm-pxa.
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/pwm-pxa.c | 57 +++-
1 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index aa4bea7
for device tree support.
rebase to for-next
V3-V2:
change mrvl,xxx to marvell,xxx.
Chao Xie (3):
pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA
pwm: pxa: use module_platform_driver for driver register
pwm: pxa: add device tree support
drivers/pwm/Kconfig |2 +-
drivers/pwm
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/pwm-pxa.c | 12 +---
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index dee6ab55..aa4bea7 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
the pwm driver is not only used by ARCH_PXA but also ARCH_MMP
Signed-off-by: Chao Xie chao@marvell.com
---
drivers/pwm/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 115b644..9ec4040 100644
--- a/drivers/pwm
Original driver will directly use platform data when driver is
running.
In fact, the platform data may be freed after system is bootup,
or pointer for platform data is NULL if it has device tree support.
Define the useful members of platform data in device private data.
Signed-off-by: Chao Xie
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so
remove the unused members in platform data.
Signed-off-by: Chao Xie chao@marvell.com
---
include/linux/platform_data/keypad-pxa27x.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux
Signed-off-by: Chao Xie chao@marvell.com
---
.../devicetree/bindings/input/pxa27x-keypad.txt| 60 ++
drivers/input/keyboard/pxa27x_keypad.c | 198 +++-
2 files changed, 252 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree
Signed-off-by: Chao Xie chao@marvell.com
---
arch/arm/mach-mmp/teton_bga.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c
index 8609967..d8967fa 100644
--- a/arch/arm/mach-mmp/teton_bga.c
+++ b/arch
Signed-off-by: Chao Xie chao@marvell.com
---
arch/arm/mach-mmp/aspenite.c | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c
index 9f64d56..1e23346 100644
--- a/arch/arm/mach-mmp/aspenite.c
+++ b/arch
matrix_keypad for matrix keyes support
3. add device tree support for pxa27x-keypad
Chao Xie (6):
input: pxa27x-keypad: copy members of platform data to device private
data
input: pxa27x-keypad: use matrix_keymap for matrix keyes
arm: mmp: use matrix_keymap for aspenite
arm: mmp: use
201 - 300 of 423 matches
Mail list logo