| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | epson,rx8900.txt | 2 - Epson RX8900 3 - Micro Crystal rv8803 6 - compatible: should be: "microcrystal,rv8803" or "epson,rx8900" 7 - reg : the I2C address of the device for I2C 10 - epson,vdet-disable : boolean, if present will disable voltage detector. 12 - trickle-diode-disable : boolean, if present will disable internal trickle 13 charger diode 20 epson,vdet-disable; 21 trickle-diode-disable;
|
| D | ti,bq32k.txt | 1 * TI BQ32000 I2C Serial Real-Time Clock 4 - compatible: Should contain "ti,bq32000". 5 - reg: I2C address for chip 8 - trickle-resistor-ohms : Selected resistor for trickle charger 10 Should be given if trickle charger should be enabled 11 - trickle-diode-disable : Do not use internal trickle charger diode 12 Should be given if internal trickle charger diode should be disabled 16 trickle-resistor-ohms = <1120>;
|
| D | dallas,ds1390.txt | 1 * Dallas DS1390 SPI Serial Real-Time Clock 4 - compatible: Should contain "dallas,ds1390". 5 - reg: SPI address for chip 8 - trickle-resistor-ohms : Selected resistor for trickle charger 10 Should be given if trickle charger should be enabled 11 - trickle-diode-disable : Do not use internal trickle charger diode 12 Should be given if internal trickle charger diode should be disabled 16 trickle-resistor-ohms = <250>;
|
| D | rtc-ds1307.txt | 4 - compatible: should be one of: 23 - reg: I2C bus address of the device 26 - interrupts: rtc alarm interrupt. 27 - clock-output-names: From common clock binding to override the default output 29 - wakeup-source: Enables wake up of host system on alarm 30 - trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only 31 Selected resistor for trickle charger 33 Should be given if trickle charger should be enabled 34 - aux-voltage-chargeable: ds1339, ds1340, ds1388 and rx8130 only 40 - trickle-diode-disable : ds1339, ds1340 and ds1388 only [all …]
|
| D | rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 18 pattern: "^rtc(@.*|-[0-9a-f])*$" 20 aux-voltage-chargeable: 29 quartz-load-femtofarads: 32 The capacitive load of the quartz(x-tal), expressed in femto 36 start-year: 42 trickle-diode-disable: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/ |
| D | dallas,ds1390.txt | 1 * Dallas DS1390 SPI Serial Real-Time Clock 4 - compatible: Should contain "dallas,ds1390". 5 - reg: SPI address for chip 8 - trickle-resistor-ohms : Selected resistor for trickle charger 10 Should be given if trickle charger should be enabled 11 - trickle-diode-disable : Do not use internal trickle charger diode 12 Should be given if internal trickle charger diode should be disabled 16 trickle-resistor-ohms = <250>;
|
| D | rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 18 pattern: "^rtc(@.*|-([0-9]|[1-9][0-9]+))?$" 20 aux-voltage-chargeable: 29 quartz-load-femtofarads: 31 The capacitive load of the quartz(x-tal), expressed in femto 35 start-year: 41 trickle-diode-disable: [all …]
|
| D | rtc-ds1307.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/rtc-ds1307.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 15 - enum: 16 - dallas,ds1307 17 - dallas,ds1308 18 - dallas,ds1337 19 - dallas,ds1338 [all …]
|
| D | epson,rx8900.yaml | 1 # 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 …]
|
| D | ti,bq32000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI BQ32000 I2C Serial Real-Time Clock 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 13 - $ref: rtc.yaml# 25 start-year: true 27 trickle-resistor-ohms: 30 trickle-diode-disable: true 33 - compatible [all …]
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-bq32k.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 #define BQ32K_TCH2 0x08 /* Trickle charge enable */ 34 #define BQ32K_CFG2 0x09 /* Trickle charger control */ 35 #define BQ32K_TCFE BIT(6) /* Trickle charge FET bypass */ 58 .addr = client->addr, in bq32k_read() 63 .addr = client->addr, in bq32k_read() 70 if (i2c_transfer(client->adapter, msgs, 2) == 2) in bq32k_read() 73 return -EIO; in bq32k_read() 87 return -EIO; in bq32k_write() 104 return -EINVAL; in bq32k_rtc_read_time() [all …]
|
| D | rtc-sunplus.c | 1 // SPDX-License-Identifier: GPL-2.0 69 *secs = (unsigned long)readl(sp_rtc->reg_base + RTC_TIMER_OUT); in sp_get_seconds() 76 writel((u32)secs, sp_rtc->reg_base + RTC_TIMER_SET); in sp_set_seconds() 105 alarm_time = rtc_tm_to_time64(&alrm->time); in sp_rtc_set_alarm() 107 writel((u32)alarm_time, sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_set_alarm() 117 alarm_time = readl(sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_read_alarm() 121 alrm->enabled = 0; in sp_rtc_read_alarm() 123 alrm->enabled = 1; in sp_rtc_read_alarm() 125 rtc_time64_to_tm((unsigned long)(alarm_time), &alrm->time); in sp_rtc_read_alarm() 139 sp_rtc->reg_base + RTC_CTRL); in sp_rtc_alarm_irq_enable() [all …]
|
| D | rtc-ds1390.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1390.c -- driver for the Dallas/Maxim DS1390/93/94 SPI RTC 10 * (alarms, trickle charger, different control registers) are unavailable. 74 return -EINVAL; in ds1390_get_reg() 77 chip->txrx_buf[0] = address & 0x7f; in ds1390_get_reg() 79 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg() 83 *data = chip->txrx_buf[0]; in ds1390_get_reg() 93 if (of_property_read_u32(spi->dev.of_node, "trickle-resistor-ohms", in ds1390_trickle_of_init() 99 if (of_property_read_bool(spi->dev.of_node, "trickle-diode-disable")) in ds1390_trickle_of_init() 116 dev_warn(&spi->dev, in ds1390_trickle_of_init() [all …]
|
| D | rtc-ds1307.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. 23 #include <linux/hwmon-sysfs.h> 24 #include <linux/clk-provider.h> 29 * We can't determine type by probing, but if we expect pre-Linux code 31 * setting the date and time), Linux can ignore the non-clock features. 56 #define DS1307_REG_SECS 0x00 /* 00-59 */ 60 #define DS1307_REG_MIN 0x01 /* 00-59 */ 62 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ 67 #define DS1307_REG_WDAY 0x03 /* 01-07 */ [all …]
|
| D | rtc-abx80x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright 2014-2015 Macq S.A. 135 dev_err(&client->dev, "Unable to write configuration key\n"); in abx80x_write_config_key() 136 return -EIO; in abx80x_write_config_key() 148 dev_err(&client->dev, in abx80x_is_rc_mode() 162 * Write the configuration key register to enable access to the Trickle in abx80x_enable_trickle_charger() 166 return -EIO; in abx80x_enable_trickle_charger() 172 dev_err(&client->dev, "Unable to write trickle register\n"); in abx80x_enable_trickle_charger() 173 return -EIO; in abx80x_enable_trickle_charger() 197 return -EINVAL; in abx80x_rtc_read_time() [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-bq32k.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #define BQ32K_TCH2 0x08 /* Trickle charge enable */ 33 #define BQ32K_CFG2 0x09 /* Trickle charger control */ 34 #define BQ32K_TCFE BIT(6) /* Trickle charge FET bypass */ 57 .addr = client->addr, in bq32k_read() 62 .addr = client->addr, in bq32k_read() 69 if (i2c_transfer(client->adapter, msgs, 2) == 2) in bq32k_read() 72 return -EIO; in bq32k_read() 86 return -EIO; in bq32k_write() 103 return -EINVAL; in bq32k_rtc_read_time() [all …]
|
| D | rtc-ds1390.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1390.c -- driver for the Dallas/Maxim DS1390/93/94 SPI RTC 10 * (alarms, trickle charger, different control registers) are unavailable. 74 return -EINVAL; in ds1390_get_reg() 77 chip->txrx_buf[0] = address & 0x7f; in ds1390_get_reg() 79 status = spi_write_then_read(spi, chip->txrx_buf, 1, chip->txrx_buf, 1); in ds1390_get_reg() 83 *data = chip->txrx_buf[0]; in ds1390_get_reg() 93 if (of_property_read_u32(spi->dev.of_node, "trickle-resistor-ohms", in ds1390_trickle_of_init() 99 if (of_property_read_bool(spi->dev.of_node, "trickle-diode-disable")) in ds1390_trickle_of_init() 116 dev_warn(&spi->dev, in ds1390_trickle_of_init() [all …]
|
| D | rtc-abx80x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright 2014-2015 Macq S.A. 126 dev_err(&client->dev, in abx80x_is_rc_mode() 140 * Write the configuration key register to enable access to the Trickle in abx80x_enable_trickle_charger() 146 dev_err(&client->dev, "Unable to write configuration key\n"); in abx80x_enable_trickle_charger() 147 return -EIO; in abx80x_enable_trickle_charger() 154 dev_err(&client->dev, "Unable to write trickle register\n"); in abx80x_enable_trickle_charger() 155 return -EIO; in abx80x_enable_trickle_charger() 179 return -EINVAL; in abx80x_rtc_read_time() 186 dev_err(&client->dev, "Unable to read date\n"); in abx80x_rtc_read_time() [all …]
|
| D | rtc-ds1307.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. 22 #include <linux/hwmon-sysfs.h> 23 #include <linux/clk-provider.h> 28 * We can't determine type by probing, but if we expect pre-Linux code 30 * setting the date and time), Linux can ignore the non-clock features. 54 #define DS1307_REG_SECS 0x00 /* 00-59 */ 58 #define DS1307_REG_MIN 0x01 /* 00-59 */ 60 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ 65 #define DS1307_REG_WDAY 0x03 /* 01-07 */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx53-tx53.dtsi | 2 * Copyright 2012-2017 <LW@KARO-electronics.de> 3 * based on imx53-qsb.dts 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/gpio/gpio.h> 49 model = "Ka-Ro electronics TX53 module"; 62 reg-can-xcvr = ®_can_xcvr; 69 clock-frequency = <0>; 73 mclk: clock-mclk { 74 compatible = "fixed-clock"; 75 #clock-cells = <0>; [all …]
|
| D | imx6qdl-tx6.dtsi | 2 * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 42 #include <dt-bindings/gpio/gpio.h> 43 #include <dt-bindings/input/input.h> 44 #include <dt-bindings/interrupt-controller/irq.h> 45 #include <dt-bindings/pwm/pwm.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 53 lcdif-23bit-pins-a = &pinctrl_disp0_1; 54 lcdif-24bit-pins-a = &pinctrl_disp0_2; 57 reg-can-xcvr = ®_can_xcvr; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx53-tx53.dtsi | 2 * Copyright 2012-2017 <LW@KARO-electronics.de> 3 * based on imx53-qsb.dts 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/gpio/gpio.h> 49 model = "Ka-Ro electronics TX53 module"; 62 reg-can-xcvr = ®_can_xcvr; 69 clock-frequency = <0>; 73 mclk: clock-mclk { 74 compatible = "fixed-clock"; 75 #clock-cells = <0>; [all …]
|
| D | imx6qdl-tx6.dtsi | 2 * Copyright 2014-2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 42 #include <dt-bindings/gpio/gpio.h> 43 #include <dt-bindings/input/input.h> 44 #include <dt-bindings/interrupt-controller/irq.h> 45 #include <dt-bindings/pwm/pwm.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 53 lcdif-23bit-pins-a = &pinctrl_disp0_1; 54 lcdif-24bit-pins-a = &pinctrl_disp0_2; 57 reg-can-xcvr = ®_can_xcvr; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-kontron-osm-s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/interrupt-controller/irq.h> 10 model = "Kontron OSM-S i.MX8MM (N802X SOM)"; 11 compatible = "kontron,imx8mm-osm-s", "fsl,imx8mm"; 29 stdout-path = &uart3; 34 cpu-supply = <®_vdd_arm>; 38 cpu-supply = <®_vdd_arm>; 42 cpu-supply = <®_vdd_arm>; 46 cpu-supply = <®_vdd_arm>; 50 operating-points-v2 = <&ddrc_opp_table>; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/mxs/ |
| D | imx28-tx28.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 model = "Ka-Ro electronics TX28 module"; 34 reg = <0x40000000 0>; /* will be filled in by U-Boot */ 38 compatible = "w1-gpio"; 43 reg_usb0_vbus: regulator-usb0-vbus { 44 compatible = "regulator-fixed"; [all …]
|