linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC
       [not found] <CGME20250901054234epcas5p1e4b34b6ccb304b0306b1fe616edda9e2@epcas5p1.samsung.com>
@ 2025-09-01  5:19 ` Ravi Patel
  2025-09-01  5:19   ` [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for " Ravi Patel
                     ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

Add basic support for the Axis ARTPEC-8 SoC which contains
quad-core Cortex-A53 CPU and other several IPs. This SoC is an
Axis-designed chipset used in surveillance camera products such as
the AXIS Q1656-LE and AXIS Q3538-LVE.

This ARTPEC-8 SoC has a variety of Samsung-specific IP blocks and
Axis-specific IP blocks and SoC is manufactured by Samsung Foundry.

List of Samsung-provided IPs:
- UART
- Ethernet (Vendor: Synopsys)
- SDIO
- SPI
- HSI2C
- I2S
- CMU (Clock Management Unit)
- Pinctrl (GPIO)
- PCIe (Vendor: Synopsys)
- USB (Vendor: Synopsys)

List of Axis-provided IPs:
- VIP (Image Sensor Processing IP)
- VPP (Video Post Processing)
- GPU
- CDC (Video Encoder)

This patch series includes below changes:
- CMU (Clock Management Unit) driver and its bindings
- GPIO pinctrl configuration and its bindings
- Basic Device Tree for ARTPEC-8 SoC and boards

The patch series has been tested on the ARTPEC-8 EVB with
Linux v6.15-rc5 and intended to be merged via the `arm-soc` tree.

---
Changes in v4:
- Drop the applied v3 patches (Patch #01, #02, #03, #06)
- Update the pinctrl header license in dtsi patch (Patch #08 of v3 series)

Link to v3: https://lore.kernel.org/linux-samsung-soc/20250825114436.46882-1-ravi.patel@samsung.com/

---
Changes in v3:
- Rebased patchset on linux-samsung-soc "for-next" branch which includes round_rate() drop
- Add CPU mask in dtsi patch #8

Link to v2: https://lore.kernel.org/all/20250821123310.94089-1-ravi.patel@samsung.com/

---
Changes in v2:
- Update SoB sections in all patches
- Update the copyright year to 2025
- Add CMU abbreviation description
- Merge dt-bindings patch 01 and 02 into single patch
- Modify yaml file to fit coding style in CMU
- Modify clock-names
- Reorder config macros to fit coding style
- Remove the unused macro in clock driver code
- Squash all clock driver patches (4 to 10) into single patch
- Split yaml conversion patch translation and add ARTPEC-8 SoC
- Remove "clock-frequency" property from cpu node in dtsi
- Remove the "status" property in dts and dtsi
- Reorder the DTS and pin nodes to follow the alphabetical and DTS coding style
- Change items property in axis.yaml
- Move dts files to exynos folder
- Removed ARCH_ARTPEC8 from platform Kconfig
- Add pattern in MAINTAINER file
- Merge dtsi and pinctrl dtsi file
- Split board dts file

Link to v1: https://lore.kernel.org/all/20250710002047.1573841-1-ksk4725@coasia.com/
NOTE: The first version has been sent by Coasia.
      After that, it has been agreed between Coasia and Samsung that Samsung will take
      ownership of upstreaming ARTPEC-8 and ARTPEC-9 platforms.
---

SeonGu Kang (3):
  dt-bindings: pinctrl: samsung: Add compatible for ARTPEC-8 SoC
  pinctrl: samsung: Add ARTPEC-8 SoC specific configuration
  arm64: dts: axis: Add ARTPEC-8 Grizzly dts support

SungMin Park (3):
  dt-bindings: arm: axis: Add ARTPEC-8 grizzly board
  arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
  arm64: defconfig: Enable Axis ARTPEC SoC

 .../devicetree/bindings/arm/axis.yaml         |   7 +
 .../bindings/pinctrl/samsung,pinctrl.yaml     |   1 +
 MAINTAINERS                                   |  12 +
 arch/arm64/Kconfig.platforms                  |   7 +
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 arch/arm64/boot/dts/exynos/axis/Makefile      |   4 +
 .../boot/dts/exynos/axis/artpec-pinctrl.h     |  36 +++
 .../boot/dts/exynos/axis/artpec8-grizzly.dts  |  35 +++
 .../boot/dts/exynos/axis/artpec8-pinctrl.dtsi | 120 +++++++++
 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi  | 244 ++++++++++++++++++
 arch/arm64/configs/defconfig                  |   1 +
 .../pinctrl/samsung/pinctrl-exynos-arm64.c    |  50 ++++
 drivers/pinctrl/samsung/pinctrl-exynos.h      |  10 +
 drivers/pinctrl/samsung/pinctrl-samsung.c     |   2 +
 drivers/pinctrl/samsung/pinctrl-samsung.h     |   1 +
 15 files changed, 531 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/axis/Makefile
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-grizzly.dts
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi

--
2.49.0



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for ARTPEC-8 SoC
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-01  6:33     ` (subset) " Krzysztof Kozlowski
  2025-09-01  5:19   ` [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration Ravi Patel
                     ` (5 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

From: SeonGu Kang <ksk4725@coasia.com>

Document the compatible string for ARTPEC-8 SoC pinctrl block,
which is similar to other Samsung SoC pinctrl blocks.

Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml
index de8460856141..9386dcd418c2 100644
--- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml
@@ -35,6 +35,7 @@ properties:

   compatible:
     enum:
+      - axis,artpec8-pinctrl
       - google,gs101-pinctrl
       - samsung,s3c2412-pinctrl
       - samsung,s3c2416-pinctrl
--
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
  2025-09-01  5:19   ` [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for " Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-01  6:33     ` (subset) " Krzysztof Kozlowski
  2025-09-01  5:19   ` [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board Ravi Patel
                     ` (4 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio,
	Priyadarsini G

From: SeonGu Kang <ksk4725@coasia.com>

Add Axis ARTPEC-8 SoC specific configuration data to enable pinctrl.

Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
Signed-off-by: Priyadarsini G <priya.ganesh@samsung.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 .../pinctrl/samsung/pinctrl-exynos-arm64.c    | 50 +++++++++++++++++++
 drivers/pinctrl/samsung/pinctrl-exynos.h      | 10 ++++
 drivers/pinctrl/samsung/pinctrl-samsung.c     |  2 +
 drivers/pinctrl/samsung/pinctrl-samsung.h     |  1 +
 4 files changed, 63 insertions(+)

diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
index 5fe7c4b9f7bd..323487dfa8c2 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
@@ -76,6 +76,15 @@ static const struct samsung_pin_bank_type exynos8895_bank_type_off  = {
 	.reg_offset = { 0x00, 0x04, 0x08, 0x0c, 0x10, 0x14, },
 };
 
+/*
+ * Bank type for non-alive type. Bit fields:
+ * CON: 4, DAT: 1, PUD: 4, DRV: 4
+ */
+static const struct samsung_pin_bank_type artpec_bank_type_off = {
+	.fld_width = { 4, 1, 4, 4, },
+	.reg_offset = { 0x00, 0x04, 0x08, 0x0c, },
+};
+
 /* Pad retention control code for accessing PMU regmap */
 static atomic_t exynos_shared_retention_refcnt;
 
@@ -1816,3 +1825,44 @@ const struct samsung_pinctrl_of_match_data gs101_of_data __initconst = {
 	.ctrl		= gs101_pin_ctrl,
 	.num_ctrl	= ARRAY_SIZE(gs101_pin_ctrl),
 };
+
+/* pin banks of artpec8 pin-controller (FSYS0) */
+static const struct samsung_pin_bank_data artpec8_pin_banks0[] __initconst = {
+	ARTPEC_PIN_BANK_EINTG(5, 0x000, "gpf0", 0x00),
+	ARTPEC_PIN_BANK_EINTG(4, 0x020, "gpf1", 0x04),
+	ARTPEC_PIN_BANK_EINTG(8, 0x040, "gpf2", 0x08),
+	ARTPEC_PIN_BANK_EINTG(4, 0x060, "gpf3", 0x0c),
+	ARTPEC_PIN_BANK_EINTG(7, 0x080, "gpf4", 0x10),
+	ARTPEC_PIN_BANK_EINTG(8, 0x0a0, "gpe0", 0x14),
+	ARTPEC_PIN_BANK_EINTG(8, 0x0c0, "gpe1", 0x18),
+	ARTPEC_PIN_BANK_EINTG(6, 0x0e0, "gpe2", 0x1c),
+	ARTPEC_PIN_BANK_EINTG(8, 0x100, "gps0", 0x20),
+	ARTPEC_PIN_BANK_EINTG(8, 0x120, "gps1", 0x24),
+};
+
+/* pin banks of artpec8 pin-controller (PERIC) */
+static const struct samsung_pin_bank_data artpec8_pin_banks1[] __initconst = {
+	ARTPEC_PIN_BANK_EINTG(8, 0x000, "gpa0", 0x00),
+	ARTPEC_PIN_BANK_EINTG(8, 0x020, "gpa1", 0x04),
+	ARTPEC_PIN_BANK_EINTG(8, 0x040, "gpa2", 0x08),
+	ARTPEC_PIN_BANK_EINTG(2, 0x060, "gpk0", 0x0c),
+};
+
+static const struct samsung_pin_ctrl artpec8_pin_ctrl[] __initconst = {
+	{
+		/* pin-controller instance 0 FSYS data */
+		.pin_banks	= artpec8_pin_banks0,
+		.nr_banks	= ARRAY_SIZE(artpec8_pin_banks0),
+		.eint_gpio_init	= exynos_eint_gpio_init,
+	}, {
+		/* pin-controller instance 1 PERIC data */
+		.pin_banks	= artpec8_pin_banks1,
+		.nr_banks	= ARRAY_SIZE(artpec8_pin_banks1),
+		.eint_gpio_init	= exynos_eint_gpio_init,
+	},
+};
+
+const struct samsung_pinctrl_of_match_data artpec8_of_data __initconst = {
+	.ctrl		= artpec8_pin_ctrl,
+	.num_ctrl	= ARRAY_SIZE(artpec8_pin_ctrl),
+};
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.h b/drivers/pinctrl/samsung/pinctrl-exynos.h
index 362dc533186f..c9c38f8988dd 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos.h
+++ b/drivers/pinctrl/samsung/pinctrl-exynos.h
@@ -236,6 +236,16 @@
 		.name			= id				\
 	}
 
+#define ARTPEC_PIN_BANK_EINTG(pins, reg, id, offs)			\
+	{								\
+		.type			= &artpec_bank_type_off,	\
+		.pctl_offset		= reg,				\
+		.nr_pins		= pins,				\
+		.eint_type		= EINT_TYPE_GPIO,		\
+		.eint_offset		= offs,				\
+		.name			= id				\
+	}
+
 /**
  * struct exynos_weint_data: irq specific data for all the wakeup interrupts
  * generated by the external wakeup interrupt controller.
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c
index 24745e1d78ce..c099195fc464 100644
--- a/drivers/pinctrl/samsung/pinctrl-samsung.c
+++ b/drivers/pinctrl/samsung/pinctrl-samsung.c
@@ -1482,6 +1482,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = {
 		.data = &s5pv210_of_data },
 #endif
 #ifdef CONFIG_PINCTRL_EXYNOS_ARM64
+	{ .compatible = "axis,artpec8-pinctrl",
+		.data = &artpec8_of_data },
 	{ .compatible = "google,gs101-pinctrl",
 		.data = &gs101_of_data },
 	{ .compatible = "samsung,exynos2200-pinctrl",
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h
index 1cabcbe1401a..be2dee886d81 100644
--- a/drivers/pinctrl/samsung/pinctrl-samsung.h
+++ b/drivers/pinctrl/samsung/pinctrl-samsung.h
@@ -381,6 +381,7 @@ struct samsung_pmx_func {
 };
 
 /* list of all exported SoC specific data */
+extern const struct samsung_pinctrl_of_match_data artpec8_of_data;
 extern const struct samsung_pinctrl_of_match_data exynos2200_of_data;
 extern const struct samsung_pinctrl_of_match_data exynos3250_of_data;
 extern const struct samsung_pinctrl_of_match_data exynos4210_of_data;
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
  2025-09-01  5:19   ` [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for " Ravi Patel
  2025-09-01  5:19   ` [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
  2025-09-01  5:19   ` [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support Ravi Patel
                     ` (3 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

From: SungMin Park <smn1196@coasia.com>

Document the Axis ARTPEC-8 SoC binding and the grizzly board
which uses ARTPEC-8 SoC.

Signed-off-by: SungMin Park <smn1196@coasia.com>
Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/arm/axis.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/axis.yaml b/Documentation/devicetree/bindings/arm/axis.yaml
index f9c218dc6883..63e9aca85db7 100644
--- a/Documentation/devicetree/bindings/arm/axis.yaml
+++ b/Documentation/devicetree/bindings/arm/axis.yaml
@@ -8,6 +8,7 @@ title: Axis ARTPEC platforms

 maintainers:
   - Jesper Nilsson <jesper.nilsson@axis.com>
+  - Lars Persson <lars.persson@axis.com>
   - linux-arm-kernel@axis.com

 description: |
@@ -24,6 +25,12 @@ properties:
               - axis,artpec6-dev-board
           - const: axis,artpec6

+      - description: Axis ARTPEC-8 SoC board
+        items:
+          - enum:
+              - axis,artpec8-grizzly
+          - const: axis,artpec8
+
 additionalProperties: true

 ...
--
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
                     ` (2 preceding siblings ...)
  2025-09-01  5:19   ` [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-04 13:43     ` Krzysztof Kozlowski
  2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
  2025-09-01  5:19   ` [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support Ravi Patel
                     ` (2 subsequent siblings)
  6 siblings, 2 replies; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

From: SungMin Park <smn1196@coasia.com>

Add initial device tree support for Axis ARTPEC-8 SoC.

This SoC contains 4 Cortex-A53 CPUs and several other peripheral IPs.

Signed-off-by: SungMin Park <smn1196@coasia.com>
Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 MAINTAINERS                                   |  12 +
 arch/arm64/Kconfig.platforms                  |   7 +
 arch/arm64/boot/dts/exynos/Makefile           |   1 +
 .../boot/dts/exynos/axis/artpec-pinctrl.h     |  36 +++
 .../boot/dts/exynos/axis/artpec8-pinctrl.dtsi | 120 +++++++++
 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi  | 244 ++++++++++++++++++
 6 files changed, 420 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi

diff --git a/MAINTAINERS b/MAINTAINERS
index fe168477caa4..4d0c1f10ffd4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4102,6 +4102,18 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/sound/axentia,*
 F:	sound/soc/atmel/tse850-pcm5142.c

+AXIS ARTPEC ARM64 SoC SUPPORT
+M:	Jesper Nilsson <jesper.nilsson@axis.com>
+M:	Lars Persson <lars.persson@axis.com>
+L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+L:	linux-samsung-soc@vger.kernel.org
+L:	linux-arm-kernel@axis.com
+S:	Maintained
+F:	Documentation/devicetree/bindings/clock/axis,artpec*-clock.yaml
+F:	arch/arm64/boot/dts/exynos/axis/
+F:	drivers/clk/samsung/clk-artpec*.c
+F:	include/dt-bindings/clock/axis,artpec*-clk.h
+
 AXI-FAN-CONTROL HARDWARE MONITOR DRIVER
 M:	Nuno Sá <nuno.sa@analog.com>
 L:	linux-hwmon@vger.kernel.org
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index a88f5ad9328c..959f79d73b40 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -40,6 +40,13 @@ config ARCH_APPLE
 	  This enables support for Apple's in-house ARM SoC family, such
 	  as the Apple M1.

+config ARCH_ARTPEC
+	bool "Axis Communications ARTPEC SoC Family"
+	depends on ARCH_EXYNOS
+	select ARM_GIC
+	help
+	   This enables support for the ARMv8 based ARTPEC SoC Family.
+
 config ARCH_AXIADO
 	bool "Axiado SoC Family"
 	select GPIOLIB
diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile
index bdb9e9813e50..bcca63136557 100644
--- a/arch/arm64/boot/dts/exynos/Makefile
+++ b/arch/arm64/boot/dts/exynos/Makefile
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
+subdir-y += axis
 subdir-y += google

 dtb-$(CONFIG_ARCH_EXYNOS) += \
diff --git a/arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h b/arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
new file mode 100644
index 000000000000..8caf3bfdd1e3
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
@@ -0,0 +1,36 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
+/*
+ * Axis ARTPEC-8 SoC device tree pinctrl constants
+ *
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
+ *             https://www.samsung.com
+ * Copyright (c) 2025  Axis Communications AB.
+ *             https://www.axis.com
+ */
+
+#ifndef __DTS_ARM64_SAMSUNG_EXYNOS_AXIS_ARTPEC_PINCTRL_H__
+#define __DTS_ARM64_SAMSUNG_EXYNOS_AXIS_ARTPEC_PINCTRL_H__
+
+#define ARTPEC_PIN_PULL_NONE		0
+#define ARTPEC_PIN_PULL_DOWN		1
+#define ARTPEC_PIN_PULL_UP		3
+
+#define ARTPEC_PIN_FUNC_INPUT		0
+#define ARTPEC_PIN_FUNC_OUTPUT		1
+#define ARTPEC_PIN_FUNC_2		2
+#define ARTPEC_PIN_FUNC_3		3
+#define ARTPEC_PIN_FUNC_4		4
+#define ARTPEC_PIN_FUNC_5		5
+#define ARTPEC_PIN_FUNC_6		6
+#define ARTPEC_PIN_FUNC_EINT		0xf
+#define ARTPEC_PIN_FUNC_F		ARTPEC_PIN_FUNC_EINT
+
+/* Drive strength for ARTPEC */
+#define ARTPEC_PIN_DRV_SR1		0x8
+#define ARTPEC_PIN_DRV_SR2		0x9
+#define ARTPEC_PIN_DRV_SR3		0xa
+#define ARTPEC_PIN_DRV_SR4		0xb
+#define ARTPEC_PIN_DRV_SR5		0xc
+#define ARTPEC_PIN_DRV_SR6		0xd
+
+#endif /* __DTS_ARM64_SAMSUNG_EXYNOS_AXIS_ARTPEC_PINCTRL_H__ */
diff --git a/arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
new file mode 100644
index 000000000000..8d239a70f1b4
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
@@ -0,0 +1,120 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Axis ARTPEC-8 SoC pin-mux and pin-config device tree source
+ *
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
+ *             https://www.samsung.com
+ * Copyright (c) 2025  Axis Communications AB.
+ *             https://www.axis.com
+ */
+
+#include "artpec-pinctrl.h"
+
+&pinctrl_fsys {
+	gpe0: gpe0-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpe1: gpe1-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpe2: gpe2-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpf0: gpf0-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpf1: gpf1-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpf2: gpf2-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpf3: gpf3-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpf4: gpf4-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gps0: gps0-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gps1: gps1-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	serial0_bus: serial0-bus-pins {
+		samsung,pins = "gpf4-4", "gpf4-5";
+		samsung,pin-function = <ARTPEC_PIN_FUNC_2>;
+		samsung,pin-pud = <ARTPEC_PIN_PULL_UP>;
+		samsung,pin-drv = <ARTPEC_PIN_DRV_SR3>;
+	};
+};
+
+&pinctrl_peric {
+	gpa0: gpa0-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpa1: gpa1-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpa2: gpa2-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+
+	gpk0: gpk0-gpio-bank {
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-controller;
+		#interrupt-cells = <2>;
+	};
+};
diff --git a/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi b/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
new file mode 100644
index 000000000000..db9833297982
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
@@ -0,0 +1,244 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Axis ARTPEC-8 SoC device tree source
+ *
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
+ *             https://www.samsung.com
+ * Copyright (c) 2025  Axis Communications AB.
+ *             https://www.axis.com
+ */
+
+#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/clock/axis,artpec8-clk.h>
+
+/ {
+	compatible = "axis,artpec8";
+	interrupt-parent = <&gic>;
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	aliases {
+		pinctrl0 = &pinctrl_fsys;
+		pinctrl1 = &pinctrl_peric;
+	};
+
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu0: cpu@0 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a53";
+			reg = <0x0>;
+			enable-method = "psci";
+			cpu-idle-states = <&cpu_sleep>;
+			clocks = <&cmu_cpucl CLK_GOUT_CPUCL_CLUSTER_CPU>;
+			clock-names = "cpu";
+		};
+
+		cpu1: cpu@1 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a53";
+			reg = <0x1>;
+			enable-method = "psci";
+			cpu-idle-states = <&cpu_sleep>;
+		};
+
+		cpu2: cpu@2 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a53";
+			reg = <0x2>;
+			enable-method = "psci";
+			cpu-idle-states = <&cpu_sleep>;
+		};
+
+		cpu3: cpu@3 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a53";
+			reg = <0x3>;
+			enable-method = "psci";
+			cpu-idle-states = <&cpu_sleep>;
+		};
+
+		idle-states {
+			entry-method = "psci";
+
+			cpu_sleep: cpu-sleep {
+				compatible = "arm,idle-state";
+				arm,psci-suspend-param = <0x0010000>;
+				local-timer-stop;
+				entry-latency-us = <300>;
+				exit-latency-us = <1200>;
+				min-residency-us = <2000>;
+			};
+		};
+	};
+
+	fin_pll: clock-finpll {
+		compatible = "fixed-factor-clock";
+		clocks = <&osc_clk>;
+		#clock-cells = <0>;
+		clock-div = <2>;
+		clock-mult = <1>;
+		clock-output-names = "fin_pll";
+	};
+
+	osc_clk: clock-osc {
+		/* XXTI */
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-output-names = "osc_clk";
+	};
+
+	pmu {
+		compatible = "arm,cortex-a53-pmu";
+		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
+	};
+
+	psci {
+		compatible = "arm,psci-0.2";
+		method = "smc";
+	};
+
+	soc: soc@0 {
+		compatible = "simple-bus";
+		ranges = <0x0 0x0 0x0 0x17000000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		cmu_imem: clock-controller@10010000 {
+			compatible = "axis,artpec8-cmu-imem";
+			reg = <0x10010000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_IMEM_ACLK>,
+				 <&cmu_cmu CLK_DOUT_CMU_IMEM_JPEG>;
+			clock-names = "fin_pll", "aclk", "jpeg";
+		};
+
+		timer@10040000 {
+			compatible = "axis,artpec8-mct", "samsung,exynos4210-mct";
+			reg = <0x10040000 0x1000>;
+			clocks = <&fin_pll>, <&cmu_imem CLK_GOUT_IMEM_MCT_PCLK>;
+			clock-names = "fin_pll", "mct";
+			interrupts = <GIC_SPI 455 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 461 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		gic: interrupt-controller@10201000 {
+			compatible = "arm,gic-400";
+			reg = <0x10201000 0x1000>,
+			      <0x10202000 0x2000>,
+			      <0x10204000 0x2000>,
+			      <0x10206000 0x2000>;
+			#interrupt-cells = <3>;
+			interrupt-controller;
+			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+		};
+
+		cmu_cpucl: clock-controller@11410000 {
+			compatible = "axis,artpec8-cmu-cpucl";
+			reg = <0x11410000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_CPUCL_SWITCH>;
+			clock-names = "fin_pll", "switch";
+		};
+
+		cmu_cmu: clock-controller@12400000 {
+			compatible = "axis,artpec8-cmu-cmu";
+			reg = <0x12400000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>;
+			clock-names = "fin_pll";
+		};
+
+		cmu_core: clock-controller@12410000 {
+			compatible = "axis,artpec8-cmu-core";
+			reg = <0x12410000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_CORE_MAIN>,
+				 <&cmu_cmu CLK_DOUT_CMU_CORE_DLP>;
+			clock-names = "fin_pll", "main", "dlp";
+		};
+
+		cmu_bus: clock-controller@12c10000 {
+			compatible = "axis,artpec8-cmu-bus";
+			reg = <0x12c10000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_BUS>,
+				 <&cmu_cmu CLK_DOUT_CMU_BUS_DLP>;
+			clock-names = "fin_pll", "bus", "dlp";
+		};
+
+		cmu_peri: clock-controller@16410000 {
+			compatible = "axis,artpec8-cmu-peri";
+			reg = <0x16410000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_PERI_IP>,
+				 <&cmu_cmu CLK_DOUT_CMU_PERI_AUDIO>,
+				 <&cmu_cmu CLK_DOUT_CMU_PERI_DISP>;
+			clock-names = "fin_pll", "ip", "audio", "disp";
+		};
+
+		pinctrl_peric: pinctrl@165f0000 {
+			compatible = "axis,artpec8-pinctrl";
+			reg = <0x165f0000 0x1000>;
+			interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		cmu_fsys: clock-controller@16c10000 {
+			compatible = "axis,artpec8-cmu-fsys";
+			reg = <0x16c10000 0x4000>;
+			#clock-cells = <1>;
+			clocks = <&fin_pll>,
+				 <&cmu_cmu CLK_DOUT_CMU_FSYS_SCAN0>,
+				 <&cmu_cmu CLK_DOUT_CMU_FSYS_SCAN1>,
+				 <&cmu_cmu CLK_DOUT_CMU_FSYS_BUS>,
+				 <&cmu_cmu CLK_DOUT_CMU_FSYS_IP>;
+			clock-names = "fin_pll", "scan0", "scan1", "bus", "ip";
+		};
+
+		pinctrl_fsys: pinctrl@16c30000 {
+			compatible = "axis,artpec8-pinctrl";
+			reg = <0x16c30000 0x1000>;
+			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		serial_0: serial@16cc0000 {
+			compatible = "axis,artpec8-uart";
+			reg = <0x16cc0000 0x100>;
+			clocks = <&cmu_fsys CLK_GOUT_FSYS_UART0_PCLK>,
+				 <&cmu_fsys CLK_GOUT_FSYS_UART0_SCLK_UART>;
+			clock-names = "uart", "clk_uart_baud0";
+			interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&serial0_bus>;
+		};
+	};
+
+	timer {
+		compatible = "arm,armv8-timer";
+		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+	};
+};
--
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
                     ` (3 preceding siblings ...)
  2025-09-01  5:19   ` [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
  2025-09-01  5:19   ` [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC Ravi Patel
  2025-10-02  6:39   ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Krzysztof Kozlowski
  6 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

From: SeonGu Kang <ksk4725@coasia.com>

Add initial devcie tree for the ARTPEC-8 Grizzly board.
The ARTPEC-8 Grizzly is a small board developed by Axis,
based on the Axis ARTPEC-8 SoC.

Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 arch/arm64/boot/dts/exynos/axis/Makefile      |  4 +++
 .../boot/dts/exynos/axis/artpec8-grizzly.dts  | 35 +++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 arch/arm64/boot/dts/exynos/axis/Makefile
 create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-grizzly.dts

diff --git a/arch/arm64/boot/dts/exynos/axis/Makefile b/arch/arm64/boot/dts/exynos/axis/Makefile
new file mode 100644
index 000000000000..ccf00de64016
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/axis/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_ARTPEC) += \
+	artpec8-grizzly.dtb
diff --git a/arch/arm64/boot/dts/exynos/axis/artpec8-grizzly.dts b/arch/arm64/boot/dts/exynos/axis/artpec8-grizzly.dts
new file mode 100644
index 000000000000..5ae864ec3193
--- /dev/null
+++ b/arch/arm64/boot/dts/exynos/axis/artpec8-grizzly.dts
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Axis ARTPEC-8 Grizzly board device tree source
+ *
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
+ *             https://www.samsung.com
+ * Copyright (c) 2025  Axis Communications AB.
+ *             https://www.axis.com
+ */
+
+/dts-v1/;
+#include "artpec8.dtsi"
+#include "artpec8-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+/ {
+	model = "ARTPEC-8 grizzly board";
+	compatible = "axis,artpec8-grizzly", "axis,artpec8";
+
+	aliases {
+		serial0 = &serial_0;
+	};
+
+	chosen {
+		stdout-path = &serial_0;
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x0 0x80000000 0x0 0x80000000>;
+	};
+};
+
+&osc_clk {
+	clock-frequency = <50000000>;
+};
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
                     ` (4 preceding siblings ...)
  2025-09-01  5:19   ` [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support Ravi Patel
@ 2025-09-01  5:19   ` Ravi Patel
  2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
  2025-10-02  6:39   ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Krzysztof Kozlowski
  6 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-09-01  5:19 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, ravi.patel, inbaraj.e, swathi.ks, hrishikesh.d,
	dj76.yang, hypmean.kim, linux-kernel, linux-arm-kernel,
	linux-samsung-soc, linux-arm-kernel, devicetree, linux-gpio

From: SungMin Park <smn1196@coasia.com>

Enable the Axis ARTPEC-8 SoC in arm64 defconfig.

Signed-off-by: SungMin Park <smn1196@coasia.com>
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 58f87d09366c..6660d3ee6f99 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -38,6 +38,7 @@ CONFIG_ARCH_AIROHA=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_ARCH_ALPINE=y
 CONFIG_ARCH_APPLE=y
+CONFIG_ARCH_ARTPEC=y
 CONFIG_ARCH_AXIADO=y
 CONFIG_ARCH_BCM=y
 CONFIG_ARCH_BCM2835=y
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for ARTPEC-8 SoC
  2025-09-01  5:19   ` [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for " Ravi Patel
@ 2025-09-01  6:33     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-01  6:33 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio


On Mon, 01 Sep 2025 10:49:21 +0530, Ravi Patel wrote:
> Document the compatible string for ARTPEC-8 SoC pinctrl block,
> which is similar to other Samsung SoC pinctrl blocks.
> 
> 

Applied, thanks!

[1/6] dt-bindings: pinctrl: samsung: Add compatible for ARTPEC-8 SoC
      https://git.kernel.org/pinctrl/samsung/c/03724b3496cb0272a5050a989ebf2494b1ff5a55

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration
  2025-09-01  5:19   ` [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration Ravi Patel
@ 2025-09-01  6:33     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-01  6:33 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio, Priyadarsini G


On Mon, 01 Sep 2025 10:49:22 +0530, Ravi Patel wrote:
> Add Axis ARTPEC-8 SoC specific configuration data to enable pinctrl.
> 
> 

Applied, thanks!

[2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration
      https://git.kernel.org/pinctrl/samsung/c/d4ac729964d8967261fe15fdc8f249729f923120

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
  2025-09-01  5:19   ` [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support Ravi Patel
@ 2025-09-04 13:43     ` Krzysztof Kozlowski
  2025-09-04 14:29       ` Jesper Nilsson
  2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
  1 sibling, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 13:43 UTC (permalink / raw)
  To: Ravi Patel, jesper.nilsson, mturquette, sboyd, robh, krzk+dt,
	conor+dt, s.nawrocki, cw00.choi, alim.akhtar, linus.walleij,
	tomasz.figa, catalin.marinas, will, arnd
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio

On 01/09/2025 07:19, Ravi Patel wrote:
> From: SungMin Park <smn1196@coasia.com>
> 
> Add initial device tree support for Axis ARTPEC-8 SoC.
> 
> This SoC contains 4 Cortex-A53 CPUs and several other peripheral IPs.
> 
> Signed-off-by: SungMin Park <smn1196@coasia.com>
> Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
> Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
> ---
>  MAINTAINERS                                   |  12 +
>  arch/arm64/Kconfig.platforms                  |   7 +
>  arch/arm64/boot/dts/exynos/Makefile           |   1 +
>  .../boot/dts/exynos/axis/artpec-pinctrl.h     |  36 +++
>  .../boot/dts/exynos/axis/artpec8-pinctrl.dtsi | 120 +++++++++
>  arch/arm64/boot/dts/exynos/axis/artpec8.dtsi  | 244 ++++++++++++++++++
>  6 files changed, 420 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
>  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
>  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index fe168477caa4..4d0c1f10ffd4 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -4102,6 +4102,18 @@ S:	Maintained
>  F:	Documentation/devicetree/bindings/sound/axentia,*
>  F:	sound/soc/atmel/tse850-pcm5142.c
> 
> +AXIS ARTPEC ARM64 SoC SUPPORT
> +M:	Jesper Nilsson <jesper.nilsson@axis.com>
> +M:	Lars Persson <lars.persson@axis.com>
> +L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> +L:	linux-samsung-soc@vger.kernel.org
> +L:	linux-arm-kernel@axis.com
> +S:	Maintained
> +F:	Documentation/devicetree/bindings/clock/axis,artpec*-clock.yaml
> +F:	arch/arm64/boot/dts/exynos/axis/
> +F:	drivers/clk/samsung/clk-artpec*.c
> +F:	include/dt-bindings/clock/axis,artpec*-clk.h

Some official ack would be nice for this, but I also remember we earlier
emails, so I will take it as is.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board
  2025-09-01  5:19   ` [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board Ravi Patel
@ 2025-09-04 13:46     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 13:46 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio


On Mon, 01 Sep 2025 10:49:23 +0530, Ravi Patel wrote:
> Document the Axis ARTPEC-8 SoC binding and the grizzly board
> which uses ARTPEC-8 SoC.
> 
> 

Applied, thanks!

[3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board
      https://git.kernel.org/krzk/linux/c/604a932fa924e7b15be47c6208a305f289cfa309

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
  2025-09-01  5:19   ` [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support Ravi Patel
  2025-09-04 13:43     ` Krzysztof Kozlowski
@ 2025-09-04 13:46     ` Krzysztof Kozlowski
  1 sibling, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 13:46 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio


On Mon, 01 Sep 2025 10:49:24 +0530, Ravi Patel wrote:
> Add initial device tree support for Axis ARTPEC-8 SoC.
> 
> This SoC contains 4 Cortex-A53 CPUs and several other peripheral IPs.
> 
> 

Applied, thanks!

[4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
      https://git.kernel.org/krzk/linux/c/2b48947f7b03e0fea32ea2c6841a0d8cd67e737b

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support
  2025-09-01  5:19   ` [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support Ravi Patel
@ 2025-09-04 13:46     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 13:46 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio


On Mon, 01 Sep 2025 10:49:25 +0530, Ravi Patel wrote:
> Add initial devcie tree for the ARTPEC-8 Grizzly board.
> The ARTPEC-8 Grizzly is a small board developed by Axis,
> based on the Axis ARTPEC-8 SoC.
> 
> 

Applied, thanks!

[5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support
      https://git.kernel.org/krzk/linux/c/9e74b88c0a57f78dfd3017de435ae400d9b659d2

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: (subset) [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC
  2025-09-01  5:19   ` [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC Ravi Patel
@ 2025-09-04 13:46     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-09-04 13:46 UTC (permalink / raw)
  To: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt, krzk,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, Ravi Patel
  Cc: ksk4725, kenkim, pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196,
	shradha.t, inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang,
	hypmean.kim, linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio


On Mon, 01 Sep 2025 10:49:26 +0530, Ravi Patel wrote:
> Enable the Axis ARTPEC-8 SoC in arm64 defconfig.
> 
> 

Applied, thanks!

[6/6] arm64: defconfig: Enable Axis ARTPEC SoC
      https://git.kernel.org/krzk/linux/c/eca86a61aedaa40310135c8799b28187afbc677e

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support
  2025-09-04 13:43     ` Krzysztof Kozlowski
@ 2025-09-04 14:29       ` Jesper Nilsson
  0 siblings, 0 replies; 18+ messages in thread
From: Jesper Nilsson @ 2025-09-04 14:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Ravi Patel, jesper.nilsson, mturquette, sboyd, robh, krzk+dt,
	conor+dt, s.nawrocki, cw00.choi, alim.akhtar, linus.walleij,
	tomasz.figa, catalin.marinas, will, arnd, ksk4725, kenkim,
	pjsin865, gwk1013, hgkim05, mingyoungbo, smn1196, shradha.t,
	inbaraj.e, swathi.ks, hrishikesh.d, dj76.yang, hypmean.kim,
	linux-kernel, linux-arm-kernel, linux-samsung-soc,
	linux-arm-kernel, devicetree, linux-gpio

On Thu, Sep 04, 2025 at 03:43:14PM +0200, Krzysztof Kozlowski wrote
> On 01/09/2025 07:19, Ravi Patel wrote:
> > From: SungMin Park <smn1196@coasia.com>
> > 
> > Add initial device tree support for Axis ARTPEC-8 SoC.
> > 
> > This SoC contains 4 Cortex-A53 CPUs and several other peripheral IPs.
> > 
> > Signed-off-by: SungMin Park <smn1196@coasia.com>
> > Signed-off-by: SeonGu Kang <ksk4725@coasia.com>
> > Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
> > ---
> >  MAINTAINERS                                   |  12 +
> >  arch/arm64/Kconfig.platforms                  |   7 +
> >  arch/arm64/boot/dts/exynos/Makefile           |   1 +
> >  .../boot/dts/exynos/axis/artpec-pinctrl.h     |  36 +++
> >  .../boot/dts/exynos/axis/artpec8-pinctrl.dtsi | 120 +++++++++
> >  arch/arm64/boot/dts/exynos/axis/artpec8.dtsi  | 244 ++++++++++++++++++
> >  6 files changed, 420 insertions(+)
> >  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec-pinctrl.h
> >  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8-pinctrl.dtsi
> >  create mode 100644 arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
> > 
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index fe168477caa4..4d0c1f10ffd4 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -4102,6 +4102,18 @@ S:	Maintained
> >  F:	Documentation/devicetree/bindings/sound/axentia,*
> >  F:	sound/soc/atmel/tse850-pcm5142.c
> > 
> > +AXIS ARTPEC ARM64 SoC SUPPORT
> > +M:	Jesper Nilsson <jesper.nilsson@axis.com>
> > +M:	Lars Persson <lars.persson@axis.com>
> > +L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
> > +L:	linux-samsung-soc@vger.kernel.org
> > +L:	linux-arm-kernel@axis.com
> > +S:	Maintained
> > +F:	Documentation/devicetree/bindings/clock/axis,artpec*-clock.yaml
> > +F:	arch/arm64/boot/dts/exynos/axis/
> > +F:	drivers/clk/samsung/clk-artpec*.c
> > +F:	include/dt-bindings/clock/axis,artpec*-clk.h
> 
> Some official ack would be nice for this, but I also remember we earlier
> emails, so I will take it as is.

Sure, that is a reasonable request,

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Best regards,
> Krzysztof

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC
  2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
                     ` (5 preceding siblings ...)
  2025-09-01  5:19   ` [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC Ravi Patel
@ 2025-10-02  6:39   ` Krzysztof Kozlowski
  2025-10-03  5:44     ` Ravi Patel
  6 siblings, 1 reply; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-02  6:39 UTC (permalink / raw)
  To: Ravi Patel
  Cc: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, ksk4725, kenkim, pjsin865, gwk1013,
	hgkim05, mingyoungbo, smn1196, shradha.t, inbaraj.e, swathi.ks,
	hrishikesh.d, dj76.yang, hypmean.kim, linux-kernel,
	linux-arm-kernel, linux-samsung-soc, linux-arm-kernel, devicetree,
	linux-gpio

On Mon, 1 Sept 2025 at 14:42, Ravi Patel <ravi.patel@samsung.com> wrote:
>
> Add basic support for the Axis ARTPEC-8 SoC which contains
> quad-core Cortex-A53 CPU and other several IPs. This SoC is an
> Axis-designed chipset used in surveillance camera products such as
> the AXIS Q1656-LE and AXIS Q3538-LVE.
>
> This ARTPEC-8 SoC has a variety of Samsung-specific IP blocks and
> Axis-specific IP blocks and SoC is manufactured by Samsung Foundry.
>
> List of Samsung-provided IPs:
> - UART
> - Ethernet (Vendor: Synopsys)
> - SDIO
> - SPI
> - HSI2C
> - I2S
> - CMU (Clock Management Unit)
> - Pinctrl (GPIO)
> - PCIe (Vendor: Synopsys)
> - USB (Vendor: Synopsys)
>
> List of Axis-provided IPs:
> - VIP (Image Sensor Processing IP)
> - VPP (Video Post Processing)
> - GPU
> - CDC (Video Encoder)
>
> This patch series includes below changes:
> - CMU (Clock Management Unit) driver and its bindings
> - GPIO pinctrl configuration and its bindings
> - Basic Device Tree for ARTPEC-8 SoC and boards
>

Pretty useless cover letter since it doesn't say the damn most
important thing : dependency!

So this went unnoticed and now mainline (Linus tree) is affected. See
Linus rant on soc pull request

I'm very disappointed, actually mostly on me that I picked this up.
Your future patches, need to improve quality and probably you need to
go back to how Git works and how maintainer trees are organized. Read
carefully, really carefully please maintainer profile .

I'll be putting artpec 9 on hold, till you confirm what was wrong here
and how are you going to fix it in the future.


^ permalink raw reply	[flat|nested] 18+ messages in thread

* RE: [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC
  2025-10-02  6:39   ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Krzysztof Kozlowski
@ 2025-10-03  5:44     ` Ravi Patel
  2025-10-03  7:14       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 18+ messages in thread
From: Ravi Patel @ 2025-10-03  5:44 UTC (permalink / raw)
  To: 'Krzysztof Kozlowski'
  Cc: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, ksk4725, kenkim, pjsin865, gwk1013,
	hgkim05, mingyoungbo, smn1196, shradha.t, inbaraj.e, swathi.ks,
	hrishikesh.d, dj76.yang, hypmean.kim, linux-kernel,
	linux-arm-kernel, linux-samsung-soc, linux-arm-kernel, devicetree,
	linux-gpio

Hi Krzysztof,

The dt-bindings patch was merged earlier in v3 series (https://lore.kernel.org/linux-samsung-soc/175664688891.195158.13270877080433356384.b4-ty@linaro.org/ on 31st August)
into respective maintainer repo. 
Then I have been asked to drop the applied v3 patches and send rebased v4 series (https://lore.kernel.org/linux-samsung-soc/15508cb4-843c-42d1-8854-5eabd79ca0df@kernel.org/)

Since the 4 patches from v3 series has been already merged, I have not the mentioned dependency while sending remaining v4 patches considering
It is going to same maintainer repo and it will be applied in sequence.

For future patches (like artpec-9), I will mention the dependency even it is merged in same repo.

Thanks,
Ravi

> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@kernel.org>
> Sent: 02 October 2025 12:10
> To: Ravi Patel <ravi.patel@samsung.com>
> Cc: jesper.nilsson@axis.com; mturquette@baylibre.com; sboyd@kernel.org; robh@kernel.org; krzk+dt@kernel.org;
> conor+dt@kernel.org; s.nawrocki@samsung.com; cw00.choi@samsung.com; alim.akhtar@samsung.com; linus.walleij@linaro.org;
> tomasz.figa@gmail.com; catalin.marinas@arm.com; will@kernel.org; arnd@arndb.de; ksk4725@coasia.com; kenkim@coasia.com;
> pjsin865@coasia.com; gwk1013@coasia.com; hgkim05@coasia.com; mingyoungbo@coasia.com; smn1196@coasia.com;
> shradha.t@samsung.com; inbaraj.e@samsung.com; swathi.ks@samsung.com; hrishikesh.d@samsung.com;
> dj76.yang@samsung.com; hypmean.kim@samsung.com; linux-kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
> samsung-soc@vger.kernel.org; linux-arm-kernel@axis.com; devicetree@vger.kernel.org; linux-gpio@vger.kernel.org
> Subject: Re: [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC
> 
> On Mon, 1 Sept 2025 at 14:42, Ravi Patel <ravi.patel@samsung.com> wrote:
> >
> > Add basic support for the Axis ARTPEC-8 SoC which contains
> > quad-core Cortex-A53 CPU and other several IPs. This SoC is an
> > Axis-designed chipset used in surveillance camera products such as
> > the AXIS Q1656-LE and AXIS Q3538-LVE.
> >
> > This ARTPEC-8 SoC has a variety of Samsung-specific IP blocks and
> > Axis-specific IP blocks and SoC is manufactured by Samsung Foundry.
> >
> > List of Samsung-provided IPs:
> > - UART
> > - Ethernet (Vendor: Synopsys)
> > - SDIO
> > - SPI
> > - HSI2C
> > - I2S
> > - CMU (Clock Management Unit)
> > - Pinctrl (GPIO)
> > - PCIe (Vendor: Synopsys)
> > - USB (Vendor: Synopsys)
> >
> > List of Axis-provided IPs:
> > - VIP (Image Sensor Processing IP)
> > - VPP (Video Post Processing)
> > - GPU
> > - CDC (Video Encoder)
> >
> > This patch series includes below changes:
> > - CMU (Clock Management Unit) driver and its bindings
> > - GPIO pinctrl configuration and its bindings
> > - Basic Device Tree for ARTPEC-8 SoC and boards
> >
> 
> Pretty useless cover letter since it doesn't say the damn most
> important thing : dependency!
> 
> So this went unnoticed and now mainline (Linus tree) is affected. See
> Linus rant on soc pull request
> 
> I'm very disappointed, actually mostly on me that I picked this up.
> Your future patches, need to improve quality and probably you need to
> go back to how Git works and how maintainer trees are organized. Read
> carefully, really carefully please maintainer profile .
> 
> I'll be putting artpec 9 on hold, till you confirm what was wrong here
> and how are you going to fix it in the future.



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC
  2025-10-03  5:44     ` Ravi Patel
@ 2025-10-03  7:14       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-03  7:14 UTC (permalink / raw)
  To: Ravi Patel
  Cc: jesper.nilsson, mturquette, sboyd, robh, krzk+dt, conor+dt,
	s.nawrocki, cw00.choi, alim.akhtar, linus.walleij, tomasz.figa,
	catalin.marinas, will, arnd, ksk4725, kenkim, pjsin865, gwk1013,
	hgkim05, mingyoungbo, smn1196, shradha.t, inbaraj.e, swathi.ks,
	hrishikesh.d, dj76.yang, hypmean.kim, linux-kernel,
	linux-arm-kernel, linux-samsung-soc, linux-arm-kernel, devicetree,
	linux-gpio

On Fri, 3 Oct 2025 at 14:45, Ravi Patel <ravi.patel@samsung.com> wrote:
>
> Hi Krzysztof,
>
> The dt-bindings patch was merged earlier in v3 series (https://lore.kernel.org/linux-samsung-soc/175664688891.195158.13270877080433356384.b4-ty@linaro.org/ on 31st August)
> into respective maintainer repo.
> Then I have been asked to drop the applied v3 patches and send rebased v4 series (https://lore.kernel.org/linux-samsung-soc/15508cb4-843c-42d1-8854-5eabd79ca0df@kernel.org/)
>
> Since the 4 patches from v3 series has been already merged, I have not the mentioned dependency while sending remaining v4 patches considering
> It is going to same maintainer repo and it will be applied in sequence.
>
> For future patches (like artpec-9), I will mention the dependency even it is merged in same repo.
>

I know what happened, so no need to explain that. Single maintainer
repo doesn't matter, it's irrelevant and you mentioning it means you
didn't read the maintainer soc profiles I asked. You still don't get
the problem about what happened, at least judging by above expansion,
and this means you will repeat the same mistakes.

I will not proceed with further artpec patches until you really
understand how the process works, through existing documentation.
Please do your homework, to reduce the workload on maintainers.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-10-03  7:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20250901054234epcas5p1e4b34b6ccb304b0306b1fe616edda9e2@epcas5p1.samsung.com>
2025-09-01  5:19 ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Ravi Patel
2025-09-01  5:19   ` [PATCH v4 1/6] dt-bindings: pinctrl: samsung: Add compatible for " Ravi Patel
2025-09-01  6:33     ` (subset) " Krzysztof Kozlowski
2025-09-01  5:19   ` [PATCH v4 2/6] pinctrl: samsung: Add ARTPEC-8 SoC specific configuration Ravi Patel
2025-09-01  6:33     ` (subset) " Krzysztof Kozlowski
2025-09-01  5:19   ` [PATCH v4 3/6] dt-bindings: arm: axis: Add ARTPEC-8 grizzly board Ravi Patel
2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
2025-09-01  5:19   ` [PATCH v4 4/6] arm64: dts: exynos: axis: Add initial ARTPEC-8 SoC support Ravi Patel
2025-09-04 13:43     ` Krzysztof Kozlowski
2025-09-04 14:29       ` Jesper Nilsson
2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
2025-09-01  5:19   ` [PATCH v4 5/6] arm64: dts: axis: Add ARTPEC-8 Grizzly dts support Ravi Patel
2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
2025-09-01  5:19   ` [PATCH v4 6/6] arm64: defconfig: Enable Axis ARTPEC SoC Ravi Patel
2025-09-04 13:46     ` (subset) " Krzysztof Kozlowski
2025-10-02  6:39   ` [PATCH v4 0/6] Add support for the Axis ARTPEC-8 SoC Krzysztof Kozlowski
2025-10-03  5:44     ` Ravi Patel
2025-10-03  7:14       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).