Searched +full:max1240 +full:- +full:max1241 (Results 1 – 2 of 2) sorted by relevance
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | maxim,max1241.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/iio/adc/maxim,max1241.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Maxim MAX1241 12-bit, single-channel analog to digital converter 11 - Alexandru Lazar <alazar@startmail.com> 14 Bindings for the max1241 12-bit, single-channel ADC device. Datasheet 16 https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf 21 - maxim,max1241 26 vdd-supply: [all …]
|
/linux/drivers/iio/adc/ |
H A D | max1241.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MAX1241 low-power, 12-bit serial ADC 5 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1240-MAX1241.pdf 19 max1241, enumerator 22 struct max1241 { struct 41 static int max1241_read(struct max1241 *adc) in max1241_read() argument 57 .rx_buf = &adc->data, in max1241_read() 62 return spi_sync_transfer(adc->spi, xfers, ARRAY_SIZE(xfers)); in max1241_read() 70 struct max1241 *adc = iio_priv(indio_dev); in max1241_read_raw() 74 mutex_lock(&adc->lock); in max1241_read_raw() [all …]
|