I wonder is anyone managed to get the L and M GPIO pins working on the A31 
or A80. Apparently, they belong to a different module called RPIO (instead 
of PIO which is responsible for A, B, C.. banks). I know that there is an 
APB gate that must be turned on for the PIO module. Is there something 
equivalent for the RPIO?

What I could find in the ccm.h file in the A31 sdk is:


typedef struct __CCMU_APB1_GATE_REG0068

{

    __u32   Adda:1;             //bit0,  gating APB clock for audio codec, 
0-mask, 1-pass

    __u32   Spdif:1;            //bit1,  gating APB clock for SPDIF, 
0-mask, 1-pass

    __u32   reserved0:2;        //bit2,  reserved

    __u32   Dmic:1;             //bit4,  gating APB clock for digital mic

    __u32   Pio:1;              //bit5,  gating APB clock for PIO, 0-mask, 
1-pass

    __u32   reserved1:6;        //bit6,  reserved

    __u32   I2s0:1;             //bit12, gating APB clock for I2s-0, 
0-mask, 1-pass

    __u32   I2s1:1;             //bit13, gating APB clock for I2s-1, 
0-mask, 1-pass

    __u32   reserved2:18;       //bit14, reserved

} __ccmu_apb1_gate_reg0068_t;

Not a word about the RPIO, perhaps it has a different name? Something else 
which must be done?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to