How to use SPI master in Linux application?

Description:

  1. Use HelioBoard
  2. Add SPI master that connect to HPS.h2f_lw_axi bridge, view SPI component info in .dts.
  3. After Linux boot-up, found /dev/spidev0.0
  4. Using example code on : http://armbedded.eu/node/318, compile successful.
  5. Running spi-test application, using SignalTap to watch SPI signals, nothing output .

Question:

  1. Is this a driver issue ?
  2. How to access SPI device on Linux Application ?

Thanks in advance.