aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorGwendal Grignou <[email protected]>2018-03-23 17:42:47 +0000
committerBenson Leung <[email protected]>2018-04-11 05:25:07 +0000
commitc1d1e91aff3d1183d6b16a282c2575e3e006cee4 (patch)
treec28563a8b73ebda8598b47f059ab328df9cc65e9 /drivers/fpga/fpga-region.c
parentplatform/chrome: cros_ec_debugfs: Add PD port info to debugfs (diff)
downloadkernel-c1d1e91aff3d1183d6b16a282c2575e3e006cee4.tar.gz
kernel-c1d1e91aff3d1183d6b16a282c2575e3e006cee4.zip
platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle
This adds a sysfs attribute (/sys/class/chromeos/cros_ec/kb_wake_angle) used to set and get the keyboard wake lid angle. This attribute is present only if 2 accelerometers are controlled by the EC. This patch also moves the cros_ec features check before the device is added so the features map obtained from the EC is ready on time. Signed-off-by: Gwendal Grignou <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Benson Leung <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions