Home
last modified time | relevance | path

Searched +full:vdet +full:- +full:out +full:- +full:en (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/iio/frequency/
Dadi,adrf6780.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Antoniu Miclaus <antoniu.miclaus@analog.com>
16 https://www.analog.com/en/products/adrf6780.html
21 - adi,adrf6780
26 spi-max-frequency:
34 clock-names:
36 - const: lo_in
38 clock-output-names:
[all …]
/Linux-v6.1/drivers/iio/frequency/
Dadrf6780.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/clk-provider.h>
98 st->data[0] = 0x80 | (reg << 1); in __adrf6780_spi_read()
99 st->data[1] = 0x0; in __adrf6780_spi_read()
100 st->data[2] = 0x0; in __adrf6780_spi_read()
102 t.rx_buf = &st->data[0]; in __adrf6780_spi_read()
103 t.tx_buf = &st->data[0]; in __adrf6780_spi_read()
106 ret = spi_sync_transfer(st->spi, &t, 1); in __adrf6780_spi_read()
110 *val = (get_unaligned_be24(&st->data[0]) >> 1) & GENMASK(15, 0); in __adrf6780_spi_read()
120 mutex_lock(&st->lock); in adrf6780_spi_read()
[all …]