[PATCH 0/4] 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/20231219-b4-qcom-common-target-v2-0-b6dd97042...
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(-)

Fix memory size to 4K aligned.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org ---
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 3c0f42c977..e6d57d2668 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -25,7 +25,7 @@
memory@80000000 { device_type = "memory"; - reg = <0 0x80000000 0 0xfe1bffff>; + reg = <0 0x80000000 0 0xfe1c0000>; };
framebuffer: framebuffer@9D400000 {

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?
On 21/12/2023 14:24, Dzmitry Sankouski wrote:
Fix memory size to 4K aligned.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 3c0f42c977..e6d57d2668 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -25,7 +25,7 @@
memory@80000000 { device_type = "memory";
reg = <0 0x80000000 0 0xfe1bffff>;
reg = <0 0x80000000 0 0xfe1c0000>;
};
framebuffer: framebuffer@9D400000 {

On 21/12/2023 15:11, Caleb Connolly wrote:
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?
ah, would help if I actually included the link!
[1]: https://lore.kernel.org/u-boot/20231219-b4-qcom-common-target-v2-0-b6dd97042...
On 21/12/2023 14:24, Dzmitry Sankouski wrote:
Fix memory size to 4K aligned.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org
arch/arm/dts/starqltechn.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 3c0f42c977..e6d57d2668 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -25,7 +25,7 @@
memory@80000000 { device_type = "memory";
reg = <0 0x80000000 0 0xfe1bffff>;
reg = <0 0x80000000 0 0xfe1c0000>;
};
framebuffer: framebuffer@9D400000 {

Add ufs storage support.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com
Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org ---
arch/arm/dts/starqltechn.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index e6d57d2668..5bb1a7f90a 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -54,3 +54,11 @@ &uart9 { status = "okay"; }; + +&ufs_mem_hc { + status = "okay"; +}; + +&ufs_mem_phy { + status = "okay"; +};

Add volume up and Bixby buttons.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com
Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org ---
arch/arm/dts/starqltechn.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 5bb1a7f90a..539c1b51ca 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -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 {

It allows to multiplex debug uart onto usb port, using i2c command.
Signed-off-by: Dzmitry Sankouski dsankouski@gmail.com
Cc: Caleb Connolly caleb.connolly@linaro.org Cc: Dzmitry Sankouski dsankouski@gmail.com Cc: Simon Glass sjg@chromium.org Cc: Sumit Garg sumit.garg@linaro.org Cc: Tom Rini trini@konsulko.com Cc: Vladimir Zapolskiy vladimir.zapolskiy@linaro.org ---
arch/arm/dts/starqltechn.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts index 539c1b51ca..5b04c3219d 100644 --- a/arch/arm/dts/starqltechn.dts +++ b/arch/arm/dts/starqltechn.dts @@ -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";
participants (2)
-
Caleb Connolly
-
Dzmitry Sankouski