Home
last modified time | relevance | path

Searched +full:vdet +full:- +full:disable (Results 1 – 6 of 6) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/frequency/
H A 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>
21 - adi,adrf6780
26 spi-max-frequency:
34 clock-names:
36 - const: lo_in
38 clock-output-names:
41 adi,vga-buff-en:
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A Depson,rx8900.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: EPSON RX8900 / Microcrystal RV8803 Real-Time Clock
10 - Marek Vasut <marex@denx.de>
13 - $ref: rtc.yaml#
18 - epson,rx8804
19 - epson,rx8900
20 - microcrystal,rv8803
25 epson,vdet-disable:
[all …]
/linux/drivers/rtc/
H A Drtc-rc5t619.c1 // SPDX-License-Identifier: GPL-2.0+
3 * drivers/rtc/rtc-rc5t619.c
64 return bin2bcd(hour - 12) | HOUR_PMFLAG; in rtc5t619_12hour_bin2bcd()
72 /* disable function */ in rc5t619_rtc_periodic_disable()
73 err = regmap_update_bits(rtc->rn5t618->regmap, in rc5t619_rtc_periodic_disable()
79 err = regmap_update_bits(rtc->rn5t618->regmap, RN5T618_RTC_CTRL2, in rc5t619_rtc_periodic_disable()
95 err = regmap_read(rtc->rn5t618->regmap, RN5T618_RTC_CTRL2, &reg_data); in rc5t619_rtc_pon_setup()
99 /* clear VDET PON */ in rc5t619_rtc_pon_setup()
100 reg_data &= ~(CTRL2_PON | CTRL2_CTC | 0x4a); /* 0101-1011 */ in rc5t619_rtc_pon_setup()
101 reg_data |= 0x20; /* 0010-0000 */ in rc5t619_rtc_pon_setup()
[all …]
H A Drtc-rv8803.c1 // SPDX-License-Identifier: GPL-2.0
89 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_reg()
91 dev_err(&client->dev, "Unable to read register 0x%02x\n", reg); in rv8803_read_reg()
104 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_read_regs()
106 dev_err(&client->dev, in rv8803_read_regs()
108 reg, reg + count - 1); in rv8803_read_regs()
109 return ret < 0 ? ret : -EIO; in rv8803_read_regs()
122 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_reg()
124 dev_err(&client->dev, "Unable to write register 0x%02x\n", reg); in rv8803_write_reg()
138 while ((ret == -ENXIO || ret == -EIO) && --try); in rv8803_write_regs()
[all …]
H A Drtc-rs5c372.c1 // SPDX-License-Identifier: GPL-2.0-only
118 * - we're in the 21st century, so it's safe to ignore the century
120 * - we should use ALARM_A not ALARM_B (may be wrong on some boards)
135 struct i2c_client *client = rs5c->client; in rs5c_get_regs()
138 .addr = client->addr, in rs5c_get_regs()
140 .len = sizeof(rs5c->buf), in rs5c_get_regs()
141 .buf = rs5c->buf in rs5c_get_regs()
152 * The third method on the other hand doesn't work for the SMBus-only in rs5c_get_regs()
156 if (rs5c->smbus) { in rs5c_get_regs()
158 int size = sizeof(rs5c->buf) - 1; in rs5c_get_regs()
[all …]
/linux/drivers/iio/frequency/
H A Dadrf6780.c1 // SPDX-License-Identifier: GPL-2.0-only
97 st->data[0] = 0x80 | (reg << 1); in __adrf6780_spi_read()
98 st->data[1] = 0x0; in __adrf6780_spi_read()
99 st->data[2] = 0x0; in __adrf6780_spi_read()
101 t.rx_buf = &st->data[0]; in __adrf6780_spi_read()
102 t.tx_buf = &st->data[0]; in __adrf6780_spi_read()
105 ret = spi_sync_transfer(st->spi, &t, 1); in __adrf6780_spi_read()
109 *val = (get_unaligned_be24(&st->data[0]) >> 1) & GENMASK(15, 0); in __adrf6780_spi_read()
119 mutex_lock(&st->lock); in adrf6780_spi_read()
121 mutex_unlock(&st->lock); in adrf6780_spi_read()
[all …]