| /linux/drivers/rtc/ | 
| H A D | rtc-snvs.c | 1 // SPDX-License-Identifier: GPL-2.0+3 // Copyright (C) 2011-2012 Freescale Semiconductor, Inc.
 12 #include <linux/rtc.h>
 35 /* The maximum RTC clock cycles that are allowed to pass between two
 37  * bigger difference is expected. The RTC frequency is 32kHz. With 320 cycles
 44 	struct rtc_device *rtc;  member
 56 	regmap_read(data->regmap, data->offset + SNVS_LPSRTCMR, &msb);  in rtc_read_lpsrt()
 57 	regmap_read(data->regmap, data->offset + SNVS_LPSRTCLR, &lsb);  in rtc_read_lpsrt()
 78 		diff = read1 - read2;  in rtc_read_lp_counter()
 79 	} while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout);  in rtc_read_lp_counter()
 [all …]
 
 | 
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.03 # Makefile for RTC class/drivers.
 6 ccflags-$(CONFIG_RTC_DEBUG)	:= -DDEBUG
 8 obj-$(CONFIG_RTC_LIB)		+= lib.o
 9 obj-$(CONFIG_RTC_CLASS)		+= rtc-core.o
 10 obj-$(CONFIG_RTC_MC146818_LIB)	+= rtc-mc146818-lib.o
 11 rtc-core-y			:= class.o interface.o
 13 rtc-core-$(CONFIG_RTC_NVMEM)		+= nvmem.o
 14 rtc-core-$(CONFIG_RTC_INTF_DEV)		+= dev.o
 15 rtc-core-$(CONFIG_RTC_INTF_PROC)	+= proc.o
 [all …]
 
 | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only3 # RTC class/drivers configuration
 19 	  Generic RTC class support. If you say yes here, you will
 26 	bool "Set system time from RTC on startup and resume"
 30 	  the value read from a specified RTC device. This is useful to avoid
 34 	string "RTC used to set the system time"
 38 	  The RTC device that will be used to (re)initialize the system
 44 	  This clock should be battery-backed, so that it reads the correct
 45 	  time when the system boots from a power-off state. Otherwise, your
 50 	  sleep states. Do not specify an RTC here unless it stays powered
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/nxp/imx/ | 
| H A D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause6 #include "imx6ull-dhcor-som.dtsi"
 10 		/delete-property/ spi2;
 11 		/delete-property/ spi3;
 28 		stdout-path = "serial0:115200n8";
 31 	reg_ext_3v3_ref: regulator-ext-3v3-ref {
 32 		compatible = "regulator-fixed";
 33 		regulator-always-on;
 34 		regulator-max-microvolt = <3300000>;
 35 		regulator-min-microvolt = <3300000>;
 [all …]
 
 | 
| H A D | imx7s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT6 #include <dt-bindings/clock/imx7d-clock.h>
 7 #include <dt-bindings/power/imx7-power.h>
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/input.h>
 10 #include <dt-bindings/interrupt-controller/arm-gic.h>
 11 #include <dt-bindings/reset/imx7-reset.h>
 12 #include "imx7d-pinfunc.h"
 15 	#address-cells = <1>;
 16 	#size-cells = <1>;
 [all …]
 
 | 
| H A D | imx6ull-jozacp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT7 /dts-v1/;
 9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/leds/common.h>
 18 		stdout-path = &uart1;
 22 	led-controller-1 {
 23 		compatible = "pwm-leds";
 25 		led-0 {
 28 			function-enumerator = <0>;
 30 			max-brightness = <255>;
 [all …]
 
 | 
| H A D | imx6qdl-skov-cpu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)5 #include <dt-bindings/gpio/gpio.h>
 6 #include <dt-bindings/leds/common.h>
 10 		stdout-path = &uart2;
 19 		mdio-gpio0 = &mdio;
 22 		rtc1 = &snvs;
 28 	iio-hwmon {
 29 		compatible = "iio-hwmon";
 30 		io-channels = <&adc 0>, /* 24V */
 35 		compatible = "gpio-leds";
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/freescale/ | 
| H A D | imx8mn.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 #include <dt-bindings/clock/imx8mn-clock.h>
 7 #include <dt-bindings/power/imx8mn-power.h>
 8 #include <dt-bindings/reset/imx8mq-reset.h>
 9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/interrupt-controller/arm-gic.h>
 12 #include <dt-bindings/thermal/thermal.h>
 14 #include "imx8mn-pinfunc.h"
 17 	interrupt-parent = <&gic>;
 [all …]
 
 | 
