ARC: reset: remove the misleading v1 suffix all over
Subsystems (4)
PATCH 1/1 ARC: reset: remove the misleading v1 suffix all over
There is no plan yet to do a v2 board. And even if we were to do it only some IPs would actually change, so it be best to add suffixes at that point, not now !
---P.S. Philip, if you and Eugeniy are OK, can this be please squashed with his original patch since it has not yet been merged etc.
Thx,
---
MAINTAINERS | 5 ++-
drivers/reset/Kconfig | 6 ++--
drivers/reset/Makefile | 2 +-
drivers/reset/{reset-hsdk-v1.c => reset-hsdk.c} | 44 ++++++++++++-------------
include/dt-bindings/reset/snps,hsdk-reset.h | 17 ++++++++++
include/dt-bindings/reset/snps,hsdk-v1-reset.h | 17 ----------
6 files changed, 45 insertions(+), 46 deletions(-)
rename drivers/reset/{reset-hsdk-v1.c => reset-hsdk.c} (72%)
create mode 100644 include/dt-bindings/reset/snps,hsdk-reset.h
delete mode 100644 include/dt-bindings/reset/snps,hsdk-v1-reset.hMAINTAINERS +2 -3
@@ -12891,9 +12891,8 @@ F: drivers/mmc/host/dw_mmc* SYNOPSYS HSDK RESET CONTROLLER DRIVER M: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com> S: Supported -F: drivers/reset/reset-hsdk-v1.c -F: include/dt-bindings/reset/snps,hsdk-v1-reset.h -F: Documentation/devicetree/bindings/reset/snps,hsdk-v1-reset.txt +F: drivers/reset/reset-hsdk.c +F: include/dt-bindings/reset/snps,hsdk-reset.h SYSTEM CONFIGURATION (SYSCON) M: Lee Jones <lee.jones at linaro.org>
drivers/reset/Kconfig +3 -3
@@ -34,11 +34,11 @@ config RESET_BERLIN help This enables the reset controller driver for Marvell Berlin SoCs. -config RESET_HSDK_V1 - bool "HSDK v1 Reset Driver" +config RESET_SNPS_HSDK + bool "Synopsys HSDK Reset Driver" default n help - This enables the reset controller driver for HSDK v1. + This enables the reset controller driver for HSDK board. config RESET_IMX7 bool "i.MX7 Reset Driver" if COMPILE_TEST
drivers/reset/Makefile +1 -1
@@ -5,7 +5,7 @@ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-$(CONFIG_RESET_A10SR) += reset-a10sr.o obj-$(CONFIG_RESET_ATH79) += reset-ath79.o obj-$(CONFIG_RESET_BERLIN) += reset-berlin.o -obj-$(CONFIG_RESET_HSDK_V1) += reset-hsdk-v1.o +obj-$(CONFIG_RESET_SNPS_HSDK) += reset-hsdk.o obj-$(CONFIG_RESET_IMX7) += reset-imx7.o obj-$(CONFIG_RESET_LPC18XX) += reset-lpc18xx.o obj-$(CONFIG_RESET_MESON) += reset-meson.o
drivers/reset/reset-hsdk.c renamed from drivers/reset/reset-hsdk-v1.c +22 -22
105 lines not on this page · raw message
include/dt-bindings/reset/snps,hsdk-reset.h new file +17 -0
@@ -0,0 +1,17 @@ +/** +* This header provides index for the HSDK reset controller. +*/ +#ifndef _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK +#define _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK + +#define HSDK_APB_RESET 0 +#define HSDK_AXI_RESET 1 +#define HSDK_ETH_RESET 2 +#define HSDK_USB_RESET 3 +#define HSDK_SDIO_RESET 4 +#define HSDK_HDMI_RESET 5 +#define HSDK_GFX_RESET 6 +#define HSDK_DMAC_RESET 7 +#define HSDK_EBI_RESET 8 + +#endif /*_DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK*/
include/dt-bindings/reset/snps,hsdk-v1-reset.h deleted +0 -17
@@ -1,17 +0,0 @@ -/** -* This header provides index for the HSDK v1 reset controller. -*/ -#ifndef _DT_BINDINGS_RESET_CONTROLLER_HSDK_V1 -#define _DT_BINDINGS_RESET_CONTROLLER_HSDK_V1 - -#define HSDK_V1_APB_RESET 0 -#define HSDK_V1_AXI_RESET 1 -#define HSDK_V1_ETH_RESET 2 -#define HSDK_V1_USB_RESET 3 -#define HSDK_V1_SDIO_RESET 4 -#define HSDK_V1_HDMI_RESET 5 -#define HSDK_V1_GFX_RESET 6 -#define HSDK_V1_DMAC_RESET 7 -#define HSDK_V1_EBI_RESET 8 - -#endif /*_DT_BINDINGS_RESET_CONTROLLER_HSDK_V1*/
Signature · 1 line
2.7.4
Philipp Zabel
maintainerHi Vineet,
[added Eugeniy to Cc]
Quoted 9 lines · Vineet Gupta
There is no plan yet to do a v2 board. And even if we were to do it only some IPs would actually change, so it be best to add suffixes at that point, not now !
Cc Philipp Zabel <p.zabel at pengutronix.de>Signed-off-by Vineet Gupta <vgupta at synopsys.com>---
P.S. Philip, if you and Eugeniy are OK, can this be please squashed with his original patch since it has not yet been merged etc.
This had been merged into arm-soc already, and by now is merged into mainline. We could try to queue this as a fix for 4.14.
[...]
drivers/reset/Kconfig config RESET_BERLIN · line 37
Quoted 10 lines
drivers/reset/Kconfig +0
-0@@ -34,11 +34,11 @@ config RESET_BERLIN? help
? ??This enables the reset controller driver for Marvell Berlin
SoCs.
?drivers/reset/Kconfig +1
-2-config RESET_HSDK_V1 - bool "HSDK v1 Reset Driver" +config RESET_SNPS_HSDK
I suggest to drop the _SNPS part, we don't do it for the other drivers either, and so far I'm not afraid of conflicts with other reset controllers that may be called HSDK.
regards
Philipp
Quoted 9 lines · Philipp Zabel
Hi Vineet,
[added Eugeniy to Cc]
Quoted 4 lines · Vineet Gupta
There is no plan yet to do a v2 board. And even if we were to do it only some IPs would actually change, so it be best to add suffixes at that point, not now !
Quoted 7 lines
Quoted 5 lines
Cc Philipp Zabel <p.zabel at pengutronix.de>Signed-off-by Vineet Gupta <vgupta at synopsys.com>---
P.S. Philip, if you and Eugeniy are OK, can this be please squashed with his original patch since it has not yet been merged etc.This had been merged into arm-soc already, and by now is merged into mainline. We could try to queue this as a fix for 4.14.
OK - do you want a respin ?
Quoted 9 lines
[...]
Quoted 7 lines
drivers/reset/Kconfig +0
-0@@ -34,11 +34,11 @@ config RESET_BERLIN help This enables the reset controller driver for Marvell BerlinSoCs.
Quoted 6 lines
drivers/reset/Kconfig config RESET_BERLIN · line 37
Quoted 3 lines
drivers/reset/Kconfig +1
-2-config RESET_HSDK_V1 - bool "HSDK v1 Reset Driver" +config RESET_SNPS_HSDKI suggest to drop the
_SNPSpart, we don't do it for the other drivers either, and so far I'm not afraid of conflicts with other reset controllers that may be called HSDK.
It was not so much about namespace conflict but calling out that this is SNPS part ! But I'm fine with what you suggest, since the updated menu string does have it.
Thx,
-Vineet
Philipp Zabel
maintainerQuoted 43 lines · Vineet Gupta
Quoted 18 lines · Philipp Zabel
Hi Vineet,
[added Eugeniy to Cc]
Quoted 6 lines · Vineet Gupta
There is no plan yet to do a v2 board. And even if we were to do it
only some IPs would actually change, so it be best to add suffixes at
that point, not now !Quoted 6 lines
Cc Philipp Zabel <p.zabel at pengutronix.de>Signed-off-by Vineet Gupta <vgupta at synopsys.com>---
P.S. Philip, if you and Eugeniy are OK, can this be please squashed
with his original patch since it has not yet been merged etc.Quoted 2 lines
This had been merged into arm-soc already, and by now is merged into mainline. We could try to queue this as a fix for 4.14.
OK - do you want a respin ?
Quoted 18 lines
[...]
drivers/reset/Kconfig config RESET_BERLIN · line 37
Quoted 11 lines
drivers/reset/Kconfig +0
-0@@ -34,11 +34,11 @@ config RESET_BERLIN?? help
?? ??This enables the reset controller driver for Marvell
Berlin
SoCs.
??drivers/reset/Kconfig +1
-2-config RESET_HSDK_V1 - bool "HSDK v1 Reset Driver" +config RESET_SNPS_HSDKI suggest to drop the
_SNPSpart, we don't do it for the other drivers
either, and so far I'm not afraid of conflicts with other reset controllers that may be called HSDK.
Quoted 4 lines
It was not so much about namespace conflict but calling out that this is SNPS part !
But I'm fine with what you suggest, since the updated menu string does have it.
Ok, thanks. No need for a respin, I can fix it up as I apply it.
regards
Philipp
Hi Philipp,
Quoted 44 lines · Philipp Zabel
Quoted 43 lines · Vineet Gupta
Quoted 18 lines · Philipp Zabel
Hi Vineet,
[added Eugeniy to Cc]
Quoted 6 lines · Vineet Gupta
There is no plan yet to do a v2 board. And even if we were to do it
only some IPs would actually change, so it be best to add suffixes at
that point, not now !Quoted 6 lines
Cc Philipp Zabel <p.zabel at pengutronix.de>Signed-off-by Vineet Gupta <vgupta at synopsys.com>---
P.S. Philip, if you and Eugeniy are OK, can this be please squashed
with his original patch since it has not yet been merged etc.Quoted 2 lines
This had been merged into arm-soc already, and by now is merged into mainline. We could try to queue this as a fix for 4.14.
OK - do you want a respin ?
Quoted 18 lines
[...]
drivers/reset/Kconfig config RESET_BERLIN · line 37
Quoted 11 lines
drivers/reset/Kconfig +0
-0@@ -34,11 +34,11 @@ config RESET_BERLIN ?? help ?? ??This enables the reset controller driver for MarvellBerlin
SoCs.drivers/reset/Kconfig +1
-2-config RESET_HSDK_V1 - bool "HSDK v1 Reset Driver" +config RESET_SNPS_HSDKI suggest to drop the
_SNPSpart, we don't do it for the other drivers
either, and so far I'm not afraid of conflicts with other reset controllers that may be called HSDK.
Quoted 6 lines
Quoted 4 lines
It was not so much about namespace conflict but calling out that this is SNPS part !
But I'm fine with what you suggest, since the updated menu string does have it.Ok, thanks. No need for a respin, I can fix it up as I apply it.
How/when do you plan to get his merged. Perhaps I can work with a non-mutable branch from you to base my changes off of ?
Thx,
-Vineet
Philipp Zabel
maintainerHi Vineet,
On Wed, 2017-09-27@11:07 -0700, Vineet Gupta wrote:
[...]
Quoted 2 lines
How/when do you plan to get his merged. Perhaps I can work with a non- mutable?branch from you to base my changes off of ?
I have sent a pull request [1] for this stable tag:
git://git.pengutronix.de/git/pza/linux.git tags/reset-fixes-for-4.14
[1] https://patchwork.ozlabs.org/patch/817004/
regards
Philipp