]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-s5pc1xx/pwm.h
Exynos542x: Add and enable get_periph_rate support
[u-boot] / arch / arm / include / asm / arch-s5pc1xx / pwm.h
index de4dbce076e57aa5dc5e6e2f1934d13df952dba4..7a33ed895b55d68c162858e2d92ff21b3616602a 100644 (file)
@@ -3,20 +3,7 @@
  * Kyungmin Park <kyungmin.park@samsung.com>
  * Minkyu Kang <mk7.kang@samsung.com>
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __ASM_ARM_ARCH_PWM_H_
 
 #define MUX_DIV_SHIFT(x)       (x * 4)
 
-/* Interval mode(Auto Reload) of PWM Timer 4 */
-#define TCON4_AUTO_RELOAD      (1 << 22)
-/* Update TCNTB4 */
-#define TCON4_UPDATE           (1 << 21)
-/* start bit of PWM Timer 4 */
-#define TCON4_START            (1 << 20)
-
 #define TCON_OFFSET(x)         ((x + 1) * (!!x) << 2)
 
 #define TCON_START(x)          (1 << TCON_OFFSET(x))
 #define TCON_UPDATE(x)         (1 << (TCON_OFFSET(x) + 1))
 #define TCON_INVERTER(x)       (1 << (TCON_OFFSET(x) + 2))
 #define TCON_AUTO_RELOAD(x)    (1 << (TCON_OFFSET(x) + 3))
+#define TCON4_AUTO_RELOAD      (1 << 22)
 
 #ifndef __ASSEMBLY__
 struct s5p_timer {