/openbmc/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for DA9063 PMICs. 13 #include <linux/watchdog.h> 19 #include <linux/mfd/da9063/registers.h> 20 #include <linux/mfd/da9063/core.h> 25 * Watchdog selector to timeout in seconds. 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 34 #define DA9063_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1) 54 * Zero means the watchdog is disabled. 56 static unsigned int da9063_wdt_read_timeout(struct da9063 *da9063) in da9063_wdt_read_timeout() argument [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # Watchdog device configuration 7 menuconfig WATCHDOG config 8 bool "Watchdog Timer Support" 11 character special file /dev/watchdog with major number 10 and minor 12 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.: 16 on-line as fast as possible after a lock-up. There's both a watchdog 18 reboot the machine) and a driver for hardware watchdog boards, which 21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source. 23 The watchdog is usually used together with the watchdog daemon [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | dlg,da9063.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC) 10 - Steve Twiss <stwiss.opensource@diasemi.com> 13 For device-tree bindings of other sub-modules refer to the binding documents 14 under the respective sub-system directories. 15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special 17 moment where all voltage monitors are disabled. Next, as da9063 only supports [all …]
|
H A D | da9062.txt | 4 - https://www.dialog-semiconductor.com/products/da9062 5 - https://www.dialog-semiconductor.com/products/da9061 10 ------ ------------ ----------- 11 da9062-regulator : : LDOs & BUCKs 12 da9062-rtc : : Real-Time Clock 13 da9062-onkey : : On Key 14 da9062-watchdog : : Watchdog Timer 15 da9062-thermal : : Thermal 16 da9062-gpio : : GPIOs 21 ------ ------------ ----------- [all …]
|
/openbmc/linux/include/linux/mfd/da9063/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for DA9063 MFD driver 15 #include <linux/mfd/da9063/registers.h> 17 /* DA9063 modules */ 18 #define DA9063_DRVNAME_CORE "da9063-core" 19 #define DA9063_DRVNAME_REGULATORS "da9063-regulators" 20 #define DA9063_DRVNAME_LEDS "da9063-leds" 21 #define DA9063_DRVNAME_WATCHDOG "da9063-watchdog" 22 #define DA9063_DRVNAME_HWMON "da9063-hwmon" 23 #define DA9063_DRVNAME_ONKEY "da9063-onkey" [all …]
|
/openbmc/linux/drivers/mfd/ |
H A D | da9063-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device access for Dialog DA9063 modules 24 #include <linux/mfd/da9063/core.h> 25 #include <linux/mfd/da9063/registers.h> 85 .of_compatible = "dlg,da9063-watchdog", 96 .of_compatible = "dlg,da9063-onkey", 103 /* Only present on DA9063 , not on DA9063L */ 109 .of_compatible = "dlg,da9063-rtc", 113 static int da9063_clear_fault_log(struct da9063 *da9063) in da9063_clear_fault_log() argument 118 ret = regmap_read(da9063->regmap, DA9063_REG_FAULT_LOG, &fault_log); in da9063_clear_fault_log() [all …]
|
/openbmc/linux/arch/riscv/boot/dts/sifive/ |
H A D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pwm/pwm.h> 15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", 19 stdout-path = "serial0"; 23 timebase-frequency = <RTCCLK_FREQ>; 32 #clock-cells = <0>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-phytec-pfla02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <dt-bindings/gpio/gpio.h> 9 model = "Phytec phyFLEX-i.MX6 Quad"; 10 compatible = "phytec,imx6q-pfla02", "fsl,imx6q"; 17 reg_usb_otg_vbus: regulator-usb-otg-vbus { 18 compatible = "regulator-fixed"; 19 regulator-name = "usb_otg_vbus"; 20 regulator-min-microvolt = <5000000>; 21 regulator-max-microvolt = <5000000>; 23 enable-active-high; [all …]
|
H A D | imx6qdl-emcon.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/pwm/pwm.h> 8 #include <dt-bindings/input/input.h> 12 model = "emtrion SoM emCON-MX6"; 13 compatible = "emtrion,emcon-mx6"; 23 stdout-path = &uart1; 31 gpio-keys { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; [all …]
|
H A D | imx6qdl-phytec-phycore-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pinctrl_gpioleds_som>; 30 som-led-green { 33 linux,default-trigger = "heartbeat"; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&pinctrl_ecspi1>; [all …]
|
H A D | imx6ull-dhcor-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/clock/imx6ul-clock.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pwm/pwm.h> 11 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 16 /delete-property/ mmc0; 17 /delete-property/ mmc1; 21 /* Appropriate memory size will be filled by U-Boot */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/renesas/ |
H A D | r8a7790-stout.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 23 stdout-path = "serial0:115200n8"; 32 compatible = "gpio-leds"; 47 fixedregulator3v3: regulator-3v3 { 48 compatible = "regulator-fixed"; 49 regulator-name = "fixed-3.3V"; 50 regulator-min-microvolt = <3300000>; [all …]
|
H A D | r8a7792-blanche.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 25 stdout-path = "serial0:115200n8"; 33 d3_3v: regulator-3v3 { 34 compatible = "regulator-fixed"; 35 regulator-name = "D3.3V"; 36 regulator-min-microvolt = <3300000>; 37 regulator-max-microvolt = <3300000>; [all …]
|
H A D | r8a7794-silk.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2014-2015 Renesas Solutions Corp. 7 * Copyright (C) 2014-2015 Cogent Embedded, Inc. 11 * SSI-AK4643 13 * SW1: 2-1: AK4643 14 * 2-3: ADV7511 21 /dts-v1/; 23 #include <dt-bindings/gpio/gpio.h> 24 #include <dt-bindings/input/input.h> 40 stdout-path = "serial0:115200n8"; [all …]
|
H A D | r8a7794-alt.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 30 stdout-path = "serial0:115200n8"; 38 d3_3v: regulator-d3-3v { 39 compatible = "regulator-fixed"; 40 regulator-name = "D3.3V"; 41 regulator-min-microvolt = <3300000>; 42 regulator-max-microvolt = <3300000>; [all …]
|
H A D | r8a7793-gose.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2015 Renesas Electronics Corporation 9 * SSI-AK4643 36 /dts-v1/; 38 #include <dt-bindings/gpio/gpio.h> 39 #include <dt-bindings/input/input.h> 59 stdout-path = "serial0:115200n8"; 68 compatible = "gpio-keys"; 70 pinctrl-0 = <&keyboard_pins>; 71 pinctrl-names = "default"; [all …]
|
H A D | r8a7791-koelsch.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 11 * SSI-AK4643 38 /dts-v1/; 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 63 stdout-path = "serial0:115200n8"; 77 #address-cells = <1>; 78 #size-cells = <1>; 82 compatible = "gpio-keys"; [all …]
|
H A D | r8a7790-lager.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2014 Renesas Solutions Corp. 7 * Copyright (C) 2015-2016 Renesas Electronics Corporation 11 * SSI-AK4643 38 /dts-v1/; 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 63 stdout-path = "serial0:115200n8"; 77 #address-cells = <1>; 78 #size-cells = <1>; [all …]
|
H A D | r8a7791-porter.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 * SSI-AK4642 11 * JP3: 2-1: AK4642 12 * 2-3: ADV7511 19 /dts-v1/; 21 #include <dt-bindings/gpio/gpio.h> 37 stdout-path = "serial0:115200n8"; 50 vcc_sdhi0: regulator-vcc-sdhi0 { 51 compatible = "regulator-fixed"; 53 regulator-name = "SDHI0 Vcc"; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | r8a7790-stout.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 23 stdout-path = "serial0:115200n8"; 32 compatible = "gpio-leds"; 47 fixedregulator3v3: regulator-3v3 { 48 compatible = "regulator-fixed"; 49 regulator-name = "fixed-3.3V"; 50 regulator-min-microvolt = <3300000>; [all …]
|
H A D | r8a7793-gose.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2015 Renesas Electronics Corporation 9 * SSI-AK4643 36 /dts-v1/; 38 #include <dt-bindings/gpio/gpio.h> 39 #include <dt-bindings/input/input.h> 56 stdout-path = "serial0:115200n8"; 64 gpio-keys { 65 compatible = "gpio-keys"; 67 key-1 { [all …]
|
H A D | r8a7791-koelsch.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 11 * SSI-AK4643 38 /dts-v1/; 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 60 stdout-path = "serial0:115200n8"; 74 #address-cells = <1>; 75 #size-cells = <1>; 79 compatible = "gpio-keys"; [all …]
|
H A D | r8a7790-lager.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2014 Renesas Solutions Corp. 7 * Copyright (C) 2015-2016 Renesas Electronics Corporation 11 * SSI-AK4643 38 /dts-v1/; 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 60 stdout-path = "serial0:115200n8"; 74 #address-cells = <1>; 75 #size-cells = <1>; [all …]
|
H A D | r8a7791-porter.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 * SSI-AK4642 11 * JP3: 2-1: AK4642 12 * 2-3: ADV7511 19 /dts-v1/; 21 #include <dt-bindings/gpio/gpio.h> 35 stdout-path = "serial0:115200n8"; 48 vcc_sdhi0: regulator-vcc-sdhi0 { 49 compatible = "regulator-fixed"; 51 regulator-name = "SDHI0 Vcc"; [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 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 141 once-per-second update interrupts, used for synchronization. 159 will be called rtc-test. 173 will be called rtc-88pm860x. 183 will be called rtc-88pm80x. 187 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3" 190 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip. 193 will be called rtc-ab-b5ze-s3. [all …]
|