Add support for Exynos9810 SoC and Samsung Galaxy S9 (SM-G960F)
Subsystems (5)
v3 cover Add support for Exynos9810 SoC and Samsung Galaxy S9 (SM-G960F)
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
---
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/[email protected]
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/[email protected]
---
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,
Signature · 1 line
Markuss Broks <[email protected]>
PATCH v3 1/10 dt-bindings: arm: cpus: Add Samsung Mongoose M3
Add the compatible for Samsung Mongoose M3 CPU core to the schema. Mongoose M3 (codenamed Meerkat) is the big core in Exynos9810 SoC, designed by Samsung. It implements ARMv8.2-A ISA.
--- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/cpus.yaml +1 -0
@@ -207,6 +207,7 @@ properties: - qcom,oryon - qcom,scorpion - samsung,mongoose-m2 + - samsung,mongoose-m3 - samsung,mongoose-m5 enable-method:
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M3
Quoted 5 lines · Markuss Broks
Add the compatible for Samsung Mongoose M3 CPU core to the schema. Mongoose M3 (codenamed Meerkat) is the big core in Exynos9810 SoC, designed by Samsung. It implements ARMv8.2-A ISA.
Applied, thanks!
[01/10] dt-bindings: arm: cpus: Add Samsung Mongoose M3
https://git.kernel.org/krzk/linux/c/608c8f408dac3d1fd96191494f1a32ba2b1e133d
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 2/10 dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
In reply to Markuss BroksAdd the compatible for Samsung Exynos9810 chipid to schema. Exynos9810 is a flagship mobile SoC released in 2018 and used in various Samsung devices, including Samsung Galaxy S9 (SM-G960F), S9 Plus (SM-G965F), and Note 9 (SM-N960F).
--- Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +1 -0
@@ -24,6 +24,7 @@ properties: - enum: - samsung,exynos7885-chipid - samsung,exynos8895-chipid + - samsung,exynos9810-chipid - samsung,exynos990-chipid - samsung,exynosautov9-chipid - samsung,exynosautov920-chipid
Signature · 1 line
2.46.2
Krzysztof Kozlowski
maintainerRe: [PATCH v3 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
Quoted 9 lines · Markuss Broks
Add the compatible for Samsung Exynos9810 chipid to schema. Exynos9810 is a flagship mobile SoC released in 2018 and used in various Samsung devices, including Samsung Galaxy S9 (SM-G960F), S9 Plus (SM-G965F), and Note 9 (SM-N960F).
Co-developed-by Maksym Holovach <[email protected]>Signed-off-by Maksym Holovach <[email protected]>Signed-off-by Markuss Broks <[email protected]>---
Please NEVER include unrelated dependencies. I tried to apply patches from here and:
Base: base-commit f2493655d2d3d5c6958ed996b043c821c23ae8d3 not known,
ignoring
Deps: looking for dependencies matching 2 patch-ids
Deps: Applying prerequisite patch: [PATCH 07/12] dt-bindings: arm: pmu:
Add Samsung Mongoose core compatible
Deps: Applying prerequisite patch: [PATCH 08/12] perf: arm_pmuv3: Add
support for Samsung Mongoose PMU
Applying: dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
Applying: perf: arm_pmuv3: Add support for Samsung Mongoose PMU
Applying: dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
[Checking commit] 839751ee6872 dt-bindings: arm: pmu: Add Samsung Mongoose core compatible
[Checkpatch]
WARNING: Non-standard signature: Co-authored-by:
#8:
Best regards,
Krzysztof
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 02/10] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
In reply to Markuss BroksQuoted 6 lines · Markuss Broks
Add the compatible for Samsung Exynos9810 chipid to schema. Exynos9810 is a flagship mobile SoC released in 2018 and used in various Samsung devices, including Samsung Galaxy S9 (SM-G960F), S9 Plus (SM-G965F), and Note 9 (SM-N960F).
Applied, thanks!
[02/10] dt-bindings: hwinfo: samsung,exynos-chipid: Add Samsung exynos9810 compatible
https://git.kernel.org/krzk/linux/c/18910d6b16bb4e71ee5aea5986a6577f347d69ec
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 3/10 dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC
In reply to Markuss BroksAdd a compatible for Samsung Exynos9810 pinctrl block to the schema. Exynos9810 has 9 total pin banks and it's similar to other Samsung SoC pinctrl blocks.
--- Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +1 -0
@@ -54,6 +54,7 @@ properties: - samsung,exynos7885-pinctrl - samsung,exynos850-pinctrl - samsung,exynos8895-pinctrl + - samsung,exynos9810-pinctrl - samsung,exynos990-pinctrl - samsung,exynosautov9-pinctrl - samsung,exynosautov920-pinctrl
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 03/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC
Quoted 5 lines · Markuss Broks
Add a compatible for Samsung Exynos9810 pinctrl block to the schema. Exynos9810 has 9 total pin banks and it's similar to other Samsung SoC pinctrl blocks.
Applied, thanks!
[03/10] dt-bindings: pinctrl: samsung: Add compatible for Exynos9810 SoC
https://git.kernel.org/pinctrl/samsung/c/47c3309d58b5e6fd3fc425253491c1ce014538c0
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 4/10 dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint
In reply to Markuss BroksAdd the compatible for Samsung Exynos9810 pinctrl eint block to the schema. It is compatible with Exynos850 EINT controller, and doesn't have a dedicated IRQ line.
--- .../devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml +1 -0
@@ -47,6 +47,7 @@ properties: - items: - enum: - google,gs101-wakeup-eint + - samsung,exynos9810-wakeup-eint - samsung,exynos990-wakeup-eint - samsung,exynosautov9-wakeup-eint - const: samsung,exynos850-wakeup-eint
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 04/10] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint
Quoted 5 lines · Markuss Broks
Add the compatible for Samsung Exynos9810 pinctrl eint block to the schema. It is compatible with Exynos850 EINT controller, and doesn't have a dedicated IRQ line.
Applied, thanks!
[04/10] dt-bindings: pinctrl: samsung: Add compatible for exynos9810-wakeup-eint
https://git.kernel.org/pinctrl/samsung/c/e830431e0ad0501c2e6dcb3c65dabc053e3ce5e4
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 5/10 dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
In reply to Markuss BroksAdd compatible for Samsung Exynos9810 PMU to the schema. Like on other devices, it contains various registers related to power management and other vital to SoC functions.
--- Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +1 -0
@@ -54,6 +54,7 @@ properties: - enum: - samsung,exynos7885-pmu - samsung,exynos8895-pmu + - samsung,exynos9810-pmu - samsung,exynosautov9-pmu - samsung,exynosautov920-pmu - tesla,fsd-pmu
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 05/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
Quoted 5 lines · Markuss Broks
Add compatible for Samsung Exynos9810 PMU to the schema. Like on other devices, it contains various registers related to power management and other vital to SoC functions.
Applied, thanks!
[05/10] dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
https://git.kernel.org/krzk/linux/c/4c745ade9f2ba0e2ce273b75293d0e9b995dbd74
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 6/10 dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
In reply to Markuss BroksAdd the compatibles for Exynos9810 SoC and samsung,starlte board to the list of boards. Samsung Galaxy S9 (SM-G960F, codenamed starlte) is a mobile phone, released in 2018.
--- Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/samsung/samsung-boards.yaml +6 -0
@@ -230,6 +230,12 @@ properties: - samsung,dreamlte # Samsung Galaxy S8 (SM-G950F) - const: samsung,exynos8895 + - description: Exynos9810 based boards + items: + - enum: + - samsung,starlte # Samsung Galaxy S9 (SM-G960F) + - const: samsung,exynos9810 + - description: Exynos990 based boards items: - enum:
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 06/10] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
Quoted 5 lines · Markuss Broks
Add the compatibles for Exynos9810 SoC and samsung,starlte board to the list of boards. Samsung Galaxy S9 (SM-G960F, codenamed starlte) is a mobile phone, released in 2018.
Applied, thanks!
[06/10] dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
https://git.kernel.org/krzk/linux/c/0a4907eea61d1b7d602a817f6c1de31609c48367
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 7/10 soc: samsung: exynos-chipid: Add support for Exynos9810 SoC
In reply to Markuss BroksExynos 9810 has the product ID of "0xE9810000". Add this ID to the IDs together with the name of the SoC.
--- drivers/soc/samsung/exynos-chipid.c | 1 + 1 file changed, 1 insertion(+)
drivers/soc/samsung/exynos-chipid.c +1 -0
@@ -59,6 +59,7 @@ static const struct exynos_soc_id { { "EXYNOS7885", 0xE7885000 }, { "EXYNOS850", 0xE3830000 }, { "EXYNOS8895", 0xE8895000 }, + { "EXYNOS9810", 0xE9810000 }, { "EXYNOS990", 0xE9830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 },
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 07/10] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC
Quoted 4 lines · Markuss Broks
Exynos 9810 has the product ID of "
0xE9810000". Add this ID to the IDs together with the name of the SoC.
Applied, thanks!
[07/10] soc: samsung: exynos-chipid: Add support for Exynos9810 SoC
https://git.kernel.org/krzk/linux/c/fd0b3581666860610ac770d4b582df42e0065c58
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
PATCH v3 8/10 pinctrl: samsung: Add Exynos9810 SoC specific data
In reply to Markuss BroksAdd Samsung Exynos9810 SoC specific data to enable pinctrl support for platforms based on Exynos9810.
--- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 154 +++++++++++++++++++++++++ drivers/pinctrl/samsung/pinctrl-samsung.c | 2 + drivers/pinctrl/samsung/pinctrl-samsung.h | 1 + 3 files changed, 157 insertions(+)
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +154 -0
@@ -767,6 +767,160 @@ const struct samsung_pinctrl_of_match_data exynos990_of_data __initconst = { .num_ctrl = ARRAY_SIZE(exynos990_pin_ctrl), }; +/* pin banks of exynos9810 pin-controller 0 (ALIVE) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks0[]__initconst = { +EXYNOS850_PIN_BANK_EINTN (6 ,0x000 ,"etc1" ), +EXYNOS850_PIN_BANK_EINTW (8 ,0x020 ,"gpa0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTW (8 ,0x040 ,"gpa1" ,0x04 ), +EXYNOS850_PIN_BANK_EINTW (8 ,0x060 ,"gpa2" ,0x08 ), +EXYNOS850_PIN_BANK_EINTW (8 ,0x080 ,"gpa3" ,0x0c ), +EXYNOS850_PIN_BANK_EINTN (6 ,0x0A0 ,"gpq0" ), +EXYNOS850_PIN_BANK_EINTW (2 ,0x0C0 ,"gpa4" ,0x10 ), +}; + +/* pin banks of exynos9810 pin-controller 1 (AUD) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks1[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (5 ,0x000 ,"gpb0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x020 ,"gpb1" ,0x04 ), +EXYNOS850_PIN_BANK_EINTG (4 ,0x040 ,"gpb2" ,0x08 ), +}; + +/* pin banks of exynos9810 pin-controller 2 (CHUB) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks2[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (8 ,0x000 ,"gph0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTG (5 ,0x020 ,"gph1" ,0x04 ), +}; + +/* pin banks of exynos9810 pin-controller 3 (CMGP) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks3[]__initconst = { +EXYNOS850_PIN_BANK_EINTW (1 ,0x000 ,"gpm0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x020 ,"gpm1" ,0x04 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x040 ,"gpm2" ,0x08 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x060 ,"gpm3" ,0x0C ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x080 ,"gpm4" ,0x10 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x0A0 ,"gpm5" ,0x14 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x0C0 ,"gpm6" ,0x18 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x0E0 ,"gpm7" ,0x1C ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x100 ,"gpm10" ,0x20 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x120 ,"gpm11" ,0x24 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x140 ,"gpm12" ,0x28 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x160 ,"gpm13" ,0x2C ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x180 ,"gpm14" ,0x30 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x1A0 ,"gpm15" ,0x34 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x1C0 ,"gpm16" ,0x38 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x1E0 ,"gpm17" ,0x3C ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x200 ,"gpm40" ,0x40 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x220 ,"gpm41" ,0x44 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x240 ,"gpm42" ,0x48 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x260 ,"gpm43" ,0x4C ), +}; + +/* pin banks of exynos9810 pin-controller 4 (FSYS0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks4[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (2 ,0x000 ,"gpf0" ,0x00 ), +}; + +/* pin banks of exynos9810 pin-controller 5 (FSYS1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks5[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (7 ,0x000 ,"gpf1" ,0x00 ), +EXYNOS850_PIN_BANK_EINTG (6 ,0x020 ,"gpf2" ,0x04 ), +}; + +/* pin banks of exynos9810 pin-controller 6 (PERIC0) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks6[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (8 ,0x000 ,"gpp0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x020 ,"gpp1" ,0x04 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x040 ,"gpp2" ,0x08 ), +EXYNOS850_PIN_BANK_EINTG (4 ,0x060 ,"gpp3" ,0x0C ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x080 ,"gpg0" ,0x10 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x0A0 ,"gpg1" ,0x14 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x0C0 ,"gpg2" ,0x18 ), +}; + +/* pin banks of exynos9810 pin-controller 7 (PERIC1) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks7[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (8 ,0x000 ,"gpp4" ,0x00 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x020 ,"gpp5" ,0x04 ), +EXYNOS850_PIN_BANK_EINTG (4 ,0x040 ,"gpp6" ,0x08 ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x060 ,"gpc0" ,0x0C ), +EXYNOS850_PIN_BANK_EINTG (8 ,0x080 ,"gpc1" ,0x10 ), +EXYNOS850_PIN_BANK_EINTG (4 ,0x0A0 ,"gpd0" ,0x14 ), +EXYNOS850_PIN_BANK_EINTG (7 ,0x0C0 ,"gpg3" ,0x18 ), +}; + +/* pin banks of exynos9810 pin-controller 8 (VTS) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks8[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (3 ,0x000 ,"gpt0" ,0x00 ), +}; + +static const struct samsung_pin_ctrl exynos9810_pin_ctrl[]__initconst = { + { +/* pin-controller instance 0 ALIVE data */ + .pin_banks = exynos9810_pin_banks0, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks0), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 1 AUD data */ + .pin_banks = exynos9810_pin_banks1, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks1), + }, { +/* pin-controller instance 2 CHUB data */ + .pin_banks = exynos9810_pin_banks2, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks2), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 3 CMGP data */ + .pin_banks = exynos9810_pin_banks3, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks3), + .eint_wkup_init = exynos_eint_wkup_init, + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 4 FSYS0 data */ + .pin_banks = exynos9810_pin_banks4, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks4), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 5 FSYS1 data */ + .pin_banks = exynos9810_pin_banks5, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks5), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 6 PERIC0 data */ + .pin_banks = exynos9810_pin_banks6, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks6), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 7 PERIC1 data */ + .pin_banks = exynos9810_pin_banks7, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks7), + .eint_gpio_init = exynos_eint_gpio_init, + .suspend = exynos_pinctrl_suspend, + .resume = exynos_pinctrl_resume, + }, { +/* pin-controller instance 8 VTS data */ + .pin_banks = exynos9810_pin_banks8, + .nr_banks =ARRAY_SIZE (exynos9810_pin_banks8), + }, +}; + +const struct samsung_pinctrl_of_match_data exynos9810_of_data__initconst = { + .ctrl = exynos9810_pin_ctrl, + .num_ctrl =ARRAY_SIZE (exynos9810_pin_ctrl), +}; +/* pin banks of exynosautov9 pin-controller 0 (ALIVE) */ static const struct samsung_pin_bank_data exynosautov9_pin_banks0[]__initconst = {EXYNOS850_PIN_BANK_EINTW (8 ,0x000 ,"gpa0" ,0x00 ),
drivers/pinctrl/samsung/pinctrl-samsung.c +2 -0
@@ -1479,6 +1479,8 @@ static const struct of_device_id samsung_pinctrl_dt_match[] = { .data = &exynos850_of_data }, { .compatible = "samsung,exynos8895-pinctrl", .data = &exynos8895_of_data }, + { .compatible = "samsung,exynos9810-pinctrl", + .data = &exynos9810_of_data }, { .compatible = "samsung,exynos990-pinctrl", .data = &exynos990_of_data }, { .compatible = "samsung,exynosautov9-pinctrl",
drivers/pinctrl/samsung/pinctrl-samsung.h +1 -0
@@ -385,6 +385,7 @@ extern const struct samsung_pinctrl_of_match_data exynos7_of_data;extern const struct samsung_pinctrl_of_match_data exynos7885_of_data;extern const struct samsung_pinctrl_of_match_data exynos850_of_data;extern const struct samsung_pinctrl_of_match_data exynos8895_of_data; +extern const struct samsung_pinctrl_of_match_data exynos9810_of_data;extern const struct samsung_pinctrl_of_match_data exynos990_of_data;extern const struct samsung_pinctrl_of_match_data exynosautov9_of_data;extern const struct samsung_pinctrl_of_match_data exynosautov920_of_data;
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 08/10] pinctrl: samsung: Add Exynos9810 SoC specific data
Quoted 4 lines · Markuss Broks
Add Samsung Exynos9810 SoC specific data to enable pinctrl support for platforms based on Exynos9810.
Applied, thanks!
[08/10] pinctrl: samsung: Add Exynos9810 SoC specific data
https://git.kernel.org/pinctrl/samsung/c/6d2dbd4cec8939ad2b813b8052eb12406db528d7
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
Krzysztof Kozlowski
maintainerRe: [PATCH v3 08/10] pinctrl: samsung: Add Exynos9810 SoC specific data
In reply to Markuss BroksQuoted 5 lines · Markuss Broks
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +5
-0+}; + +/* pin banks of exynos9810 pin-controller 2 (CHUB) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks2[]__initconst = { +EXYNOS850_PIN_BANK_EINTG (8 ,0x000 ,"gph0" ,0x00 ),
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c const struct samsung_pinctrl_of_match_data exynos990_of_data __initconst = { · line 800
Quoted 10 lines
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +10
-0+ EXYNOS850_PIN_BANK_EINTG(5, 0x020, "gph1", 0x04), +}; + +/* pin banks of exynos9810 pin-controller 3 (CMGP) */ +static const struct samsung_pin_bank_data exynos9810_pin_banks3[]__initconst = { +EXYNOS850_PIN_BANK_EINTW (1 ,0x000 ,"gpm0" ,0x00 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x020 ,"gpm1" ,0x04 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x040 ,"gpm2" ,0x08 ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x060 ,"gpm3" ,0x0C ), +EXYNOS850_PIN_BANK_EINTW (1 ,0x080 ,"gpm4" ,0x10 ),
How did you implement previous feedback about lowercase hex?
Best regards,
Krzysztof
PATCH v3 9/10 arm64: dts: exynos: Add Exynos9810 SoC support
In reply to Markuss BroksExynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others.
Add minimal support for this SoC, including basic stuff like:
- PSCI for bringing up secondary cores
- ARMv8 generic timer
- GPIO and pinctrl.
The firmware coming with the devices based on this SoC is buggy and doesn't configure CNTFRQ_EL0, as required by spec, so it's needed to hardcode the frequency in the timer node.
--- arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi | 503 +++++++++++++++++++++ arch/arm64/boot/dts/exynos/exynos9810.dtsi | 273 +++++++++++ 2 files changed, 776 insertions(+)
arch/arm64/boot/dts/exynos/exynos9810-pinctrl.dtsi new file +503 -0
@@ -0,0 +1,503 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Samsung's Exynos 9810 SoC pin-mux and pin-config device tree source + * + * Copyright (c) 2024 Markuss Broks <[email protected]> + * Copyright (c) 2024 Maksym Holovach <[email protected]> + */ + +#include "exynos-pinctrl.h" + +&pinctrl_alive { + etc1: etc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpa0: gpa0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; + #interrupt-cells = <2>; + }; + + gpa1: gpa1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>; + #interrupt-cells = <2>; + }; + + gpa2: gpa2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; + #interrupt-cells = <2>; + }; + + gpa3: gpa3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; + #interrupt-cells = <2>; + }; + + gpa4: gpa4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpq0: gpq0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_aud { + gpb0: gpb0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb1: gpb1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpb2: gpb2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_chub { + gph0: gph0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gph1: gph1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_cmgp { + gpm0: gpm0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm1: gpm1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm2: gpm2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm3: gpm3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm4: gpm4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm5: gpm5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm6: gpm6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm7: gpm7-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm10: gpm10-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm11: gpm11-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm12: gpm12-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm13: gpm13-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm14: gpm14-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm15: gpm15-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm16: gpm16-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm17: gpm17-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm40: gpm40-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm41: gpm41-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm42: gpm42-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; + }; + + gpm43: gpm43-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + + interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; + }; +}; + +&pinctrl_fsys0 { + gpf0: gpf0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_fsys1 { + 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>; + }; +}; + +&pinctrl_peric0 { + gpg0: gpg0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg1: gpg1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg2: gpg2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp0: gpp0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp1: gpp1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp2: gpp2-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp3: gpp3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_peric1 { + gpc0: gpc0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpc1: gpc1-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpd0: gpd0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpg3: gpg3-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp4: gpp4-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp5: gpp5-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; + + gpp6: gpp6-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +}; + +&pinctrl_vts { + gpt0: gpt0-gpio-bank { + gpio-controller; + #gpio-cells = <2>; + + interrupt-controller; + #interrupt-cells = <2>; + }; +};
arch/arm64/boot/dts/exynos/exynos9810.dtsi new file +273 -0
273 lines not on this page · raw message
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 09/10] arm64: dts: exynos: Add Exynos9810 SoC support
Quoted 10 lines · Markuss Broks
Exynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others.
Add minimal support for this SoC, including basic stuff like:
- PSCI for bringing up secondary cores
- ARMv8 generic timer
- GPIO and pinctrl.[...]
Applied, thanks!
[09/10] arm64: dts: exynos: Add Exynos9810 SoC support
https://git.kernel.org/krzk/linux/c/6c1fe47df5a79f1efc2d5c73e506c8d34692527a
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
Krzysztof Kozlowski
maintainerRe: (subset) [PATCH v3 09/10] arm64: dts: exynos: Add Exynos9810 SoC support
Quoted 11 lines · Krzysztof Kozlowski
Quoted 9 lines · Markuss Broks
Exynos 9810 is an ARMv8 mobile SoC found in various Samsung devices, such as Samsung Galaxy S9 (starlte), S9 Plus (star2lte), Note 9 (crownlte) and perhaps others.
Add minimal support for this SoC, including basic stuff like:
- PSCI for bringing up secondary cores
- ARMv8 generic timer
- GPIO and pinctrl.
Quoted 7 lines
Quoted 1 line
[...]
Applied, thanks!
[09/10] arm64: dts: exynos: Add Exynos9810 SoC support
https://git.kernel.org/krzk/linux/c/6c1fe47df5a79f1efc2d5c73e506c8d34692527a
And dropped (also DTS): does not even build!
exynos9810-starlte.dts:72.9-10 syntax error
I should not have trusted this and blindly take the patches for next. Or at least wait till my CI finishes building before calling it a day.
Best regards,
Krzysztof
PATCH v3 10/10 arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
In reply to Markuss BroksSamsung Galaxy S9 (SM-G960F), codenamed starlte, is a mobile phone released in 2017. It has 4GB of RAM, 64GB of UFS storage, Exynos9810 SoC and 1440x2960 Super AMOLED display.
This initial device tree enables the framebuffer pre-initialised by bootloader and physical buttons of the device, with more support to come in the future.
--- arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos9810-starlte.dts | 119 ++++++++++++++++++++++ 2 files changed, 120 insertions(+)
arch/arm64/boot/dts/exynos/Makefile +1 -0
@@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos7885-jackpotlte.dtb \ exynos850-e850-96.dtb \ exynos8895-dreamlte.dtb \ + exynos9810-starlte.dtb \ exynos990-c1s.dtb \ exynosautov9-sadk.dtb \ exynosautov920-sadk.dtb
arch/arm64/boot/dts/exynos/exynos9810-starlte.dts new file +119 -0
119 lines not on this page · raw message
Signature · 1 line
2.46.2
Krzysztof Kozlowski
AppliedRe: (subset) [PATCH v3 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
Quoted 9 lines · Markuss Broks
Samsung Galaxy S9 (SM-G960F), codenamed starlte, is a mobile phone released in 2017. It has 4GB of RAM, 64GB of UFS storage, Exynos9810 SoC and 1440x2960 Super AMOLED display.
This initial device tree enables the framebuffer pre-initialised by bootloader and physical buttons of the device, with more support to come in the future.
[...]
Applied, thanks!
[10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
https://git.kernel.org/krzk/linux/c/229cf465b9f68db9af3f10b31d6a81b49a14f0e5
Best regards,
Signature · 1 line
Krzysztof Kozlowski <[email protected]>
Krzysztof Kozlowski
maintainerRe: [PATCH v3 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
In reply to Markuss Broksarch/arm64/boot/dts/exynos/exynos9810-starlte.dts line 72
Quoted 8 lines · Markuss Broks
arch/arm64/boot/dts/exynos/exynos9810-starlte.dts new file +8
-0+ }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x0 0xc0000000 0x20000000>, + <0x0 0xe1900000 0x1e700000>; + <0x8 0x80000000 0x80000000>,
This patch was absolutely never even built. You must never sent code without at least building it. It is not maintainers task to build the code for you.
Best regards,
Krzysztof
Re: [PATCH v3 10/10] arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
Hi,
Quoted 12 lines · Krzysztof Kozlowski
arch/arm64/boot/dts/exynos/exynos9810-starlte.dts line 72
Quoted 8 lines · Markuss Broks
arch/arm64/boot/dts/exynos/exynos9810-starlte.dts new file +8
-0+ }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x3c800000>, + <0x0 0xc0000000 0x20000000>, + <0x0 0xe1900000 0x1e700000>; + <0x8 0x80000000 0x80000000>,This patch was absolutely never even built. You must never sent code without at least building it. It is not maintainers task to build the code for you.
Am really sorry for that, this change was cosmetical and I neglected build-testing.
This won't happen again.
Quoted 4 lines
Best regards,
Krzysztof
Apologies,
- Markuss