mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-01 07:42:18 +00:00
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
23 lines
717 B
C
23 lines
717 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __ASM_ARCH_RESET_H
|
|
#define __ASM_ARCH_RESET_H
|
|
|
|
#define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */
|
|
#define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */
|
|
#define RESET_STATUS_LOWPOWER (1 << 2) /* Low Power/Sleep Exit */
|
|
#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */
|
|
#define RESET_STATUS_ALL (0xf)
|
|
|
|
extern unsigned int reset_status;
|
|
extern void clear_reset_status(unsigned int mask);
|
|
|
|
/**
|
|
* init_gpio_reset() - register GPIO as reset generator
|
|
* @gpio: gpio nr
|
|
* @output: set gpio as output instead of input during normal work
|
|
* @level: output level
|
|
*/
|
|
extern int init_gpio_reset(int gpio, int output, int level);
|
|
|
|
#endif /* __ASM_ARCH_RESET_H */
|