Source
1
+
// SPDX-License-Identifier: GPL-2.0
1
2
/*
2
-
* Copyright (C) 2016 Google, Inc
3
-
*
4
-
* This program is free software; you can redistribute it and/or modify it
5
-
* under the terms of the GNU General Public License version 2, as published by
6
-
* the Free Software Foundation.
7
-
*
8
3
* Expose a PWM controlled by the ChromeOS EC to the host processor.
4
+
*
5
+
* Copyright (C) 2016 Google, Inc.
9
6
*/
10
7
11
8
#include <linux/module.h>
12
9
#include <linux/mfd/cros_ec.h>
13
10
#include <linux/mfd/cros_ec_commands.h>
14
11
#include <linux/platform_device.h>
15
12
#include <linux/pwm.h>
16
13
#include <linux/slab.h>
17
14
18
15
/**