[PATCH 5/6 v2] SoC: qcom: add support for SDM845

2021-09-26 Thread dsankouski
From: Dzmitry Sankouski Hi-end qualcomm chip, introduced in late 2017. Mostly used in flagship phones and tablets of 2018. Features: - arm64 arch - total of 8 Kryo 385 Gold / Silver cores - Hexagon 685 DSP - Adreno 630 GPU Tested only as second-stage bootloader. Signed-off-by: Dzmitry Sankouski

[PATCH 3/6 v2] pinctrl: qcom: add pinctrl and gpio drivers for SDM845 SoC

2021-09-26 Thread dsankouski
From: Dzmitry Sankouski Signed-off-by: Dzmitry Sankouski Cc: Ramon Fried Cc: Tom Rini Cc: Stephan Gerhold --- Changes for v2: - Add __section(".data") for pin_name variable. arch/arm/mach-snapdragon/pinctrl-sdm845.c | 44 +++ arch/arm/mach-snapdragon/pinctrl-snapdragon.c

[PATCH 6/6 v3] board: samsung: add Samsung Galaxy S9/S9+(SM-G96x0) board

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Samsung S9 SM-G9600 - Snapdragon SDM845 version of the phone, for China \ Hong Kong markets. Has unlockable bootloader, unlike SM-G960U (American market version), which allows running u-boot as a chain-loaded bootloader. Signed-off-by: Dzmitry Sankouski Cc: Ramon Fried

[PATCH 5/6] SoC: qcom: add support for SDM845

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Hi-end qualcomm chip, introduced in late 2017. Mostly used in flagship phones and tablets of 2018. Features: - arm64 arch - total of 8 Kryo 385 Gold / Silver cores - Hexagon 685 DSP - Adreno 630 GPU Tested only as second-stage bootloader. Signed-off-by: Dzmitry Sankouski

[PATCH 3/6] pinctrl: qcom: add pinctrl and gpio drivers for SDM845 SoC

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Signed-off-by: Dzmitry Sankouski Cc: Ramon Fried Cc: Tom Rini --- arch/arm/mach-snapdragon/pinctrl-sdm845.c | 44 +++ arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 1 + arch/arm/mach-snapdragon/pinctrl-snapdragon.h | 1 + drivers/gpio/msm_gpio.c

[PATCH 2/6 v3] spmi: msm: add arbiter version 5 support

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Currently driver supports only version 1 and 2. Version 5 has slightly different registers structure Signed-off-by: Dzmitry Sankouski Cc: Ramon Fried Cc: Tom Rini --- Changes for v2: - change string formats in debug statements Changes for v3 - remove if else braces whe

[PATCH 4/6] clocks: qcom: add clocks for SDM845 debug uart

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Allows to change clock frequency of debug uart, thus supporting wide range of baudrates. Enable / disable functionality is not implemented yet. In most use cases of SDM845 (i.e. mobile phones and tablets) it's not needed, because qualcomm first stage bootloader leaves it i

[PATCH 1/6 v3] serial: qcom: add support for GENI serial driver

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Generic Interface (GENI) Serial Engine (SE) based uart can be found on newer qualcomm SOCs, starting from SDM845. Tested on Samsung SM-G9600(starqltechn) by chain-loading u-boot with stock bootloader. Signed-off-by: Dzmitry Sankouski Cc: Ramon Fried Cc: Tom Rini --- Ch

[PATCH 0/6] Add support for SDM845 based boards, and SM-G9600

2021-09-23 Thread dsankouski
From: Dzmitry Sankouski Snapdragon 845 - hi-end qualcomm chip, introduced in late 2017. Mostly used in flagship phones and tablets of 2018. Features: - arm64 arch - total of 8 Kryo 385 Gold / Silver cores - Hexagon 685 DSP - Adreno 630 GPU Tested only as second-stage bootloader. Samsung S9 SM-G