Searched +full:nvmem +full:- +full:reboot +full:- +full:mode (Results 1 – 10 of 10) sorted by relevance
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | nvmem-reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/nvmem-reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic NVMEM reboot mode 10 - Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 13 This driver gets the reboot mode magic value from the reboot-mode driver 14 and stores it in the NVMEM cell named "reboot-mode". The bootloader can 19 const: nvmem-reboot-mode 21 nvmem-cells: [all …]
|
| /linux/drivers/power/reset/ |
| H A D | nvmem-reboot-mode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/nvmem-consumer.h> 12 #include <linux/reboot-mode.h> 15 struct reboot_mode_driver reboot; member 19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, in nvmem_reboot_mode_write() argument 25 nvmem_rbm = container_of(reboot, struct nvmem_reboot_mode, reboot); in nvmem_reboot_mode_write() 27 ret = nvmem_cell_write(nvmem_rbm->cell, &magic, sizeof(magic)); in nvmem_reboot_mode_write() 29 dev_err(reboot->dev, "update reboot mode bits failed\n"); in nvmem_reboot_mode_write() 39 nvmem_rbm = devm_kzalloc(&pdev->dev, sizeof(*nvmem_rbm), GFP_KERNEL); in nvmem_reboot_mode_probe() 41 return -ENOMEM; in nvmem_reboot_mode_probe() [all …]
|
| H A D | macsmc-reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 3 * Apple SMC Reboot/Poweroff Handler 12 #include <linux/nvmem-consumer.h> 14 #include <linux/reboot.h> 61 return -EINVAL; in nvmem_cell_get_u8() 77 * 'offw' - shutdown warning 78 * 'slpw' - sleep warning 79 * 'rest' - restart warning 80 * 'off1' - shutdown (needs PMU bit set to stay on) 81 * 'susp' - suspend [all …]
|
| /linux/arch/arm64/boot/dts/exynos/google/ |
| H A D | gs101-pixel-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree nodes common for all GS101-based Pixel 5 * Copyright 2021-2023 Google LLC 6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/usb/pd.h> 14 #include "gs101-pinctrl.h" 25 stdout-path = &serial_0; [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | maxim,max77759.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: Maxim Integrated MAX77759 PMIC for USB Type-C applications 10 - André Draszik <andre.draszik@linaro.org> 14 Management IC for USB Type-C applications. 17 Type-C Port Controller (TCPC), NVMEM, and a GPIO expander. 26 interrupt-controller: true 28 "#interrupt-cells": 35 $ref: /schemas/gpio/maxim,max77759-gpio.yaml [all …]
|
| /linux/arch/arm/boot/dts/ti/davinci/ |
| H A D | da850-lego-ev3.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 32 compatible = "gpio-keys"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&button_bias>; 75 * The EV3 has two built-in bi-color LEDs behind the buttons. 78 compatible = "gpio-leds"; [all …]
|
| /linux/include/linux/mtd/ |
| H A D | mtd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. 15 #include <linux/nvmem-provider.h> 17 #include <mtd/mtd-abi.h> 21 #define MTD_FAIL_ADDR_UNKNOWN -1LL 50 * struct mtd_oob_ops - oob operation operands 51 * @mode: operation mode 60 * mode = MTD_OPS_PLACE_OOB or MTD_OPS_RAW) 61 * @datbuf: data buffer - if NULL only oob data are read/written 65 * one go. If you try to do that on such an MTD device, -EINVAL will be [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 10 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 11 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 12 #include <dt-bindings/clock/qcom,rpmcc.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 15 #include <dt-bindings/reset/qcom,gcc-msm8974.h> [all …]
|
| H A D | qcom-msm8974.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/interconnect/qcom,msm8974.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8974.h> 8 #include <dt-bindings/clock/qcom,mmcc-msm8974.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/reset/qcom,gcc-msm8974.h> 11 #include <dt-bindings/gpio/gpio.h> [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/px30-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|