All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Initial Samsung Galaxy A8 (2018) support
@ 2021-12-05 15:32 ` David Virag
  0 siblings, 0 replies; 32+ messages in thread
From: David Virag @ 2021-12-05 15:32 UTC (permalink / raw)
  Cc: David Virag, Krzysztof Kozlowski, Rob Herring,
	Sylwester Nawrocki, Tomasz Figa, Chanwoo Choi, Michael Turquette,
	Stephen Boyd, linux-arm-kernel, linux-samsung-soc, devicetree,
	linux-kernel, linux-clk

Add basic initial support for the Samsung Galaxy A8 (2018) smartphone.
This phone is also known as "jackpotlte" and under the model name
"SM-A530F". In its current state this should work on most if not all
Exynos7885 phones/devices released.

As of now, it supports I2C nodes (all disabled by default) and UART
console with basic clock support in place.

To access the UART console on the A8, there are two methods:
  -You can open up the device and solder directly to some debug pins
   close to the display connector.
  -Through I2C you can set the S2MU004 MFD chip to multiplex the SoC's
   UART lines to the d+ and d- on the USB Type-C port of the device.

Note that UART works on 1.8 volts, so plugging in a normal USB cable
while multiplexed to UART may fry the SoC.

Everything was tested through UART by using a minimal driver that sets
the S2MU004 to multiplex UART.

The preferred way to boot this device is using my Minimal S-Boot Wrapper
[1] to work around some issues caused by the stock, and non-replacable
Samsung S-Boot bootloader.

[1] https://github.com/VDavid003/minimal_sboot_wrapper

David Virag (6):
  clk: samsung: clk-pll: Add support for pll1417x
  dt-bindings: clock: Add bindings definitions for Exynos7885 CMU
  dt-bindings: clock: Document Exynos7885 CMU bindings
  clk: samsung: Add initial Exynos7885 clock driver
  dt-bindings: arm: samsung: document jackpotlte board binding
  arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC

 .../bindings/arm/samsung/samsung-boards.yaml  |   6 +
 .../clock/samsung,exynos7885-clock.yaml       | 166 ++++
 arch/arm64/boot/dts/exynos/Makefile           |   7 +-
 .../boot/dts/exynos/exynos7885-jackpotlte.dts |  95 ++
 .../boot/dts/exynos/exynos7885-pinctrl.dtsi   | 929 ++++++++++++++++++
 arch/arm64/boot/dts/exynos/exynos7885.dtsi    | 444 +++++++++
 drivers/clk/samsung/Makefile                  |   1 +
 drivers/clk/samsung/clk-exynos7885.c          | 680 +++++++++++++
 drivers/clk/samsung/clk-pll.c                 |   1 +
 drivers/clk/samsung/clk-pll.h                 |   1 +
 include/dt-bindings/clock/exynos7885.h        | 115 +++
 11 files changed, 2442 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos7885-clock.yaml
 create mode 100644 arch/arm64/boot/dts/exynos/exynos7885-jackpotlte.dts
 create mode 100644 arch/arm64/boot/dts/exynos/exynos7885-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/exynos/exynos7885.dtsi
 create mode 100644 drivers/clk/samsung/clk-exynos7885.c
 create mode 100644 include/dt-bindings/clock/exynos7885.h

-- 
2.34.1


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

end of thread, other threads:[~2021-12-07 16:36 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05 15:32 [PATCH 0/6] Initial Samsung Galaxy A8 (2018) support David Virag
2021-12-05 15:32 ` David Virag
2021-12-05 15:32 ` [PATCH 1/6] clk: samsung: clk-pll: Add support for pll1417x David Virag
2021-12-05 15:32   ` David Virag
2021-12-05 15:32 ` [PATCH 2/6] dt-bindings: clock: Add bindings definitions for Exynos7885 CMU David Virag
2021-12-05 15:32   ` David Virag
2021-12-05 16:45   ` Krzysztof Kozlowski
2021-12-05 16:45     ` Krzysztof Kozlowski
2021-12-05 15:32 ` [PATCH 3/6] dt-bindings: clock: Document Exynos7885 CMU bindings David Virag
2021-12-05 15:32   ` David Virag
2021-12-05 16:48   ` Krzysztof Kozlowski
2021-12-05 16:48     ` Krzysztof Kozlowski
2021-12-05 15:32 ` [PATCH 4/6] clk: samsung: Add initial Exynos7885 clock driver David Virag
2021-12-05 15:32   ` David Virag
2021-12-05 16:57   ` Krzysztof Kozlowski
2021-12-05 16:57     ` Krzysztof Kozlowski
2021-12-05 15:32 ` [PATCH 5/6] dt-bindings: arm: samsung: document jackpotlte board binding David Virag
2021-12-05 15:32   ` David Virag
2021-12-05 15:33 ` [PATCH 6/6] arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC David Virag
2021-12-05 15:33   ` David Virag
2021-12-05 17:31   ` Krzysztof Kozlowski
2021-12-05 17:31     ` Krzysztof Kozlowski
2021-12-05 18:14     ` David Virag
2021-12-05 18:14       ` David Virag
2021-12-06  8:26       ` Krzysztof Kozlowski
2021-12-06  8:26         ` Krzysztof Kozlowski
2021-12-05 15:41 ` [PATCH 0/6] Initial Samsung Galaxy A8 (2018) support David Virag
2021-12-05 15:41   ` David Virag
2021-12-07  8:26 ` Pavel Machek
2021-12-07  8:26   ` Pavel Machek
2021-12-07 16:34   ` David Virag
2021-12-07 16:34     ` David Virag

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.