linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] Add support for Exynos9810 SoC and Samsung Galaxy S9 (SM-G960F)
@ 2024-10-26 20:32 Markuss Broks
  2024-10-26 20:32 ` [PATCH v3 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M3 Markuss Broks
                   ` (9 more replies)
  0 siblings, 10 replies; 26+ messages in thread
From: Markuss Broks @ 2024-10-26 20:32 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Lorenzo Pieralisi,
	Alim Akhtar, Sylwester Nawrocki, Linus Walleij, Tomasz Figa,
	Will Deacon, Mark Rutland
  Cc: devicetree, linux-kernel, Krzysztof Kozlowski, linux-arm-kernel,
	linux-samsung-soc, linux-gpio, Ivaylo Ivanov, Markuss Broks,
	Maksym Holovach

Hello,

This series adds initial SoC support for the Samsung Exynos 9810
SoC and initial board support for Samsung Galaxy S9 phone (SM-G960F),
codenamed starlte.

The Exynos 9810 SoC is also used in S9 Plus (star2lte), Note 9 (crownlte),
and perhaps more devices. Currently only Galaxy S9 DTS file is added but it
should be fairly simple to add support for other devices based on this SoC,
considering they're quite similar.

The support added in this series includes:
- cpus
- pinctrl and gpio
- simple-framebuffer

This is enough to boot to a minimal initramfs shell.

The preferred way to boot this device is by using a small shim bl called
uniLoader [1], which packages the mainline kernel and DT and jumps to
the kernel. This is done in order to work around some issues caused by
the stock, and non-replacable Samsung S-Boot bootloader. For example,
S-Boot leaves the decon trigger control unset, which causes the framebuffer
to not refresh, so simple-framebuffer wouldn't work without a secondary loader.
Ideally, there'll be a kernel driver for the display subsystem some day to
resolve this issue.

[1] https://github.com/ivoszbg/uniLoader

Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
---
Changes in v3:
- fix a blank line between tags (krzk)
- align with the opening " in eint-controller (krzk)
- sort the memory node (ivo)
- drop the \n (ivo)
- drop the perf patches into separate series (krzk)
- elaborate a bit more on dt-bindings (krzk)
- Link to v2: https://lore.kernel.org/r/20241025-exynos9810-v2-0-99ca3f316e21@gmail.com

Changes in v2:
- sort the pinctrl nodes alphabetically (ivo)
- move the interrupts from pinctrl file to SoC dtsi (krzk)
- move the wakeup-eint from pinctrl file to SoC dtsi (krzk)
- sort gpio-keys pinctrl-0 and pinctrl-names (ivo)
- rename the bixby key node to "wink" (ivo)
- sort gpio-keys subnodes (ivo)
- sort pinctrl_alive gpio-keys pin descriptions (ivo)
- fix the Co-developed-by tags and add a signoff (krzk)

- Link to v1: https://lore.kernel.org/r/20241024-exynos9810-v1-0-ed14d0d60d08@gmail.com

---
Markuss Broks (10):
      dt-bindings: arm: cpus: Add Samsung Mongoose M3
      dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
      dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC
      dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint
      dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
      dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
      soc: samsung: exynos-chipid: Add support for Exynos9810 SoC
      pinctrl: samsung: Add Exynos9810 SoC specific data
      arm64: dts: exynos: Add Exynos9810 SoC support
      arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)

 Documentation/devicetree/bindings/arm/cpus.yaml    |   1 +
 .../bindings/arm/samsung/samsung-boards.yaml       |   6 +
 .../bindings/hwinfo/samsung,exynos-chipid.yaml     |   1 +
 .../pinctrl/samsung,pinctrl-wakeup-interrupt.yaml  |   1 +
 .../bindings/pinctrl/samsung,pinctrl.yaml          |   1 +
 .../bindings/soc/samsung/exynos-pmu.yaml           |   1 +
 arch/arm64/boot/dts/exynos/Makefile                |   1 +
 arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 503 +++++++++++++++++++++
 arch/arm64/boot/dts/exynos/exynos9810-starlte.dts  | 119 +++++
 arch/arm64/boot/dts/exynos/exynos9810.dtsi         | 273 +++++++++++
 drivers/pinctrl/samsung/pinctrl-exynos-arm64.c     | 154 +++++++
 drivers/pinctrl/samsung/pinctrl-samsung.c          |   2 +
 drivers/pinctrl/samsung/pinctrl-samsung.h          |   1 +
 drivers/soc/samsung/exynos-chipid.c                |   1 +
 14 files changed, 1065 insertions(+)
---
base-commit: f2493655d2d3d5c6958ed996b043c821c23ae8d3
change-id: 20241024-exynos9810-b3eed995b0b9
prerequisite-change-id: 20241026-mongoose-pmu-52240ed310cd:v1
prerequisite-patch-id: 41ddde9c262005eda3624e381b4a0892836187de
prerequisite-patch-id: d1b80350c60949f7f2671895518ad4b1ceb51e4a

Best regards,
-- 
Markuss Broks <markuss.broks@gmail.com>


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

end of thread, other threads:[~2024-10-28  9:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-26 20:32 [PATCH v3 00/10] Add support for Exynos9810 SoC and Samsung Galaxy S9 (SM-G960F) Markuss Broks
2024-10-26 20:32 ` [PATCH v3 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M3 Markuss Broks
2024-10-27 19:59   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible Markuss Broks
2024-10-27 19:51   ` Krzysztof Kozlowski
2024-10-27 19:55   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 03/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC Markuss Broks
2024-10-27 20:02   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 04/10] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint Markuss Broks
2024-10-27 20:02   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 05/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible Markuss Broks
2024-10-27 19:59   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 06/10] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding Markuss Broks
2024-10-27 19:59   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 07/10] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC Markuss Broks
2024-10-27 19:55   ` (subset) " Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 08/10] pinctrl: samsung: Add Exynos9810 SoC specific data Markuss Broks
2024-10-27 20:02   ` (subset) " Krzysztof Kozlowski
2024-10-28  7:30   ` Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 09/10] arm64: dts: exynos: Add Exynos9810 SoC support Markuss Broks
2024-10-27 20:00   ` (subset) " Krzysztof Kozlowski
2024-10-28  6:46     ` Krzysztof Kozlowski
2024-10-26 20:32 ` [PATCH v3 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F) Markuss Broks
2024-10-27 20:00   ` (subset) " Krzysztof Kozlowski
2024-10-28  6:50   ` Krzysztof Kozlowski
2024-10-28  9:05     ` Markuss Broks

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).