Re: [RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-07-04 Thread Chen Zhong
On Wed, 2018-07-04 at 15:25 +, Dmitry Torokhov wrote: > On Fri, Jun 22, 2018 at 02:39:55PM +0800, Chen Zhong wrote: > > Hi Dmitry, > > > > The other patches in the series to add mediatek pmic keys support are > > now available in 4.18-rc1, but this patch seems not b

Re: [RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-07-04 Thread Chen Zhong
On Wed, 2018-07-04 at 15:25 +, Dmitry Torokhov wrote: > On Fri, Jun 22, 2018 at 02:39:55PM +0800, Chen Zhong wrote: > > Hi Dmitry, > > > > The other patches in the series to add mediatek pmic keys support are > > now available in 4.18-rc1, but this patch seems not b

Re: [RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-06-22 Thread Chen Zhong
to see if it is good enough to be merged into your tree? Thank you. On Fri, 2018-06-22 at 14:16 +0800, Chen Zhong wrote: > This patch adds the device tree binding documentation for common > keyboard. > > Acked-by: Rob Herring > Acked-by: Dmitry Torokhov > Signed-

Re: [RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-06-22 Thread Chen Zhong
to see if it is good enough to be merged into your tree? Thank you. On Fri, 2018-06-22 at 14:16 +0800, Chen Zhong wrote: > This patch adds the device tree binding documentation for common > keyboard. > > Acked-by: Rob Herring > Acked-by: Dmitry Torokhov > Signed-

[RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-06-22 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Acked-by: Rob Herring Acked-by: Dmitry Torokhov Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/input/keys.txt | 8 1 file changed, 8 insertions(+) create mode 100644 Documentation/devicetree

[RESEND PATCH] dt-bindings: input: Add common keyboard document bindings

2018-06-22 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Acked-by: Rob Herring Acked-by: Dmitry Torokhov Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/input/keys.txt | 8 1 file changed, 8 insertions(+) create mode 100644 Documentation/devicetree

Re: [GIT PULL] Immutable branch between MFD, Input and RTC due for the v4.18 merge window

2018-04-26 Thread Chen Zhong
> Immutable branch between MFD, Input and RTC due for the v4.18 merge window > > -------- > Chen Zhong (5): > mfd: mt6397: Create irq mappings in mfd core driver > dt-bindings: input: Add docum

Re: [GIT PULL] Immutable branch between MFD, Input and RTC due for the v4.18 merge window

2018-04-26 Thread Chen Zhong
> Immutable branch between MFD, Input and RTC due for the v4.18 merge window > > -------- > Chen Zhong (5): > mfd: mt6397: Create irq mappings in mfd core driver > dt-bindings: input: Add docum

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-04-09 Thread Chen Zhong
On Thu, 2018-03-29 at 09:15 -0700, Dmitry Torokhov wrote: > > > Oh, sorry, I did not realize you wanted my Ack for bindings. I usually > leave it to Rob and simply ack the driver itself when I am happy with > the code. > > I'll go and add my ack to the binding post if that will help merging >

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-04-09 Thread Chen Zhong
On Thu, 2018-03-29 at 09:15 -0700, Dmitry Torokhov wrote: > > > Oh, sorry, I did not realize you wanted my Ack for bindings. I usually > leave it to Rob and simply ack the driver itself when I am happy with > the code. > > I'll go and add my ack to the binding post if that will help merging >

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-03-28 Thread Chen Zhong
On Wed, 2018-03-28 at 11:26 +0100, Lee Jones wrote: > On Tue, 27 Mar 2018, Matthias Brugger wrote: > > > > > > > On 03/27/2018 10:05 AM, Lee Jones wrote: > > > On Fri, 23 Mar 2018, Dmitry Torokhov wrote: > > >> On Thu, Mar 22, 2018 at 10:17:53AM +0800, Sean Wang wrote: > > >>> Hi, Dmitry and

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-03-28 Thread Chen Zhong
On Wed, 2018-03-28 at 11:26 +0100, Lee Jones wrote: > On Tue, 27 Mar 2018, Matthias Brugger wrote: > > > > > > > On 03/27/2018 10:05 AM, Lee Jones wrote: > > > On Fri, 23 Mar 2018, Dmitry Torokhov wrote: > > >> On Thu, Mar 22, 2018 at 10:17:53AM +0800, Sean Wang wrote: > > >>> Hi, Dmitry and

[PATCH v6 0/6] Add MediaTek PMIC keys support

2017-10-25 Thread Chen Zhong
standard properties for keycodes and debounce time - change to use platform_get_irq in leaf drivers - use better ways to define IRQ resources Changes since v1: - create irq mappings in mfd core driver instead of leaf drivers - remove some unused parts in mtk-pmic-keys driver Chen Zhong (6): mfd

[PATCH v6 0/6] Add MediaTek PMIC keys support

2017-10-25 Thread Chen Zhong
standard properties for keycodes and debounce time - change to use platform_get_irq in leaf drivers - use better ways to define IRQ resources Changes since v1: - create irq mappings in mfd core driver instead of leaf drivers - remove some unused parts in mtk-pmic-keys driver Chen Zhong (6): mfd

[PATCH v6 1/6] mfd: mt6397: create irq mappings in mfd core driver

2017-10-25 Thread Chen Zhong
-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deleti

[PATCH v6 1/6] mfd: mt6397: create irq mappings in mfd core driver

2017-10-25 Thread Chen Zhong
-by: Lee Jones Acked-by: Alexandre Belloni Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 04a601f..6546d7f 100644

[PATCH v6 2/6] dt-bindings: input: Add common keyboard document bindings

2017-10-25 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devicetree/bindings/input/keys.txt |8 1 file changed, 8 insertions(+) create

[PATCH v6 2/6] dt-bindings: input: Add common keyboard document bindings

2017-10-25 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Acked-by: Rob Herring Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/input/keys.txt |8 1 file changed, 8 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/keys.txt

[PATCH v6 6/6] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-10-25 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 2

[PATCH v6 6/6] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-10-25 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/mfd

[PATCH v6 3/6] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-10-25 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 43

[PATCH v6 3/6] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-10-25 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Acked-by: Rob Herring Signed-off-by: Chen Zhong --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 43 1 file changed, 43 insertions(+) create mode 100644

[PATCH v6 5/6] input: Add MediaTek PMIC keys support

2017-10-25 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Acked-by: Dmitry Torokhov <dmitry.torok...@gmail.com> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/in

[PATCH v6 5/6] input: Add MediaTek PMIC keys support

2017-10-25 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Acked-by: Dmitry Torokhov Signed-off-by: Chen Zhong --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard

[PATCH v6 4/6] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-10-25 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring <r...@kernel.org> Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devic

[PATCH v6 4/6] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-10-25 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/mfd/mt6397.txt |6 ++ 1 file changed, 6 insertions(+) diff

Re: [PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-10-24 Thread Chen Zhong
On Mon, 2017-10-23 at 22:44 -0700, Dmitry Torokhov wrote: > On Wed, Sep 27, 2017 at 06:44:07PM +0800, Chen Zhong wrote: > > This patch add support to handle MediaTek PMIC MT6397/MT6323 key > > interrupts including pwrkey and homekey, also add setting for > > long press

Re: [PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-10-24 Thread Chen Zhong
On Mon, 2017-10-23 at 22:44 -0700, Dmitry Torokhov wrote: > On Wed, Sep 27, 2017 at 06:44:07PM +0800, Chen Zhong wrote: > > This patch add support to handle MediaTek PMIC MT6397/MT6323 key > > interrupts including pwrkey and homekey, also add setting for > > long press

Re: [PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-10-23 Thread Chen Zhong
Just gentle ping. On Wed, 2017-09-27 at 18:44 +0800, Chen Zhong wrote: > This patch add support to handle MediaTek PMIC MT6397/MT6323 key > interrupts including pwrkey and homekey, also add setting for > long press key shutdown behavior. > > Signed-off-by: Chen Zhong <chen.

Re: [PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-10-23 Thread Chen Zhong
Just gentle ping. On Wed, 2017-09-27 at 18:44 +0800, Chen Zhong wrote: > This patch add support to handle MediaTek PMIC MT6397/MT6323 key > interrupts including pwrkey and homekey, also add setting for > long press key shutdown behavior. > > Signed-off-by: Chen Zhong > --

[PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings

2017-09-27 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devicetree/bindings/input/keys.txt |8 1 file changed, 8 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings

2017-09-27 Thread Chen Zhong
This patch adds the device tree binding documentation for common keyboard. Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/input/keys.txt |8 1 file changed, 8 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/keys.txt diff --git

[PATCH v5 3/6] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-27 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 43 1 file changed, 43 insertions(+) creat

[PATCH v5 3/6] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-27 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 43 1 file changed, 43 insertions(+) create mode 100644 Documentation

[PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-09-27 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/input/keyboard/Kconfig |9 + drivers/input/ke

[PATCH v5 5/6] input: Add MediaTek PMIC keys support

2017-09-27 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard/Makefile|1

[PATCH v5 0/6] Add MediaTek PMIC keys support

2017-09-27 Thread Chen Zhong
can shutdown PMIC, the mode can be choose to be one key only or two keys together. This series add support for key functions for MediaTek PMIC MT6397/MT6323. Chen Zhong (6): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add common keyboard document bindings dt

[PATCH v5 4/6] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-09-27 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring <r...@kernel.org> Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devic

[PATCH v5 0/6] Add MediaTek PMIC keys support

2017-09-27 Thread Chen Zhong
can shutdown PMIC, the mode can be choose to be one key only or two keys together. This series add support for key functions for MediaTek PMIC MT6397/MT6323. Chen Zhong (6): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add common keyboard document bindings dt

[PATCH v5 4/6] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-09-27 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/mfd/mt6397.txt |6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v5 6/6] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-09-27 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 2

[PATCH v5 6/6] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-09-27 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/mfd

[PATCH v5 1/6] mfd: mt6397: create irq mappings in mfd core driver

2017-09-27 Thread Chen Zhong
-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deleti

[PATCH v5 1/6] mfd: mt6397: create irq mappings in mfd core driver

2017-09-27 Thread Chen Zhong
-by: Lee Jones Acked-by: Alexandre Belloni Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 04a601f..6546d7f 100644

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-25 Thread Chen Zhong
On Sun, 2017-09-24 at 23:11 -0500, Rob Herring wrote: > On Sat, Sep 23, 2017 at 1:47 AM, Chen Zhong <chen.zh...@mediatek.com> wrote: > > Sorry for the typo. > > > > On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: > >> On Wed, 2017-09-20 at 15:53 -0500, Rob

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-25 Thread Chen Zhong
On Sun, 2017-09-24 at 23:11 -0500, Rob Herring wrote: > On Sat, Sep 23, 2017 at 1:47 AM, Chen Zhong wrote: > > Sorry for the typo. > > > > On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: > >> On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > >&g

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-23 Thread Chen Zhong
Sorry for the typo. On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: > On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > > On Sun, Sep 17, 2017 at 04:00:49PM +0800, Chen Zhong wrote: > > > This patch adds the device tree binding documentation for the MediaTek >

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-23 Thread Chen Zhong
Sorry for the typo. On Sat, 2017-09-23 at 14:38 +0800, Chen Zhong wrote: > On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > > On Sun, Sep 17, 2017 at 04:00:49PM +0800, Chen Zhong wrote: > > > This patch adds the device tree binding documentation for the MediaTek >

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-23 Thread Chen Zhong
On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > On Sun, Sep 17, 2017 at 04:00:49PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zho

Re: [PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-23 Thread Chen Zhong
On Wed, 2017-09-20 at 15:53 -0500, Rob Herring wrote: > On Sun, Sep 17, 2017 at 04:00:49PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zhong

[PATCH v4 4/5] input: Add MediaTek PMIC keys support

2017-09-17 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/input/keyboard/Kconfig |9 + drivers/input/ke

[PATCH v4 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-09-17 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 2

[PATCH v4 4/5] input: Add MediaTek PMIC keys support

2017-09-17 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard/Makefile|1

[PATCH v4 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-09-17 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/mfd

[PATCH v4 3/5] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-09-17 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring <r...@kernel.org> Acked-for-MFD-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devic

[PATCH v4 3/5] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-09-17 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring Acked-for-MFD-by: Lee Jones Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/mfd/mt6397.txt |6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v4 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-09-17 Thread Chen Zhong
-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Alexandre Belloni <alexandre.bell...@free-electrons.com> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deleti

[PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-17 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 41 1 file changed, 41 insertions(+) creat

[PATCH v4 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-09-17 Thread Chen Zhong
-by: Lee Jones Acked-by: Alexandre Belloni Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 04a601f..6546d7f 100644

[PATCH v4 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-17 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 41 1 file changed, 41 insertions(+) create mode 100644 Documentation

[PATCH v4 0/5] Add MediaTek PMIC keys support

2017-09-17 Thread Chen Zhong
for MediaTek PMIC MT6397/MT6323. Chen Zhong (5): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add document bindings for mtk-pmic-keys dt-bindings: mfd: Add bindings for the keys as subnode of PMIC input: Add MediaTek PMIC keys support mfd: mt6397: Add PMIC keys support

[PATCH v4 0/5] Add MediaTek PMIC keys support

2017-09-17 Thread Chen Zhong
for MediaTek PMIC MT6397/MT6323. Chen Zhong (5): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add document bindings for mtk-pmic-keys dt-bindings: mfd: Add bindings for the keys as subnode of PMIC input: Add MediaTek PMIC keys support mfd: mt6397: Add PMIC keys support

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-06 Thread Chen Zhong
On Tue, 2017-09-05 at 11:05 -0500, Rob Herring wrote: > On Fri, Sep 1, 2017 at 9:16 PM, Chen Zhong <chen.zh...@mediatek.com> wrote: > > On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > >> On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > >>

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-06 Thread Chen Zhong
On Tue, 2017-09-05 at 11:05 -0500, Rob Herring wrote: > On Fri, Sep 1, 2017 at 9:16 PM, Chen Zhong wrote: > > On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > >> On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > >> > This patch adds the dev

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-01 Thread Chen Zhong
On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zho

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-09-01 Thread Chen Zhong
On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zhong

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-31 Thread Chen Zhong
On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zho

Re: [PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-31 Thread Chen Zhong
On Thu, 2017-08-31 at 14:52 -0500, Rob Herring wrote: > On Fri, Aug 25, 2017 at 02:32:30PM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-off-by: Chen Zhong

Re: [PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-29 Thread Chen Zhong
Hi Andi, Sorry for that, i deleted some prefix since the namings will be such long. If this should be consistent, I'll check and modify them in the next version. Thank you. On Tue, 2017-08-29 at 16:34 +0900, Andi Shyti wrote: > Hi Chen, > > what I would ask you is to be consistent with the

Re: [PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-29 Thread Chen Zhong
Hi Andi, Sorry for that, i deleted some prefix since the namings will be such long. If this should be consistent, I'll check and modify them in the next version. Thank you. On Tue, 2017-08-29 at 16:34 +0900, Andi Shyti wrote: > Hi Chen, > > what I would ask you is to be consistent with the

Re: [PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-28 Thread Chen Zhong
On Mon, 2017-08-28 at 09:57 -0700, Dmitry Torokhov wrote: > Hi Chen, > > On Fri, Aug 25, 2017 at 02:32:32PM +0800, Chen Zhong wrote: > > +static int mtk_pmic_key_setup(struct mtk_pmic_keys *keys, > > + struct pmic_keys_info *info) > > +{ > > + int ret

Re: [PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-28 Thread Chen Zhong
On Mon, 2017-08-28 at 09:57 -0700, Dmitry Torokhov wrote: > Hi Chen, > > On Fri, Aug 25, 2017 at 02:32:32PM +0800, Chen Zhong wrote: > > +static int mtk_pmic_key_setup(struct mtk_pmic_keys *keys, > > + struct pmic_keys_info *info) > > +{ > > + int ret

Re: [PATCH v3 0/5] Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
some unused parts in mtk-pmic-keys driver On Fri, 2017-08-25 at 14:32 +0800, Chen Zhong wrote: > MediaTek PMIC are multi-function devices that can handle key interrupts, > typically there are two keys attached to PMIC, which called pwrkey > and homekey. PWRKEY usually used to wake up sy

Re: [PATCH v3 0/5] Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
some unused parts in mtk-pmic-keys driver On Fri, 2017-08-25 at 14:32 +0800, Chen Zhong wrote: > MediaTek PMIC are multi-function devices that can handle key interrupts, > typically there are two keys attached to PMIC, which called pwrkey > and homekey. PWRKEY usually used to wake up sy

[PATCH v3 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-08-25 Thread Chen Zhong
-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-

[PATCH v3 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-08-25 Thread Chen Zhong
-by: Lee Jones Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c |4 ++-- drivers/rtc/rtc-mt6397.c |7 +++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 04a601f..6546d7f 100644 --- a/drivers/mfd/mt6397

[PATCH v3 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-25 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/

[PATCH v3 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-25 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd

[PATCH v3 0/5] Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
, the mode can be choose to be one key only or two keys together. This series add support for key functions for MediaTek PMIC MT6397/MT6323. Chen Zhong (5): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add document bindings for mtk-pmic-keys dt-bindings: mfd: Add

[PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-25 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 38 1 file changed, 38 insertions(+) creat

[PATCH v3 0/5] Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
, the mode can be choose to be one key only or two keys together. This series add support for key functions for MediaTek PMIC MT6397/MT6323. Chen Zhong (5): mfd: mt6397: create irq mappings in mfd core driver dt-bindings: input: Add document bindings for mtk-pmic-keys dt-bindings: mfd: Add

[PATCH v3 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-25 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 38 1 file changed, 38 insertions(+) create mode 100644 Documentation

[PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/input/keyboard/Kconfig |9 + drivers/input/ke

[PATCH v3 4/5] input: Add MediaTek PMIC keys support

2017-08-25 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard/Makefile|1

[PATCH v3 3/5] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-08-25 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- Documentation/devicetree/bindings/mfd/mt6397.txt |6 ++ 1 fil

[PATCH v3 3/5] dt-bindings: mfd: Add bindings for the keys as subnode of PMIC

2017-08-25 Thread Chen Zhong
This patch adds documentation for device tree bindings for keys support as the subnode of MT6397/MT6323 PMIC. Acked-by: Rob Herring Signed-off-by: Chen Zhong --- Documentation/devicetree/bindings/mfd/mt6397.txt |6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation

Re: [PATCH v2 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-11 Thread Chen Zhong
On Tue, 2017-08-08 at 12:15 +0100, Lee Jones wrote: > On Mon, 07 Aug 2017, Chen Zhong wrote: > > > This patch adds compatible strings and interrupts for pmic keys > > which serves as child device of MFD. > > > > Signed-off-by: Chen Zhong <chen.zh...@mediatek.com

Re: [PATCH v2 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-11 Thread Chen Zhong
On Tue, 2017-08-08 at 12:15 +0100, Lee Jones wrote: > On Mon, 07 Aug 2017, Chen Zhong wrote: > > > This patch adds compatible strings and interrupts for pmic keys > > which serves as child device of MFD. > > > > Signed-off-by: Chen Zhong > > --- &

Re: [PATCH v2 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-11 Thread Chen Zhong
Hi Rob, On Thu, 2017-08-10 at 15:41 -0500, Rob Herring wrote: > On Mon, Aug 07, 2017 at 09:57:42AM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > > Signed-

Re: [PATCH v2 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-11 Thread Chen Zhong
Hi Rob, On Thu, 2017-08-10 at 15:41 -0500, Rob Herring wrote: > On Mon, Aug 07, 2017 at 09:57:42AM +0800, Chen Zhong wrote: > > This patch adds the device tree binding documentation for the MediaTek > > pmic keys found on PMIC MT6397/MT6323. > > > >

Re: [PATCH v2 4/5] input: Add MediaTek PMIC keys support

2017-08-08 Thread Chen Zhong
Hi Dmitry, Thanks for your suggestions. I'll modify them and send the next version later. On Mon, 2017-08-07 at 20:03 -0700, Dmitry Torokhov wrote: > Hi Chen, > > On Mon, Aug 07, 2017 at 09:57:44AM +0800, Chen Zhong wrote: > > This patch add support to handle MediaTek PMI

Re: [PATCH v2 4/5] input: Add MediaTek PMIC keys support

2017-08-08 Thread Chen Zhong
Hi Dmitry, Thanks for your suggestions. I'll modify them and send the next version later. On Mon, 2017-08-07 at 20:03 -0700, Dmitry Torokhov wrote: > Hi Chen, > > On Mon, Aug 07, 2017 at 09:57:44AM +0800, Chen Zhong wrote: > > This patch add support to handle MediaTek PMI

Re: [PATCH v2 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-08-08 Thread Chen Zhong
On Mon, 2017-08-07 at 19:53 -0700, Dmitry Torokhov wrote: > On Mon, Aug 07, 2017 at 11:32:44PM +0200, Alexandre Belloni wrote: > > On 07/08/2017 at 09:57:41 +0800, Chen Zhong wrote: > > > The core driver should create and manage irq mappings instead of > > > leaf drivers

Re: [PATCH v2 1/5] mfd: mt6397: create irq mappings in mfd core driver

2017-08-08 Thread Chen Zhong
On Mon, 2017-08-07 at 19:53 -0700, Dmitry Torokhov wrote: > On Mon, Aug 07, 2017 at 11:32:44PM +0200, Alexandre Belloni wrote: > > On 07/08/2017 at 09:57:41 +0800, Chen Zhong wrote: > > > The core driver should create and manage irq mappings instead of > > > leaf drivers

[PATCH v2 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-06 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 36 1 file changed, 36 insertions(+) creat

[PATCH v2 2/5] dt-bindings: input: Add document bindings for mtk-pmic-keys

2017-08-06 Thread Chen Zhong
This patch adds the device tree binding documentation for the MediaTek pmic keys found on PMIC MT6397/MT6323. Signed-off-by: Chen Zhong --- .../devicetree/bindings/input/mtk-pmic-keys.txt| 36 1 file changed, 36 insertions(+) create mode 100644 Documentation

[PATCH v2 4/5] input: Add MediaTek PMIC keys support

2017-08-06 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/input/keyboard/Kconfig |9 + drivers/input/ke

[PATCH v2 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-06 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Signed-off-by: Chen Zhong <chen.zh...@mediatek.com> --- drivers/mfd/mt6397-core.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff

[PATCH v2 4/5] input: Add MediaTek PMIC keys support

2017-08-06 Thread Chen Zhong
This patch add support to handle MediaTek PMIC MT6397/MT6323 key interrupts including pwrkey and homekey, also add setting for long press key shutdown behavior. Signed-off-by: Chen Zhong --- drivers/input/keyboard/Kconfig |9 + drivers/input/keyboard/Makefile|1

[PATCH v2 5/5] mfd: mt6397: Add PMIC keys support to MT6397 driver

2017-08-06 Thread Chen Zhong
This patch adds compatible strings and interrupts for pmic keys which serves as child device of MFD. Signed-off-by: Chen Zhong --- drivers/mfd/mt6397-core.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/mt6397-core.c b

  1   2   >