This enables more recently added drivers for starqltechn.
cover This enables more recently added drivers for starqltechn.
Series is based on top of caleb work [1] and should be merged after that.
[1]: https://lore.kernel.org/u-boot/[email protected]/
Dzmitry Sankouski (4):
arm: dts: starqltechn: 4K align memory
arm: dts: starqltechn: add ufs support
arm: dts: starqltechn: add buttons
arm: dts: starqltechn: add muic i2c interface
arch/arm/dts/starqltechn.dts | 38 ++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/4 arm: dts: starqltechn: 4K align memory
Fix memory size to 4K aligned.
---
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/starqltechn.dts +1 -1
@@ -25,7 +25,7 @@ memory@80000000 { device_type = "memory"; - reg = <0 0x80000000 0 0xfe1bffff>; + reg = <0 0x80000000 0 0xfe1c0000>; }; framebuffer: framebuffer@9D400000 {
Signature · 1 line
2.39.2
Re: [PATCH 1/4] arm: dts: starqltechn: 4K align memory
Hi Dzmitry,
Thanks for sending this series.
I think these changes should be mostly encompassed by [1].
With the exception of the MUIC which we should add in a -u-boot.dtsi file.
Could you give that seris a spin?
Quoted 27 lines · Dzmitry Sankouski
Fix memory size to 4K aligned.
Signed-off-by Dzmitry Sankouski <[email protected]>Cc Caleb Connolly <[email protected]>Cc Dzmitry Sankouski <[email protected]>Cc Simon Glass <[email protected]>Cc Sumit Garg <[email protected]>Cc Tom Rini <[email protected]>Cc Vladimir Zapolskiy <[email protected]>---
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/dts/starqltechn.dts +1
-1@@ -25,7 +25,7 @@ memory@80000000 { device_type = "memory"; - reg = <0 0x80000000 0 0xfe1bffff>; + reg = <0 0x80000000 0 0xfe1c0000>; }; framebuffer: framebuffer@9D400000 {
Signature · 2 lines
Thanks and regards, // Caleb (they/them)
Re: [PATCH 1/4] arm: dts: starqltechn: 4K align memory
Quoted 9 lines · Caleb Connolly
Hi Dzmitry,
Thanks for sending this series.
I think these changes should be mostly encompassed by [1].
With the exception of the MUIC which we should add in a
-u-boot.dtsifile.Could you give that seris a spin?
ah, would help if I actually included the link!
[1]:
https://lore.kernel.org/u-boot/[email protected]/
Quoted 30 lines · Dzmitry Sankouski
Quoted 27 lines
Fix memory size to 4K aligned.
Signed-off-by Dzmitry Sankouski <[email protected]>Cc Caleb Connolly <[email protected]>Cc Dzmitry Sankouski <[email protected]>Cc Simon Glass <[email protected]>Cc Sumit Garg <[email protected]>Cc Tom Rini <[email protected]>Cc Vladimir Zapolskiy <[email protected]>---
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/dts/starqltechn.dts +1
-1@@ -25,7 +25,7 @@ memory@80000000 { device_type = "memory"; - reg = <0 0x80000000 0 0xfe1bffff>; + reg = <0 0x80000000 0 0xfe1c0000>; }; framebuffer: framebuffer@9D400000 {
Signature · 1 line
// Caleb (they/them)
PATCH 2/4 arm: dts: starqltechn: add ufs support
In reply to Dzmitry SankouskiAdd ufs storage support.
---
arch/arm/dts/starqltechn.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/dts/starqltechn.dts +8 -0
@@ -54,3 +54,11 @@ &uart9 { status = "okay"; }; + +&ufs_mem_hc { + status = "okay"; +}; + +&ufs_mem_phy { + status = "okay"; +};
Signature · 1 line
2.39.2
PATCH 3/4 arm: dts: starqltechn: add buttons
In reply to Dzmitry SankouskiAdd volume up and Bixby buttons.
---
arch/arm/dts/starqltechn.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/dts/starqltechn.dts +16 -0
@@ -36,6 +36,22 @@ stride = <(1440 * 4)>; format = "a8r8g8b8"; }; + + gpio-keys { + compatible = "gpio-keys"; + + key-vol-up { + label = "Volume Up"; + linux,code = <KEY_UP>; + gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>; + }; + + key-bixby { + label = "Bixby"; + linux,code = <KEY_RESERVED>; + gpios = <&pm8998_gpios 19 GPIO_ACTIVE_LOW>; + }; + }; }; &pm8998_resin {
Signature · 1 line
2.39.2
PATCH 4/4 arm: dts: starqltechn: add muic i2c interface
In reply to Dzmitry SankouskiIt allows to multiplex debug uart onto usb port, using i2c command.
---
arch/arm/dts/starqltechn.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
arch/arm/dts/starqltechn.dts +11 -1
@@ -23,6 +23,16 @@ stdout-path = "serial0:921600n8"; }; + i2c14 { + compatible = "i2c-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&muic_i2c>; + scl-gpios = <&tlmm 34 0>; + sda-gpios = <&tlmm 33 0>; + i2c-gpio,delay-us = <2>; + status = "okay"; + }; + memory@80000000 { device_type = "memory"; reg = <0 0x80000000 0 0xfe1c0000>;
@@ -59,7 +69,7 @@ }; &tlmm { - muic-i2c-n { + muic_i2c: muic-i2c-n { pins = "gpio33", "gpio34"; drive-strength = <0x2>; function = "gpio";
Signature · 1 line
2.39.2