Skip to contentSkip to conversation

ARM: removal of STiH415/STiH416 remainings bits

PATCH Applied Alain Volmat 6 participants 27 messages Feb 9, 2023 – Feb 16, 2023

Subsystems (13)
lore
Share & tools
lore
#0 lore raw

cover ARM: removal of STiH415/STiH416 remainings bits

Most of code in order to support STiH415 and STiH416 have already been removed from the kernel in 2016, however few bits are still remainings.
This serie removes the last pieces of support for STiH415, STiH416 and STiD127.

Alain Volmat (11):
Documentation: arm: remove stih415/stih416 related entries
ARM: sti: removal of stih415/stih416 related entries irqchip/st: remove stih415/stih416 and stid127 platforms support
dt-bindings: irqchip: sti: remove stih415/stih416 and stid127
dt-bindings: arm: sti: remove bindings for stih415 and stih416 thermal/drivers/st: remove syscfg based driver
net: ethernet: stmmac: dwmac-sti: remove stih415/stih416/stid127
dt-bindings: net: dwmac: sti: remove stih415/sti416/stid127
dt-bindings: reset: remove stih415/stih416 reset bindings
dt-bindings: clock: remove stih416 bindings
ARM: debug: removal of STiH415/STiH416 related debug uart

 Documentation/arm/index.rst                   |   2 -
 Documentation/arm/sti/overview.rst            |  10 +-
 Documentation/arm/sti/stih415-overview.rst    |  14 --
 Documentation/arm/sti/stih416-overview.rst    |  13 --
 .../devicetree/bindings/arm/sti.yaml          |   2 -
 .../st,sti-irq-syscfg.txt                     |   9 +-
 .../devicetree/bindings/net/sti-dwmac.txt     |   3 +-
 arch/arm/Kconfig.debug                        |  28 ---
 arch/arm/mach-sti/Kconfig                     |  20 +-
 arch/arm/mach-sti/board-dt.c                  |   2 -
 drivers/irqchip/irq-st.c                      |  15 --
 .../net/ethernet/stmicro/stmmac/dwmac-sti.c   |  60 +-----
 drivers/thermal/st/Kconfig                    |   4 -
 drivers/thermal/st/Makefile                   |   1 -
 drivers/thermal/st/st_thermal_syscfg.c        | 174 ------------------
 include/dt-bindings/clock/stih416-clks.h      |  17 --
 include/dt-bindings/reset/stih415-resets.h    |  28 ---
 include/dt-bindings/reset/stih416-resets.h    |  52 ------
 18 files changed, 8 insertions(+), 446 deletions(-)
 delete mode 100644 Documentation/arm/sti/stih415-overview.rst
 delete mode 100644 Documentation/arm/sti/stih416-overview.rst
 delete mode 100644 drivers/thermal/st/st_thermal_syscfg.c
 delete mode 100644 include/dt-bindings/clock/stih416-clks.h
 delete mode 100644 include/dt-bindings/reset/stih415-resets.h
 delete mode 100644 include/dt-bindings/reset/stih416-resets.h
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/11 Documentation: arm: remove stih415/stih416 related entries

ST's STiH415 and STiH416 platforms support have been removed since a long time already. This commit updates the sti related documentation overview to remove related entries and update the sti part to add STiH407/STiH410 and STiH418 platforms which are still actively supported.

---
 Documentation/arm/index.rst                |  2 --
 Documentation/arm/sti/overview.rst         | 10 +++-------
 Documentation/arm/sti/stih415-overview.rst | 14 --------------
 Documentation/arm/sti/stih416-overview.rst | 13 -------------
 4 files changed, 3 insertions(+), 36 deletions(-)
 delete mode 100644 Documentation/arm/sti/stih415-overview.rst
 delete mode 100644 Documentation/arm/sti/stih416-overview.rst
Documentation/arm/index.rst +0 -2
index 8c636d4a061f..e70fc72ef136 100644
@@ -70,11 +70,9 @@ SoC-specific documents
 
    spear/overview
 
-   sti/stih416-overview
    sti/stih407-overview
    sti/stih418-overview
    sti/overview
-   sti/stih415-overview
 
    vfp/release-notes
 
Documentation/arm/sti/overview.rst +3 -7
index 70743617a74f..ae16aced800f 100644
@@ -7,22 +7,18 @@ Introduction
 
   The ST Microelectronics Multimedia and Application Processors range of
   CortexA9 System-on-Chip are supported by the 'STi' platform of
