.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * PWM framework driver for Cirrus Logic EP93xx |
---|
3 | 4 | * |
---|
.. | .. |
---|
13 | 14 | * EP9312/15 have two channels: |
---|
14 | 15 | * platform device ep93xx-pwm.0 - PWMOUT |
---|
15 | 16 | * platform device ep93xx-pwm.1 - PWMOUT1 (EGPIO14) |
---|
16 | | - * |
---|
17 | | - * This program is free software; you can redistribute it and/or |
---|
18 | | - * modify it under the terms of the GNU General Public License |
---|
19 | | - * as published by the Free Software Foundation; either version |
---|
20 | | - * 2 of the License, or (at your option) any later version. |
---|
21 | | - * |
---|
22 | | - * This program is distributed in the hope that it will be useful, |
---|
23 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
24 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
25 | | - * GNU General Public License for more details. |
---|
26 | 17 | */ |
---|
27 | 18 | |
---|
28 | 19 | #include <linux/module.h> |
---|
.. | .. |
---|
35 | 26 | |
---|
36 | 27 | #include <asm/div64.h> |
---|
37 | 28 | |
---|
38 | | -#include <mach/platform.h> /* for ep93xx_pwm_{acquire,release}_gpio() */ |
---|
| 29 | +#include <linux/soc/cirrus/ep93xx.h> /* for ep93xx_pwm_{acquire,release}_gpio() */ |
---|
39 | 30 | |
---|
40 | 31 | #define EP93XX_PWMx_TERM_COUNT 0x00 |
---|
41 | 32 | #define EP93XX_PWMx_DUTY_CYCLE 0x04 |
---|