forked from Qortal/Brooklyn
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)
43 lines
896 B
C
43 lines
896 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* AT91 Power Management
|
|
*
|
|
* Copyright (C) 2005 David Brownell
|
|
*/
|
|
#ifndef __ARCH_ARM_MACH_AT91_PM
|
|
#define __ARCH_ARM_MACH_AT91_PM
|
|
|
|
#include <asm/proc-fns.h>
|
|
|
|
#include <linux/mfd/syscon/atmel-mc.h>
|
|
#include <soc/at91/at91sam9_ddrsdr.h>
|
|
#include <soc/at91/at91sam9_sdramc.h>
|
|
|
|
#define AT91_MEMCTRL_MC 0
|
|
#define AT91_MEMCTRL_SDRAMC 1
|
|
#define AT91_MEMCTRL_DDRSDR 2
|
|
|
|
#define AT91_PM_STANDBY 0x00
|
|
#define AT91_PM_ULP0 0x01
|
|
#define AT91_PM_ULP0_FAST 0x02
|
|
#define AT91_PM_ULP1 0x03
|
|
#define AT91_PM_BACKUP 0x04
|
|
|
|
#ifndef __ASSEMBLY__
|
|
struct at91_pm_data {
|
|
void __iomem *pmc;
|
|
void __iomem *ramc[2];
|
|
unsigned long uhp_udp_mask;
|
|
unsigned int memctrl;
|
|
unsigned int mode;
|
|
void __iomem *shdwc;
|
|
void __iomem *sfrbu;
|
|
unsigned int standby_mode;
|
|
unsigned int suspend_mode;
|
|
unsigned int pmc_mckr_offset;
|
|
unsigned int pmc_version;
|
|
};
|
|
#endif
|
|
|
|
#endif
|