-  ARM Linux. Currently STiH415, STiH416 SOCs are supported with both
-  B2000 and B2020 Reference boards.
+  ARM Linux. Currently STiH407, STiH410 and STiH418 are supported.
 
 
 configuration
 -------------
 
-  A generic configuration is provided for both STiH415/416, and can be used as the
-  default by::
-
-	make stih41x_defconfig
+  The configuration for the STi platform is supported via the multi_v7_defconfig.
 
 Layout
 ------
 
-  All the files for multiple machine families (STiH415, STiH416, and STiG125)
+  All the files for multiple machine families (STiH407, STiH410, and STiH418)
   are located in the platform code contained in arch/arm/mach-sti
 
   There is a generic board board-dt.c in the mach folder which support
Documentation/arm/sti/stih415-overview.rst deleted +0 -14
deleted file mode 100644
index b67452d610c4..000000000000
@@ -1,14 +0,0 @@
-================
-STiH415 Overview
-================
-
-Introduction
-------------
-
-    The STiH415 is the next generation of HD, AVC set-top box processors
-    for satellite, cable, terrestrial and IP-STB markets.
-
-    Features:
-
-    - ARM Cortex-A9 1.0 GHz, dual-core CPU
-    - SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2
Documentation/arm/sti/stih416-overview.rst deleted +0 -13
deleted file mode 100644
index 93f17d74d8db..000000000000
@@ -1,13 +0,0 @@
-================
-STiH416 Overview
-================
-
-Introduction
-------------
-
-    The STiH416 is the next generation of HD, AVC set-top box processors
-    for satellite, cable, terrestrial and IP-STB markets.
-
-    Features
-    - ARM Cortex-A9 1.2 GHz dual core CPU
-    - SATA2x2,USB 2.0x3, PCIe, Gbit Ethernet MACx2
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/11 ARM: sti: removal of stih415/stih416 related entries

In reply to Alain Volmat

ST's STiH415 and STiH416 platforms have already been removed since a while. Remove some remaining bits within the mach-sti.

---
 arch/arm/mach-sti/Kconfig    | 20 +-------------------
 arch/arm/mach-sti/board-dt.c |  2 --
 2 files changed, 1 insertion(+), 21 deletions(-)
arch/arm/mach-sti/Kconfig +1 -19
index b2d45cf10a3c..609957dead98 100644
@@ -19,31 +19,13 @@ menuconfig ARCH_STI
 	select PL310_ERRATA_769419 if CACHE_L2X0
 	select RESET_CONTROLLER
 	help
-	  Include support for STMicroelectronics' STiH415/416, STiH407/10 and
+	  Include support for STMicroelectronics' STiH407/10 and
 	  STiH418 family SoCs using the Device Tree for discovery.  More
 	  information can be found in Documentation/arm/sti/ and
 	  Documentation/devicetree.
 
 if ARCH_STI
 
-config SOC_STIH415
-	bool "STiH415 STMicroelectronics Consumer Electronics family"
-	default y
-	help
-	  This enables support for STMicroelectronics Digital Consumer
-	  Electronics family StiH415 parts, primarily targeted at set-top-box
-	  and other digital audio/video applications using Flattned Device
-	  Trees.
-
-config SOC_STIH416
-	bool "STiH416 STMicroelectronics Consumer Electronics family"
-	default y
-	help
-	  This enables support for STMicroelectronics Digital Consumer
-	  Electronics family StiH416 parts, primarily targeted at set-top-box
-	  and other digital audio/video applications using Flattened Device
-	  Trees.
-
 config SOC_STIH407
 	bool "STiH407 STMicroelectronics Consumer Electronics family"
 	default y
arch/arm/mach-sti/board-dt.c +0 -2
index ffecbf29646f..8c313f07bd02 100644
@@ -12,8 +12,6 @@
 #include "smp.h"
 
 static const char *const stih41x_dt_match[] __initconst = {
-	"st,stih415",
-	"st,stih416",
 	"st,stih407",
 	"st,stih410",
 	"st,stih418",
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 2/11
#3 lore raw

Re: [PATCH 02/11] ARM: sti: removal of stih415/stih416 related entries

Quoted 51 lines · Alain Volmat

ST's STiH415 and STiH416 platforms have already been removed since a while. Remove some remaining bits within the mach-sti.

---
 arch/arm/mach-sti/Kconfig    | 20 +-------------------
 arch/arm/mach-sti/board-dt.c |  2 --
 2 files changed, 1 insertion(+), 21 deletions(-)
arch/arm/mach-sti/Kconfig +1 -19
index b2d45cf10a3c..609957dead98 100644
@@ -19,31 +19,13 @@ menuconfig ARCH_STI
 	select PL310_ERRATA_769419 if CACHE_L2X0
 	select RESET_CONTROLLER
 	help
-	  Include support for STMicroelectronics' STiH415/416, STiH407/10 and
+	  Include support for STMicroelectronics' STiH407/10 and
 	  STiH418 family SoCs using the Device Tree for discovery.  More
 	  information can be found in Documentation/arm/sti/ and
 	  Documentation/devicetree.
 
 if ARCH_STI
 
-config SOC_STIH415
-	bool "STiH415 STMicroelectronics Consumer Electronics family"
-	default y
-	help
-	  This enables support for STMicroelectronics Digital Consumer
-	  Electronics family StiH415 parts, primarily targeted at set-top-box
-	  and other digital audio/video applications using Flattned Device
-	  Trees.
-
-config SOC_STIH416
-	bool "STiH416 STMicroelectronics Consumer Electronics family"
-	default y
-	help
-	  This enables support for STMicroelectronics Digital Consumer
-	  Electronics family StiH416 parts, primarily targeted at set-top-box
-	  and other digital audio/video applications using Flattened Device
-	  Trees.
-
 config SOC_STIH407
 	bool "STiH407 STMicroelectronics Consumer Electronics family"
 	default y
arch/arm/mach-sti/board-dt.c +0 -0
index ffecbf29646f..8c313f07bd02 100644

arch/arm/mach-sti/board-dt.c line 17

Quoted 8 lines
arch/arm/mach-sti/board-dt.c +0 -2
@@ -12,8 +12,6 @@
 #include "smp.h"
 
 static const char *const stih41x_dt_match[] __initconst = {
-	"st,stih415",
-	"st,stih416",
 	"st,stih407",
 	"st,stih410",
 	"st,stih418",

Thanks
Patrice

#4 lore raw

PATCH 3/11 irqchip/st: remove stih415/stih416 and stid127 platforms support

In reply to Alain Volmat

Remove support for the already no more supported stih415 and stih416 platforms. Remove as well the stid127 platform which never made it up to the kernel.

---
 drivers/irqchip/irq-st.c | 15 ---------------
 1 file changed, 15 deletions(-)
drivers/irqchip/irq-st.c +0 -15
index 1b83512b29c6..819a12297b58 100644
@@ -15,10 +15,7 @@
 #include <linux/regmap.h>
 #include <linux/slab.h>
 
-#define STIH415_SYSCFG_642		0x0a8
-#define STIH416_SYSCFG_7543		0x87c
 #define STIH407_SYSCFG_5102		0x198
-#define STID127_SYSCFG_734		0x088
 
 #define ST_A9_IRQ_MASK			0x001FFFFF
 #define ST_A9_IRQ_MAX_CHANS		2
@@ -44,22 +41,10 @@ struct st_irq_syscfg {
 };
 
 static const struct of_device_id st_irq_syscfg_match[] = {
-	{
-		.compatible = "st,stih415-irq-syscfg",
-		.data = (void *)STIH415_SYSCFG_642,
-	},
-	{
-		.compatible = "st,stih416-irq-syscfg",
-		.data = (void *)STIH416_SYSCFG_7543,
-	},
 	{
 		.compatible = "st,stih407-irq-syscfg",
 		.data = (void *)STIH407_SYSCFG_5102,
 	},
-	{
-		.compatible = "st,stid127-irq-syscfg",
-		.data = (void *)STID127_SYSCFG_734,
-	},
 	{}
 };
 
Signature · 1 line
2.34.1
#5 lore raw

PATCH 4/11 dt-bindings: irqchip: sti: remove stih415/stih416 and stid127

In reply to Alain Volmat

Remove bindings for the stih415/stih416/stid127 since they are not supported within the kernel anymore.

---
 .../bindings/interrupt-controller/st,sti-irq-syscfg.txt  | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/interrupt-controller/st,sti-irq-syscfg.txt +2 -7
index ced6014061a3..977d7ed3670e 100644
@@ -6,11 +6,7 @@ and PL310 L2 Cache IRQs are controlled using System Configuration registers.
 This driver is used to unmask them prior to use.
 
 Required properties:
-- compatible	: Should be set to one of:
-			"st,stih415-irq-syscfg"
-			"st,stih416-irq-syscfg"
-			"st,stih407-irq-syscfg"
-			"st,stid127-irq-syscfg"
+- compatible	: Should be "st,stih407-irq-syscfg"
 - st,syscfg	: Phandle to Cortex-A9 IRQ system config registers
 - st,irq-device	: Array of IRQs to enable - should be 2 in length
 - st,fiq-device	: Array of FIQs to enable - should be 2 in length
@@ -25,11 +21,10 @@ Optional properties:
 Example:
 
 irq-syscfg {
-	compatible    = "st,stih416-irq-syscfg";
+	compatible    = "st,stih407-irq-syscfg";
 	st,syscfg     = <&syscfg_cpu>;
 	st,irq-device = <ST_IRQ_SYSCFG_PMU_0>,
 			<ST_IRQ_SYSCFG_PMU_1>;
 	st,fiq-device = <ST_IRQ_SYSCFG_DISABLED>,
 			<ST_IRQ_SYSCFG_DISABLED>;
-	st,invert-ext = <(ST_IRQ_SYSCFG_EXT_1_INV | ST_IRQ_SYSCFG_EXT_3_INV)>;
 };
Signature · 1 line
2.34.1
Acked-by on v1 4/11
#6 lore raw

Re: [PATCH 04/11] dt-bindings: irqchip: sti: remove stih415/stih416 and stid127

Quoted 3 lines · Alain Volmat

Remove bindings for the stih415/stih416/stid127 since they are not supported within the kernel anymore.

Best regards,
Krzysztof

#7 lore raw

PATCH 5/11 dt-bindings: arm: sti: remove bindings for stih415 and stih416

In reply to Alain Volmat

STiH415 and STiH416 platforms are no more supported hence remove the bindings for those two platforms.

---
 Documentation/devicetree/bindings/arm/sti.yaml | 2 --
 1 file changed, 2 deletions(-)
Documentation/devicetree/bindings/arm/sti.yaml +0 -2
index 3ca054c64377..a2822f4d60e7 100644
@@ -15,8 +15,6 @@ properties:
   compatible:
     items:
       - enum:
-          - st,stih415
-          - st,stih416
           - st,stih407
           - st,stih410
           - st,stih418
Signature · 1 line
2.34.1
#9 lore raw

Re: [PATCH 05/11] dt-bindings: arm: sti: remove bindings for stih415 and stih416

Patch dropped, modification done as part of another patch separately.

Quoted 12 lines · Krzysztof Kozlowski
Quoted 4 lines · Alain Volmat

STiH415 and STiH416 platforms are no more supported hence remove the bindings for those two platforms.

Best regards,
Krzysztof

#10 lore raw

PATCH 6/11 thermal/drivers/st: remove syscfg based driver

In reply to Alain Volmat

The syscfg based thermal driver is only supporting STiH415 STiH416 and STiD127 platforms which are all no more supported. We can thus safely remove this driver since the remaining STi platform STiH407/STiH410 and STiH418 are all using the memmap based thermal driver.

---
 drivers/thermal/st/Kconfig             |   4 -
 drivers/thermal/st/Makefile            |   1 -
 drivers/thermal/st/st_thermal_syscfg.c | 174 -------------------------
 3 files changed, 179 deletions(-)
 delete mode 100644 drivers/thermal/st/st_thermal_syscfg.c
drivers/thermal/st/Kconfig +0 -4
index 58ece381956b..ecbdf4ef00f4 100644
@@ -8,10 +8,6 @@ config ST_THERMAL
 	help
 	  Support for thermal sensors on STMicroelectronics STi series of SoCs.
 
-config ST_THERMAL_SYSCFG
-	select ST_THERMAL
-	tristate "STi series syscfg register access based thermal sensors"
-
 config ST_THERMAL_MEMMAP
 	select ST_THERMAL
 	tristate "STi series memory mapped access based thermal sensors"
drivers/thermal/st/Makefile +0 -1
index c4cfa3c4a660..9bb0342b77f4 100644
@@ -1,5 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_ST_THERMAL)		:= st_thermal.o
-obj-$(CONFIG_ST_THERMAL_SYSCFG)		+= st_thermal_syscfg.o
 obj-$(CONFIG_ST_THERMAL_MEMMAP)		+= st_thermal_memmap.o
 obj-$(CONFIG_STM32_THERMAL)		+= stm_thermal.o
drivers/thermal/st/st_thermal_syscfg.c deleted +0 -174

174 lines not on this page · raw message

Signature · 1 line
2.34.1
#11 lore raw

Re: [PATCH 06/11] thermal/drivers/st: remove syscfg based driver

Quoted 8 lines · Alain Volmat

The syscfg based thermal driver is only supporting STiH415 STiH416 and STiD127 platforms which are all no more supported. We can thus safely remove this driver since the remaining STi platform STiH407/STiH410 and STiH418 are all using the memmap based thermal driver.

---

Applied, thanks

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#12 lore raw

PATCH 7/11 net: ethernet: stmmac: dwmac-sti: remove stih415/stih416/stid127

In reply to Alain Volmat

Remove no more supported platforms (stih415/stih416 and stid127)

---
 .../net/ethernet/stmicro/stmmac/dwmac-sti.c   | 60 +------------------
 1 file changed, 1 insertion(+), 59 deletions(-)
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c +1 -59
index 710d7435733e..3b424f4f95f9 100644
@@ -35,7 +35,7 @@
 #define IS_PHY_IF_MODE_GBIT(iface)	(IS_PHY_IF_MODE_RGMII(iface) || \
 					 iface == PHY_INTERFACE_MODE_GMII)
 
-/* STiH4xx register definitions (STiH415/STiH416/STiH407/STiH410 families)
+/* STiH4xx register definitions (STiH407/STiH410 families)
  *
  * Below table summarizes the clock requirement and clock sources for
  * supported phy interface modes with link speeds.
@@ -75,27 +75,6 @@
 #define STIH4XX_ETH_SEL_INTERNAL_NOTEXT_PHYCLK	BIT(7)
 #define STIH4XX_ETH_SEL_TXCLK_NOT_CLK125	BIT(6)
 
-/* STiD127 register definitions
- *-----------------------
- * src	 |BIT(6)| BIT(7)|
- *-----------------------
- * MII   |  1	|   n/a	|
- *-----------------------
- * RMII  |  n/a	|   1	|
- * clkgen|	|	|
- *-----------------------
- * RMII  |  n/a	|   0	|
- * phyclk|	|	|
- *-----------------------
- * RGMII |  1	|  n/a	|
- * clkgen|	|	|
- *-----------------------
- */
-
-#define STID127_RETIME_SRC_MASK			GENMASK(7, 6)
-#define STID127_ETH_SEL_INTERNAL_NOTEXT_PHYCLK	BIT(7)
-#define STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK	BIT(6)
-
 #define ENMII_MASK	GENMASK(5, 5)
 #define ENMII		BIT(5)
 #define EN_MASK		GENMASK(1, 1)
