ec/google/chromeec: Add _PRW property to CREC device

This change adds _PRW property to CREC device that allows Linux kernel
to identify CREC as a wakeup source.

TEST=Verified following steps:
1. Under sys devices for CREC: "echo enabled > wakeup"
2. Lid close/Lid open -- Verified that wakeup_count increases
3. Mode change -- Verified that wakeup_count increases

Change-Id: Ib0a687e171c7e5c81325b39f47c9a2462553fe3e
Signed-off-by: Furquan Shaikh <>
Tested-by: build bot (Jenkins) <>
Reviewed-by: Duncan Laurie <>
1 file changed