Skip to content

Initial Samsung Galaxy A8 (2018) support

David Virag linux-arm-kernel linux-devicetree linux-samsung-soc lkml phone-devel 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 2 repliesApplied
  2. v51 patch 2 repliesSuperseded
  3. v47 patches 31 repliesApplied
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches7 repliesSuperseded
v27 patches0 repliesSuperseded
v16 patches9 repliesSuperseded

Changes in v6 from the cover letter

- DTS patch fixes
- Rebased on top of linux-next

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

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/1arm64: dts: exynos: Add initial device tree support for Exynos7885 SoCarch/arm64/boot/dts/exynos/Makefile arch/arm64/boot/dts/exynos/exynos7885-jackpotlte.dts arch/arm64/boot/dts/exynos/exynos7885-pinctrl.dtsi +1 more+1375 -41 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSam Protsenko
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/1] Initial Samsung Galaxy A8 (2018) support

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 by using my Minimal S-Boot Wrapper [1] to work around some issues caused by the stock, and non-replacable Samsung S-Boot bootloader.

Changes in v2:
- Added R-b tags by Krzysztof Kozlowski
- Moved dt-bindings patches to the beginning of the series
- Fixed double : in 7885 CMU bindings
- Fixed multiple double line breaks
- Made Exynos850 and 7885 clock drivers share some code in a new patch
- Lots of dts/dtsi fixes

Changes in v3:
- Fix SPDX comment style in clk-exynos-arm64.h
- Fix typo in dts comment

Changes in v4:
- Fixed leading 0x in clock-controller nodes
- Fixed missing headers in clock driver patches
- "__SAMSUNG_CLK_ARM64_H" -> "__CLK_EXYNOS_ARM64_H" in clk-exynos-arm64.h everywhere (only the comment at the end had the latter by accident)
- Added R-b tag by Krzysztof Kozlowski to pll1417x patch
- Actually suffixed pin configuration node names with "-pins"
- Seperated Cortex-A53 and Cortex-A73 PMU

Changes in v5:
- Only kept DTS patch as the rest have been merged.
- Several fixes in DTS patch

Changes in v6:
- DTS patch fixes
- Rebased on top of linux-next

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

David Virag (1):
arm64: dts: exynos: Add initial device tree support for Exynos7885 SoC

 arch/arm64/boot/dts/exynos/Makefile           |   9 +-
 .../boot/dts/exynos/exynos7885-jackpotlte.dts |  92 ++
 .../boot/dts/exynos/exynos7885-pinctrl.dtsi   | 855 ++++++++++++++++++
 arch/arm64/boot/dts/exynos/exynos7885.dtsi    | 423 +++++++++
 4 files changed, 1375 insertions(+), 4 deletions(-)
 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
Signature · 1 line
2.35.1