* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
@ 2011-09-28 12:19 Marek Vasut
2011-11-17 8:19 ` Stefano Babic
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-09-28 12:19 UTC (permalink / raw)
To: u-boot
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
---
board/efikamx/efikamx.c | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
index 29fff72..276753c 100644
--- a/board/efikamx/efikamx.c
+++ b/board/efikamx/efikamx.c
@@ -222,7 +222,7 @@ static void power_init(void)
/* Set core voltage to 1.1V */
val = pmic_reg_read(REG_SW_0);
- val = (val & ~SWx_VOLT_MASK) | SWx_1_100V;
+ val = (val & ~SWx_VOLT_MASK) | SWx_1_200V;
pmic_reg_write(REG_SW_0, val);
/* Setup VCC (SW2) to 1.25 */
@@ -256,18 +256,24 @@ static void power_init(void)
(SWMODE_AUTO_AUTO << SWMODE4_SHIFT);
pmic_reg_write(REG_SW_5, val);
- /* Set VDIG to 1.65V, VGEN3 to 1.8V, VCAM to 2.6V */
+ /* Set VDIG to 1.8V, VGEN3 to 1.8V, VCAM to 2.6V */
val = pmic_reg_read(REG_SETTING_0);
val &= ~(VCAM_MASK | VGEN3_MASK | VDIG_MASK);
- val |= VDIG_1_65 | VGEN3_1_8 | VCAM_2_6;
+ val |= VDIG_1_8 | VGEN3_1_8 | VCAM_2_6;
pmic_reg_write(REG_SETTING_0, val);
+
/* Set VVIDEO to 2.775V, VAUDIO to 3V, VSD to 3.15V */
val = pmic_reg_read(REG_SETTING_1);
val &= ~(VVIDEO_MASK | VSD_MASK | VAUDIO_MASK);
- val |= VSD_3_15 | VAUDIO_3_0 | VVIDEO_2_775;
+ val |= VSD_3_15 | VAUDIO_3_0 | VVIDEO_2_775 | VGEN1_1_2 | VGEN2_3_15;
pmic_reg_write(REG_SETTING_1, val);
+ /* Enable VGEN1, VGEN2, VDIG, VPLL */
+ val = pmic_reg_read(REG_MODE_0);
+ val |= VGEN1EN | VDIGEN | VGEN2EN | VPLLEN;
+ pmic_reg_write(REG_MODE_0, val);
+
/* Configure VGEN3 and VCAM regulators to use external PNP */
val = VGEN3CONFIG | VCAMCONFIG;
pmic_reg_write(REG_MODE_1, val);
@@ -275,7 +281,7 @@ static void power_init(void)
/* Enable VGEN3, VCAM, VAUDIO, VVIDEO, VSD regulators */
val = VGEN3EN | VGEN3CONFIG | VCAMEN | VCAMCONFIG |
- VVIDEOEN | VAUDIOEN | VSDEN;
+ VVIDEOEN | VAUDIOEN | VSDEN;
pmic_reg_write(REG_MODE_1, val);
val = pmic_reg_read(REG_POWER_CTL2);
--
1.7.5.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-09-28 12:19 [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output Marek Vasut
@ 2011-11-17 8:19 ` Stefano Babic
2011-11-17 18:05 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Stefano Babic @ 2011-11-17 8:19 UTC (permalink / raw)
To: u-boot
On 09/28/2011 02:19 PM, Marek Vasut wrote:
> Signed-off-by: Marek Vasut<marek.vasut@gmail.com>
> Cc: Stefano Babic<sbabic@denx.de>
> ---
> board/efikamx/efikamx.c | 16 +++++++++++-----
> 1 files changed, 11 insertions(+), 5 deletions(-)
>
> diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
> index 29fff72..276753c 100644
> --- a/board/efikamx/efikamx.c
> +++ b/board/efikamx/efikamx.c
> @@ -222,7 +222,7 @@ static void power_init(void)
>
Hi Marek,
sorry, I missed this patch - I rebased myself on the actual u-boot-imx,
and I applied it. Can you take a look at it to check if it is still ok ?
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-17 8:19 ` Stefano Babic
@ 2011-11-17 18:05 ` Marek Vasut
2011-11-17 18:19 ` Jana Rapava
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-11-17 18:05 UTC (permalink / raw)
To: u-boot
> On 09/28/2011 02:19 PM, Marek Vasut wrote:
> > Signed-off-by: Marek Vasut<marek.vasut@gmail.com>
> > Cc: Stefano Babic<sbabic@denx.de>
> > ---
> >
> > board/efikamx/efikamx.c | 16 +++++++++++-----
> > 1 files changed, 11 insertions(+), 5 deletions(-)
> >
> > diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
> > index 29fff72..276753c 100644
> > --- a/board/efikamx/efikamx.c
> > +++ b/board/efikamx/efikamx.c
> > @@ -222,7 +222,7 @@ static void power_init(void)
>
> Hi Marek,
>
> sorry, I missed this patch - I rebased myself on the actual u-boot-imx,
> and I applied it. Can you take a look at it to check if it is still ok ?
>
> Applied to u-boot-imx, thanks.
> Best regards,
> Stefano Babic
Jana, you have efikamx and I can get you HDMI cable. Can you recheck tomorrow ?
M
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-17 18:05 ` Marek Vasut
@ 2011-11-17 18:19 ` Jana Rapava
2011-11-19 21:16 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Jana Rapava @ 2011-11-17 18:19 UTC (permalink / raw)
To: u-boot
2011/11/17 Marek Vasut <marek.vasut@gmail.com>
>
> Jana, you have efikamx and I can get you HDMI cable. Can you recheck
> tomorrow ?
>
> M
>
Ok, I can.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-17 18:19 ` Jana Rapava
@ 2011-11-19 21:16 ` Marek Vasut
2011-11-20 17:54 ` Jana Rapava
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-11-19 21:16 UTC (permalink / raw)
To: u-boot
> 2011/11/17 Marek Vasut <marek.vasut@gmail.com>
>
> > Jana, you have efikamx and I can get you HDMI cable. Can you recheck
> > tomorrow ?
> >
> > M
>
> Ok, I can.
So any updates?
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-19 21:16 ` Marek Vasut
@ 2011-11-20 17:54 ` Jana Rapava
2011-11-20 18:51 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Jana Rapava @ 2011-11-20 17:54 UTC (permalink / raw)
To: u-boot
2011/11/19 Marek Vasut <marek.vasut@gmail.com>
> > 2011/11/17 Marek Vasut <marek.vasut@gmail.com>
> >
> > > Jana, you have efikamx and I can get you HDMI cable. Can you recheck
> > > tomorrow ?
> > >
> > > M
> >
> > Ok, I can.
>
> So any updates?
>
HDMI output doesn't work with current u-boot-imx tree (no LCD output after
'setenv stdout lcd'),
but works with current u-boot-marex/efikasb tree.
Regards,
Jana Rapava
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-20 17:54 ` Jana Rapava
@ 2011-11-20 18:51 ` Marek Vasut
2011-11-20 21:54 ` Jana Rapava
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-11-20 18:51 UTC (permalink / raw)
To: u-boot
> 2011/11/19 Marek Vasut <marek.vasut@gmail.com>
>
> > > 2011/11/17 Marek Vasut <marek.vasut@gmail.com>
> > >
> > > > Jana, you have efikamx and I can get you HDMI cable. Can you recheck
> > > > tomorrow ?
> > > >
> > > > M
> > >
> > > Ok, I can.
> >
> > So any updates?
>
> HDMI output doesn't work with current u-boot-imx tree (no LCD output after
> 'setenv stdout lcd'),
> but works with current u-boot-marex/efikasb tree.
>
> Regards,
> Jana Rapava
Ok, so are you debugging it or not ?
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-20 18:51 ` Marek Vasut
@ 2011-11-20 21:54 ` Jana Rapava
2011-11-21 6:11 ` Marek Vasut
2011-11-21 6:16 ` Marek Vasut
0 siblings, 2 replies; 13+ messages in thread
From: Jana Rapava @ 2011-11-20 21:54 UTC (permalink / raw)
To: u-boot
2011/11/20 Marek Vasut <marek.vasut@gmail.com>
>
> > HDMI output doesn't work with current u-boot-imx tree (no LCD output
> after
> > 'setenv stdout lcd'),
> > but works with current u-boot-marex/efikasb tree.
> >
>
> Ok, so are you debugging it or not ?
>
No, I thought that if it works with u-boot-marex/efikasb, it's only a
question of
getting some more patches into u-boot-imx.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-20 21:54 ` Jana Rapava
@ 2011-11-21 6:11 ` Marek Vasut
2011-11-21 6:16 ` Marek Vasut
1 sibling, 0 replies; 13+ messages in thread
From: Marek Vasut @ 2011-11-21 6:11 UTC (permalink / raw)
To: u-boot
> 2011/11/20 Marek Vasut <marek.vasut@gmail.com>
>
> > > HDMI output doesn't work with current u-boot-imx tree (no LCD output
> >
> > after
> >
> > > 'setenv stdout lcd'),
> > > but works with current u-boot-marex/efikasb tree.
> >
> > Ok, so are you debugging it or not ?
>
> No, I thought that if it works with u-boot-marex/efikasb, it's only a
> question of
> getting some more patches into u-boot-imx.
Ok, I'll debug it myself later this week.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-20 21:54 ` Jana Rapava
2011-11-21 6:11 ` Marek Vasut
@ 2011-11-21 6:16 ` Marek Vasut
2011-11-21 10:44 ` Stefano Babic
1 sibling, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-11-21 6:16 UTC (permalink / raw)
To: u-boot
> 2011/11/20 Marek Vasut <marek.vasut@gmail.com>
>
> > > HDMI output doesn't work with current u-boot-imx tree (no LCD output
> >
> > after
> >
> > > 'setenv stdout lcd'),
> > > but works with current u-boot-marex/efikasb tree.
> >
> > Ok, so are you debugging it or not ?
>
> No, I thought that if it works with u-boot-marex/efikasb, it's only a
> question of
> getting some more patches into u-boot-imx.
Ah ok, nevermind, it seems it can't work yet -- I'll have to recheck.
M
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-21 6:16 ` Marek Vasut
@ 2011-11-21 10:44 ` Stefano Babic
2011-11-21 11:03 ` Marek Vasut
0 siblings, 1 reply; 13+ messages in thread
From: Stefano Babic @ 2011-11-21 10:44 UTC (permalink / raw)
To: u-boot
On 21/11/2011 07:16, Marek Vasut wrote:
>> 2011/11/20 Marek Vasut <marek.vasut@gmail.com>
>>
>>>> HDMI output doesn't work with current u-boot-imx tree (no LCD output
>>>
>>> after
>>>
>>>> 'setenv stdout lcd'),
>>>> but works with current u-boot-marex/efikasb tree.
>>>
>>> Ok, so are you debugging it or not ?
>>
>> No, I thought that if it works with u-boot-marex/efikasb, it's only a
>> question of
>> getting some more patches into u-boot-imx.
>
> Ah ok, nevermind, it seems it can't work yet -- I'll have to recheck.
>
Ok - then I'll drop the patch from u-boot-imx, because it is not working
(or it is not enough)
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-21 10:44 ` Stefano Babic
@ 2011-11-21 11:03 ` Marek Vasut
2011-11-21 11:14 ` Stefano Babic
0 siblings, 1 reply; 13+ messages in thread
From: Marek Vasut @ 2011-11-21 11:03 UTC (permalink / raw)
To: u-boot
> On 21/11/2011 07:16, Marek Vasut wrote:
> >> 2011/11/20 Marek Vasut <marek.vasut@gmail.com>
> >>
> >>>> HDMI output doesn't work with current u-boot-imx tree (no LCD output
> >>>
> >>> after
> >>>
> >>>> 'setenv stdout lcd'),
> >>>> but works with current u-boot-marex/efikasb tree.
> >>>
> >>> Ok, so are you debugging it or not ?
> >>
> >> No, I thought that if it works with u-boot-marex/efikasb, it's only a
> >> question of
> >> getting some more patches into u-boot-imx.
> >
> > Ah ok, nevermind, it seems it can't work yet -- I'll have to recheck.
>
> Ok - then I'll drop the patch from u-boot-imx, because it is not working
> (or it is not enough)
No, you don't understand. This patch is important, leave it there!
The code which registers the ipuv3 is still missing, that's the point.
M
^ permalink raw reply [flat|nested] 13+ messages in thread
* [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output
2011-11-21 11:03 ` Marek Vasut
@ 2011-11-21 11:14 ` Stefano Babic
0 siblings, 0 replies; 13+ messages in thread
From: Stefano Babic @ 2011-11-21 11:14 UTC (permalink / raw)
To: u-boot
On 21/11/2011 12:03, Marek Vasut wrote:
>>
>> Ok - then I'll drop the patch from u-boot-imx, because it is not working
>> (or it is not enough)
>
> No, you don't understand. This patch is important, leave it there!
Ok, the patch does not hurt at all....
>
> The code which registers the ipuv3 is still missing, that's the point.
...no surprise it does not work...
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2011-11-21 11:14 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 12:19 [U-Boot] [PATCH] Efika: Configure additional regulators for HDMI output Marek Vasut
2011-11-17 8:19 ` Stefano Babic
2011-11-17 18:05 ` Marek Vasut
2011-11-17 18:19 ` Jana Rapava
2011-11-19 21:16 ` Marek Vasut
2011-11-20 17:54 ` Jana Rapava
2011-11-20 18:51 ` Marek Vasut
2011-11-20 21:54 ` Jana Rapava
2011-11-21 6:11 ` Marek Vasut
2011-11-21 6:16 ` Marek Vasut
2011-11-21 10:44 ` Stefano Babic
2011-11-21 11:03 ` Marek Vasut
2011-11-21 11:14 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox