<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">
> You cannot calculate AUDMUX register offsets this way because according to<br>
> i.MX27 manual:<br>
><br>
> 0x1001_6000 (HPCR1)<br>
> 0x1001_6004 (HPCR2)<br>
> 0x1001_6008 (HPCR3)<br>
> 0x1001_6010 (PPCR1) <-- You are using 0x0C for this<br>
> 0x1001_6014 (PPCR2) <--- You are using 0x10 for this<br>
> 0x1001_601C (PPCR3) <--- You are using 0x18 for this<br>
<br>
</div></div>It's fine the way it is. See mach/audmux.h:<br>
<div><br>
#define MX27_AUDMUX_HPCR1_SSI0 0<br>
#define MX27_AUDMUX_HPCR2_SSI1 1<br>
#define MX27_AUDMUX_HPCR3_SSI_PINS_4 2<br>
#define MX27_AUDMUX_PPCR1_SSI_PINS_1 3<br>
#define MX27_AUDMUX_PPCR2_SSI_PINS_2 4<br>
#define MX27_AUDMUX_PPCR3_SSI_PINS_3 5<br></div></blockquote><div><br><br>Sorry for my insistence but, unless I am missing something weird, I have looked at mach/audmux.h and still think that it is wrong:<br><br>AUDMUX PORT Your offset i.MX27 Manual offset<br>
--------------------------- ------------------ ---------------------------------------<br>(0) HPCR1 (0 x 4) = 0x0 0x00<br>(1) HPCR2 (1 x 4) = 0x4 0x04<br>
</div></div>(2) HPCR3 (2 x 4) = 0x8 0x08<br>(3) PPCR1 (3 x 4) = 0xC 0x10<br>(4) HPCR2 (4 x 4) = 0x10 0x14<br>(5) HPCR3 (5 x 4) = 0x14 0x1C<br>
<br><br>-- <br>Javier Martin<br>Vista Silicon S.L.<br>CDTUC - FASE C - Oficina S-345<br>Avda de los Castros s/n<br>39005- Santander. Cantabria. Spain<br>+34 942 25 32 60<br><a href="http://www.vista-silicon.com">www.vista-silicon.com</a><br>