diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2015-03-19 06:37:13 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-31 07:38:35 (GMT) |
commit | bb04db9093f77dd4056a4c9275792fe84fb404f7 (patch) | |
tree | 46fbfbc450a53319b5d7ad3194b710e2400f099b /include | |
parent | 36141432694d894012353fb26341f5b9c131b0fe (diff) | |
download | linux-fsl-qoriq-bb04db9093f77dd4056a4c9275792fe84fb404f7.tar.xz |
powerpc/fsl: add power_off support for fsl platform
QIXIS System Logic FPGA support to manage system power. So we
through QIXIS to power off freescale SOC.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: I7478cca11dcd23c8d9580c3f52c46946375573c4
Reviewed-on: http://git.am.freescale.net:8181/33082
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl/qixis_ctrl.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/fsl/qixis_ctrl.h b/include/linux/fsl/qixis_ctrl.h new file mode 100644 index 0000000..1907bf9 --- /dev/null +++ b/include/linux/fsl/qixis_ctrl.h @@ -0,0 +1,24 @@ +/* + * include/linux/fsl/qixis_ctrl.h + * + * Definitions for Freescale QIXIS system controller. + * + * Copyright 2015 Freescale Semiconductor, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + */ + +#ifndef _FSL_QIXIS_CTRL_H_ +#define _FSL_QIXIS_CTRL_H_ + +/* QIXIS MAP */ +struct fsl_qixis_regs { + u8 version; /* Identification Registers */ + u8 reserved1[0x20]; + u8 pwr_ctrl2; /* Power Control 2 Register */ +}; + +#endif |