| H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+3  * Copyright 2018-2019 Purism SPC
 6 /dts-v1/;
 8 #include "dt-bindings/input/input.h"
 9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include "dt-bindings/pwm/pwm.h"
 12 #include "dt-bindings/usb/pd.h"
 17 	compatible = "purism,librem5-devkit", "fsl,imx8mq";
 19 	backlight_dsi: backlight-dsi {
 [all …]
 
 | 
| H A D | imx8mn-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)6 #include "imx8mn-overdrive.dtsi"
 10 		rtc0 = &rtc;
 16 		compatible = "mmc-pwrseq-simple";
 17 		pinctrl-names = "default";
 18 		pinctrl-0 = <&pinctrl_usdhc1_gpio>;
 19 		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
 21 		clock-names = "ext_clock";
 22 		post-power-on-delay-ms = <80>;
 32 	cpu-supply = <&buck2_reg>;
 [all …]
 
 | 
| H A D | imx8mm-beacon-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)6 #include "imx8mm-overdrive.dtsi"
 10 		rtc0 = &rtc;
 15 		compatible = "mmc-pwrseq-simple";
 16 		pinctrl-names = "default";
 17 		pinctrl-0 = <&pinctrl_usdhc1_gpio>;
 18 		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
 20 		clock-names = "ext_clock";
 21 		post-power-on-delay-ms = <80>;
 31 	cpu-supply = <&buck2_reg>;
 [all …]
 
 | 
| H A D | imx8mm-ucm-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)5 /dts-v1/;
 8 #include <dt-bindings/leds/common.h>
 18 		stdout-path = &uart3;
 22 		compatible = "pwm-backlight";
 24 		brightness-levels = <0 255>;
 25 		num-interpolated-steps = <255>;
 26 		default-brightness-level = <222>;
 31 		compatible = "gpio-leds";
 32 		pinctrl-names = "default";
 [all …]
 
 | 
