Skip to contentSkip to conversation

mfd: syscon: Remove unused Exynos PMU headers

PATCH Applied Krzysztof Kozlowski 2 participants 2 messages Jan 9, 2018 – Jan 22, 2018

Subsystems (2)
lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH 1/1 mfd: syscon: Remove unused Exynos PMU headers

Since commit 5812f0106c44 ("phy: exynos4: Remove duplicated defines of PHY register defines") and commit 7a66647b25b6 ("phy: exynos: Use one define for enable bit") all users of syscon Exynos PMU headers (for PHY drivers) are converted to use different headers so these can be removed.

---

Actually I removed these headers in mentioned commits:
- https://www.spinics.net/lists/arm-kernel/msg568612.html
- https://www.spinics.net/lists/arm-kernel/msg568608.html
however this part of patch disappeared when applying...

---
 include/linux/mfd/syscon/exynos4-pmu.h | 21 ---------------------
 include/linux/mfd/syscon/exynos5-pmu.h | 19 -------------------
 2 files changed, 40 deletions(-)
 delete mode 100644 include/linux/mfd/syscon/exynos4-pmu.h
 delete mode 100644 include/linux/mfd/syscon/exynos5-pmu.h
include/linux/mfd/syscon/exynos4-pmu.h deleted +0 -21
deleted file mode 100644
index 278b1b1549e9..000000000000
@@ -1,21 +0,0 @@
-/*
- * Copyright (C) 2015 Samsung Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _LINUX_MFD_SYSCON_PMU_EXYNOS4_H_
-#define _LINUX_MFD_SYSCON_PMU_EXYNOS4_H_
-
-/* Exynos4 PMU register definitions */
-
-/* MIPI_PHYn_CONTROL register offset: n = 0..1 */
-#define EXYNOS4_MIPI_PHY_CONTROL(n)	(0x710 + (n) * 4)
-#define EXYNOS4_MIPI_PHY_ENABLE		(1 << 0)
-#define EXYNOS4_MIPI_PHY_SRESETN	(1 << 1)
-#define EXYNOS4_MIPI_PHY_MRESETN	(1 << 2)
-#define EXYNOS4_MIPI_PHY_RESET_MASK	(3 << 1)
-
-#endif /* _LINUX_MFD_SYSCON_PMU_EXYNOS4_H_ */
include/linux/mfd/syscon/exynos5-pmu.h deleted +0 -19
deleted file mode 100644
index b4942a32b81d..000000000000
@@ -1,19 +0,0 @@
-/*
- * Exynos5 SoC series Power Management Unit (PMU) register offsets
- * and bit definitions.
- *
- * Copyright (C) 2014 Samsung Electronics Co., Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_
-#define _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_
-
-#define EXYNOS5_PHY_ENABLE			BIT(0)
-#define EXYNOS5_MIPI_PHY_S_RESETN		BIT(1)
-#define EXYNOS5_MIPI_PHY_M_RESETN		BIT(2)
-
-#endif /* _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_ */
Signature · 1 line
2.11.0
Applied
#1 lore raw
Quoted 13 lines · Krzysztof Kozlowski

Since commit 5812f0106c44 ("phy: exynos4: Remove duplicated defines of PHY register defines") and commit 7a66647b25b6 ("phy: exynos: Use one define for enable bit") all users of syscon Exynos PMU headers (for PHY drivers) are converted to use different headers so these can be removed.

---

Actually I removed these headers in mentioned commits:
- https://www.spinics.net/lists/arm-kernel/msg568612.html
- https://www.spinics.net/lists/arm-kernel/msg568608.html
however this part of patch disappeared when applying...

Quoted 6 lines
---
 include/linux/mfd/syscon/exynos4-pmu.h | 21 ---------------------
 include/linux/mfd/syscon/exynos5-pmu.h | 19 -------------------
 2 files changed, 40 deletions(-)
 delete mode 100644 include/linux/mfd/syscon/exynos4-pmu.h
 delete mode 100644 include/linux/mfd/syscon/exynos5-pmu.h

Applied, thanks.

Signature · 4 lines
Lee Jones
Linaro Services Technical Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog