-
Notifications
You must be signed in to change notification settings - Fork 841
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
ad5791 offload #2616
base: main
Are you sure you want to change the base?
ad5791 offload #2616
Commits on Oct 23, 2024
-
dt-bindings: adi,ad5791.yaml: Add support optional gpios
Depending on board layout, the ad57xx may need control of reset, clear, and ldac pins by the host driver. Add optional bindings for these gpios. Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for bcad791 - Browse repository at this point
Copy the full SHA bcad791View commit details -
iio: dac: ad5791: Include chip_info in device match tables
Include a chip info struct in device SPI and device OF match tables to provide channel definitions for each particular ADC model and eliminate device enum. Suggested-by: Nuno Sa <nuno.sa@analog.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for e92fabe - Browse repository at this point
Copy the full SHA e92fabeView commit details -
iio: dac: ad5791: Add reset, clr and ldac gpios
The ad7591 has reset, clr and ldac gpios. For the DAC to output data writen to the data register the state of these gpios has to be: RESET=1, CLR=1, LDAC=0 Add these gpios to the driver making them optional in case they are fixed on the pcb. Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for 2602f64 - Browse repository at this point
Copy the full SHA 2602f64View commit details -
iio: dac: ad5791: Use devm_regulator_get_enable_read_voltage
Simplify probe by using of the devm_regulator_get_enable_read_voltage. Suggested-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for 5c9afcd - Browse repository at this point
Copy the full SHA 5c9afcdView commit details -
iio: dac: ad5791: Use devm_iio_device_register
Use devm_iio_device_register to automatically free resources. Suggested-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for ac02938 - Browse repository at this point
Copy the full SHA ac02938View commit details -
arm: dts: socfpga: Remove reference to gpio-bank-width
This property is not defined on the binidngs, and is not used by the driver. Remove it Suggested-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for 52de110 - Browse repository at this point
Copy the full SHA 52de110View commit details -
arm: dts: de10_nano: Add bi-directional gpios
This adds the bi-directional gpio block to the d10 nano Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for bac3e06 - Browse repository at this point
Copy the full SHA bac3e06View commit details -
arm: dts: de10_nano: Add support for ad57xx.
Add devicetree for ad57xx on de10nano. Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for 86c20ff - Browse repository at this point
Copy the full SHA 86c20ffView commit details -
spi: axi-spi-engine-ex: Dont write buf to offload SDO on tx stream
To allow offload to stream a "tx" type of xfer we need the write flag set but no messages on the SDO memory of the offload engine. but the current code relies on the tx_buf pointer for both of these operations, so there is no way to separate the two. The offload patches currently on development for upstream add flags on core spi structures to flag an offload xfer as a streaming xfer. While those patches get review and are ready to backport to the adi tree, Workaround this limitation by checking if the tx_buf address is -1 to flag it as "streaming type". Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for ef456b2 - Browse repository at this point
Copy the full SHA ef456b2View commit details -
iio: dac: ad5791: Add offload support
Add spi offload support to stream tx buffers using dma. This allows loading samples to the dac with a rate of 1 MSPS. Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Configuration menu - View commit details
-
Copy full SHA for e9af1e7 - Browse repository at this point
Copy the full SHA e9af1e7View commit details