| H A D | imx8mn-tqma8mqnl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)3  * Copyright 2020-2021 TQ-Systems GmbH
 9 	model = "TQ-Systems i.MX8MN TQMa8MxNL";
 10 	compatible = "tq,imx8mn-tqma8mqnl", "fsl,imx8mn";
 18 	/* e-MMC IO, needed for HS modes */
 19 	reg_vcc1v8: regulator-vcc1v8 {
 20 		compatible = "regulator-fixed";
 21 		regulator-name = "TQMA8MXNL_VCC1V8";
 22 		regulator-min-microvolt = <1800000>;
 23 		regulator-max-microvolt = <1800000>;
 [all …]
 
 | 
| H A D | imx8mm-tqma8mqml.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)3  * Copyright 2020-2021 TQ-Systems GmbH
 6 #include <dt-bindings/phy/phy-imx8-pcie.h>
 10 	model = "TQ-Systems GmbH i.MX8MM TQMa8MxML";
 11 	compatible = "tq,imx8mm-tqma8mqml", "fsl,imx8mm";
 19 	/* e-MMC IO, needed for HS modes */
 20 	reg_vcc1v8: regulator-vcc1v8 {
 21 		compatible = "regulator-fixed";
 22 		regulator-name = "TQMA8MXML_VCC1V8";
 23 		regulator-min-microvolt = <1800000>;
 [all …]
 
 | 
| H A D | imx8mm-data-modul-edm-sbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/net/qca-ar803x.h>
 9 #include <dt-bindings/phy/phy-imx8-pcie.h>
 14 	compatible = "dmo,imx8mm-data-modul-edm-sbc", "fsl,imx8mm";
 17 		rtc0 = &rtc;
 22 		stdout-path = &uart3;
 32 		compatible = "pwm-backlight";
 33 		pinctrl-names = "default";
 34 		pinctrl-0 = <&pinctrl_panel_backlight>;
 [all …]
 
 | 
| H A D | imx8mm-emcon.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)7 /dts-v1/;
 13 		stdout-path = &uart1;
 17 		compatible = "gpio-leds";
 18 		pinctrl-names = "default";
 19 		pinctrl-0 = <&pinctrl_gpio_led>;
 21 		led-green {
 24 			default-state = "on";
 25 			linux,default-trigger = "heartbeat";
 28 		led-red {
 [all …]
 
 | 
| H A D | imx8mq-librem5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+3  * Copyright 2018-2020 Purism SPC
 6 /dts-v1/;
 8 #include "dt-bindings/input/input.h"
 9 #include <dt-bindings/interrupt-controller/irq.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include "dt-bindings/pwm/pwm.h"
 12 #include "dt-bindings/usb/pd.h"
 18 	chassis-type = "handset";
 20 	backlight_dsi: backlight-dsi {
 [all …]
 
 | 
| H A D | imx8mm-venice-gw7904.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/linux-event-codes.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/phy/phy-imx8-pcie.h>
 17 	compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm";
 25 		stdout-path = &uart2;
 33 	gpio-keys {
 34 		compatible = "gpio-keys";
 [all …]
 
 | 
| H A D | imx8mm-venice-gw7903.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/linux-event-codes.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/phy/phy-imx8-pcie.h>
 17 	compatible = "gw,imx8mm-gw7903", "fsl,imx8mm";
 27 		stdout-path = &uart2;
 35 	gpio-keys {
 36 		compatible = "gpio-keys";
 [all …]
 
 | 
| H A D | imx8mn-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/linux-event-codes.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/net/ti-dp83867.h>
 17 	compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
 26 		stdout-path = &uart2;
 35 		compatible = "fixed-clock";
 36 		#clock-cells = <0>;
 [all …]
 
 | 
| H A D | imx8mm-venice-gw7901.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/linux-event-codes.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/phy/phy-imx8-pcie.h>
 17 	compatible = "gw,imx8mm-gw7901", "fsl,imx8mm";
 32 		stdout-path = &uart2;
 40 	gpio-keys {
 41 		compatible = "gpio-keys";
 [all …]
 
 | 
| H A D | imx8mm-venice-gw7902.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)6 /dts-v1/;
 8 #include <dt-bindings/gpio/gpio.h>
 9 #include <dt-bindings/input/linux-event-codes.h>
 10 #include <dt-bindings/leds/common.h>
 11 #include <dt-bindings/net/ti-dp83867.h>
 12 #include <dt-bindings/phy/phy-imx8-pcie.h>
 18 	compatible = "gw,imx8mm-gw7902", "fsl,imx8mm";
 29 		stdout-path = &uart2;
 38 		compatible = "fixed-clock";
 [all …]
 
 | 
| /linux/drivers/clk/imx/ | 
| H A D | clk-vf610.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * Copyright 2012-2013 Freescale Semiconductor, Inc.
 10 #include <dt-bindings/clock/vf610-clock.h>
 199 	np = of_find_compatible_node(NULL, NULL, "fsl,vf610-anatop");  in vf610_clocks_init()
 440 	clk[VF610_CLK_SNVS] = imx_clk_gate2("snvs-rtc", "ipg_bus", CCM_CCGR6, CCM_CCGRx_CGn(7));  in vf610_clocks_init()
 472 CLK_OF_DECLARE(vf610, "fsl,vf610-ccm", vf610_clocks_init);
 
 |