Add display PWM node in mt8173-evb.dts and mt8173.dtsi.
Signed-off-by: YH Huang
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 13 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++
2 files changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts
On Tue, 2015-08-18 at 15:27 +0800, YH Huang wrote:
> This patch series add the use of display PWM driver, documentation
> and device tree for Mediatek SoCs. The driver is used to support
> the backlight of the panel. This is based on v4.2-rc1.
>
> The clock definitions (CLK_MM
Document the device-tree binding of MediaTek display PWM.
The PWM has one channel to control the backlight brightness for display.
It supports MT8173 and MT6595.
Signed-off-by: YH Huang
---
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 42
1 file changed, 42
Add display PWM node in mt8173-evb.dts and mt8173.dtsi.
Signed-off-by: YH Huang
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 13 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++
2 files changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts
Add display PWM driver support to modify backlight for MT8173 and MT6595.
The PWM has one channel to control the brightness of the display.
When the (high_width / period) is closer to 1, the screen is brighter;
otherwise, it is darker.
Signed-off-by: YH Huang
---
drivers/pwm/Kconfig
tk-disp".
3. Disable clocks in the error path.
4. Change the shift values in decimal instead of hex.
5. Rename and add some variables or function name for consistency and
readability.
6. Drop unnecessary parentheses, spaces, variables and add newlines to
make the code easiler to read.
YH Huan
On Mon, 2015-08-17 at 15:23 +0200, Thierry Reding wrote:
> On Mon, Jul 20, 2015 at 04:17:16PM +0800, YH Huang wrote:
> > Add display PWM driver support to modify backlight for MT8173 and MT6595.
> > The PWM has one channel to control the brightness of the display.
> > When the
On Mon, 2015-08-17 at 15:23 +0200, Thierry Reding wrote:
> On Mon, Jul 20, 2015 at 04:17:15PM +0800, YH Huang wrote:
> > Document the device-tree binding of MediatTek display PWM.
>
> I already mentioned this a while back: s/MediatTek/MediaTek/.
>
Sorry, I will correct it to &q
On Fri, 2015-07-24 at 17:10 +0800, YH Huang wrote:
> On Fri, 2015-07-24 at 10:42 +0200, Matthias Brugger wrote:
> > On Monday, July 20, 2015 04:17:14 PM YH Huang wrote:
> > > This patch series add the use of display PWM driver, documentation
> > > and device tree for M
On Fri, 2015-07-24 at 17:10 +0800, YH Huang wrote:
> On Fri, 2015-07-24 at 10:42 +0200, Matthias Brugger wrote:
> > On Monday, July 20, 2015 04:17:14 PM YH Huang wrote:
> > > This patch series add the use of display PWM driver, documentation
> > > and device tree for M
On Fri, 2015-07-24 at 10:42 +0200, Matthias Brugger wrote:
> On Monday, July 20, 2015 04:17:14 PM YH Huang wrote:
> > This patch series add the use of display PWM driver, documentation
> > and device tree for Mediatek SoCs. The driver is used to support
> > the backlight
Add display PWM driver support to modify backlight for MT8173 and MT6595.
The PWM has one channel to control the brightness of the display.
When the (high_width / period) is closer to 1, the screen is brighter;
otherwise, it is darker.
Signed-off-by: YH Huang
---
drivers/pwm/Kconfig
Add display PWM node in mt8173-evb.dts and mt8173.dtsi.
Signed-off-by: YH Huang
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 15 +++
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++
2 files changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts
Document the device-tree binding of MediatTek display PWM.
The PWM has one channel to control the backlight brightness for display.
It supports MT8173 and MT6595.
Signed-off-by: YH Huang
---
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 42 ++
1 file changed, 42
ystem clocks of MT8173
Change in v6:
1. Enable clocks in the pwm_enable function
2. Remove suspend/resume code since pwm-backlight driver has done the same
things
3. Revise some code to make it easier to read
YH Huang (3):
dt-bindings: pwm: add MediaTek display PWM bindings
pwm: add MediaTek di
On Fri, 2015-07-17 at 14:59 +0800, Daniel Kurtz wrote:
> On Fri, Jul 17, 2015 at 2:35 PM, YH Huang wrote:
> >
> > On Fri, 2015-07-17 at 01:18 +0800, Daniel Kurtz wrote:
> > > On Fri, Jul 17, 2015 at 12:44 AM, YH Huang wrote:
> > > > On Thu, 2015-07-1
On Fri, 2015-07-17 at 01:18 +0800, Daniel Kurtz wrote:
> On Fri, Jul 17, 2015 at 12:44 AM, YH Huang wrote:
> > On Thu, 2015-07-16 at 23:21 +0800, Daniel Kurtz wrote:
> >> On Thu, Jul 16, 2015 at 3:17 PM, YH Huang wrote:
> >> > On Thu, 2015-07-16 at 14:54 +0800, Dani
On Thu, 2015-07-16 at 23:21 +0800, Daniel Kurtz wrote:
> On Thu, Jul 16, 2015 at 3:17 PM, YH Huang wrote:
> > On Thu, 2015-07-16 at 14:54 +0800, Daniel Kurtz wrote:
> >> On Thu, Jul 16, 2015 at 1:38 PM, YH Huang wrote:
> >> > On Wed, 2015-07-15 at 23:59 +0800,
On Thu, 2015-07-16 at 14:54 +0800, Daniel Kurtz wrote:
> On Thu, Jul 16, 2015 at 1:38 PM, YH Huang wrote:
> > On Wed, 2015-07-15 at 23:59 +0800, YH Huang wrote:
> >> On Mon, 2015-07-13 at 18:19 +0800, Daniel Kurtz wrote:
> >> > On Mon, Jul 13, 2015 at 5:04 PM,
On Wed, 2015-07-15 at 23:59 +0800, YH Huang wrote:
> On Mon, 2015-07-13 at 18:19 +0800, Daniel Kurtz wrote:
> > On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote:
> > > Add display PWM driver support to modify backlight for MT8173 and MT6595.
> > > The PWM has one channe
On Mon, 2015-07-13 at 18:19 +0800, Daniel Kurtz wrote:
> On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote:
> > Add display PWM driver support to modify backlight for MT8173 and MT6595.
> > The PWM has one channel to control the brightness of the display.
> > When the (hi
On Mon, 2015-07-13 at 18:20 +0800, Daniel Kurtz wrote:
> On Mon, Jul 13, 2015 at 5:04 PM, YH Huang wrote:
> > Document the device-tree binding of MediatTek display PWM.
> > The PWM has one channel to control the backlight brightness for display.
> > It supports MT8173 and M
ystem clocks of MT8173
Change in v5:
1. Configure PWM output via pinctrl
2. Fix the parameter name in dtsi
YH Huang (3):
dt-bindings: pwm: add MediaTek display PWM bindings
pwm: add MediaTek display PWM driver support
arm64: dts: mt8173: add MT8173 display PWM driver support node
.../devic
Document the device-tree binding of MediatTek display PWM.
The PWM has one channel to control the backlight brightness for display.
It supports MT8173 and MT6595.
Signed-off-by: YH Huang
---
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 29 ++
1 file changed, 29
Add display PWM driver support to modify backlight for MT8173 and MT6595.
The PWM has one channel to control the brightness of the display.
When the (high_width / period) is closer to 1, the screen is brighter;
otherwise, it is darker.
Signed-off-by: YH Huang
---
drivers/pwm/Kconfig
Add display PWM node in mt8173-evb.dts and mt8173.dtsi.
Signed-off-by: YH Huang
---
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 15 +++
arch/arm64/boot/dts/mediatek/mt8173.dtsi| 22 ++
2 files changed, 37 insertions(+)
diff --git a/arch/arm64/boot/dts
On Thu, 2015-07-09 at 12:47 +0800, Daniel Kurtz wrote:
> On Thu, Jul 9, 2015 at 10:45 AM, YH Huang wrote:
> >
> > On Wed, 2015-07-08 at 20:11 +0800, Daniel Kurtz wrote:
> > > On Mon, Jul 6, 2015 at 9:29 PM, YH Huang wrote:
> > > > Document the device-t
On Wed, 2015-07-08 at 20:11 +0800, Daniel Kurtz wrote:
> On Mon, Jul 6, 2015 at 9:29 PM, YH Huang wrote:
> > Document the device-tree binding of MediatTek display PWM.
> > The PWM has one channel to control the backlight brightness for display.
> > It supports MT8173 and M
On Mon, 2015-07-06 at 21:38 +0800, Daniel Kurtz wrote:
> On Mon, Jul 6, 2015 at 9:29 PM, YH Huang wrote:
> > Add display PWM node in mt8173.dtsi.
> >
> > Signed-off-by: YH Huang
> > ---
> > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22 ++
&
Add display PWM node in mt8173.dtsi.
Signed-off-by: YH Huang
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 0696f8f..e4ffd9d
Add display PWM driver support to modify backlight for MT8173 and MT6595.
The PWM has one channel to control the brightness of the display.
When the (high_width / period) is closer to 1, the screen is brighter;
otherwise, it is darker.
Signed-off-by: YH Huang
---
drivers/pwm/Kconfig
Document the device-tree binding of MediatTek display PWM.
The PWM has one channel to control the backlight brightness for display.
It supports MT8173 and MT6595.
Signed-off-by: YH Huang
---
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 24 ++
1 file changed, 24
ystem clocks of MT8173
Change in v4:
1. Codebase is on v4.2-rc1
2. Add the PWM node in dtsi
3. Change the dependency in Kconfig
4. Rewrite some code for readability
YH Huang (3):
dt-bindings: pwm: add MediaTek display PWM bindings
pwm: add MediaTek display PWM driver support
arm64: dts: mt8173
Hi Daniel,
I will add PWM dtsi in the next patch and also fix the code with your
suggestions in other mails.
Regards,
YH Huang
On Tue, 2015-06-30 at 14:35 +0800, Daniel Kurtz wrote:
> Hi YH,
>
> Please also include a patch that adds PWM bindings to mt8173.dtsi.
> The clock
I am sorry for forgetting to remove Change-Id in [PATCH v3 1/2] and
[PATCH v3 1/2].
Regards,
YH Huang
On Mon, 2015-06-29 at 23:03 +0800, YH Huang wrote:
> Document the device-tree binding of MediatTek display PWM.
> The clock "main" and "mm" are used to generate PWM
-off-by: YH Huang
---
drivers/pwm/Kconfig| 10 ++
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-mtk-disp.c | 256 +
3 files changed, 267 insertions(+)
create mode 100644 drivers/pwm/pwm-mtk-disp.c
diff --git a/drivers/pwm/Kconfig b
Document the device-tree binding of MediatTek display PWM.
The clock "main" and "mm" are used to generate PWM signals.
The PWM has one channel to control the backlight brightness for display.
It supports MT8173 and MT6595.
Change-Id: I194ca88b4e4cd01a28b8701e07e86ea6941e52
This patch series add the use of display PWM driver and documentation
for Mediatek SoCs. The driver is used to support the backlight of
the panel. This is based on v4.1-rc1.
Change in v3:
1. Add suspend/resume function
2. Fix the formula for high_width calculation
3. Rewrite some code to make it
On Fri, 2015-06-12 at 12:20 +0200, Thierry Reding wrote:
> On Thu, May 21, 2015 at 09:29:24PM +0800, YH Huang wrote:
> > Add display PWM driver support to modify backlight for MT8173.
> >
> > Signed-off-by: YH Huang
> > ---
> > drivers/pwm/Kconfig|
On Fri, 2015-06-12 at 12:25 +0200, Thierry Reding wrote:
> On Thu, May 21, 2015 at 09:29:24PM +0800, YH Huang wrote:
> > Add display PWM driver support to modify backlight for MT8173.
>
> The driver also claims compatibility with MT6595, so you should mention
> that here as we
On Fri, 2015-06-12 at 12:23 +0200, Thierry Reding wrote:
> On Thu, May 21, 2015 at 09:29:23PM +0800, YH Huang wrote:
> > Document the device-tree binding of MediatTek display PWM.
>
> s/MediatTek/MediaTek/
>
> >
> > Signed-off-by: YH Huang
>
> This could us
On Fri, 2015-06-05 at 10:39 +0200, Matthias Brugger wrote:
> Hi YH,
>
> 2015-06-05 8:15 GMT+02:00 YH Huang :
> > On Mon, 2015-05-25 at 10:14 +0800, Yingjoe Chen wrote:
> >> On Thu, 2015-05-21 at 21:29 +0800, YH Huang wrote:
> >
> > This patch series a
On Mon, 2015-05-25 at 10:14 +0800, Yingjoe Chen wrote:
> On Thu, 2015-05-21 at 21:29 +0800, YH Huang wrote:
This patch series add the use of display PWM driver and documentation
for Mediatek SoCs. The driver is used to support the backlight of
the panel. This is based on v4.1-rc1.
>
Document the device-tree binding of MediatTek display PWM.
Signed-off-by: YH Huang
---
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt
diff --git a
Add display PWM driver support to modify backlight for MT8173.
Signed-off-by: YH Huang
---
drivers/pwm/Kconfig| 10 ++
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-mtk-disp.c | 228 +
3 files changed, 239 insertions(+)
create mode
YH Huang (2):
dt-bindings: pwm: add MediaTek display PWM bindings
pwm: add MediaTek display PWM driver support
.../devicetree/bindings/pwm/pwm-mtk-disp.txt | 25 +++
drivers/pwm/Kconfig| 10 +
drivers/pwm/Makefile | 1
On Mon, 2015-05-18 at 11:42 +0800, Daniel Kurtz wrote:
> On Mon, May 11, 2015 at 5:26 PM, YH Huang wrote:
> > Add display PWM driver support to modify backlight for MT8173/MT6595.
> >
> > Signed-off-by: YH Huang
> > ---
> > drivers/pwm/Kconfig |
47 matches
Mail list logo