mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
platform/chrome: cros_ec_lpc: switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance management. Also remove the license boiler-plate and redundant driver description. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: Guenter Roeck <groeck@chromium.org>
This commit is contained in:
parent
f0c70b9bdb
commit
1058ca940e
5 changed files with 24 additions and 102 deletions
|
@ -1,25 +1,15 @@
|
||||||
/*
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
* cros_ec_lpc - LPC access to the Chrome OS Embedded Controller
|
// LPC interface for ChromeOS Embedded Controller
|
||||||
*
|
//
|
||||||
* Copyright (C) 2012-2015 Google, Inc
|
// Copyright (C) 2012-2015 Google, Inc
|
||||||
*
|
//
|
||||||
* This software is licensed under the terms of the GNU General Public
|
// This driver uses the ChromeOS EC byte-level message-based protocol for
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
// communicating the keyboard state (which keys are pressed) from a keyboard EC
|
||||||
* may be copied, distributed, and modified under those terms.
|
// to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
||||||
*
|
// but everything else (including deghosting) is done here. The main
|
||||||
* This program is distributed in the hope that it will be useful,
|
// motivation for this is to keep the EC firmware as simple as possible, since
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
// it cannot be easily upgraded and EC flash/IRAM space is relatively
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
// expensive.
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* This driver uses the Chrome OS EC byte-level message-based protocol for
|
|
||||||
* communicating the keyboard state (which keys are pressed) from a keyboard EC
|
|
||||||
* to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
|
||||||
* but everything else (including deghosting) is done here. The main
|
|
||||||
* motivation for this is to keep the EC firmware as simple as possible, since
|
|
||||||
* it cannot be easily upgraded and EC flash/IRAM space is relatively
|
|
||||||
* expensive.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/acpi.h>
|
#include <linux/acpi.h>
|
||||||
#include <linux/dmi.h>
|
#include <linux/dmi.h>
|
||||||
|
|
|
@ -1,25 +1,7 @@
|
||||||
/*
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
* cros_ec_lpc_mec - LPC variant I/O for Microchip EC
|
// LPC variant I/O for Microchip EC
|
||||||
*
|
//
|
||||||
* Copyright (C) 2016 Google, Inc
|
// Copyright (C) 2016 Google, Inc
|
||||||
*
|
|
||||||
* This software is licensed under the terms of the GNU General Public
|
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
|
||||||
* may be copied, distributed, and modified under those terms.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* This driver uses the Chrome OS EC byte-level message-based protocol for
|
|
||||||
* communicating the keyboard state (which keys are pressed) from a keyboard EC
|
|
||||||
* to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
|
||||||
* but everything else (including deghosting) is done here. The main
|
|
||||||
* motivation for this is to keep the EC firmware as simple as possible, since
|
|
||||||
* it cannot be easily upgraded and EC flash/IRAM space is relatively
|
|
||||||
* expensive.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
|
|
|
@ -1,24 +1,8 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
/*
|
/*
|
||||||
* cros_ec_lpc_mec - LPC variant I/O for Microchip EC
|
* LPC variant I/O for Microchip EC
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Google, Inc
|
* Copyright (C) 2016 Google, Inc
|
||||||
*
|
|
||||||
* This software is licensed under the terms of the GNU General Public
|
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
|
||||||
* may be copied, distributed, and modified under those terms.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* This driver uses the Chrome OS EC byte-level message-based protocol for
|
|
||||||
* communicating the keyboard state (which keys are pressed) from a keyboard EC
|
|
||||||
* to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
|
||||||
* but everything else (including deghosting) is done here. The main
|
|
||||||
* motivation for this is to keep the EC firmware as simple as possible, since
|
|
||||||
* it cannot be easily upgraded and EC flash/IRAM space is relatively
|
|
||||||
* expensive.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CROS_EC_LPC_MEC_H
|
#ifndef __CROS_EC_LPC_MEC_H
|
||||||
|
|
|
@ -1,25 +1,7 @@
|
||||||
/*
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
* cros_ec_lpc_reg - LPC access to the Chrome OS Embedded Controller
|
// LPC interface for ChromeOS Embedded Controller
|
||||||
*
|
//
|
||||||
* Copyright (C) 2016 Google, Inc
|
// Copyright (C) 2016 Google, Inc
|
||||||
*
|
|
||||||
* This software is licensed under the terms of the GNU General Public
|
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
|
||||||
* may be copied, distributed, and modified under those terms.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* This driver uses the Chrome OS EC byte-level message-based protocol for
|
|
||||||
* communicating the keyboard state (which keys are pressed) from a keyboard EC
|
|
||||||
* to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
|
||||||
* but everything else (including deghosting) is done here. The main
|
|
||||||
* motivation for this is to keep the EC firmware as simple as possible, since
|
|
||||||
* it cannot be easily upgraded and EC flash/IRAM space is relatively
|
|
||||||
* expensive.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/mfd/cros_ec.h>
|
#include <linux/mfd/cros_ec.h>
|
||||||
|
|
|
@ -1,24 +1,8 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
/*
|
/*
|
||||||
* cros_ec_lpc_reg - LPC access to the Chrome OS Embedded Controller
|
* LPC interface for ChromeOS Embedded Controller
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Google, Inc
|
* Copyright (C) 2016 Google, Inc
|
||||||
*
|
|
||||||
* This software is licensed under the terms of the GNU General Public
|
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
|
||||||
* may be copied, distributed, and modified under those terms.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* This driver uses the Chrome OS EC byte-level message-based protocol for
|
|
||||||
* communicating the keyboard state (which keys are pressed) from a keyboard EC
|
|
||||||
* to the AP over some bus (such as i2c, lpc, spi). The EC does debouncing,
|
|
||||||
* but everything else (including deghosting) is done here. The main
|
|
||||||
* motivation for this is to keep the EC firmware as simple as possible, since
|
|
||||||
* it cannot be easily upgraded and EC flash/IRAM space is relatively
|
|
||||||
* expensive.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CROS_EC_LPC_REG_H
|
#ifndef __CROS_EC_LPC_REG_H
|
||||||
|
|
Loading…
Reference in a new issue