28 #include <linux/kernel.h>
37 #define HWBUTTON_HI 0x1
38 #define HWBUTTON_LO 0x2
53 #ifdef CONFIG_PMC_MSP7120_GW
56 static void softreset_push(
void *
data)
70 static void softreset_release(
void *
data)
77 static void standby_on(
void *
data)
84 static void standby_off(
void *
data)
87 "STANDBY switch was set to OFF (not implemented)\n");
93 .
name =
"Softreset button",
97 .handle_hi = softreset_release,
98 .handle_lo = softreset_push,
103 .
name =
"Standby switch",
107 .handle_hi = standby_off,
108 .handle_lo = standby_on,
139 unsigned long cic_ext;
156 static int __init msp_hwbutton_setup(
void)
158 #ifdef CONFIG_PMC_MSP7120_GW
159 msp_hwbutton_register(&softreset_sw);
160 msp_hwbutton_register(&standby_sw);