@@ -194,36 +173,6 @@ static void stih4xx_fix_retime_src(void *priv, u32 spd)
 			   stih4xx_tx_retime_val[src]);
 }
 
-static void stid127_fix_retime_src(void *priv, u32 spd)
-{
-	struct sti_dwmac *dwmac = priv;
-	u32 reg = dwmac->ctrl_reg;
-	u32 freq = 0;
-	u32 val = 0;
-
-	if (dwmac->interface == PHY_INTERFACE_MODE_MII) {
-		val = STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK;
-	} else if (dwmac->interface == PHY_INTERFACE_MODE_RMII) {
-		if (!dwmac->ext_phyclk) {
-			val = STID127_ETH_SEL_INTERNAL_NOTEXT_PHYCLK;
-			freq = DWMAC_50MHZ;
-		}
-	} else if (IS_PHY_IF_MODE_RGMII(dwmac->interface)) {
-		val = STID127_ETH_SEL_INTERNAL_NOTEXT_TXCLK;
-		if (spd == SPEED_1000)
-			freq = DWMAC_125MHZ;
-		else if (spd == SPEED_100)
-			freq = DWMAC_25MHZ;
-		else if (spd == SPEED_10)
-			freq = DWMAC_2_5MHZ;
-	}
-
-	if (freq)
-		clk_set_rate(dwmac->clk, freq);
-
-	regmap_update_bits(dwmac->regmap, reg, STID127_RETIME_SRC_MASK, val);
-}
-
 static int sti_dwmac_set_mode(struct sti_dwmac *dwmac)
 {
 	struct regmap *regmap = dwmac->regmap;
@@ -407,14 +356,7 @@ static const struct sti_dwmac_of_data stih4xx_dwmac_data = {
 	.fix_retime_src = stih4xx_fix_retime_src,
 };
 
-static const struct sti_dwmac_of_data stid127_dwmac_data = {
-	.fix_retime_src = stid127_fix_retime_src,
-};
-
 static const struct of_device_id sti_dwmac_match[] = {
-	{ .compatible = "st,stih415-dwmac", .data = &stih4xx_dwmac_data},
-	{ .compatible = "st,stih416-dwmac", .data = &stih4xx_dwmac_data},
-	{ .compatible = "st,stid127-dwmac", .data = &stid127_dwmac_data},
 	{ .compatible = "st,stih407-dwmac", .data = &stih4xx_dwmac_data},
 	{ }
 };
Signature · 1 line
2.34.1
#14 lore raw

PATCH 8/11 dt-bindings: net: dwmac: sti: remove stih415/sti416/stid127

In reply to Alain Volmat

Remove compatible for stih415/stih416 and stid127 which are no more supported.

---
 Documentation/devicetree/bindings/net/sti-dwmac.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/devicetree/bindings/net/sti-dwmac.txt +1 -2
index 062c5174add3..42cd075456ab 100644
@@ -7,8 +7,7 @@ and what is needed on STi platforms to program the stmmac glue logic.
 The device node has following properties.
 
 Required properties:
- - compatible	: Can be "st,stih415-dwmac", "st,stih416-dwmac",
-   "st,stih407-dwmac", "st,stid127-dwmac".
+ - compatible	: "st,stih407-dwmac"
  - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which
    encompases the glue register, and the offset of the control register.
  - st,gmac_en: this is to enable the gmac into a dedicated sysctl control
Signature · 1 line
2.34.1
#16 lore raw

PATCH 9/11 dt-bindings: reset: remove stih415/stih416 reset bindings

In reply to Alain Volmat

Remove the stih415 and stih416 reset dt-bindings since those two platforms are no more supported.

---
 include/dt-bindings/reset/stih415-resets.h | 28 ------------
 include/dt-bindings/reset/stih416-resets.h | 52 ----------------------
 2 files changed, 80 deletions(-)
 delete mode 100644 include/dt-bindings/reset/stih415-resets.h
 delete mode 100644 include/dt-bindings/reset/stih416-resets.h
include/dt-bindings/reset/stih415-resets.h deleted +0 -28
deleted file mode 100644
index 96f7831a1db0..000000000000
@@ -1,28 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This header provides constants for the reset controller
- * based peripheral powerdown requests on the STMicroelectronics
- * STiH415 SoC.
- */
-#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415
-#define _DT_BINDINGS_RESET_CONTROLLER_STIH415
-
-#define STIH415_EMISS_POWERDOWN		0
-#define STIH415_NAND_POWERDOWN		1
-#define STIH415_KEYSCAN_POWERDOWN	2
-#define STIH415_USB0_POWERDOWN		3
-#define STIH415_USB1_POWERDOWN		4
-#define STIH415_USB2_POWERDOWN		5
-#define STIH415_SATA0_POWERDOWN		6
-#define STIH415_SATA1_POWERDOWN		7
-#define STIH415_PCIE_POWERDOWN		8
-
-#define STIH415_ETH0_SOFTRESET		0
-#define STIH415_ETH1_SOFTRESET		1
-#define STIH415_IRB_SOFTRESET		2
-#define STIH415_USB0_SOFTRESET		3
-#define STIH415_USB1_SOFTRESET		4
-#define STIH415_USB2_SOFTRESET		5
-#define STIH415_KEYSCAN_SOFTRESET	6
-
-#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */
include/dt-bindings/reset/stih416-resets.h deleted +0 -52

52 lines not on this page · raw message

Signature · 1 line
2.34.1
Acked-by on v1 9/11
#17 lore raw

Re: [PATCH 09/11] dt-bindings: reset: remove stih415/stih416 reset bindings

Quoted 2 lines · Alain Volmat

Remove the stih415 and stih416 reset dt-bindings since those two platforms are no more supported.

Subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings.

This applies to your other patches as well.

Quoted 7 lines
---
 include/dt-bindings/reset/stih415-resets.h | 28 ------------
 include/dt-bindings/reset/stih416-resets.h | 52 ----------------------
 2 files changed, 80 deletions(-)
 delete mode 100644 include/dt-bindings/reset/stih415-resets.h

Best regards,
Krzysztof

#18 lore raw

Re: [PATCH 09/11] dt-bindings: reset: remove stih415/stih416 reset bindings

Quoted 8 lines · Krzysztof Kozlowski
Quoted 2 lines · Alain Volmat

Remove the stih415 and stih416 reset dt-bindings since those two platforms are no more supported.

Subject: drop second/last, redundant "bindings". The "dt-bindings" prefix is already stating that these are bindings.

This applies to your other patches as well.

Thanks for the review. I corrected that and will push a v2 once I got further comments about the overall serie.

Quoted 15 lines
Quoted 8 lines
---
 include/dt-bindings/reset/stih415-resets.h | 28 ------------
 include/dt-bindings/reset/stih416-resets.h | 52 ----------------------
 2 files changed, 80 deletions(-)
 delete mode 100644 include/dt-bindings/reset/stih415-resets.h

Best regards,
Krzysztof

#19 lore raw

PATCH 10/11 dt-bindings: clock: remove stih416 bindings

In reply to Alain Volmat

Remove the stih416 clock dt-bindings since this platform is no more supported.

---
 include/dt-bindings/clock/stih416-clks.h | 17 -----------------
 1 file changed, 17 deletions(-)
 delete mode 100644 include/dt-bindings/clock/stih416-clks.h
include/dt-bindings/clock/stih416-clks.h deleted +0 -17
deleted file mode 100644
index 74302278024e..000000000000
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * This header provides constants clk index STMicroelectronics
- * STiH416 SoC.
- */
-#ifndef _CLK_STIH416
-#define _CLK_STIH416
-
-/* CLOCKGEN A0 */
-#define CLK_ICN_REG		0
-#define CLK_ETH1_PHY		4
-
-/* CLOCKGEN A1 */
-#define CLK_ICN_IF_2		0
-#define CLK_GMAC0_PHY		3
-
-#endif
Signature · 1 line
2.34.1
maintainer Applied
#21 lore raw

Re: [PATCH 10/11] dt-bindings: clock: remove stih416 bindings

In reply to Alain Volmat

Quoting Alain Volmat (2023-02-09 01:16:58)

Quoted 5 lines

Remove the stih416 clock dt-bindings since this platform is no more supported.

---

Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#22 lore raw

PATCH 11/11 ARM: debug: removal of STiH415/STiH416 related debug uart

In reply to Alain Volmat

Remove the entries related to the debug uart addresses for platforms STiH415 and STiH416 which are no more supported.

---
 arch/arm/Kconfig.debug | 28 ----------------------------
 1 file changed, 28 deletions(-)
arch/arm/Kconfig.debug +0 -28
index c345775f035b..e7307eeb2abb 100644
@@ -1205,26 +1205,6 @@ choice
 		  Say Y here if you want kernel low-level debugging support
 		  on ST SPEAr13xx based platforms.
 
-	config DEBUG_STIH41X_ASC2
-		bool "Use StiH415/416 ASC2 UART for low-level debug"
-		depends on ARCH_STI
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on STiH415/416 based platforms like b2000, which has
-		  default UART wired up to ASC2.
-
-		  If unsure, say N.
-
-	config DEBUG_STIH41X_SBC_ASC1
-		bool "Use StiH415/416 SBC ASC1 UART for low-level debug"
-		depends on ARCH_STI
-		help
-		  Say Y here if you want kernel low-level debugging support
-		  on STiH415/416 based platforms like b2020. which has
-		  default UART wired up to SBC ASC1.
-
-		  If unsure, say N.
-
 	config DEBUG_STIH418_SBC_ASC0
 		bool "Use StiH418 SBC ASC0 UART for low-level debug"
 		depends on ARCH_STI
@@ -1597,8 +1577,6 @@ config DEBUG_LL_INCLUDE
 	default "debug/renesas-scif.S" if DEBUG_RMOBILE_SCIFA4
 	default "debug/s3c24xx.S" if DEBUG_S3C24XX_UART || DEBUG_S3C64XX_UART
 	default "debug/s5pv210.S" if DEBUG_S5PV210_UART
-	default "debug/sti.S" if DEBUG_STIH41X_ASC2
-	default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1
 	default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0
 	default "debug/stm32.S" if DEBUG_STM32_UART
 	default "debug/tegra.S" if DEBUG_TEGRA_UART
@@ -1728,9 +1706,7 @@ config DEBUG_UART_PHYS
 	default 0xfc00c000 if DEBUG_AT91_SAMA5D4_USART3
 	default 0xfcb00000 if DEBUG_HI3620_UART
 	default 0xfd883000 if DEBUG_ALPINE_UART0
-	default 0xfe531000 if DEBUG_STIH41X_SBC_ASC1
 	default 0xfe800000 if ARCH_IOP32X
-	default 0xfed32000 if DEBUG_STIH41X_ASC2
 	default 0xff690000 if DEBUG_RK32_UART2
 	default 0xffc02000 if DEBUG_SOCFPGA_UART0
 	default 0xffc02100 if DEBUG_SOCFPGA_ARRIA10_UART1
@@ -1759,7 +1735,6 @@ config DEBUG_UART_PHYS
 		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
 		DEBUG_DIGICOLOR_UA0 || \
 		DEBUG_AT91_UART || DEBUG_STM32_UART || \
-		DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
 		DEBUG_STIH418_SBC_ASC0
 
 config DEBUG_UART_VIRT
@@ -1827,9 +1802,7 @@ config DEBUG_UART_VIRT
 	default 0xfcfe8600 if DEBUG_BCM63XX_UART
 	default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
 	default 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM
-	default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1
 	default 0xfd883000 if DEBUG_ALPINE_UART0
-	default 0xfdd32000 if DEBUG_STIH41X_ASC2
 	default 0xfe010000 if STM32MP1_DEBUG_UART
 	default 0xfe017000 if DEBUG_MMP_UART2
 	default 0xfe018000 if DEBUG_MMP_UART3
@@ -1871,7 +1844,6 @@ config DEBUG_UART_VIRT
 		DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
 		DEBUG_DIGICOLOR_UA0 || \
 		DEBUG_AT91_UART || DEBUG_STM32_UART || \
-		DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \
 		DEBUG_STIH418_SBC_ASC0
 
 config DEBUG_UART_8250_SHIFT
Signature · 1 line
2.34.1
#23 lore raw
In reply to Alain Volmat
Quoted 5 lines · Alain Volmat

Most of code in order to support STiH415 and STiH416 have already been removed from the kernel in 2016, however few bits are still remainings.
This serie removes the last pieces of support for STiH415, STiH416 and STiD127.

How would like to have the patches applied ?

Ack from the different maintainers or each maintainer apply the relevant patches ?

Thanks
-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#24 lore raw
Quoted 10 lines · Daniel Lezcano
Quoted 5 lines · Alain Volmat

Most of code in order to support STiH415 and STiH416 have already been removed from the kernel in 2016, however few bits are still remainings.
This serie removes the last pieces of support for STiH415, STiH416 and STiD127.

How would like to have the patches applied ?

Ack from the different maintainers or each maintainer apply the relevant patches ?

Having seen situations like that for some other series I was guessing that each maintainer would apply the relevant patches on his side. Those two platforms being no more used, there is no specific patch ordering to keep.

I've actually been wondering at the beginning how should I post those patches. If another way is preferrable I can post again differently if that helps.

Thanks
Alain

Quoted 11 lines

Thanks
-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
maintainer
#25 lore raw
Quoted 8 lines · On Fri, 10 Feb 2023 10:12:25 +0100 Alain Volmat wrote:

Having seen situations like that for some other series I was guessing that each maintainer would apply the relevant patches on his side. Those two platforms being no more used, there is no specific patch ordering to keep.

I've actually been wondering at the beginning how should I post those patches. If another way is preferrable I can post again differently if that helps.

You'd have most luck getting the changes accepted for 6.3 if you split this up and resend to individual maintainers.

#26 lore raw
Quoted 6 lines · Jakub Kicinski
Quoted 5 lines · On Fri, 10 Feb 2023 10:12:25 +0100 Alain Volmat wrote:

Having seen situations like that for some other series I was guessing that each maintainer would apply the relevant patches on his side. Those two platforms being no more used, there is no specific patch ordering to keep.

Quoted 6 lines
Quoted 3 lines

I've actually been wondering at the beginning how should I post those patches. If another way is preferrable I can post again differently if that helps.

You'd have most luck getting the changes accepted for 6.3 if you split this up and resend to individual maintainers.

Alright, since those patches do not have real dependencies between each others, I won't update this serie and send the patches separately to their related maintainers.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel