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 linux kernel according to plutosdr #2

Open
wants to merge 409 commits into
base: antsdr
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
409 commits
Select commit Hold shift + click to select a range
eacf159
Documentation: bindings: adi,iio-fakedev.yaml: Add Documentation
mhennerich Feb 7, 2022
1e6cded
iio: adc: ad9081: Update API to Version 1.2.2
mhennerich Feb 8, 2022
3e822d9
iio: jesd204: axi_adxcvr: Option to delay jesd204_fsm_start()
mhennerich Feb 9, 2022
23c862f
iio: adc: ad9371: jesd204-fsm enable framers in clk_enable state
mhennerich Feb 14, 2022
924781b
iio: adc: ad9371: On remove tear down the jesd204-fsm
mhennerich Feb 14, 2022
fb6539f
iio: adc: ad9208: Support for logical lane mapping via devicetree
mhennerich Feb 14, 2022
479d985
iio: adc: ad9208: On remove tear down the jesd204-fsm
mhennerich Feb 14, 2022
7d9bd62
dts: zynqmp-zcu102-rev10-ad9082-204c-txmode22-rxmode23-sc1: SC1 example
mhennerich Feb 14, 2022
eafba17
drivers/iio/adc/ad9467: AD9250 Update fmcjesdadc1 based on hdl update
hotoleanudan Aug 10, 2021
962ab3a
hwmon: (adt7x10) Make adt7x10_remove() return void
Oct 11, 2021
3cfcd08
hwmon: (adt7x10) Convert to use regmap
groeck Dec 23, 2021
4ff6945
hwmon: (adt7x10) Add device managed action for restoring config
Demon000 Dec 21, 2021
4011ba5
hwmon: (adt7x10) Use devm_hwmon_device_register_with_info
Demon000 Dec 21, 2021
552a284
hwmon: (adt7x10) Use devm_request_threaded_irq
Demon000 Dec 21, 2021
6231a22
hwmon: (adt7x10) Remove empty driver removal callback
Demon000 Dec 21, 2021
68fa056
hwmon: (adt7x10) Use hwmon_notify_event
Demon000 Dec 21, 2021
8aed647
dts: vcu118_ad9082_204c_txmode_18_rxmode_19_lr_24_75Gbps: New use case
mhennerich Feb 16, 2022
11ae9fa
iio: jesd204: xilinx_transceiver: Fix PROGDIV for gty4
mhennerich Feb 18, 2022
005ab9a
iio: core: Introduce IIO_VAL_INT_64.
mhennerich Feb 18, 2022
e655ce5
iio: adc: ad9081: Use scaled clocks to support sample rates > 4.29GHz
mhennerich Feb 18, 2022
ef012d7
iio: adc: ad9081: Full bandwidth/bypass mode support
mhennerich Feb 21, 2022
dced6c9
iio: adc: cf_axi_adc_core: Support for 64-bit IIO_CHAN_INFO_SAMP_FREQ
mhennerich Feb 21, 2022
ae2c9ca
iio: frequency: cf_axi_dds.c: Support for 64-bit IIO_CHAN_INFO_SAMP_FREQ
mhennerich Feb 21, 2022
8e59ec4
iio: frequency: cf_axi_dds: New real variant of adi,axi-ad9081-tx-1.0
mhennerich Feb 21, 2022
12a4e47
iio: adc: cf_axi_adc_core: Fix NULL pointer dereference in axiadc_rea…
mhennerich Feb 21, 2022
b613d58
bindings: clock: ad9545: document use of zero delay
tachicialex Dec 22, 2021
e51ed89
clk: clk-conf: allow user to setup an n-shot from DT
tachicialex Jan 6, 2022
2d34810
blindings: clock: ad9545: document use of slew rate
tachicialex Jan 20, 2022
64af96d
clk: ad9545: add zero delay support
tachicialex Jan 20, 2022
486440c
iio: hmc7044: add n-shot trigger
tachicialex Jan 6, 2022
7380901
clk: ad9545: fix output current selection
tachicialex Jan 13, 2022
39c5ee2
clk: ad9545: Fix validation timer write
tachicialex Jan 18, 2022
fe8b7e5
clk: ad9545: Fix free run rate recalc
tachicialex Jan 20, 2022
c631a3c
iio: addac: ad74413r: use ngpio size when iterating over mask
Demon000 Dec 27, 2021
3cc1d29
iio: addac: ad74413r: correct comparator gpio getters mask usage
Demon000 Dec 27, 2021
0bf96a0
iio: addac: ad74413r: for_each_set_bit_from -> for_each_set_bit
Demon000 Dec 27, 2021
a726a76
iio: addac: ad74413r: Do not reference negative array offsets
kees Jan 12, 2022
7db9327
iio: beamformer: adar1000: Fix detector_en value
cristiantpop Feb 23, 2022
2e5ee7a
iio: beamformer: adar1000: Fix 'phase' out of range setting
cristiantpop Feb 23, 2022
a202372
arch:arm:boot:dts:adrv9002: update TX DMA interrupt
adrimbarean Feb 17, 2022
ec03c55
iio: adc: ad9081: Only WARN in case SPI ID doesn't match chip ID
mhennerich Feb 23, 2022
12fa83a
arch: arm64: dts: stingray: Add ZUD1A-BREAKOUT eval board EEPROM
cristiantpop Feb 25, 2022
fe8965d
io: adrv9002: Update API to 48.49.2
nunojsa Feb 25, 2022
1f41d38
firmware: Update firmware for adrv9002
nunojsa Feb 25, 2022
cca38a9
iio: adrv9002: api: fix -Wframe-larger-than= for arm builds
nunojsa Dec 23, 2021
c63838a
iio: adrv9002: api: fix mixed code declarations warnings
nunojsa Dec 23, 2021
626c9ad
iio: adrv9002: api: add api to get gpio direction
nunojsa Aug 17, 2021
7eb17ec
iio: adrv9002: adapt to the new API
nunojsa Mar 1, 2022
fd25ba0
iio: adc: ad9371: Additional calibrations for LO change procedure
mhennerich Mar 3, 2022
b7323b3
units: Add SI metric prefix definitions
andy-shev Jul 12, 2021
1355730
dt:bindings:iio:frequency: Add ADMV4420 doc
cristiantpop Nov 9, 2021
1212634
iio:frequency:admv4420.c: Add support for ADMV4420
cristiantpop Oct 14, 2021
f89fba9
arch: arm64: dts: adi-adar3002-longs-peak.dts: Configure ADMV4420
cristiantpop Mar 4, 2022
cb17ac1
firmware: add adrv9002 compensated gain table
nunojsa Mar 4, 2022
add8026
iio: adrv9002: support RX compensated gain tables
nunojsa Mar 4, 2022
4afa964
arch: arm{64}: config: add adrv9002 compensated gain table
nunojsa Mar 4, 2022
a728e57
iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
Demon000 Jan 12, 2022
1c10876
iio: adc: ad9371: Fix profile loading for clkPllVcoDiv=1.5
mhennerich Mar 4, 2022
7dadb2e
uio: uio_dmem_genirq: Fix NULL pointer deference
dbogdan Mar 7, 2022
8dfb0f0
dts: zynqmp-zcu102-rev10-ad9082..dual-multi-top.dts: Remove nodes
mhennerich Mar 9, 2022
1d76748
dts: zynqmp-zcu102-rev10-ad9082...dual-multi-top.dts: Add FSM STOP st…
mhennerich Mar 9, 2022
554beb7
jesd204: jesd204_top_device: Add jesd204-fsm user controls
mhennerich Mar 9, 2022
388a067
ci: detach xcomm_zynq merge from syncing other branches
nunojsa Mar 10, 2022
390f30d
ci: remove $method variable from sync_jobs
nunojsa Mar 10, 2022
55859f1
ci: improve sync_branches_with_main handling
nunojsa Mar 11, 2022
13b0103
ci: install dependencies for 'build_checkpatch()'
nunojsa Mar 11, 2022
492deaa
iio: adrv9002: make use of 'device_create_bin_file()'
nunojsa Mar 11, 2022
c6565ba
arch:arm:dts:fmcadc2: remove extra i2c node
amiclaus Mar 15, 2022
480f507
arch:arm:dts:ad6676: remove extra i2c node
amiclaus Mar 15, 2022
0ca6842
arch:arm:dts:fmclidar1: update slave address
amiclaus Mar 15, 2022
c4bd94f
iio: introduce mag_referenced
Demon000 Feb 14, 2022
3628336
iio: ABI: document mag_referenced
Demon000 Feb 14, 2022
b411902
iio: ABI: add note about configuring other attributes during buffer c…
Demon000 Feb 14, 2022
ecb3e77
dt-bindings: iio: accel: add ADXL367
Demon000 Feb 14, 2022
da39838
iio: accel: add ADXL367 driver
Demon000 Feb 14, 2022
3fece4e
iio: accel: adxl367: unlock on error in adxl367_buffer_predisable()
Feb 24, 2022
412cd3a
iio: accel: adxl367: Fix handled initialization in adxl367_irq_handler()
nathanchance Feb 24, 2022
3f43cd0
Kconfig.adi: select ADXL367 SPI & I2C
Demon000 Nov 8, 2021
353a7ef
iio: frequency: hmc7044: REG_CH_OUT_CRTL_0 always set reserved bit4
mhennerich Mar 17, 2022
10ff1ca
dts: hmc7044: Remove adi,control0-rb4-enable;
mhennerich Mar 17, 2022
73ec379
CI: sync master with rpi-5.10.y
Mar 15, 2022
0760fe9
CI: change artifacts structure
Mar 17, 2022
6a3acca
CI:fix rpi build conditions
Mar 18, 2022
7c88c94
CI:add echo to check builds
Mar 21, 2022
715d9b9
iio: jesd204: axi_jesd204_[rx|tx]: Use devm_clk_get_optional()
dbogdan Mar 21, 2022
a1dc4f0
iio: jesd204: axi_adxcvr: Use devm_clk_get_optional() for conv2
dbogdan Mar 21, 2022
2aa7ac1
arch: arm64: dts: stingray: Move adf4371 to axi_spi_fmc
dbogdan Mar 22, 2022
8ec0a61
arch: arm64: dts: stingray: Set HMC7044 EXT_REF to 100 MHz
dbogdan Mar 23, 2022
e929a78
arch: arm64: dts: stingray: Enable autorevertive reference switching
dbogdan Mar 23, 2022
0c7b219
arch: arm64: dts: stingray: Enable direct clocking
dbogdan Mar 24, 2022
fc176b2
arch: arm: socfpga_adi_defconfig: Enable DEBUG_FS
dbogdan Mar 24, 2022
40a36cc
arch: arm: dts: zed-adv7511 add eeprom label
amiclaus Mar 24, 2022
407d8ff
arch: arm: dts: zynq-zed-adv7511: disable EEPROM
amiclaus Mar 24, 2022
e5c5573
arch: dts: zynq-zed-adv7511-cn0363: disable EEPROM
amiclaus Mar 24, 2022
ee23e63
arch: arm64: dts: stingray: Make vcxo100/122.88 distinction
dbogdan Mar 24, 2022
367e584
iio: adc: ad9208: Fix ad9695
LIacob106 Mar 24, 2022
4f111ab
arch: arm64: dts: add zynqmp-zcu102-rev10-ad9695 dts
LIacob106 Mar 18, 2022
2c7abe4
iio: frequency: ad9528: jesd204-fsm add clock synchronization state
mhennerich Mar 28, 2022
aebc512
iio: dac: add support for ltc2688
nunojsa Feb 25, 2022
0128931
iio: ABI: add ABI file for the LTC2688 DAC
nunojsa Feb 25, 2022
4c1dc23
dt-bindings: iio: Add ltc2688 documentation
nunojsa Feb 25, 2022
04d2cfe
iio: Kconfig.adi: select LTC2688
nunojsa Mar 29, 2022
f8fe269
iio: adc: ad9081: Fast Frequency Hopping support
mhennerich Mar 25, 2022
ec52962
dt-bindings: adi,ad9081.h: Add FFH GPIO defines
mhennerich Mar 28, 2022
c29263d
iio: adc: ad9081: Option to select the GPIO used for MS NCO sync
mhennerich Mar 28, 2022
328c4c7
arm64: dt: adi-ad9081-fmc-ebz: Prefer external reference if available
mhennerich Mar 28, 2022
e132f4d
arm64: dt: zynqmp-zcu102-rev10-ad9081-m8-l4-ffh: FFH test support
mhennerich Mar 28, 2022
70894fd
iio: adc: ad9081: Support for AD9177, AD9207 & AD9209 chip variants
mhennerich Mar 29, 2022
ac068fc
configs: zynq_xcomm_adv7511_defconfig: Enable NFS support
mhennerich Mar 30, 2022
cd6a84a
clk: clk-ad9545: make sure to remove the clk provider
nunojsa Mar 28, 2022
e9b73e6
clk: clk-ad9545: fix 'adi,fast-acq-trigger-mode' reading
nunojsa Mar 28, 2022
37efc90
clk: clk-ad9545: don't use child node's to identify the 'pll-clk' node
nunojsa Mar 28, 2022
9ba46c7
clk: clk-ad9545: properly release fwnode handles
nunojsa Mar 28, 2022
69eb47a
clk: clk-conf: properly release of nodes
nunojsa Mar 28, 2022
e6f48d8
jesd204: core: fix dts overlay handling
nunojsa Mar 28, 2022
de88d0e
iio: hmc7044: add error checking for 'devm_add_action_or_reset()'
nunojsa Mar 28, 2022
17d69f6
clk: clk-ad9545: handle first optional dt properties
nunojsa Mar 28, 2022
15e01ce
clk: clk-ad9545: get dpll profile properties in separate function
nunojsa Mar 28, 2022
479d8ff
clk: clk-ad9545: move to 'devm_of_clk_add_hw_provider()'
nunojsa Mar 31, 2022
db2008b
arch: arm: dts: Add zedboard with otg enabled
mike-bradley Mar 30, 2022
9e81976
iio:imu:adis16480: fix buffering for devices with no burst mode
nunojsa Jan 14, 2022
a9f2b2b
Add antsdr patches
bkerler Apr 3, 2022
72390de
arch: arm: socfpga_adi_defconfig: Extend Kuiper support
dbogdan Apr 5, 2022
c606fc0
arch: arm: zynq_xcomm_adv7511_defconfig: Extend Kuiper support
dbogdan Apr 5, 2022
492b6c7
arch: arm64: adi_zynqmp_defconfig: Extend Kuiper support
dbogdan Apr 5, 2022
a9d7a89
arch: arm64: adi_versal_defconfig: Extend Kuiper support
dbogdan Apr 5, 2022
f899bbd
Documentation: bindings: Add docs for AD978X
scuciurean Feb 11, 2022
abdceca
drivers: iio: adc: Add support for AD9783
scuciurean Feb 11, 2022
45c83c4
arch: arm: dts: Add devicetree for EVAL-AD9783
scuciurean Feb 11, 2022
111d05f
dt-bindings: iio: frequency: add ADF4377 doc
amiclaus Mar 7, 2022
0e25d1a
iio: frequency: add support for adf4377
amiclaus Mar 2, 2022
ebe8136
iio: frequency: adf4377: Add sysfs ABI doc
amiclaus Mar 28, 2022
976df57
drivers: iio: Kconfig.adi: add ADF4377
amiclaus Mar 28, 2022
bac8254
arch: arm: dts: add zed dts for eval adf4377
amiclaus Apr 6, 2022
12fec24
dts: vcu118_quad_ad9081_204b_txmode_5_rxmode_6: New M4, L2 8B10B mode
mhennerich Mar 24, 2022
bc60932
arch: arm: zynq_xcomm_adv7511_defconfig: Enable dt/FPGA overlay support
mike-bradley Apr 7, 2022
14bfb1d
arch: arm64: dts: change jesd subclass for zynqmp-zcu102-rev10-ad9695
LIacob106 Apr 7, 2022
de27a65
arm: configs: zynq_xcomm_adv7511_defconfig: Update using savedefconfig
mhennerich Apr 8, 2022
33310c8
iio: accel: Add driver support for ADXL313
lpstankus Sep 1, 2021
de84628
dt-bindings: iio: accel: Add binding documentation for ADXL313
lpstankus Sep 1, 2021
6b62b86
iio:accel:adxl313: Move exports into IIO_ADXL313 namespace
jic23 Jan 16, 2022
cd70001
ci: fix building inside docker
nunojsa Apr 20, 2022
9f35dd5
arch: arm: dts: zynq-coraz7s: add sysid support
sarpadi Apr 20, 2022
7a11ad8
net: phy: adin1100: Add ADIN1110 PHY_ID
tachicialex Aug 3, 2021
757a611
net: adi: adin1110: Add initial support
tachicialex Aug 3, 2021
a6d26bf
dt-bindings: net: adin1110: Add docs
tachicialex Aug 27, 2021
b269ff5
Kconfig.adi: select ADIN1110 for build
tachicialex Aug 30, 2021
4279e90
arch: arm64: dts: zcu102-fmcomms8: add sysid support
sarpadi Apr 21, 2022
597a3d8
iio: adc: ad9081: Move sync pin configuration after setup_[rx|tx]
mhennerich Apr 13, 2022
637809a
iio: adc: ad9081: Add attribute to control RX FFH GPIO mode
mhennerich Apr 13, 2022
a8f4e19
iio: adc: ad9081: GPIO_X resource sharing between NCO sync and DAC FFH
mhennerich Apr 13, 2022
a68201f
dts: vcu118_quad_ad9081.dtsi: Let the driver control GPIO_0 HDL mux mode
mhennerich Apr 13, 2022
d51a056
dts/vcu118_quad_ad9081_204b_txmode_9_rxmode_10: Add Rx/Tx FFH support
mhennerich Apr 13, 2022
c7dc7dd
dts: zynqmp-zcu102-rev10-ad9081-m8-l4-ffh: Use gpio-muxes for FFH
mhennerich Apr 13, 2022
86b17f4
iio: adc: ad9361: Fix type for split_gain_table_abs_gain
mhennerich Apr 13, 2022
5236801
microblaze: configs: adi_mb_defconfig: Add IIO generic MUX support
mhennerich Apr 14, 2022
de1ad2e
iio: multiplexer: iio-gen-mux: Fix potential NULL pointer access
mhennerich Apr 14, 2022
10ef59d
ci: fix build inside docker
nunojsa Apr 25, 2022
cc66b4c
dts: zynqmp-zcu102-rev10-ad9082-204c-txmode22-rxmode23-dual: Remove node
mhennerich Apr 27, 2022
515aeaa
jesd204: jesd204-fsm: Fix paused/resume notice messages
mhennerich Apr 27, 2022
f458c9b
iio: jesd204: axi_jesd204_[rx|tx].c: Fix uninit for optional clocks
mhennerich Apr 27, 2022
6e39082
jesd204: jesd204-fsm: FSM messages include topology_id
mhennerich Apr 27, 2022
7beeea5
iio/jesd204/axi_jesd204_[rx|tx]: link running increase retry count
mhennerich Apr 27, 2022
54af027
firmware: Talise[TDD|Rx|Tx]ArmFirmware: Update to ARM Revision: 6.2.1
mhennerich Apr 28, 2022
881a6c2
iio: adc: talise: Update to Talise API version: 3.6.2.1
mhennerich Feb 11, 2022
9c3b12b
clk: ad9545: fix zero delay property
tachicialex May 3, 2022
20f84b2
bindings: clock: ad9545: fix zero delay property
tachicialex May 3, 2022
2357ab1
arch: arm: sockit_arradio: Remove vip-frame-reader
ladace May 4, 2022
ac4b28d
iio: beamformer: adar1000: Make gain write/read consistent
dbogdan Apr 27, 2022
c1cd6d0
microblaze: configs: adi_mb_defconfig: Add IPv6 support and sync options
mhennerich May 6, 2022
e16055a
net: ethernet: adi: adin1110: Fix TX space read
tachicialex May 5, 2022
52b153b
net: phy: adin1100: Add ADIN2111 PHY_ID
tachicialex May 9, 2022
8922e5b
net: ethernet: adi: adin1110: Fix mutex unlock path
tachicialex May 9, 2022
b5c3408
net: ethernet: adi: adin1110: Add adin2111 support
tachicialex May 9, 2022
2c81a28
dt-bindings: net: adin2111: Add docs
tachicialex Apr 28, 2022
4d60f79
iio: frequency: ad9528: jesd204-fsm ignore SYSREF rate issues in SC0
mhennerich May 12, 2022
df88660
iio: frequency: adf4371: Support for RFAUX8 VCO output mux
mhennerich May 12, 2022
feaf2a1
dts: xilinx/adi-ad9083-vna: Updates for board Rev.B
mhennerich May 12, 2022
828b7ea
net: ethernet: adi: adin1110: Fix MAC address masking
tachicialex May 12, 2022
af49aac
net: ethernet: adi: adin1110: Fix forwarding
tachicialex May 12, 2022
ab25e5b
Merge branch 'analogdevicesinc:master' into antsdr
bkerler May 14, 2022
24651e0
arch: arm64: dts: zcu102-cn0506: add sysid support
sarpadi May 16, 2022
45bc996
arch: arm: dts: zynq-zed-otg.dts Add fpga-axi dt node
ssmith-adi May 18, 2022
c7f4651
net: ethernet: adi: adin1110: Add unicast ability flag
tachicialex May 18, 2022
a2bee61
net: adi: adin1110: Set frames as forwarded
tachicialex May 24, 2022
27b6af8
net: adi: adin1110: Fix multicast filter
tachicialex May 23, 2022
eb61f82
arch: arm64: xmicrowave.dts: add labels
amiclaus May 24, 2022
2195c1f
arch: arm64: xmicrowave.dts: enable detector
amiclaus May 24, 2022
24b8d41
arch: arm: dts: add socfpga_arria10_socdk_adrv9002 dts
LIacob106 May 25, 2022
fa793cb
iio: frequency: adf4371: Fix Lock Detect bit reading
dbogdan May 27, 2022
7526063
CI:add z option to tar archive
Jun 3, 2022
f67948a
drivers: iio: ad9467: fix ad9649 scale handling
amiclaus Jun 6, 2022
9da9d86
CI:set 'exit 1' if timestamp folder is not found
Jun 8, 2022
19dc26b
drivers: iio: ad9467: fix ad9625 scale handling
amiclaus Jun 9, 2022
63218e3
zynqmp-zcu102-rev10-ad9082: fix HDL project tag
SRaus Jun 10, 2022
4147d32
iio: adrv9002: Update API to 67.1.1
nunojsa Jun 10, 2022
a6be8f8
firmware: Update firmware for adrv9002
nunojsa Jun 10, 2022
d93c61d
iio: adrv9002: api: fix stdlib includes and misc warnings
nunojsa Jun 10, 2022
a3e7c5f
iio: adrv9002: api: do no use floating points
nunojsa Jun 10, 2022
fe323bb
iio: adrv9002: api fix mixed code declarations warnings
nunojsa Jun 10, 2022
fe7afa4
iio: adc: adrv9009_conv.c: Remove unused adrv9009_hdl_loopback function
mhennerich Jun 14, 2022
3b57537
iio: adc: ad9371_conv.c: Remove unused ad9371_hdl_loopback function
mhennerich Jun 14, 2022
7fc0b99
iio: adc: adrv9009_conv: Remove DAC Core settings from the ADC TPL Core
mhennerich Jun 14, 2022
bd34ba3
iio: adc: ad9371_conv: Remove DAC Core settings from the ADC TPL Core
mhennerich Jun 14, 2022
bc14419
dts: ad9371: Fix JESD204 ADC/DAC TPL Core mappings
mhennerich Jun 14, 2022
5c9e395
dts: adrv9009/8: Fix JESD204 ADC/DAC TPL Core mappings
mhennerich Jun 14, 2022
d546169
iio: adc: ad9371_conv: Remove useless variable
mhennerich Jun 15, 2022
64bd432
arch: arm: boot: dts: rename SPI Engine AXI CLKGEN
adrimbarean Jun 16, 2022
8627bbc
drivers: iio: addac: one-bit-adc-dac: Fix read_label()
scuciurean Jun 21, 2022
57bcd7d
drivers: iio: addac: one-bit-adc-dac: Remove unused var
scuciurean Jun 21, 2022
d01347f
dts: vcu118_ad9081.dts: Drop redundant axi-dmac channel nodes
mhennerich Jun 27, 2022
c179ef2
dts: vcu118_ad9081.dts: Add axi-data-offload engine support
mhennerich Jun 27, 2022
84bf8b8
dts: vcu128_ad9081.dts: Fix axi-data-offload node names
mhennerich Jun 27, 2022
03abe91
dts: microblaze: vcu118_quad_ad908*: Fix typo ADRF4360 -> ADF4371
mhennerich Jun 27, 2022
a0a9fd1
dts: vcu118_quad_ad908*: Add HDL Synthesis Parameters comments
mhennerich Jun 27, 2022
4616900
microblaze: dts: adi-fmcjesdadc1.dtsi: Fix reg format warning
mhennerich Jun 27, 2022
7e0edca
microblaze: boot: dts: Remove redundant axi-dmac channel nodes
mhennerich Jun 27, 2022
2066208
arch: arm : boot: dts: set vcxo to 100 MHz
SRaus Jun 29, 2022
4a0de3c
iio: frequency: ad9528: Support for GPIO trigger SYSREF requests
mhennerich Jul 1, 2022
bb58245
iio: jesd204: xilinx_transceiver.c: Fix error handling
danmois Jul 1, 2022
c20fcbb
iio: adc: ad9081: API Version 1.3.0
mhennerich Jun 2, 2022
2e7fb61
iio: adc: ad9081: Updates for API v1.3.0
mhennerich Jul 1, 2022
5ec13a5
iio: adc: ad9081: Remove "adi_utils.h" include
dbogdan Jul 4, 2022
bed09d7
Revert "serial: max310x: rework RX interrupt handling"
shcgit Feb 17, 2021
32271b6
Revert "serial: max310x: pass return value of spi_register_driver"
gregkh May 3, 2021
b9e2e4a
serial: max310x: unregister uart driver in case of failure and abort
atul-g May 3, 2021
d55ce9f
serial: max310x: Make use of device properties
andy-shev Oct 7, 2020
cadb574
serial: max310x: use regmap methods for SPI batch operations
Demon000 May 11, 2022
b5bee70
serial: max310x: use a separate regmap for each port
Demon000 May 16, 2022
a133c9a
serial: max310x: make accessing revision id interface-agnostic
Demon000 May 11, 2022
de610d9
serial: max310x: implement I2C support
Demon000 May 11, 2022
3539755
iio: adc: talise: Fix corner case in reference clock handling
mhennerich Jul 8, 2022
eaf1fee
iio: adc: adrv9009: Provide InitCal status upon error
mhennerich Jul 8, 2022
6a679e3
arch: arm: boot: dts: Remove unused usb-phy
scuciurean Jun 15, 2022
5ae8640
drivers: usb: chipidea: Let the PHY set VBUS
scuciurean Jun 15, 2022
0859fbf
include: linux: pwm.h: Rename offset
scuciurean Apr 18, 2022
8d99e3b
drivers: pwm: axi-pwmgen: Rename offset
scuciurean Apr 18, 2022
2a1b16e
pwm: Convert period and duty cycle to u64
scuciurean Mar 22, 2022
53239d5
include: linux: pwm: Convert phase to u64
scuciurean Apr 18, 2022
a349b39
drivers: pwm: sysfs: Add phase sysfs
scuciurean Mar 22, 2022
d6dd33d
Documentation: pwm: Add phase documentation
scuciurean Apr 18, 2022
6dda68a
include: linux: pwm.h: Fix pwm_apply_args
scuciurean Apr 18, 2022
36b81df
drivers: pwm: core: Add PWM time unit
scuciurean Mar 22, 2022
469df66
Documentation: driver-api: pwm.rst: Add time_unit
scuciurean Apr 18, 2022
ed2e704
drivers: pwm: axi-pwmgen: Add time unit support
scuciurean Mar 22, 2022
595250e
Documentation: ABI: testing: pwm: Add time_unit
scuciurean Apr 18, 2022
3061864
drivers: pwm: axi-pwmgen: Add PWM ops
scuciurean Mar 22, 2022
ccc632e
iio: adc :ad9081: Dual link support for bist_prbs_error_counters_jrx
mhennerich Jul 14, 2022
d6f43b6
Merge branch 'analogdevicesinc:master' into antsdr
bkerler Jul 16, 2022
53a1800
Add rf switch control
bkerler Jul 19, 2022
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
Prev Previous commit
Next Next commit
serial: max310x: use regmap methods for SPI batch operations
The SPI batch read/write operations can be implemented as simple
regmap raw read and write, which will also try to do a gather
write just as it is done here.

Use the regmap raw read and write methods.

Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com>
  • Loading branch information
Demon000 authored and nunojsa committed Jul 6, 2022
commit cadb5747a7d9fbd5d4287911d9ad1e7bd96fc3fc
36 changes: 8 additions & 28 deletions drivers/tty/serial/max310x.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,6 @@ struct max310x_one {
struct work_struct md_work;
struct work_struct rs_work;

u8 wr_header;
u8 rd_header;
u8 rx_buf[MAX310X_FIFO_SIZE];
};
#define to_max310x_port(_port) \
Expand Down Expand Up @@ -623,32 +621,18 @@ static int max310x_set_ref_clk(struct device *dev, struct max310x_port *s,

static void max310x_batch_write(struct uart_port *port, u8 *txbuf, unsigned int len)
{
struct max310x_one *one = to_max310x_port(port);
struct spi_transfer xfer[] = {
{
.tx_buf = &one->wr_header,
.len = sizeof(one->wr_header),
}, {
.tx_buf = txbuf,
.len = len,
}
};
spi_sync_transfer(to_spi_device(port->dev), xfer, ARRAY_SIZE(xfer));
struct max310x_port *s = dev_get_drvdata(port->dev);
u8 reg = port->iobase + MAX310X_THR_REG;

regmap_raw_write(s->regmap, reg, txbuf, len);
}

static void max310x_batch_read(struct uart_port *port, u8 *rxbuf, unsigned int len)
{
struct max310x_one *one = to_max310x_port(port);
struct spi_transfer xfer[] = {
{
.tx_buf = &one->rd_header,
.len = sizeof(one->rd_header),
}, {
.rx_buf = rxbuf,
.len = len,
}
};
spi_sync_transfer(to_spi_device(port->dev), xfer, ARRAY_SIZE(xfer));
struct max310x_port *s = dev_get_drvdata(port->dev);
u8 reg = port->iobase + MAX310X_RHR_REG;

regmap_raw_read(s->regmap, reg, rxbuf, len);
}

static void max310x_handle_rx(struct uart_port *port, unsigned int rxlen)
Expand Down Expand Up @@ -1361,10 +1345,6 @@ static int max310x_probe(struct device *dev, const struct max310x_devtype *devty
INIT_WORK(&s->p[i].md_work, max310x_md_proc);
/* Initialize queue for changing RS485 mode */
INIT_WORK(&s->p[i].rs_work, max310x_rs_proc);
/* Initialize SPI-transfer buffers */
s->p[i].wr_header = (s->p[i].port.iobase + MAX310X_THR_REG) |
MAX310X_WRITE_BIT;
s->p[i].rd_header = (s->p[i].port.iobase + MAX310X_RHR_REG);

/* Register port */
ret = uart_add_one_port(&max310x_uart, &s->p[i].port);
Expand Down