* [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
@ 2011-10-15 15:18 Leon Romanovsky
[not found] ` <1318691913-9597-1-git-send-email-leon-2ukJVAZIZ/Y@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Leon Romanovsky @ 2011-10-15 15:18 UTC (permalink / raw)
To: olof-nZhT3qVonbNeoWH0uzbU5w, ccross-z5hGa2qSFaRBDgjK7y7TUQ
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Leon Romanovsky
This fix updates the CDEV1 pinmux for the paz00 board to be as in the
Harmony board. Paz00 board is originally based on Harmony design.
Signed-off-by: Leon Romanovsky <leon-2ukJVAZIZ/Y@public.gmane.org>
---
arch/arm/mach-tegra/board-paz00-pinmux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-tegra/board-paz00-pinmux.c b/arch/arm/mach-tegra/board-paz00-pinmux.c
index bdd2627..7de8182 100644
--- a/arch/arm/mach-tegra/board-paz00-pinmux.c
+++ b/arch/arm/mach-tegra/board-paz00-pinmux.c
@@ -27,7 +27,7 @@ static struct tegra_pingroup_config paz00_pinmux[] = {
{TEGRA_PINGROUP_ATC, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_ATD, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_ATE, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
- {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
+ {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_CDEV2, TEGRA_MUX_PLLP_OUT4, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_CRTP, TEGRA_MUX_CRT, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
{TEGRA_PINGROUP_CSUS, TEGRA_MUX_PLLC_OUT1, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
--
1.7.3.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <1318691913-9597-1-git-send-email-leon-2ukJVAZIZ/Y@public.gmane.org>
@ 2011-10-15 16:34 ` Marc Dietrich
[not found] ` <201110151834.22732.marvin24-Mmb7MZpHnFY@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Marc Dietrich @ 2011-10-15 16:34 UTC (permalink / raw)
To: Leon Romanovsky
Cc: olof-nZhT3qVonbNeoWH0uzbU5w, ccross-z5hGa2qSFaRBDgjK7y7TUQ,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
Hi Leon,
Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
> This fix updates the CDEV1 pinmux for the paz00 board to be as in the
> Harmony board. Paz00 board is originally based on Harmony design.
the fact that this patch makes sound work on paz00 does not necessary mean
that this is the "right thing" to do. First, the initial state should be
TRISTATE, because sound layer should switch between NORMAL/TRISTATE
automaticly to save some power. Second, Android has TEGRA_PUPD_PULL_DOWN
with sound working and I didn't found out yet why this also works.
So there is something strange going on and we should first find out what
it is. Furthermore, there is no codec (ALC5632) and no glue for paz00 yet
in the mainline kernel (and of course no board support for it) so this can
still wait IMHO.
I will include your patch in the series which will add sound support once
the fog has lifted a bit.
Thanks
Marc
> Signed-off-by: Leon Romanovsky <leon-2ukJVAZIZ/Y@public.gmane.org>
> ---
> arch/arm/mach-tegra/board-paz00-pinmux.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-tegra/board-paz00-pinmux.c b/arch/arm/mach-tegra/board-paz00-pinmux.c
> index bdd2627..7de8182 100644
> --- a/arch/arm/mach-tegra/board-paz00-pinmux.c
> +++ b/arch/arm/mach-tegra/board-paz00-pinmux.c
> @@ -27,7 +27,7 @@ static struct tegra_pingroup_config paz00_pinmux[] = {
> {TEGRA_PINGROUP_ATC, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> {TEGRA_PINGROUP_ATD, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> {TEGRA_PINGROUP_ATE, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> - {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
> + {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> {TEGRA_PINGROUP_CDEV2, TEGRA_MUX_PLLP_OUT4, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL},
> {TEGRA_PINGROUP_CRTP, TEGRA_MUX_CRT, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
> {TEGRA_PINGROUP_CSUS, TEGRA_MUX_PLLC_OUT1, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <201110151834.22732.marvin24-Mmb7MZpHnFY@public.gmane.org>
@ 2011-10-16 6:37 ` Leon Romanovsky
2011-10-17 15:29 ` Stephen Warren
1 sibling, 0 replies; 9+ messages in thread
From: Leon Romanovsky @ 2011-10-16 6:37 UTC (permalink / raw)
To: Marc Dietrich
Cc: olof-nZhT3qVonbNeoWH0uzbU5w, ccross-z5hGa2qSFaRBDgjK7y7TUQ,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
> Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
> > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
> > Harmony board. Paz00 board is originally based on Harmony design.
>
> the fact that this patch makes sound work on paz00 does not necessary mean
> that this is the "right thing" to do. First, the initial state should be
> TRISTATE, because sound layer should switch between NORMAL/TRISTATE
> automaticly to save some power. Second, Android has TEGRA_PUPD_PULL_DOWN
> with sound working and I didn't found out yet why this also works.
I already said before, but will say again. Our board has many commons
to the Harmony board, so our reference is
arch/arm/mach-tegra/board-harmony-pinmux.c
http://git.kernel.org/?p=linux/kernel/git/olof/tegra.git;a=history;f=arch/arm/mach-tegra/board-harmony-pinmux.c;hb=103e1e14441ea86454921cdaf552c9f5c1f7c7c1
In the initial commit (42a7bf4d2686145bea03ff9b87d83868cc514f47)
pushed by Colin, the CDEV1 indeed has TEGRA_PUPD_PULL_DOWN and
TEGRA_TRI_TRISTATE
(http://git.kernel.org/?p=linux/kernel/git/olof/tegra.git;a=blob;f=arch/arm/mach-tegra/board-harmony-pinmux.c;h=50b15d500cacc73817258202178b0b79fc42478b;hb=42a7bf4d2686145bea03ff9b87d83868cc514f47#l28),
but later in the commit (ef2b1a0f1eb299c2d00addfee3a2631395d9bdb5)
pushed by Stephen, the CDEV1 was changed.
I did the same.
>
> So there is something strange going on and we should first find out what
> it is. Furthermore, there is no codec (ALC5632) and no glue for paz00 yet
> in the mainline kernel (and of course no board support for it) so this can
> still wait IMHO.
I have a different view on it. For me, everything that fixes incorrect
behavior and doesn't brake anything, must be included as soon as
possible.possible.
>
> I will include your patch in the series which will add sound support once
> the fog has lifted a bit.
>
> Thanks
>
> Marc
>
> > Signed-off-by: Leon Romanovsky <leon-2ukJVAZIZ/Y@public.gmane.org>
> > ---
> > arch/arm/mach-tegra/board-paz00-pinmux.c | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-tegra/board-paz00-pinmux.c b/arch/arm/mach-tegra/board-paz00-pinmux.c
> > index bdd2627..7de8182 100644
> > --- a/arch/arm/mach-tegra/board-paz00-pinmux.c
> > +++ b/arch/arm/mach-tegra/board-paz00-pinmux.c
> > @@ -27,7 +27,7 @@ static struct tegra_pingroup_config paz00_pinmux[] = {
> > {TEGRA_PINGROUP_ATC, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> > {TEGRA_PINGROUP_ATD, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> > {TEGRA_PINGROUP_ATE, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> > - {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
> > + {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
> > {TEGRA_PINGROUP_CDEV2, TEGRA_MUX_PLLP_OUT4, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL},
> > {TEGRA_PINGROUP_CRTP, TEGRA_MUX_CRT, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
> > {TEGRA_PINGROUP_CSUS, TEGRA_MUX_PLLC_OUT1, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
> >
>
--
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | leon-2ukJVAZIZ/Y@public.gmane.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <201110151834.22732.marvin24-Mmb7MZpHnFY@public.gmane.org>
2011-10-16 6:37 ` Leon Romanovsky
@ 2011-10-17 15:29 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A4A4-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
1 sibling, 1 reply; 9+ messages in thread
From: Stephen Warren @ 2011-10-17 15:29 UTC (permalink / raw)
To: Marc Dietrich, Leon Romanovsky
Cc: olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Marc Dietrich wrote at Saturday, October 15, 2011 10:34 AM:
> Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
> > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
> > Harmony board. Paz00 board is originally based on Harmony design.
>
> the fact that this patch makes sound work on paz00 does not necessary mean
> that this is the "right thing" to do.
> First, the initial state should be
> TRISTATE, because sound layer should switch between NORMAL/TRISTATE
> automaticly to save some power.
None of the other boards do that, and the drivers don't support it. I
believe the clock would need to be started as soon as the audio driver
module were loaded, and kept running as long as it was loaded, so there's
not much chance of optimizing power here at the moment.
> Second, Android has TEGRA_PUPD_PULL_DOWN
> with sound working and I didn't found out yet why this also works.
I don't know why there's a pull-down there in the Android kernel; there's
no need as far as I know, since it's a clock signal. I'd go so far as to
believe that a pull-down would distort the clock signal slightly.
But yes, it probably makes sense to include this patch in a series that
enables audio on PAZ00 whenever that appears.
--
nvpublic
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A4A4-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
@ 2011-10-18 15:50 ` Marc Dietrich
2011-10-18 16:10 ` Stephen Warren
0 siblings, 1 reply; 9+ messages in thread
From: Marc Dietrich @ 2011-10-18 15:50 UTC (permalink / raw)
To: Stephen Warren
Cc: Leon Romanovsky, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Monday 17 October 2011 08:29:01 Stephen Warren wrote:
> Marc Dietrich wrote at Saturday, October 15, 2011 10:34 AM:
> > Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
> > > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
> > > Harmony board. Paz00 board is originally based on Harmony design.
> >
> > the fact that this patch makes sound work on paz00 does not necessary mean
> > that this is the "right thing" to do.
>
> > First, the initial state should be
> > TRISTATE, because sound layer should switch between NORMAL/TRISTATE
> > automaticly to save some power.
>
> None of the other boards do that, and the drivers don't support it. I
> believe the clock would need to be started as soon as the audio driver
> module were loaded, and kept running as long as it was loaded, so there's
> not much chance of optimizing power here at the moment.
Which driver? I guess this could be done by the board specific code e.g. in
in sound/soc/tegra/paz00.c I haven't checked if the clock is disabled, because
the whole clock setup is a bit confusing...
Here is androids pinmux diff "without and with music":
--- pinmux_no_music.txt
+++ pinmux_with_music.txt
@@ -3,11 +3,11 @@
{TEGRA_PINGROUP_ATC, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_ATD, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_ATE, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
- {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
+ {TEGRA_PINGROUP_CDEV1, TEGRA_MUX_PLLA_OUT, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_CDEV2, TEGRA_MUX_PLLP_OUT4, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_CRTP, TEGRA_MUX_CRT, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
{TEGRA_PINGROUP_CSUS, TEGRA_MUX_PLLC_OUT1, TEGRA_PUPD_PULL_DOWN, TEGRA_TRI_TRISTATE},
- {TEGRA_PINGROUP_DAP1, TEGRA_MUX_DAP1, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
+ {TEGRA_PINGROUP_DAP1, TEGRA_MUX_DAP1, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_DAP2, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_NORMAL},
{TEGRA_PINGROUP_DAP3, TEGRA_MUX_DAP3, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
{TEGRA_PINGROUP_DAP4, TEGRA_MUX_GMI, TEGRA_PUPD_NORMAL, TEGRA_TRI_TRISTATE},
> > Second, Android has TEGRA_PUPD_PULL_DOWN
> > with sound working and I didn't found out yet why this also works.
>
> I don't know why there's a pull-down there in the Android kernel; there's
> no need as far as I know, since it's a clock signal. I'd go so far as to
> believe that a pull-down would distort the clock signal slightly.
Is there some docu somewhere about what PUPD_NORMAL and POPD_PULL_DOWN means?
I know the meaning of TRISTATE and PULL_DOWN/UP from electronics, but
that does not define what the NORMAL state is.
I also don't see why you can't get a nice clock signal out of a pull down pin.
If inactive, the pin is high (e.g. +3.3V), while when active it is pulled to
zero (ok, it's logical inverted).
Marc
> But yes, it probably makes sense to include this patch in a series that
> enables audio on PAZ00 whenever that appears.
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
2011-10-18 15:50 ` Marc Dietrich
@ 2011-10-18 16:10 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173CA2CB3B-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Warren @ 2011-10-18 16:10 UTC (permalink / raw)
To: Marc Dietrich
Cc: Leon Romanovsky, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Marc Dietrich wrote at Tuesday, October 18, 2011 9:50 AM:
> On Monday 17 October 2011 08:29:01 Stephen Warren wrote:
> > Marc Dietrich wrote at Saturday, October 15, 2011 10:34 AM:
> > > Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
> > > > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
> > > > Harmony board. Paz00 board is originally based on Harmony design.
> > >
> > > the fact that this patch makes sound work on paz00 does not necessary mean
> > > that this is the "right thing" to do.
> >
> > > First, the initial state should be
> > > TRISTATE, because sound layer should switch between NORMAL/TRISTATE
> > > automaticly to save some power.
> >
> > None of the other boards do that, and the drivers don't support it. I
> > believe the clock would need to be started as soon as the audio driver
> > module were loaded, and kept running as long as it was loaded, so there's
> > not much chance of optimizing power here at the moment.
>
> Which driver?
The whole ASoC driver stack. It may depend on the codec, but I assume that
CDEV1 clock output should be running the whole time the ASoC codec driver
is active. Alsa-devel would be the best place to ask about that kind of
thing.
...
> > I don't know why there's a pull-down there in the Android kernel; there's
> > no need as far as I know, since it's a clock signal. I'd go so far as to
> > believe that a pull-down would distort the clock signal slightly.
>
> Is there some docu somewhere about what PUPD_NORMAL and POPD_PULL_DOWN means?
> I know the meaning of TRISTATE and PULL_DOWN/UP from electronics, but
> that does not define what the NORMAL state is.
"NORMAL" means no pull-up or pull-down, or not tri-stated. It's badly
named.
> I also don't see why you can't get a nice clock signal out of a pull down pin.
> If inactive, the pin is high (e.g. +3.3V), while when active it is pulled to
> zero (ok, it's logical inverted).
Well, I may be wrong, but the pin will attempt to drive a nice symmetric
signal, yet with a pull-up/down, there will be some slight drive on the
wire that'll tend to pull the signal towards 0v/3.3v the whole time which
will distort it. Whether this is a problem for this particular signal,
pull-up/down strength, etc. is something I don't know. Certainly, the
pull isn't actually needed AFAIK, so it may as well be removed.
--
nvpublic
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173CA2CB3B-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
@ 2011-10-19 11:29 ` Leon Romanovsky
[not found] ` <CALq1K=JhD-igHv=yN+kg-Q+3j7TTPxyigC9de95T0xcV8VXWrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Leon Romanovsky @ 2011-10-19 11:29 UTC (permalink / raw)
To: Stephen Warren
Cc: Marc Dietrich, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Tue, Oct 18, 2011 at 18:10, Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> wrote:
> Marc Dietrich wrote at Tuesday, October 18, 2011 9:50 AM:
>> On Monday 17 October 2011 08:29:01 Stephen Warren wrote:
>> > Marc Dietrich wrote at Saturday, October 15, 2011 10:34 AM:
>> > > Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
>> > > > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
>> > > > Harmony board. Paz00 board is originally based on Harmony design.
>> > >
>> > > the fact that this patch makes sound work on paz00 does not necessary mean
>> > > that this is the "right thing" to do.
>> > None of the other boards do that, and the drivers don't support it. I
>> > believe the clock would need to be started as soon as the audio driver
>> > module were loaded, and kept running as long as it was loaded, so there's
>> > not much chance of optimizing power here at the moment.
>>
>> Which driver?
>
> The whole ASoC driver stack. It may depend on the codec, but I assume that
> CDEV1 clock output should be running the whole time the ASoC codec driver
> is active. Alsa-devel would be the best place to ask about that kind of
> thing.
Let's summarize, we agree that it is a correct way to handle CDEV1,
and it is a correct patch.
I believe it is a good time to merge the patch before we start to
merge the codec itself.
--
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | leon-2ukJVAZIZ/Y@public.gmane.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <CALq1K=JhD-igHv=yN+kg-Q+3j7TTPxyigC9de95T0xcV8VXWrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-10-19 15:18 ` Olof Johansson
[not found] ` <CAOesGMh9502kSvu_Q9XnsFzYMYnQpMvoFM87_VUEhC+Rknt1dQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Olof Johansson @ 2011-10-19 15:18 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Stephen Warren, Marc Dietrich,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi,
On Wed, Oct 19, 2011 at 4:29 AM, Leon Romanovsky <leon-2ukJVAZIZ/Y@public.gmane.org> wrote:
> On Tue, Oct 18, 2011 at 18:10, Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> wrote:
>> Marc Dietrich wrote at Tuesday, October 18, 2011 9:50 AM:
>>> On Monday 17 October 2011 08:29:01 Stephen Warren wrote:
>>> > Marc Dietrich wrote at Saturday, October 15, 2011 10:34 AM:
>>> > > Am Samstag 15 Oktober 2011, 17:18:33 schrieb Leon Romanovsky:
>>> > > > This fix updates the CDEV1 pinmux for the paz00 board to be as in the
>>> > > > Harmony board. Paz00 board is originally based on Harmony design.
>>> > >
>>> > > the fact that this patch makes sound work on paz00 does not necessary mean
>>> > > that this is the "right thing" to do.
>>> > None of the other boards do that, and the drivers don't support it. I
>>> > believe the clock would need to be started as soon as the audio driver
>>> > module were loaded, and kept running as long as it was loaded, so there's
>>> > not much chance of optimizing power here at the moment.
>>>
>>> Which driver?
>>
>> The whole ASoC driver stack. It may depend on the codec, but I assume that
>> CDEV1 clock output should be running the whole time the ASoC codec driver
>> is active. Alsa-devel would be the best place to ask about that kind of
>> thing.
>
> Let's summarize, we agree that it is a correct way to handle CDEV1,
> and it is a correct patch.
> I believe it is a good time to merge the patch before we start to
> merge the codec itself.
It'll be staged for 3.3 when I start those branches, which should be soon.
We're close to the merge window, it's not a regression fix and you
need other changes on top of it anyway to get anything useful out of
it -- so it can wait.
Thank you for posting it early though, and I'll make sure it makes it
into linux-next quickly so you can use that as a base for your codec
work.
-Olof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table.
[not found] ` <CAOesGMh9502kSvu_Q9XnsFzYMYnQpMvoFM87_VUEhC+Rknt1dQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2011-10-19 21:05 ` Leon Romanovsky
0 siblings, 0 replies; 9+ messages in thread
From: Leon Romanovsky @ 2011-10-19 21:05 UTC (permalink / raw)
To: Olof Johansson
Cc: Stephen Warren, Marc Dietrich,
ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
On Wed, Oct 19, 2011 at 17:18, Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org> wrote:
> Thank you for posting it early though, and I'll make sure it makes it
> into linux-next quickly so you can use that as a base for your codec
> work.
Thanks
> -Olof
>
--
Leon Romanovsky | Independent Linux Consultant
www.leon.nu | leon-2ukJVAZIZ/Y@public.gmane.org
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-10-19 21:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-15 15:18 [PATCH 1/1] ARM: tegra: paz00: Fix board pinmux table Leon Romanovsky
[not found] ` <1318691913-9597-1-git-send-email-leon-2ukJVAZIZ/Y@public.gmane.org>
2011-10-15 16:34 ` Marc Dietrich
[not found] ` <201110151834.22732.marvin24-Mmb7MZpHnFY@public.gmane.org>
2011-10-16 6:37 ` Leon Romanovsky
2011-10-17 15:29 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173BE1A4A4-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-18 15:50 ` Marc Dietrich
2011-10-18 16:10 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF173CA2CB3B-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-10-19 11:29 ` Leon Romanovsky
[not found] ` <CALq1K=JhD-igHv=yN+kg-Q+3j7TTPxyigC9de95T0xcV8VXWrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-19 15:18 ` Olof Johansson
[not found] ` <CAOesGMh9502kSvu_Q9XnsFzYMYnQpMvoFM87_VUEhC+Rknt1dQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-19 21:05 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox