Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-22 Thread Weiqing Kong
On Thu, 2017-06-22 at 17:27 +0800, Yingjoe Chen wrote: > On Thu, 2017-06-22 at 16:43 +0800, Erin Lo wrote: > > From: Weiqing Kong <weiqing.k...@mediatek.com> > > > > This patch adds board related config for backlight > > > > Signed-off-by: Weiqing Kong <

Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-22 Thread Weiqing Kong
On Thu, 2017-06-22 at 17:27 +0800, Yingjoe Chen wrote: > On Thu, 2017-06-22 at 16:43 +0800, Erin Lo wrote: > > From: Weiqing Kong > > > > This patch adds board related config for backlight > > > > Signed-off-by: Weiqing Kong > > Signed-off-by: Erin Lo

Re: [PATCH 2/3] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-14 Thread Weiqing Kong
On Fri, 2017-06-09 at 10:12 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen <yt.s...@mediatek.com> > > I miss the Singed-off-by from YT Shen. > > > > > This patch adds the device node of display backlight for MT27

Re: [PATCH 2/3] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-14 Thread Weiqing Kong
On Fri, 2017-06-09 at 10:12 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen > > I miss the Singed-off-by from YT Shen. > > > > > This patch adds the device node of display backlight for MT2701 > > > > Signed-

[PATCH V2 3/3] dts: Add disp bls dtsi and dts config for MT2701

2016-07-11 Thread Weiqing Kong
Add disp_bls node in dtsi for CCF, add backlight_lcd in dts for backlight subsystem driver, and init pwm gpio mode. Signed-off-by: Weiqing Kong <weiqing.k...@mediatek.com> --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 ++

[PATCH V2 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-07-11 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing

[PATCH V2 3/3] dts: Add disp bls dtsi and dts config for MT2701

2016-07-11 Thread Weiqing Kong
Add disp_bls node in dtsi for CCF, add backlight_lcd in dts for backlight subsystem driver, and init pwm gpio mode. Signed-off-by: Weiqing Kong --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 38

[PATCH V2 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-07-11 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing

[PATCH V2 0/3] Support Mediatek Soc MT2701 disp pwm

2016-07-11 Thread Weiqing Kong
These series patches modify pwm-mtk-disp.c and dts/dtsi config to support MT2701 disp pwm. Changes since v1: - Change dtsi compatible string "mediatek,mt2701-disp-bls" into "mediatek,mt2701-disp-pwm" - Change some macros into struct mtk_pwm_data Weiqing Kong (3): d

[PATCH V2 0/3] Support Mediatek Soc MT2701 disp pwm

2016-07-11 Thread Weiqing Kong
These series patches modify pwm-mtk-disp.c and dts/dtsi config to support MT2701 disp pwm. Changes since v1: - Change dtsi compatible string "mediatek,mt2701-disp-bls" into "mediatek,mt2701-disp-pwm" - Change some macros into struct mtk_pwm_data Weiqing Kong (3): d

[PATCH V2 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-07-11 Thread Weiqing Kong
Add MT2701 compatible string. Signed-off-by: Weiqing Kong <weiqing.k...@mediatek.com> --- Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documen

[PATCH V2 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-07-11 Thread Weiqing Kong
Add MT2701 compatible string. Signed-off-by: Weiqing Kong --- Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documentation/devicetree/bindings/pwm/pwm-mtk

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Wed, 2016-06-08 at 13:22 +0200, Matthias Brugger wrote: > > On 08/06/16 09:21, weiqing kong wrote: > > On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > >> > >> On 30/05/16 10:41, Weiqing Kong wrote: > >>> Use the mtk_pwm_data struction t

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Wed, 2016-06-08 at 13:22 +0200, Matthias Brugger wrote: > > On 08/06/16 09:21, weiqing kong wrote: > > On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > >> > >> On 30/05/16 10:41, Weiqing Kong wrote: > >>> Use the mtk_pwm_data struction t

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > > On 30/05/16 10:41, Weiqing Kong wrote: > > Use the mtk_pwm_data struction to define different registers > > and add MT2701 specific register operations, such as MT2701 > > doesn't have commit register, needs

Re: [PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:35 +0200, Matthias Brugger wrote: > > On 30/05/16 10:41, Weiqing Kong wrote: > > Use the mtk_pwm_data struction to define different registers > > and add MT2701 specific register operations, such as MT2701 > > doesn't have commit register, needs

Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:03 +0200, Matthias Brugger wrote: > > On 03/06/16 08:45, weiqing kong wrote: > > On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > >> On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > >>> Add MT2701 compatible string. &

Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-06-08 Thread weiqing kong
On Fri, 2016-06-03 at 17:03 +0200, Matthias Brugger wrote: > > On 03/06/16 08:45, weiqing kong wrote: > > On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > >> On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > >>> Add MT2701 compatible string. &

Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-06-03 Thread weiqing kong
On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > > Add MT2701 compatible string. > > > > Signed-off-by: Weiqing Kong <weiqing.k...@mediatek.com> > > --- > > Documentation/devic

Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-06-03 Thread weiqing kong
On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > > Add MT2701 compatible string. > > > > Signed-off-by: Weiqing Kong > > --- > > Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt

[PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-05-30 Thread Weiqing Kong
Add MT2701 compatible string. Signed-off-by: Weiqing Kong <weiqing.k...@mediatek.com> --- Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documen

[PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-05-30 Thread Weiqing Kong
Add MT2701 compatible string. Signed-off-by: Weiqing Kong --- Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt b/Documentation/devicetree/bindings/pwm/pwm-mtk

[PATCH RESEND 0/3] Support Mediatek Soc MT2701 disp pwm

2016-05-30 Thread Weiqing Kong
Sorry for sending many times, because of company permission settings, many people and groups can't receive these patches before. These series patches modify pwm-mtk-disp.c and dts/dtsi config to support MT2701 disp pwm. Weiqing Kong (3): dt-bindings: pwm: Add MediaTek display PWM bindings

[PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-05-30 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing

[PATCH 3/3] dts: Add disp bls dsti and dts config for MT2701

2016-05-30 Thread Weiqing Kong
Signed-off-by: Weiqing Kong <weiqing.k...@mediatek.com> --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-e

[PATCH RESEND 0/3] Support Mediatek Soc MT2701 disp pwm

2016-05-30 Thread Weiqing Kong
Sorry for sending many times, because of company permission settings, many people and groups can't receive these patches before. These series patches modify pwm-mtk-disp.c and dts/dtsi config to support MT2701 disp pwm. Weiqing Kong (3): dt-bindings: pwm: Add MediaTek display PWM bindings

[PATCH 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-05-30 Thread Weiqing Kong
Use the mtk_pwm_data struction to define different registers and add MT2701 specific register operations, such as MT2701 doesn't have commit register, needs to disable double buffer before writing register, and needs to select manual mode and use PWM_PERIOD/PWM_HIGH_WIDTH. Signed-off-by: Weiqing

[PATCH 3/3] dts: Add disp bls dsti and dts config for MT2701

2016-05-30 Thread Weiqing Kong
Signed-off-by: Weiqing Kong --- arch/arm/boot/dts/mt2701-evb.dts | 29 + arch/arm/boot/dts/mt2701.dtsi| 9 + 2 files changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts index 082ca88..6d572f4 100644