summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-loongson32/regs-pwm.h
diff options
context:
space:
mode:
authorKeguang Zhang <keguang.zhang@gmail.com>2023-05-12 13:37:22 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-06-19 18:06:55 +0300
commit9e130e2be4e7ac54de1ecc3fa424ca7ddfb1a748 (patch)
tree04f891ef8570eb024401171b0364a73b0224db86 /arch/mips/include/asm/mach-loongson32/regs-pwm.h
parentea95051063f95bf612683f5697e44604d0cbd0f1 (diff)
downloadlinux-9e130e2be4e7ac54de1ecc3fa424ca7ddfb1a748.tar.xz
MIPS: Loongson32: Remove deprecated PWM timer clocksource
The Loongson1 PWM timer will be moved to clocksource framework. Then, the old driver is no longer needed. Remove the deprecated code and update the Kconfig. Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230512103724.587760-2-keguang.zhang@gmail.com
Diffstat (limited to 'arch/mips/include/asm/mach-loongson32/regs-pwm.h')
-rw-r--r--arch/mips/include/asm/mach-loongson32/regs-pwm.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/mips/include/asm/mach-loongson32/regs-pwm.h b/arch/mips/include/asm/mach-loongson32/regs-pwm.h
deleted file mode 100644
index ec870c82d492..000000000000
--- a/arch/mips/include/asm/mach-loongson32/regs-pwm.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (c) 2014 Zhang, Keguang <keguang.zhang@gmail.com>
- *
- * Loongson 1 PWM Register Definitions.
- */
-
-#ifndef __ASM_MACH_LOONGSON32_REGS_PWM_H
-#define __ASM_MACH_LOONGSON32_REGS_PWM_H
-
-/* Loongson 1 PWM Timer Register Definitions */
-#define PWM_CNT 0x0
-#define PWM_HRC 0x4
-#define PWM_LRC 0x8
-#define PWM_CTRL 0xc
-
-/* PWM Control Register Bits */
-#define CNT_RST BIT(7)
-#define INT_SR BIT(6)
-#define INT_EN BIT(5)
-#define PWM_SINGLE BIT(4)
-#define PWM_OE BIT(3)
-#define CNT_EN BIT(0)
-
-#endif /* __ASM_MACH_LOONGSON32_REGS_PWM_H */