.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Driver for Feature Integration Technology Inc. (aka Fintek) LPC CIR |
---|
3 | 4 | * |
---|
.. | .. |
---|
6 | 7 | * Special thanks to Fintek for providing hardware and spec sheets. |
---|
7 | 8 | * This driver is based upon the nuvoton, ite and ene drivers for |
---|
8 | 9 | * similar hardware. |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or |
---|
11 | | - * modify it under the terms of the GNU General Public License as |
---|
12 | | - * published by the Free Software Foundation; either version 2 of the |
---|
13 | | - * License, or (at your option) any later version. |
---|
14 | | - * |
---|
15 | | - * This program is distributed in the hope that it will be useful, but |
---|
16 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
18 | | - * General Public License for more details. |
---|
19 | 10 | */ |
---|
20 | 11 | |
---|
21 | 12 | #include <linux/spinlock.h> |
---|
.. | .. |
---|
176 | 167 | #define CIR_CR_IRCS 0x05 /* Before host writes command to IR, host |
---|
177 | 168 | must set to 1. When host finshes write |
---|
178 | 169 | command to IR, host must clear to 0. */ |
---|
179 | | -#define CIR_CR_COMMAND_DATA 0x06 /* Host read or write comand data */ |
---|
| 170 | +#define CIR_CR_COMMAND_DATA 0x06 /* Host read or write command data */ |
---|
180 | 171 | #define CIR_CR_CLASS 0x07 /* 0xff = rx-only, 0x66 = rx + 2 tx, |
---|
181 | 172 | 0x33 = rx + 1 tx */ |
---|
182 | 173 | #define CIR_CR_DEV_EN 0x30 /* bit0 = 1 enables CIR */ |
---|