Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312462 > unrolled thread

Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0

Started byHeiko Stuebner <heiko@sntech.de>
First post2016-01-19 20:30 +0100
Last post2016-01-21 00:10 +0100
Articles 3 — 2 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.


Contents

  Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 Heiko Stuebner <heiko@sntech.de> - 2016-01-19 20:30 +0100
    Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel  tv080wum-nl0 Chris Zhong <zyw@rock-chips.com> - 2016-01-20 02:20 +0100
      Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 Heiko Stuebner <heiko@sntech.de> - 2016-01-21 00:10 +0100

#1312462 — Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0

FromHeiko Stuebner <heiko@sntech.de>
Date2016-01-19 20:30 +0100
SubjectRe: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0
Message-ID<qSK8y-3LS-15@gated-at.bofh.it>
Hi Chris,

Am Mittwoch, 6. Januar 2016, 12:03:57 schrieb Chris Zhong:
> This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket
> of rk3288 evb board.
> 
> Signed-off-by: Chris Zhong <zyw@rock-chips.com>

[...]

> diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts
> b/arch/arm/boot/dts/rk3288-evb-act8846.dts index e662147..7d5475b 100644
> --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
> +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
> @@ -50,6 +50,8 @@
>  		gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&lcd_en>;
> +		regulator-always-on;
> +		regulator-boot-on;

Is this only needed for the panel itself and can you try to get the panel 
supplies set up correctly instead in that case please?


>  		regulator-name = "vcc_lcd";
>  		vin-supply = <&vcc_io>;
>  	};
> diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi
> b/arch/arm/boot/dts/rk3288-evb.dtsi index 4faabdb..0c91858 100644
> --- a/arch/arm/boot/dts/rk3288-evb.dtsi
> +++ b/arch/arm/boot/dts/rk3288-evb.dtsi
> @@ -47,7 +47,7 @@
>  		reg = <0x0 0x80000000>;
>  	};
> 
> -	backlight {
> +	backlight: backlight {
>  		compatible = "pwm-backlight";
>  		brightness-levels = <
>  			  0   1   2   3   4   5   6   7
> @@ -183,6 +183,16 @@
>  	status = "okay";
>  };
> 
> +&mipi_dsi {
> +	status = "okay";
> +	panel {
> +		compatible ="boe,tv080wum-nl0";
> +		reg = <0>;
> +		backlight = <&backlight>;
> +		status = "okay";

in the evb-schematics I see, vcc_lcd as supply for the panel.

So I'd think the panel node here should have a
	power-supply = <&vcc_lcd>;
instead of having the always-on above?


Thanks
Heiko

> +	};
> +};
> +
>  &sdmmc {
>  	bus-width = <4>;
>  	cap-mmc-highspeed;

[toc] | [next] | [standalone]


#1312680 — Re: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0

FromChris Zhong <zyw@rock-chips.com>
Date2016-01-20 02:20 +0100
SubjectRe: [PATCH v7 5/5] ARM: dts: rockchip: add support mipi panel tv080wum-nl0
Message-ID<qSPBk-7xH-89@gated-at.bofh.it>
In reply to#1312462
Hi Heiko

On 01/20/2016 03:26 AM, Heiko Stuebner wrote:
> Hi Chris,
>
> Am Mittwoch, 6. Januar 2016, 12:03:57 schrieb Chris Zhong:
>> This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket
>> of rk3288 evb board.
>>
>> Signed-off-by: Chris Zhong <zyw@rock-chips.com>
> [...]
>
>> diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts
>> b/arch/arm/boot/dts/rk3288-evb-act8846.dts index e662147..7d5475b 100644
>> --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
>> +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
>> @@ -50,6 +50,8 @@
>>   		gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
>>   		pinctrl-names = "default";
>>   		pinctrl-0 = <&lcd_en>;
>> +		regulator-always-on;
>> +		regulator-boot-on;
> Is this only needed for the panel itself and can you try to get the panel
> supplies set up correctly instead in that case please?
It is not only for panel, LCDC_VDD need this supply too.
And rk3288-evb-rk808.dts has set this regulator to always on, so I do 
the same thing in here.
>
>
>>   		regulator-name = "vcc_lcd";
>>   		vin-supply = <&vcc_io>;
>>   	};
>> diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi
>> b/arch/arm/boot/dts/rk3288-evb.dtsi index 4faabdb..0c91858 100644
>> --- a/arch/arm/boot/dts/rk3288-evb.dtsi
>> +++ b/arch/arm/boot/dts/rk3288-evb.dtsi
>> @@ -47,7 +47,7 @@
>>   		reg = <0x0 0x80000000>;
>>   	};
>>
>> -	backlight {
>> +	backlight: backlight {
>>   		compatible = "pwm-backlight";
>>   		brightness-levels = <
>>   			  0   1   2   3   4   5   6   7
>> @@ -183,6 +183,16 @@
>>   	status = "okay";
>>   };
>>
>> +&mipi_dsi {
>> +	status = "okay";
>> +	panel {
>> +		compatible ="boe,tv080wum-nl0";
>> +		reg = <0>;
>> +		backlight = <&backlight>;
>> +		status = "okay";
> in the evb-schematics I see, vcc_lcd as supply for the panel.
>
> So I'd think the panel node here should have a
> 	power-supply = <&vcc_lcd>;
> instead of having the always-on above?
>
>
> Thanks
> Heiko
>
>> +	};
>> +};
>> +
>>   &sdmmc {
>>   	bus-width = <4>;
>>   	cap-mmc-highspeed;
>
>
>

[toc] | [prev] | [next] | [standalone]


#1313644

FromHeiko Stuebner <heiko@sntech.de>
Date2016-01-21 00:10 +0100
Message-ID<qTa30-4VH-17@gated-at.bofh.it>
In reply to#1312680
Am Mittwoch, 20. Januar 2016, 09:09:03 schrieb Chris Zhong:
> Hi Heiko
> 
> On 01/20/2016 03:26 AM, Heiko Stuebner wrote:
> > Hi Chris,
> > 
> > Am Mittwoch, 6. Januar 2016, 12:03:57 schrieb Chris Zhong:
> >> This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket
> >> of rk3288 evb board.
> >> 
> >> Signed-off-by: Chris Zhong <zyw@rock-chips.com>
> > 
> > [...]
> > 
> >> diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts
> >> b/arch/arm/boot/dts/rk3288-evb-act8846.dts index e662147..7d5475b
> >> 100644
> >> --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
> >> +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
> >> @@ -50,6 +50,8 @@
> >> 
> >>   		gpio = <&gpio7 3 GPIO_ACTIVE_HIGH>;
> >>   		pinctrl-names = "default";
> >>   		pinctrl-0 = <&lcd_en>;
> >> 
> >> +		regulator-always-on;
> >> +		regulator-boot-on;
> > 
> > Is this only needed for the panel itself and can you try to get the
> > panel
> > supplies set up correctly instead in that case please?
> 
> It is not only for panel, LCDC_VDD need this supply too.
> And rk3288-evb-rk808.dts has set this regulator to always on, so I do
> the same thing in here.

ok, so we keep the regulator-always-on for now, but could probably still add 
the supply to the panel as well? That way once vcc_lcd handling is complete 
in the future, we don't get surprises :-)

I guess I can add that power-supply property myself when applying.


Heiko

> 
> >>   		regulator-name = "vcc_lcd";
> >>   		vin-supply = <&vcc_io>;
> >>   	
> >>   	};
> >> 
> >> diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi
> >> b/arch/arm/boot/dts/rk3288-evb.dtsi index 4faabdb..0c91858 100644
> >> --- a/arch/arm/boot/dts/rk3288-evb.dtsi
> >> +++ b/arch/arm/boot/dts/rk3288-evb.dtsi
> >> @@ -47,7 +47,7 @@
> >> 
> >>   		reg = <0x0 0x80000000>;
> >>   	
> >>   	};
> >> 
> >> -	backlight {
> >> +	backlight: backlight {
> >> 
> >>   		compatible = "pwm-backlight";
> >>   		brightness-levels = <
> >>   		
> >>   			  0   1   2   3   4   5   6   7
> >> 
> >> @@ -183,6 +183,16 @@
> >> 
> >>   	status = "okay";
> >>   
> >>   };
> >> 
> >> +&mipi_dsi {
> >> +	status = "okay";
> >> +	panel {
> >> +		compatible ="boe,tv080wum-nl0";
> >> +		reg = <0>;
> >> +		backlight = <&backlight>;
> >> +		status = "okay";
> > 
> > in the evb-schematics I see, vcc_lcd as supply for the panel.
> > 
> > So I'd think the panel node here should have a
> > 
> > 	power-supply = <&vcc_lcd>;
> > 
> > instead of having the always-on above?
> > 
> > 
> > Thanks
> > Heiko
> > 
> >> +	};
> >> +};
> >> +
> >> 
> >>   &sdmmc {
> >>   
> >>   	bus-width = <4>;
> >>   	cap-mmc-highspeed;

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web