Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1672422 > unrolled thread
| Started by | Erin Lo <erin.lo@mediatek.com> |
|---|---|
| First post | 2017-06-22 10:50 +0200 |
| Last post | 2017-06-23 04:20 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 Erin Lo <erin.lo@mediatek.com> - 2017-06-22 10:50 +0200
Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2017-06-22 11:30 +0200
Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 Weiqing Kong <weiqing.kong@mediatek.com> - 2017-06-23 04:20 +0200
| From | Erin Lo <erin.lo@mediatek.com> |
|---|---|
| Date | 2017-06-22 10:50 +0200 |
| Subject | [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 |
| Message-ID | <tV5Ym-2e1-17@gated-at.bofh.it> |
From: Weiqing Kong <weiqing.kong@mediatek.com>
This patch adds board related config for backlight
Signed-off-by: Weiqing Kong <weiqing.kong@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
---
arch/arm/boot/dts/mt2701-evb.dts | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
index a483798..e49c2b7 100644
--- a/arch/arm/boot/dts/mt2701-evb.dts
+++ b/arch/arm/boot/dts/mt2701-evb.dts
@@ -22,6 +22,35 @@
memory {
reg = <0 0x80000000 0 0x40000000>;
};
+
+ backlight_lcd: backlight_lcd {
+ compatible = "pwm-backlight";
+ pwms = <&bls 0 100000>;
+ brightness-levels = <
+ 0 16 32 48 64 80 96 112
+ 128 144 160 176 192 208 224 240
+ 255
+ >;
+ default-brightness-level = <9>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm_bls_gpio>;
+ };
+};
+
+&bls {
+ status = "okay";
+};
+
+&mmsys {
+ status = "okay";
+};
+
+&pio {
+ pwm_bls_gpio: pwm_bls_gpio {
+ pins_cmd_dat {
+ pinmux = <MT2701_PIN_208_AUD_EXT_CK1__FUNC_DISP_PWM>;
+ };
+ };
};
&auxadc {
--
1.9.1
[toc] | [next] | [standalone]
| From | Yingjoe Chen <yingjoe.chen@mediatek.com> |
|---|---|
| Date | 2017-06-22 11:30 +0200 |
| Subject | Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 |
| Message-ID | <tV6B4-2JO-17@gated-at.bofh.it> |
| In reply to | #1672422 |
On Thu, 2017-06-22 at 16:43 +0800, Erin Lo wrote:
> From: Weiqing Kong <weiqing.kong@mediatek.com>
>
> This patch adds board related config for backlight
>
> Signed-off-by: Weiqing Kong <weiqing.kong@mediatek.com>
> Signed-off-by: Erin Lo <erin.lo@mediatek.com>
> ---
> arch/arm/boot/dts/mt2701-evb.dts | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
> index a483798..e49c2b7 100644
> --- a/arch/arm/boot/dts/mt2701-evb.dts
> +++ b/arch/arm/boot/dts/mt2701-evb.dts
<...>
> +
> +&bls {
> + status = "okay";
> +};
> +
> +&mmsys {
> + status = "okay";
> +};
> +
> +&pio {
> + pwm_bls_gpio: pwm_bls_gpio {
> + pins_cmd_dat {
> + pinmux = <MT2701_PIN_208_AUD_EXT_CK1__FUNC_DISP_PWM>;
> + };
> + };
> };
>
> &auxadc {
To help merge, I think this should be sorted according to name.
Joe.C
[toc] | [prev] | [next] | [standalone]
| From | Weiqing Kong <weiqing.kong@mediatek.com> |
|---|---|
| Date | 2017-06-23 04:20 +0200 |
| Subject | Re: [PATCH v2 3/4] arm: dts: mt2701: Add display bls related nodes for MT2701 |
| Message-ID | <tVmmt-4B7-1@gated-at.bofh.it> |
| In reply to | #1672461 |
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.kong@mediatek.com>
> >
> > This patch adds board related config for backlight
> >
> > Signed-off-by: Weiqing Kong <weiqing.kong@mediatek.com>
> > Signed-off-by: Erin Lo <erin.lo@mediatek.com>
> > ---
> > arch/arm/boot/dts/mt2701-evb.dts | 29 +++++++++++++++++++++++++++++
> > 1 file changed, 29 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/mt2701-evb.dts b/arch/arm/boot/dts/mt2701-evb.dts
> > index a483798..e49c2b7 100644
> > --- a/arch/arm/boot/dts/mt2701-evb.dts
> > +++ b/arch/arm/boot/dts/mt2701-evb.dts
>
> <...>
>
> > +
> > +&bls {
> > + status = "okay";
> > +};
> > +
> > +&mmsys {
> > + status = "okay";
> > +};
> > +
> > +&pio {
> > + pwm_bls_gpio: pwm_bls_gpio {
> > + pins_cmd_dat {
> > + pinmux = <MT2701_PIN_208_AUD_EXT_CK1__FUNC_DISP_PWM>;
> > + };
> > + };
> > };
> >
> > &auxadc {
>
>
> To help merge, I think this should be sorted according to name.
>
> Joe.C
Thanks for your advice, I will refine this patch as quickly.
Weiqing Kong
>
>
>
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web