[alsa-devel] Imx6 i2s master driver without i2c

nick83ola nick83ola at gmail.com
Thu May 12 09:55:25 CEST 2016


I am using ssi1 because I have an example of setting master mode on sabre
board dts

I have a problem with iomux/pinctrl  I think because

root at icorem6solo:/sys/kernel/debug/pinctrl/20e0000.iomuxc# cat pinmux-pins
|grep audmux
pin 57 (MX6DL_PAD_DISP0_DAT20): 2028000.ssi (GPIO UNCLAIMED) function
audmux group audmux-4
pin 58 (MX6DL_PAD_DISP0_DAT21): 2028000.ssi (GPIO UNCLAIMED) function
audmux group audmux-4
pin 59 (MX6DL_PAD_DISP0_DAT22): 2028000.ssi (GPIO UNCLAIMED) function
audmux group audmux-4
pin 60 (MX6DL_PAD_DISP0_DAT23): 2028000.ssi (GPIO UNCLAIMED) function
audmux group audmux-4

says: GPIO_UNCLAIMED? it is correct??

/sys/kernel/debug/pinctrl/20e0000.iomuxc# cat pinconf-groups |grep -A 1
audmux
1 (audmux-1):
MX6DL_PAD_SD2_DAT0: 0x17070MX6DL_PAD_SD2_DAT3: 0x17070MX6DL_PAD_SD2_DAT2:
0x17070MX6DL_PAD_SD2_DAT1: 0x17070
2 (audmux-2):
MX6DL_PAD_CSI0_DAT7: 0x1b0b0MX6DL_PAD_CSI0_DAT4:
0x1b0b0MX6DL_PAD_CSI0_DAT5: 0x1b0b0MX6DL_PAD_CSI0_DAT6: 0x1b0b0
3 (audmux-3):
MX6DL_PAD_DISP0_DAT16: 0x10MX6DL_PAD_DISP0_DAT18:
0x1b0b0MX6DL_PAD_DISP0_DAT19: 0x1b0b0
4 (audmux-4):
MX6DL_PAD_DISP0_DAT20: 0x130b0MX6DL_PAD_DISP0_DAT21:
0x110b0MX6DL_PAD_DISP0_DAT22: 0x130b0MX6DL_PAD_DISP0_DAT23: 0x130b0

0x130b0?

audmux# cat ssi0
    PDCR: 0000a000
    PTCR: ad400800
    TxFS output from SSI6, TxClk output from SSI6
    Port is symmetric
    Data received from SSI6
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi1
    PDCR: 00008000
    PTCR: 00000800
    TxFS input, TxClk input
    Port is symmetric
    Data received from SSI5
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi2
    PDCR: 00006000
    PTCR: 9cc00800
    TxFS output from SSI4, TxClk output from SSI4
    Port is symmetric
    Data received from SSI4
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi3
    PDCR: 00004000
    PTCR: 00000800
    TxFS input, TxClk input
    Port is symmetric
    Data received from SSI3
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi4
    PDCR: 00002000
    PTCR: 8c400800
    TxFS output from imx-ssi.1, TxClk output from imx-ssi.1
    Port is symmetric
    Data received from imx-ssi.1
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi5
    PDCR: 00000000
    PTCR: 00000800
    TxFS input, TxClk input
    Port is symmetric
    Data received from imx-ssi.0
root at icorem6solo:/sys/kernel/debug/audmux# cat ssi6
    PDCR: 0000c000
    PTCR: 00000800
    TxFS input, TxClk input
    Port is symmetric
    Data received from UNKNOWN


More information about the Alsa-devel mailing list