Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spidev.c #2

Open
wants to merge 269 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
e985464
Do not register I2C devices from board file
larsclausen Mar 26, 2012
e908811
Configure the I2C pins for GPIO functionality
larsclausen Apr 10, 2012
7a4e362
of: introduce helper to manage boolean
plagnioj Feb 7, 2012
675c353
i2c/gpio: add DT support
plagnioj Feb 5, 2012
f3bbdaf
i2c: Add a struct device * parameter to i2c_add_mux_adapter()
daviddaney Apr 12, 2012
83488b3
i2c/of: Automatically populate i2c mux busses from device tree data.
daviddaney Apr 12, 2012
e82248b
Add ZC702 + ADV7511 device tree
larsclausen Mar 25, 2012
cdeac10
I2C: xiic: Add OF support
larsclausen Feb 13, 2012
e984159
I2C: xiic: Always use 32bit access
larsclausen Feb 20, 2012
480fd2f
DRM: adv7511: Split EDID reading into multiple blocks
larsclausen Apr 23, 2012
551ff2a
Add ZED + ADV7511 device tree
larsclausen Apr 23, 2012
f082ed0
Use LL_UART for io mappings table
larsclausen Mar 20, 2012
ef7c4bf
OF: Add helper function to lookup a I2C adapter by node
larsclausen Mar 5, 2012
00074c6
DMA: Xilinx: VDMA: Allow less then the total number of frames
larsclausen Mar 7, 2012
e401ac0
dmaengine: Add helper function for generating a cookie
larsclausen Mar 9, 2012
90282bd
dmaengine: Rework Xilinx DMA driver
larsclausen Mar 23, 2012
2221fcc
Setup FPGA clocks
larsclausen Mar 23, 2012
965d5a2
drm: Fix EDID color fromat parsing
larsclausen Feb 10, 2012
c157773
drm: Parse color format information in CEA blocks
larsclausen Feb 10, 2012
159b4cb
DMA: Fix dmaengine_prep_slave_single
mhennerich Feb 16, 2012
0abd06e
drm: Decouple edid parsing from i2c adapter
larsclausen Apr 27, 2012
a371b85
DRM: Add adv7511 encoder driver
larsclausen Mar 5, 2012
87a8fd6
DRM: Add driver for Analog Devices FPGA platforms
larsclausen Apr 27, 2012
146fcb0
DRM: Enabled debugging by default
larsclausen Apr 27, 2012
7b70b3c
ASoC: Add dmaengine PCM helper functions
larsclausen Feb 6, 2012
fec50de
ASoC: Add support for Xilinx FPGA based boards
larsclausen Mar 6, 2012
6c9636d
ASoC: Add SPDIF DAI format
larsclausen Mar 6, 2012
becc940
ASoC: Xilinx: Add AXI SPDIF driver
larsclausen Mar 6, 2012
0557270
ASoC: Xilinx: Add ADV7511 HDMI board driver
larsclausen Mar 7, 2012
19a80b6
regmap: rbtree: Fix register default look-up in sync
larsclausen Mar 23, 2012
8a797e4
Increase DMA memory region
larsclausen Apr 10, 2012
ea4a013
Do not register I2C devices from board file
larsclausen Mar 26, 2012
8556cef
Configure the I2C pins for GPIO functionality
larsclausen Apr 10, 2012
780c2c5
of: introduce helper to manage boolean
plagnioj Feb 7, 2012
7047462
i2c/gpio: add DT support
plagnioj Feb 5, 2012
6cf4c8f
Add ZC702 + ADV7511 device tree
larsclausen Mar 25, 2012
4d3c50e
I2C: xiic: Add OF binding support
larsclausen Feb 13, 2012
de4d1b7
I2C: xiic: Always use 32bit access
larsclausen Feb 20, 2012
d52c2e5
Add ZED + ADV7511 device tree
larsclausen Apr 23, 2012
7255baf
Ethernet fixes for ZED
larsclausen May 14, 2012
e9d9d1c
ZED USB fixes
larsclausen May 16, 2012
6b2928c
Add config for ZED + ADV7511
larsclausen May 16, 2012
ff46106
staging:iio: isl29018: add of_match table for device-tree probing
olofj Dec 23, 2011
f94eca3
staging:iio: ak8975: add of_match table for device-tree probing
olofj Dec 23, 2011
ca20428
staging:iio: Setup buffer access functions when allocating the buffer
larsclausen Jan 3, 2012
7bd42ce
staging:iio: Update iio_event_interface documentation
larsclausen Jan 3, 2012
38ae1bf
staging:iio: Factor out event handling into its own file
larsclausen Jan 3, 2012
28d2a4d
staging:iio:events: Use kfifo for event queue
larsclausen Jan 3, 2012
4c022af
staging:iio:events: Use waitqueue lock to protect event queue
larsclausen Jan 3, 2012
c89fcd1
staging:iio:events: Add poll support
larsclausen Jan 3, 2012
1be1741
staging:iio:events: Use non-atmoic bitops
larsclausen Jan 3, 2012
fa35d69
staging:iio:adc:ad7192 unwind use of is_visible for attribute group.
jic23 Jan 29, 2012
6e9574d
staging:iio:dds:ad9834 unwind use of is_visible for attrs.
jic23 Jan 29, 2012
f71f62e
staging:iio:dac:ad5446 unwind use of is_visible for attrs.
jic23 Jan 29, 2012
70f9dc4
staging:iio:adc:ad7606 unwind use of is_visible for attrs.
jic23 Jan 29, 2012
7498ab5
staging:iio:adc:adt7310/7410 sticking plaster fix for broken event at…
jic23 Jan 29, 2012
7c4608e
staging:iio:dac: Fix kcalloc parameters swapped
AxelLin Feb 11, 2012
5080610
staging:iio:events: Remove obsolete documentation
larsclausen Feb 13, 2012
4fdc677
staging:iio: Rename IIO_EVENT_CODE_EXTRACT_NUM to IIO_EVENT_CODE_EXTR…
larsclausen Feb 13, 2012
cabebb6
staging:iio: Add missing event code extract macros
larsclausen Feb 13, 2012
95a9f80
staging:iio: Add event monitor example application
larsclausen Feb 13, 2012
389779f
staging: iio: LPC32xx: ADC driver
stigge Feb 14, 2012
20da942
staging:iio:core set the iio_dev.info pointer to null on unregister u…
jic23 Feb 15, 2012
87c5625
staging:iio:core add in kernel interface mapping and getting IIO chan…
Feb 15, 2012
6da8032
staging:iio: move iio data return types into types.h for use by inkern
Feb 15, 2012
00a1833
staging:iio::hwmon interface client driver.
Feb 15, 2012
f25ce68
staging:iio:Documentation in kernel pull description.
jic23 Feb 15, 2012
221eec8
staging:iio: Use dev_pm_ops
larsclausen Feb 20, 2012
6869e13
staging:iio: Convert remaining drivers to module_spi_driver
larsclausen Feb 20, 2012
cf3db7a
staging:iio: Add extended IIO channel info
larsclausen Feb 21, 2012
54757ce
staging:iio:dac:ad5064: Convert to extended channel info attributes
larsclausen Feb 21, 2012
44396a9
staging:iio:dac:ad5064: Prepare driver for the addition of chip variants
larsclausen Feb 21, 2012
6e00bf2
staging:iio:dac:ad5064: Add AD5025/AD5045/AD5065 support
larsclausen Feb 21, 2012
fb13f93
staging:iio:dac:ad5064: Add AD5628/AD5648/AD5668 support
larsclausen Feb 21, 2012
fac01ee
staging:iio:dac:ad5064: Add AD5666 support
larsclausen Feb 21, 2012
699d1e2
staging:iio: Remove declaration for non existing function
larsclausen Feb 21, 2012
083688c
iio: core: constitfy available_scan_mask
mhennerich Feb 22, 2012
f2a04d3
SPI XCOMM Bridge Driver - keep local
mhennerich Feb 16, 2012
de31d20
XCOMM Platform settings - keep local
mhennerich Feb 16, 2012
41e9538
BF537-STAMP board mods - keep local
mhennerich Feb 17, 2012
f19f4e2
iio: core: Introduce debugfs support, add support for direct register…
mhennerich Feb 16, 2012
c1042a2
iio: core: Avoid NULL pointer de-ref in case indio_dev->setup_ops are…
mhennerich Feb 21, 2012
a4540f2
iio: Convert platform_drivers to use module_platform_driver
mhennerich Feb 17, 2012
d8526eb
of_spi: New function spi_of_node_to_master
mhennerich Feb 17, 2012
94c289e
iio: adc: New driver for AD9467 and AD9643 High-Speed LVDS ADCs
mhennerich Feb 17, 2012
533289f
iio: Rename iio/dds to iio/frequency
mhennerich Feb 17, 2012
41a6913
iio: core: Introduce IIO_ALTVOLTAGE and appropriate channel info elem…
mhennerich Feb 17, 2012
be54908
iio: frequency: Update DDS drivers to use new channel naming convention
mhennerich Feb 22, 2012
4e473f3
iio: amplifiers: New driver for AD8366 Dual-Digital Variable Gain Amp…
mhennerich Feb 22, 2012
83bc11f
iio: core: iio_chan_spec_ext_info: Add private handle
mhennerich Feb 23, 2012
e22dc57
iio: write buffer support
larsclausen Dec 13, 2011
96902d0
drivercore: Add driver probe deferral mechanism
mhennerich Mar 6, 2012
6230784
iio: frequency: New driver for AD9523 SPI Low Jitter Clock Generator
mhennerich Mar 9, 2012
89fdcad
iio: frequency: New driver for DDS PCORE/COREFPGA Module using AD9122…
mhennerich Mar 9, 2012
24be955
iio: frequency: New driver for Analog Devices ADF4350/ADF4351 Wideban…
mhennerich Mar 9, 2012
30ea1d4
platform: Add config and device-tree for XCOMM on ML605
mhennerich Mar 9, 2012
4249b23
arch: microblaze: Add support for kintex7 families and cpu version 8.…
mhennerich Apr 2, 2012
7c49e77
SPI XCOMM Bridge Driver: Increment bus numbers and blink LED on probe
mhennerich Apr 24, 2012
f92ab2b
iio: frequency: adf4350: remove debug information, no functional chan…
mhennerich Apr 24, 2012
04dd266
mb: platform: Move xcomm spi board information into dedicated file
mhennerich Apr 24, 2012
ad2b289
iio: frequency: Add AD9548 Network Clock Generator/Synchronizer driver
mhennerich Apr 24, 2012
b0c26ef
iio: frequency: AD9523 Add device name via pdata, disable unused outputs
mhennerich Apr 24, 2012
fa47061
iio: frequency: cf_ad9122: Add support HDL version 2
mhennerich Apr 24, 2012
3e26992
iio: amplifiers: ad8366: abort probe on write error, add support for …
mhennerich Apr 24, 2012
89b168d
iio: frequency: ad9122: update default setup procedure
mhennerich Apr 24, 2012
d3bae4a
iio: adc: cf_ad9467: Add dco delay of property, add PCORE IDENT
mhennerich Apr 24, 2012
38544ae
íio: adc: Add HW FFT support
mhennerich Apr 24, 2012
2abd0fe
iio: adc: ad9467: Start capture in ring enable, add support for HW FFT
mhennerich Apr 24, 2012
5658825
configs: update ML605 defconfig
mhennerich Apr 24, 2012
2f9d380
mb: dts: add device trees XCOMM LPC/HPC for ML605 and KC705
mhennerich Apr 24, 2012
34c609e
configs: add XCOMM KC705 defconfig
mhennerich Apr 24, 2012
7792137
Some DMA fixes
mhennerich May 23, 2012
ae635e5
Ethernet fix for ZED
Jun 5, 2012
2ce5ab3
ZED USB Fixes
Jun 5, 2012
b3de1b2
Add Digilent Default Configuration for ZED(RevB) Board
Jun 7, 2012
056193a
Remove zed_adv7511_config
Jun 7, 2012
100fe56
Serial: xilinx_uartps: Add timeout to xuartps_console_wait_tx
Jun 14, 2012
d5c3013
DRM: Adv7511: Fix uninitialized variable
Jun 14, 2012
2af948f
Update to provide new board file for ZED.
Jun 15, 2012
869460c
DRM: ADV7511: Fix recursive dependency error.
Jun 15, 2012
9d26b89
digilent_zed_defconfig Cleanup
Jun 15, 2012
5165092
serial: xilinx_uartps: Add timeout to xuartps_console_wait_tx
larsclausen Jun 8, 2012
c06e640
mach: zynq: set clock divider for FPGA clock 2
mhennerich Jun 19, 2012
64f59bf
board: zynq: zc702: add xcomm related resources
mhennerich Jun 19, 2012
55ccd20
drivers: iio: ad9467: update status reporting
mhennerich Jun 19, 2012
5f87fc7
zed: xcomm: add config and device tree
mhennerich Jun 19, 2012
051f39f
xgpiops: Fix for xgpiops state change
Jun 26, 2012
6bdf0f4
Initial Commit for PmodOLED driver
Jun 26, 2012
78a8fc1
Pmods: pmodoled: Fix module removal procedure which causes kernel panic
Jun 28, 2012
363e84a
Remove redundant zynq-ep107.dtb
Jul 3, 2012
d03c283
Pmods: pmodoled: Create pmodoled device node automatically
Jul 3, 2012
cffce3a
Merge branch 'master' of git.xilinx.com/linux-2.6-xlnx.git into dev-3.3
Jul 5, 2012
a24432d
ASoC: Adv7511_HDMI: Enabled Sound over HDMI
Jul 5, 2012
3a93894
DTS: Updated Default device tree for ZED Board
Jul 5, 2012
c466882
LED: ZED on-board LED9 used as SD Card Disk Light in ZED Default Config
Jul 5, 2012
f374771
Pmods: pmodoled: Modified Insertion and Removal of Pmodoled
Jul 12, 2012
b9483a9
Xilinx: DMA: Use dev_dbg instead of printk to output debug message
Jul 13, 2012
69d733d
DRM: Use dev_dbg instead of printk to output debug message
Jul 13, 2012
2c8edba
Digilent: 12.07-zed-beta Release
Jul 13, 2012
6f2013f
libfs: add simple_open()
bebarino Apr 5, 2012
6c26301
bitops: introduce for_each_clear_bit()
mita Mar 23, 2012
bfe5d60
iio: disable staging iio
mhennerich Jul 13, 2012
ccf68ea
iio: add out of staging iio and all xcomm drivers
mhennerich Jul 13, 2012
13df5b7
xcomm: update settings for XCOMM Rev.B
mhennerich Jul 13, 2012
136c929
zed: xcomm: add config and device tree for Rev.B
mhennerich Jul 13, 2012
ece11d7
of_spi: add spi-3wire
mhennerich Jul 13, 2012
cb2d939
DRM: add drm gem cma helper
saschahauer May 31, 2012
bc12f24
DRM: Add DRM kms/fb cma helper
larsclausen May 29, 2012
9a1760d
DRM: Add quirk for broken YCrCb support
larsclausen Jun 5, 2012
2ad59a6
regmap: Implement managed regmap_init()
broonie Jan 30, 2012
7d307a6
DRM: adv7511: Sync to latest version
larsclausen Jul 13, 2012
e371ec9
DRM: Analog: Sync to latest version
larsclausen Jul 13, 2012
7f8e908
Pmods: Add Documentation for PmodOLED
Jul 16, 2012
e4a26fa
XCOMM: ZED: Update device tree
mhennerich Jul 19, 2012
934262f
spi: create a message queueing infrastructure
linusw Feb 22, 2012
5cd8649
spi: Dont call prepare/unprepare transfer if not populated
May 10, 2012
9c9beb5
spi: Sync spi-xcomm to the latest version
larsclausen Jul 19, 2012
5bdca7e
zynq-zed-adv7511.dts: Fix memory size
larsclausen Jul 19, 2012
189a979
iio: adc: cf_axi_adc: adjust register layout for latest HDL version
mhennerich Jul 19, 2012
32ac6de
iio: frequency: ADF4350: Fix potential reference div factor overflow.
mhennerich Jul 20, 2012
a0c085d
iio: frequency: adf4350: fix typo - this should be a divide by 2
mhennerich Jul 26, 2012
83f58d2
iio: adc: add CALBISCALE and CALIBBIAS attributes
mhennerich Jul 26, 2012
f578cea
iio: frequency: cf_axi_dds: Miscellaneous changes
mhennerich Jul 26, 2012
337b12c
Merge remote branch 'mhennerich-adi/xcomm_zynq' into xcomm_zynq
mhennerich Jul 26, 2012
649b31e
Add common config for xcomm on zynq
larsclausen Jul 27, 2012
e3fc932
DRM: adv7511: Fix calculation and setting of CTS
larsclausen Aug 6, 2012
eefcbc4
ASoC: axi-spdif: Set frequency in SPDIF status word
larsclausen Aug 7, 2012
877856b
DRM: adv7511: Write status word frequency and word len registers
larsclausen Aug 7, 2012
86b3b71
iio: cf_axi_dds: rename IQ imbalance correction attributes
mhennerich Aug 8, 2012
8ee55aa
iio: cf_axi_adc: AD9467 use ODD/EVEN mode
mhennerich Aug 8, 2012
0af253b
iio: cf_axi_dds: rename IQ imbalance correction attributes
mhennerich Aug 8, 2012
30f31f8
iio: cf_axi_adc: AD9467 use ODD/EVEN mode
mhennerich Aug 8, 2012
3068bb0
zed xcomm dts: Fix IRQ number for the video DMA core
larsclausen Aug 9, 2012
ff09395
ARM: Fix timer frequency in ZED XCOMM devicetree
larsclausen Aug 16, 2012
71b0a06
zynq xcomm: update device tree
mhennerich Aug 21, 2012
5e6114e
iio: adc: cf_axi_adc: extend support for AD9467
mhennerich Aug 24, 2012
8620492
iio: adc: cf_axi_adc: alloc and free coherent dma memory only once
mhennerich Aug 30, 2012
18365dc
iio: frequency: cf_axi_dds: add more sed test patterns
mhennerich Oct 9, 2012
1baa6ea
iio: adc: cf_axi_adc: add support for the AD9250 JESD204B converter.
mhennerich Oct 9, 2012
f618d2b
iio: Add generic AXI JESD204B configuration driver
mhennerich Oct 9, 2012
0e02efe
platform: ml605: add support for AD9250_FMC
mhennerich Oct 9, 2012
23ec650
iio: core: add support for chardev write buffers
mhennerich Oct 17, 2012
68d7236
iio: frequency: cf_axi_dds: add support for DMA buffers
mhennerich Oct 18, 2012
59349ef
iio: adc: add support for Analog Devices AD9265 16-Bit, 125/105/80 MS…
mhennerich Oct 18, 2012
9a82e85
iio: adc: cf_axi_adc: add support for PCORE channel select
mhennerich Oct 18, 2012
ff8eec7
iio: adc: update jesd204b inrerface block and adjust AD9250 support a…
mhennerich Oct 18, 2012
4f6e103
sync platforms
mhennerich Oct 18, 2012
221e157
drm: Disable debuging
larsclausen Oct 26, 2012
3b540e3
iio:axi_adc: Fix CHAN_SEL register address
larsclausen Oct 26, 2012
f0ba29c
Merge branch 'xcomm_zynq' into xcomm_zynq_new
larsclausen Oct 26, 2012
b675d58
zynq-{zed,zc702}-adv7511-xcomm.dts: Add missing DDS DMA entry
larsclausen Oct 26, 2012
e92a588
adv7511: Remove some debug printks
larsclausen Oct 29, 2012
abdb1e4
ASoC: adv7511_hdmi: Get codec adapter from devicetree
larsclausen Oct 29, 2012
0f8dd21
ASoC: xilinx-pcm: Reduce preallocated memory area
larsclausen Oct 29, 2012
862d425
Merge remote-tracking branch 'xilinx/master' into xcomm_zynq_3_5
larsclausen Oct 29, 2012
6af53d3
Merge branch 'xcomm_zynq' into xcomm_zynq_3_5
larsclausen Nov 23, 2012
ce2f3b7
gpio:xilinxps: Fix gpio_request() return value
larsclausen Nov 27, 2012
a97300a
Sync devicetree to latest bitstream
larsclausen Oct 30, 2012
cf92a14
zync_xcomm_adv7511_defconfig: Enable CMA
larsclausen Dec 3, 2012
50857c8
Revert "Increase DMA memory region"
larsclausen Dec 3, 2012
bdf0a65
arch: microblaze: update ML605 xcomm settings
mhennerich Dec 4, 2012
f06f530
clk: add DT clock binding support
glikely Apr 9, 2012
c4ca5a5
clk: add DT fixed-clock binding support
glikely Apr 8, 2012
01d6f0d
arch: mb: enable COMMOM_CLK infrastructure
mhennerich Dec 4, 2012
9bae611
iio: adc: avoid possible false trigger and simplify dco calibrate rou…
mhennerich Dec 4, 2012
8359969
iio: frequency: cf_axi_dds miscellaneous changes
mhennerich Dec 4, 2012
8ea3495
iio: frequency: New driver AD9517 SPI Clock Generator with integrated…
mhennerich Dec 4, 2012
b2df659
spi: New Analog Devices AD9250-FMC-250EBZ SPI-SPI-bridge driver
mhennerich Dec 4, 2012
d72ebf3
spi: of_register_spi_devices: add support for SPI_3WIRE
mhennerich Dec 4, 2012
32f871e
iio: adc: Analog Devices AXI-JESD204B Interface Module add clk support
mhennerich Dec 4, 2012
78dcb15
iio: adc: AD9250: clocks must be present and stable before device init.
mhennerich Dec 4, 2012
feae0a1
arch: microblaze: add support for AD9250-FMC-250EBZ
mhennerich Dec 4, 2012
ad39642
Digilent: Pmods: Added PmodCLS driver and documentation
cristianfatu Dec 6, 2012
89b3b50
Digilent: Pmods: Added PmodCLP driver and documentation
cristianfatu Dec 6, 2012
9ca7b9e
Digilent: Pmods: Added PmodDA1 driver and documentation
cristianfatu Dec 6, 2012
7ef96dc
Digilent: Pmods: Added PmodAD1 driver and documentation
cristianfatu Dec 6, 2012
d042cb1
Merge remote-tracking branch 'xilinx/master' into xcomm_zynq_3_6
larsclausen Dec 6, 2012
0b8350e
Revert "DMA: Xilinx: Separation of DMA driver into three drivers"
larsclausen Dec 6, 2012
9a80f3f
Merge remote-tracking branch 'xilinx/master-next' into xcomm_zynq_3_6
larsclausen Dec 6, 2012
4264126
xilinx-usbps: Initialize ehci hcd before using it
larsclausen Dec 6, 2012
f518f73
usb: ehci: Fix ulpi type in the ehci_hcd struct
larsclausen Dec 6, 2012
1ccdef7
xcomm_adv7511_defconfig: Update to v3.6
larsclausen Dec 6, 2012
e181c1f
Merge remote-tracking branch 'github/xcomm_zynq' into xcomm_zynq_3_6
larsclausen Dec 6, 2012
f4fb5ff
platform: zynq zed xcomm: fix cal eeprom slave addr
mhennerich Dec 6, 2012
ef285f0
PMOD: GPL License Header Added
Dec 18, 2012
f7202e6
zynq-zc702-adv7511.dts: Update device tree
mhennerich Dec 20, 2012
4abc427
ASoC: dmaengine-pcm: Rename and deprecate snd_dmaengine_pcm_pointer
larsclausen Jun 11, 2012
fd73d0e
ASoC: dmaengine-pcm: Add support for querying stream position from DM…
larsclausen Jun 13, 2012
174f0aa
ASoC: Add ADAU1X61 and ADAU1X81 CODECs common code
larsclausen Nov 3, 2011
6c4c1ac
ASoC: Add ADAU1X61 codec support
larsclausen Oct 31, 2011
abc6992
ASoC: xilinx_pcm: Add support for individual subchannels
larsclausen Jun 13, 2012
bda4327
ASoC: Add AXI I2S driver
larsclausen Jun 13, 2012
7ff56dd
ASoC: Add ZED ADAU1761 board file
larsclausen Jun 13, 2012
beaecb3
ASoC: ADAU1761 hardcode ZED platform data
larsclausen Jul 25, 2012
047a048
ASoC: axi-spdif: Set frequency in SPDIF status word
larsclausen Aug 7, 2012
0059111
ASoC: xilinx-pcm: Reduce preallocated memory area
larsclausen Oct 29, 2012
032c865
ASoC:xlnx:zed_adau1761: Change MCLK frequency to 12288000
larsclausen Dec 3, 2012
2447809
ASoC:xlnx:axi-i2s: Fix bit-clock divider
larsclausen Dec 3, 2012
24e370a
Merge branch 'xcomm_zynq' of ../linux-adi into dev-3.6
Dec 26, 2012
314e60d
ZedBoard: Fix mach-type to XILINX_EP107
Dec 30, 2012
3009840
XILINX: DMA: Fix merge error in xilinx dma driver.
Dec 30, 2012
349b81a
ADV7511: Kconfig: Auto select DRM_ANALOG for ADV7511 in configuration
Dec 30, 2012
a42d4f7
Config: Update ZedBoard Default Configuration File: digilent_zed_defc…
Dec 31, 2012
0c6d945
DTS: Update Default DTS file for ZedBoard: digilent_zed.dts
Dec 31, 2012
e50974b
DTS: ZedBoard: enable mounting devtmpfs to /dev
Jan 3, 2013
9b7d71d
ZedBoard: Add restart functions to support reboot
Jan 3, 2013
5265e25
ARM: Makefile: Temporary Fix for an error when using Make 3.82
Jan 3, 2013
220a757
net: xilinx_emacps: Obtain MAC Address from Device Tree if available
Jan 16, 2013
06b3889
net: xilinx_emacps: Fixed accessing NULL pointer error when local-mac…
Jan 16, 2013
e4b6c45
Update spidev.c
chungerz Aug 25, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions Documentation/devicetree/bindings/dma/xilinx/axi-cdma.txt

This file was deleted.

28 changes: 0 additions & 28 deletions Documentation/devicetree/bindings/dma/xilinx/axi-dma.txt

This file was deleted.

28 changes: 0 additions & 28 deletions Documentation/devicetree/bindings/dma/xilinx/axi-vdma.txt

This file was deleted.

32 changes: 32 additions & 0 deletions Documentation/devicetree/bindings/gpio/gpio_i2c.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Device-Tree bindings for i2c gpio driver

Required properties:
- compatible = "i2c-gpio";
- gpios: sda and scl gpio


Optional properties:
- i2c-gpio,sda-open-drain: sda as open drain
- i2c-gpio,scl-open-drain: scl as open drain
- i2c-gpio,scl-output-only: scl as output only
- i2c-gpio,delay-us: delay between GPIO operations (may depend on each platform)
- i2c-gpio,timeout-ms: timeout to get data

Example nodes:

i2c@0 {
compatible = "i2c-gpio";
gpios = <&pioA 23 0 /* sda */
&pioA 24 0 /* scl */
>;
i2c-gpio,sda-open-drain;
i2c-gpio,scl-open-drain;
i2c-gpio,delay-us = <2>; /* ~100 kHz */
#address-cells = <1>;
#size-cells = <0>;

rv3029c2@56 {
compatible = "rv3029c2";
reg = <0x56>;
};
};
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/i2c/xiic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Xilinx IIC controller:

Required properties:
- compatible : Must be "xlnx,xps-iic-2.00.a"
- reg : IIC register location and length
- interrupts : IIC controller unterrupt
- reg : IIC Register location and length
- interrupts : IIC controller interrupt
- #address-cells = <1>
- #size-cells = <0>

Expand Down
99 changes: 99 additions & 0 deletions Documentation/pmods/pmodad1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
PmodAD1
========

Copyright 2012, Digilent Inc.


Description
-----------

The Analog to Digital Module Converter Board converts signals at a
maximum sampling rate of one million samples per second.

The Digilent PmodAD1 relies on two Analog Devices AD7476, thus implementing two
simultaneous A/D conversion channels, each with an 12-bit converter.

The AD1 converts an analog input signal ranging from 0-3.3 volts to a 12-bit
digital value in the range 0 to 4095 (0x0FFF).

This Linux driver is based on SPI. Because SPI can not read on Data Out line of
SPI, only the channel corresponding to the second AD7476 can be accessed using
this driver (the channel corresponding to P3, P4 pins of J2 connector of PmodAD1).

The driver is implemented as a character driver. The basic action of the driver is
read, when 12 bits data is read over SPI.

The Reference Manual for PmodAD1 display is available online at
Digilent Inc. Website (www.digilentinc.com).


Interface
---------

Signal Description

SDOUT SPI Data In (MISO)
SCLK SPI Clock
SS Slave Select


Devicetree
----------

Required Properties:
- compatible : Should be "dlgnt,pmodad1"
- spi-bus-num : Should specify the bus number for PmodAD1 SPI controller.
This value cannot be shared by any other SPI controller present in the
device tree.
- spi-sclk-gpio : Should specify the GPIO for SCLK, see "gpios property" in
Documentation/devicetree/gpio.txt.
- spi-sdout-gpio : Should specify the GPIO for SDOUT, see "gpios property" in
Documentation/devicetree/gpio.txt.

Optional Properties:
- spi-cs-gpio : Should specify the GPIO for CS, see "gpios property" in
Documentation/devicetree/gpio.txt. If unspecified, CS is assumed to be
tied to ground.
- spi-speed-hz : Should specify the spi speed (in Hz). If unspecified, spi
speed is assumed to be 625000 (625 kHz).

Example:

pmodad1 {
compatible = "dglnt,pmodad1";
spi-bus-num = <0x5>;
spi-speed-hz = <1000000>;
spi-sclk-gpio = <0x8 85 0>;
spi-sdout-gpio = <0x8 84 0>;
spi-cs-gpio = <0x8 82 0>;
};

This example corresponds to PmodAD1 plugged into JA connector, pins 1-7.

Configuration
-------------

The PmodAD1 is located in the kernel configuration menu at
Device Drivers -> Pmods -> PmodAD1. The driver can be built into the kernel
by selecting (*) for it, or loadable module by selecting (M) for it.


Device Nodes
------------

A char device node will be created for each PmodAD1 device automatically.
The name of the node is default to the one declared in the device tree.

Reading from the device
-----------
The PmodAD1 is a "read only" device, read being its main action.
2 bytes of data are read over the spi, a mask is applied so that the 12 LSB
bits are used to fill the read buffer.

Example of commands
-----------

- Read (repeatedly) the device
hexdump -v -d /dev/pmodad1


Loading