root@am3517-evm:/# ./spi -D /dev/spidev1.0 [ 99.492401] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 99.498840] ASHOK : function: omap2_mcspi_setup Line :801 [ 99.504760] ASHOK : function: omap2_mcspi_request_dma Line :767 [ 99.511322] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 99.518127] spidev spi1.0: setup: speed 48000000, sample leading edge, clk normal [ 99.526000] spidev spi1.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0 [ 99.533050] spidev spi1.0: spi mode 00 [ 99.539367] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 99.545989] ASHOK : function: omap2_mcspi_setup Line :801 [ 99.551940] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 99.558715] spidev spi1.0: setup: speed 48000000, sample leading edge, clk normal [ 99.566619] spidev spi1.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0 [ 99.573669] spidev spi1.0: 8 bits per word [ 99.578643] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 99.584991] ASHOK : function: omap2_mcspi_setup Line :801 [ 99.590942] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 99.597717] spidev spi1.0: setup: speed 375000, sample leading edge, clk normal [ 99.605407] spidev spi1.0: setup mode 0, 8 bits/w, 500000 Hz max --> 0 [ 99.612304] spidev spi1.0: 500000 Hz (max) spi mode: 0[ 99.619567] ASHOK :omap2_mcspi_transfer 1030 [ 99.624847] ASHOK : Prepare for Transfer 1038 [ 99.629516] ASHOK : call queue_work bits per word:[ 99.633392] ASHOK :omap2_mcspi_work 884 8 max speed: 5[ 99.639129] ASHOK : function: omap2_mcspi_setup_transfer Line :667 00000 Hz (500 KH[ 99.647064] spidev spi1.0: setup: speed 375000, sample leading edge, clk normal z) [ 99.656127] ASHOK :omap2_mcspi_work t->len 38 [ 99.661102] ASHOK :omap2_mcspi_work Calling omap2_mcspi_txrx_pio [ 99.668518] ASHOK :omap2_mcspi_work Restore defaults if they were overriden [ 99.675994] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 99.682800] spidev spi1.0: setup: speed 375000, sample leading edge, clk normal [ 99.690460] ASHOK :omap2_mcspi_work omap2_mcspi_set_enable [ 99.696350] ASHOK :omap2_mcspi_work omap2_mcspi_disable_clocks 80 80 80 80 80 80 40 00 00 00 00 95 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 90 A9 A0 88 A2 A9 80 09 root@am3517-evm:/# root@am3517-evm:/# root@am3517-evm:/# root@am3517-evm:/# root@am3517-evm:/# root@am3517-evm:/# ./spi -D /dev/spidev2.0 [ 118.491394] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 118.497802] ASHOK : function: omap2_mcspi_setup Line :801 [ 118.503753] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 118.510559] spidev spi2.0: setup: speed 48000000, sample leading edge, clk normal [ 118.518432] spidev spi2.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0 [ 118.525482] spidev spi2.0: spi mode 00 [ 118.530517] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 118.536895] ASHOK : function: omap2_mcspi_setup Line :801 [ 118.542846] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 118.549621] spidev spi2.0: setup: speed 48000000, sample leading edge, clk normal [ 118.557495] spidev spi2.0: setup mode 0, 8 bits/w, 48000000 Hz max --> 0 [ 118.564544] spidev spi2.0: 8 bits per word [ 118.571166] ASHOK DEBUG: spi->mode: 0 spi->master->mode_bits: 7 [ 118.577758] ASHOK : function: omap2_mcspi_setup Line :801 [ 118.583740] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 118.590484] spidev spi2.0: setup: speed 375000, sample leading edge, clk normal [ 118.598175] spidev spi2.0: setup mode 0, 8 bits/w, 500000 Hz max --> 0 [ 118.605041] spidev spi2.0: 500000 Hz (max) spi mode: 0[ 118.610656] ASHOK :omap2_mcspi_transfer 1030 [ 118.615936] ASHOK : Prepare for Transfer 1038 [ 118.620605] ASHOK : call queue_work bits per word:[ 118.624481] ASHOK :omap2_mcspi_work 884 8 max speed: 5[ 118.629943] ASHOK : function: omap2_mcspi_setup_transfer Line :667 00000 Hz (500 KH[ 118.638122] spidev spi2.0: setup: speed 375000, sample leading edge, clk normal z) [ 118.647186] ASHOK :omap2_mcspi_work t->len 38 [ 118.652160] ASHOK :omap2_mcspi_work Calling omap2_mcspi_txrx_pio [ 118.659576] ASHOK :omap2_mcspi_work Restore defaults if they were overriden [ 118.667083] ASHOK : function: omap2_mcspi_setup_transfer Line :667 [ 118.674102] spidev spi2.0: setup: speed 375000, sample leading edge, clk normal [ 118.681793] ASHOK :omap2_mcspi_work omap2_mcspi_set_enable [ 118.687683] ASHOK :omap2_mcspi_work omap2_mcspi_disable_clocks FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF DE AD BE EF BA AD F0 0D