* [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:34 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander Dang Huynh
` (10 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
The Pro1X has a flip keyboard and a single-state camera button.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 33 +++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 4a30024aa48f..5b7dd54be6b6 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -34,9 +34,24 @@ framebuffer0: framebuffer@5c000000 {
gpio-keys {
compatible = "gpio-keys";
-
- pinctrl-0 = <&vol_up_n>;
pinctrl-names = "default";
+ pinctrl-0 = <&hall_sensor_n>, <&key_camera_n>, <&vol_up_n>;
+
+ hall-switch {
+ label = "Hall Switch";
+ linux,input-type = <EV_SW>;
+ linux,code = <SW_KEYPAD_SLIDE>;
+ gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
+ debounce-interval = <90>;
+ wakeup-source;
+ };
+
+ key-camera {
+ label = "Camera Button";
+ linux,code = <KEY_CAMERA>;
+ gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
+ debounce-interval = <15>;
+ };
key-volume-up {
label = "Volume Up";
@@ -212,6 +227,20 @@ &sleep_clk {
&tlmm {
gpio-reserved-ranges = <0 4>, <14 4>;
+
+ hall_sensor_n: hall-sensor-n {
+ pins = "gpio96";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ key_camera_n: key-camera-n {
+ pins = "gpio18";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
};
&ufs_mem_hc {
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
2024-07-22 7:10 ` [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button Dang Huynh
@ 2024-07-22 8:34 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:34 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> The Pro1X has a flip keyboard and a single-state camera button.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
> arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 33 +++++++++++++++++++++++--
> 1 file changed, 31 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> index 4a30024aa48f..5b7dd54be6b6 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> @@ -34,9 +34,24 @@ framebuffer0: framebuffer@5c000000 {
>
> gpio-keys {
> compatible = "gpio-keys";
> -
> - pinctrl-0 = <&vol_up_n>;
> pinctrl-names = "default";
> + pinctrl-0 = <&hall_sensor_n>, <&key_camera_n>, <&vol_up_n>;
Please don't reorder these
looks good otherwise
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
2024-07-22 7:10 ` [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:35 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen Dang Huynh
` (9 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
F(x)tec Pro1X comes with PCA9534 IO Expander, it is used for enabling
touch screen VDD/VDDIO and keyboard's caps lock LED.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 5b7dd54be6b6..43b4bee72dd8 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -69,6 +69,23 @@ &dispcc {
status = "disabled";
};
+&gpi_dma0 {
+ status = "okay";
+};
+
+&i2c1 {
+ status = "okay";
+ /* Clock frequency was not specified downstream, let's park it to 100 KHz */
+ clock-frequency = <100000>;
+
+ pca9534: gpio@21 {
+ compatible = "nxp,pca9534";
+ reg = <0x21>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+};
+
&pm6125_gpios {
vol_up_n: vol-up-n-state {
pins = "gpio5";
@@ -88,6 +105,10 @@ &pon_resin {
status = "okay";
};
+&qupv3_id_0 {
+ status = "okay";
+};
+
&rpm_requests {
regulators-0 {
compatible = "qcom,rpm-pm6125-regulators";
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander
2024-07-22 7:10 ` [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander Dang Huynh
@ 2024-07-22 8:35 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:35 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> F(x)tec Pro1X comes with PCA9534 IO Expander, it is used for enabling
> touch screen VDD/VDDIO and keyboard's caps lock LED.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
2024-07-22 7:10 ` [PATCH 01/12] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button Dang Huynh
2024-07-22 7:10 ` [PATCH 02/12] arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:36 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED Dang Huynh
` (8 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
The Fxtec Pro1X touchscreen uses Goodix GT9286 chip.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 49 +++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 43b4bee72dd8..d91d31646b29 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -62,6 +62,20 @@ key-volume-up {
wakeup-source;
};
};
+
+ ts_vdd_supply: ts-vdd-supply {
+ compatible = "regulator-fixed";
+ regulator-name = "ts_vdd_supply";
+ gpio = <&pca9534 3 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ ts_vddio_supply: ts-vddio-supply {
+ compatible = "regulator-fixed";
+ regulator-name = "ts_vddio_supply";
+ gpio = <&pca9534 2 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&dispcc {
@@ -86,6 +100,27 @@ pca9534: gpio@21 {
};
};
+&i2c2 {
+ status = "okay";
+ /* Clock frequency was not specified downstream, let's park it to 100 KHz */
+ clock-frequency = <100000>;
+
+ touchscreen@14 {
+ compatible = "goodix,gt9286";
+ reg = <0x14>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_int_n>, <&ts_rst_n>;
+
+ interrupt-parent = <&tlmm>;
+ interrupts = <80 IRQ_TYPE_LEVEL_LOW>;
+
+ irq-gpios = <&tlmm 80 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&tlmm 71 GPIO_ACTIVE_HIGH>;
+ AVDD28-supply = <&ts_vdd_supply>;
+ VDDIO-supply = <&ts_vddio_supply>;
+ };
+};
+
&pm6125_gpios {
vol_up_n: vol-up-n-state {
pins = "gpio5";
@@ -262,6 +297,20 @@ key_camera_n: key-camera-n {
drive-strength = <2>;
bias-pull-up;
};
+
+ ts_int_n: ts-int-n {
+ pins = "gpio80";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ ts_rst_n: ts-rst-n {
+ pins = "gpio71";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
};
&ufs_mem_hc {
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen
2024-07-22 7:10 ` [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen Dang Huynh
@ 2024-07-22 8:36 ` Konrad Dybcio
2024-07-22 8:38 ` Dang Huynh
0 siblings, 1 reply; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:36 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> The Fxtec Pro1X touchscreen uses Goodix GT9286 chip.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
> arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 49 +++++++++++++++++++++++++
> 1 file changed, 49 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> index 43b4bee72dd8..d91d31646b29 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> @@ -62,6 +62,20 @@ key-volume-up {
> wakeup-source;
> };
> };
> +
> + ts_vdd_supply: ts-vdd-supply {
> + compatible = "regulator-fixed";
> + regulator-name = "ts_vdd_supply";
> + gpio = <&pca9534 3 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
> +
> + ts_vddio_supply: ts-vddio-supply {
> + compatible = "regulator-fixed";
> + regulator-name = "ts_vddio_supply";
> + gpio = <&pca9534 2 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + };
I suppose you don't know the voltages for these?
> };
>
> &dispcc {
> @@ -86,6 +100,27 @@ pca9534: gpio@21 {
> };
> };
>
> +&i2c2 {
> + status = "okay";
> + /* Clock frequency was not specified downstream, let's park it to 100 KHz */
> + clock-frequency = <100000>;
> +
> + touchscreen@14 {
> + compatible = "goodix,gt9286";
> + reg = <0x14>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&ts_int_n>, <&ts_rst_n>;
reverse order, shift these down below supplies
> +
> + interrupt-parent = <&tlmm>;
> + interrupts = <80 IRQ_TYPE_LEVEL_LOW>;
interrupts-extended
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen
2024-07-22 8:36 ` Konrad Dybcio
@ 2024-07-22 8:38 ` Dang Huynh
0 siblings, 0 replies; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 8:38 UTC (permalink / raw)
To: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Konrad Dybcio
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
> On 22.07.2024 9:10 AM, Dang Huynh wrote:
> > +
> > + ts_vdd_supply: ts-vdd-supply {
> > + compatible = "regulator-fixed";
> > + regulator-name = "ts_vdd_supply";
> > + gpio = <&pca9534 3 GPIO_ACTIVE_HIGH>;
> > + enable-active-high;
> > + };
> > +
> > + ts_vddio_supply: ts-vddio-supply {
> > + compatible = "regulator-fixed";
> > + regulator-name = "ts_vddio_supply";
> > + gpio = <&pca9534 2 GPIO_ACTIVE_HIGH>;
> > + enable-active-high;
> > + };
>
> I suppose you don't know the voltages for these?
>
Nope, no schematics to verify.
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (2 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:38 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 05/12] arm64: dts: qcom: sm6115-pro1x: Enable SD card slot Dang Huynh
` (7 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
The Pro1X has a caps lock LED on the keyboard.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index d91d31646b29..60c046fe8e52 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -8,6 +8,7 @@
#include "sm6115.dtsi"
#include "pm6125.dtsi"
#include <dt-bindings/arm/qcom,ids.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "F(x)tec Pro1X (QX1050)";
@@ -63,6 +64,16 @@ key-volume-up {
};
};
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ capslock-led {
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_CAPSLOCK;
+ gpios = <&pca9534 1 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
ts_vdd_supply: ts-vdd-supply {
compatible = "regulator-fixed";
regulator-name = "ts_vdd_supply";
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED
2024-07-22 7:10 ` [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED Dang Huynh
@ 2024-07-22 8:38 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:38 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> The Pro1X has a caps lock LED on the keyboard.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
> arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> index d91d31646b29..60c046fe8e52 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> @@ -8,6 +8,7 @@
> #include "sm6115.dtsi"
> #include "pm6125.dtsi"
> #include <dt-bindings/arm/qcom,ids.h>
> +#include <dt-bindings/leds/common.h>
>
> / {
> model = "F(x)tec Pro1X (QX1050)";
> @@ -63,6 +64,16 @@ key-volume-up {
> };
> };
>
> + gpio-leds {
> + compatible = "gpio-leds";
> +
> + capslock-led {
> + color = <LED_COLOR_ID_GREEN>;
> + function = LED_FUNCTION_CAPSLOCK;
> + gpios = <&pca9534 1 GPIO_ACTIVE_HIGH>;
You may want to take a look at msm8998-fxtec-pro1.dts which has a
bit more properties describing it
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 05/12] arm64: dts: qcom: sm6115-pro1x: Enable SD card slot
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (3 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 04/12] arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 7:10 ` [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU Dang Huynh
` (6 subsequent siblings)
11 siblings, 0 replies; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
Fxtec Pro1X has two card slots and allow either 2xSIM cards or
1xSIM, 1xSD Card configuration.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 31 +++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 60c046fe8e52..42567545f56d 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -187,6 +187,7 @@ pm6125_l4a: l4 {
pm6125_l5a: l5 {
regulator-min-microvolt = <1648000>;
regulator-max-microvolt = <3056000>;
+ regulator-allow-set-load;
};
pm6125_l6a: l6 {
@@ -288,6 +289,36 @@ pm6125_l24a: l24 {
};
};
+&sdc2_state_off {
+ cd-pins {
+ pins = "gpio88";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+};
+
+&sdc2_state_on {
+ cd-pins {
+ pins = "gpio88";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+};
+
+&sdhc_2 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&sdc2_state_on>;
+ pinctrl-1 = <&sdc2_state_off>;
+
+ cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>;
+
+ vmmc-supply = <&pm6125_l22a>;
+ vqmmc-supply = <&pm6125_l5a>;
+ status = "okay";
+};
+
&sleep_clk {
clock-frequency = <32764>;
};
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (4 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 05/12] arm64: dts: qcom: sm6115-pro1x: Enable SD card slot Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:39 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS Dang Huynh
` (5 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
Fxtec Pro1x uses the same display (BOE BF060Y8M-AJ0) as Pro1.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 60 +++++++++++++++++++++++--
1 file changed, 56 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 42567545f56d..6148cc258164 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -89,13 +89,16 @@ ts_vddio_supply: ts-vddio-supply {
};
};
-&dispcc {
- /* HACK: disable until a panel driver is ready to retain simplefb */
- status = "disabled";
+&gpi_dma0 {
+ status = "okay";
};
-&gpi_dma0 {
+&gpu {
status = "okay";
+
+ zap-shader {
+ firmware-name = "qcom/sm6115/Fxtec/QX1050/a610_zap.mbn";
+ };
};
&i2c1 {
@@ -132,6 +135,42 @@ touchscreen@14 {
};
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi0 {
+ vdda-supply = <&pm6125_l18a>;
+ status = "okay";
+
+ panel: panel@0 {
+ compatible = "boe,bf060y8m-aj0";
+ reg = <0>;
+
+ reset-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
+
+ vddio-supply = <&pm6125_l9a>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&mdss_dsi_n &panel_en_n>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_out {
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&panel_in>;
+};
+
+&mdss_dsi0_phy {
+ status = "okay";
+};
+
&pm6125_gpios {
vol_up_n: vol-up-n-state {
pins = "gpio5";
@@ -340,6 +379,19 @@ key_camera_n: key-camera-n {
bias-pull-up;
};
+ mdss_dsi_n: mdss-dsi-n {
+ pins = "gpio82";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ panel_en_n: panel-en-n {
+ pins = "gpio65";
+ function = "gpio";
+ bias-disable;
+ };
+
ts_int_n: ts-int-n {
pins = "gpio80";
function = "gpio";
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU
2024-07-22 7:10 ` [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU Dang Huynh
@ 2024-07-22 8:39 ` Konrad Dybcio
2024-07-22 9:17 ` Dang Huynh
0 siblings, 1 reply; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:39 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> Fxtec Pro1x uses the same display (BOE BF060Y8M-AJ0) as Pro1.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
[...]
> + panel: panel@0 {
> + compatible = "boe,bf060y8m-aj0";
> + reg = <0>;
> +
> + reset-gpios = <&tlmm 82 GPIO_ACTIVE_LOW>;
> +
> + vddio-supply = <&pm6125_l9a>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&mdss_dsi_n &panel_en_n>;
pinctrl-n
pinctrl-names
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&mdss_dsi0_out>;
> + };
> + };
> + };
> +};
> +
> +&mdss_dsi0_out {
> + data-lanes = <0 1 2 3>;
> + remote-endpoint = <&panel_in>;
> +};
> +
> +&mdss_dsi0_phy {
> + status = "okay";
No power supplies?
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU
2024-07-22 8:39 ` Konrad Dybcio
@ 2024-07-22 9:17 ` Dang Huynh
2024-07-22 10:05 ` Konrad Dybcio
0 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 9:17 UTC (permalink / raw)
To: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Konrad Dybcio
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
> > +&mdss_dsi0_phy {
> > + status = "okay";
>
> No power supplies?
>
> Konrad
Doesn't seem to be defined anywhere on downstream, may be hardware controlled.
^ permalink raw reply [flat|nested] 27+ messages in thread* Re: [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU
2024-07-22 9:17 ` Dang Huynh
@ 2024-07-22 10:05 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 10:05 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 11:17 AM, Dang Huynh wrote:
>>> +&mdss_dsi0_phy {
>>> + status = "okay";
>>
>> No power supplies?
>>
>> Konrad
>
> Doesn't seem to be defined anywhere on downstream, may be hardware controlled.
my downstream suggests L1b
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (5 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 06/12] arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 10:46 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year Dang Huynh
` (4 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
The F(x)tec Pro1X supports USB 3.0 through it's USB-C port.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 6148cc258164..a32fc27bc783 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -428,7 +428,6 @@ &usb {
&usb_dwc3 {
/delete-property/ usb-role-switch;
- maximum-speed = "high-speed";
dr_mode = "peripheral";
};
@@ -439,6 +438,12 @@ &usb_hsphy {
status = "okay";
};
+&usb_qmpphy {
+ vdda-phy-supply = <&pm6125_l4a>;
+ vdda-pll-supply = <&pm6125_l12a>;
+ status = "okay";
+};
+
&xo_board {
clock-frequency = <19200000>;
};
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS
2024-07-22 7:10 ` [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS Dang Huynh
@ 2024-07-22 10:46 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 10:46 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> The F(x)tec Pro1X supports USB 3.0 through it's USB-C port.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (6 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 07/12] arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 7:30 ` Krzysztof Kozlowski
2024-07-22 7:10 ` [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property Dang Huynh
` (3 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
It's 2024, let's update the copyright year.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index a32fc27bc783..6e9e4d9f8250 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
/*
- * Copyright (c) 2023, Dang Huynh <danct12@riseup.net>
+ * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net>
*/
/dts-v1/;
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year
2024-07-22 7:10 ` [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year Dang Huynh
@ 2024-07-22 7:30 ` Krzysztof Kozlowski
0 siblings, 0 replies; 27+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-22 7:30 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22/07/2024 09:10, Dang Huynh wrote:
> It's 2024, let's update the copyright year.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
> arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> index a32fc27bc783..6e9e4d9f8250 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
> /*
> - * Copyright (c) 2023, Dang Huynh <danct12@riseup.net>
> + * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net>
Please squash it. I don't think copyright update has a merit on its own.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (7 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 08/12] arm64: dts: qcom: sm6115-pro1x: Update copyright year Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 10:46 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED Dang Huynh
` (2 subsequent siblings)
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
The USB-C port is used for powering external devices and transfer
data from/to them.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 51 +++++++++++++++++++++++--
1 file changed, 48 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 6e9e4d9f8250..88df28fc8c7e 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -7,8 +7,10 @@
#include "sm6115.dtsi"
#include "pm6125.dtsi"
+#include "pmi632.dtsi"
#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/leds/common.h>
+#include <dt-bindings/usb/pd.h>
/ {
model = "F(x)tec Pro1X (QX1050)";
@@ -181,6 +183,46 @@ vol_up_n: vol-up-n-state {
};
};
+&pmi632_typec {
+ status = "okay";
+
+ connector {
+ compatible = "usb-c-connector";
+
+ power-role = "dual";
+ data-role = "dual";
+ self-powered;
+
+ typec-power-opmode = "default";
+ pd-disable;
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+ pmi632_hs_in: endpoint {
+ remote-endpoint = <&usb_dwc3_hs>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ pmi632_ss_in: endpoint {
+ remote-endpoint = <&usb_qmpphy_out>;
+ };
+ };
+ };
+ };
+};
+
+&pmi632_vbus {
+ regulator-min-microamp = <500000>;
+ regulator-max-microamp = <1000000>;
+ status = "okay";
+};
+
&pon_pwrkey {
status = "okay";
};
@@ -426,9 +468,8 @@ &usb {
status = "okay";
};
-&usb_dwc3 {
- /delete-property/ usb-role-switch;
- dr_mode = "peripheral";
+&usb_dwc3_hs {
+ remote-endpoint = <&pmi632_hs_in>;
};
&usb_hsphy {
@@ -444,6 +485,10 @@ &usb_qmpphy {
status = "okay";
};
+&usb_qmpphy_out {
+ remote-endpoint = <&pmi632_ss_in>;
+};
+
&xo_board {
clock-frequency = <19200000>;
};
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property
2024-07-22 7:10 ` [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property Dang Huynh
@ 2024-07-22 10:46 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 10:46 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> The USB-C port is used for powering external devices and transfer
> data from/to them.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konradqmpphy_out {
> + remote-endpoint = <&pmi632_ss_in>;
> +};
> +
> &xo_board {
> clock-frequency = <19200000>;
> };
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (8 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 09/12] arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:40 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs Dang Huynh
2024-07-22 7:10 ` [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN Dang Huynh
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
This device has an RGB LED. It is used for notifications.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 88df28fc8c7e..b434241a95b2 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -183,6 +183,33 @@ vol_up_n: vol-up-n-state {
};
};
+&pmi632_lpg {
+ status = "okay";
+
+ multi-led {
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@1 {
+ reg = <1>;
+ color = <LED_COLOR_ID_RED>;
+ };
+
+ led@2 {
+ reg = <2>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@3 {
+ reg = <3>;
+ color = <LED_COLOR_ID_BLUE>;
+ };
+ };
+};
+
&pmi632_typec {
status = "okay";
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED
2024-07-22 7:10 ` [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED Dang Huynh
@ 2024-07-22 8:40 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:40 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> This device has an RGB LED. It is used for notifications.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (9 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 10/12] arm64: dts: qcom: sm6115-pro1x: Enable RGB LED Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 10:47 ` Konrad Dybcio
2024-07-22 7:10 ` [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN Dang Huynh
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
Enable [A,C]DSP and MPSS remote processor on this device.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index b434241a95b2..14d4f533f741 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -263,6 +263,21 @@ &qupv3_id_0 {
status = "okay";
};
+&remoteproc_adsp {
+ firmware-name = "qcom/sm6115/Fxtec/QX1050/adsp.mbn";
+ status = "okay";
+};
+
+&remoteproc_cdsp {
+ firmware-name = "qcom/sm6115/Fxtec/QX1050/cdsp.mbn";
+ status = "okay";
+};
+
+&remoteproc_mpss {
+ firmware-name = "qcom/sm6115/Fxtec/QX1050/modem.mbn";
+ status = "okay";
+};
+
&rpm_requests {
regulators-0 {
compatible = "qcom,rpm-pm6125-regulators";
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs
2024-07-22 7:10 ` [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs Dang Huynh
@ 2024-07-22 10:47 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 10:47 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> Enable [A,C]DSP and MPSS remote processor on this device.
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN
2024-07-22 7:10 [PATCH 00/12] F(x)tec Pro1X feature expansion Dang Huynh
` (10 preceding siblings ...)
2024-07-22 7:10 ` [PATCH 11/12] arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs Dang Huynh
@ 2024-07-22 7:10 ` Dang Huynh
2024-07-22 8:41 ` Konrad Dybcio
11 siblings, 1 reply; 27+ messages in thread
From: Dang Huynh @ 2024-07-22 7:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel, Dang Huynh
Enable onboard Wi-Fi on the F(x)tec Pro1X.
For reference, HW/SW identifies as:
qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x40670000
qmi fw_version 0x324103d6 fw_build_timestamp 2021-12-02 08:20
fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.2.4-00982-QCAHLSWMTPLZ-1
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
index 14d4f533f741..c148ebd1c8b4 100644
--- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
+++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
@@ -531,6 +531,17 @@ &usb_qmpphy_out {
remote-endpoint = <&pmi632_ss_in>;
};
+&wifi {
+ status = "okay";
+
+ vdd-0.8-cx-mx-supply = <&pm6125_l8a>;
+ vdd-1.8-xo-supply = <&pm6125_l16a>;
+ vdd-1.3-rfa-supply = <&pm6125_l17a>;
+ vdd-3.3-ch0-supply = <&pm6125_l23a>;
+
+ qcom,ath10k-calibration-variant = "Fxtec_QX1050";
+};
+
&xo_board {
clock-frequency = <19200000>;
};
--
2.45.2
^ permalink raw reply related [flat|nested] 27+ messages in thread* Re: [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN
2024-07-22 7:10 ` [PATCH 12/12] arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN Dang Huynh
@ 2024-07-22 8:41 ` Konrad Dybcio
0 siblings, 0 replies; 27+ messages in thread
From: Konrad Dybcio @ 2024-07-22 8:41 UTC (permalink / raw)
To: Dang Huynh, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: phone-devel, ~postmarketos/upstreaming, linux-arm-msm, devicetree,
linux-kernel
On 22.07.2024 9:10 AM, Dang Huynh wrote:
> Enable onboard Wi-Fi on the F(x)tec Pro1X.
>
> For reference, HW/SW identifies as:
> qmi chip_id 0x120 chip_family 0x4007 board_id 0xff soc_id 0x40670000
> qmi fw_version 0x324103d6 fw_build_timestamp 2021-12-02 08:20
> fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.2.4-00982-QCAHLSWMTPLZ-1
>
> Signed-off-by: Dang Huynh <danct12@riseup.net>
> ---
> arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> index 14d4f533f741..c148ebd1c8b4 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts
> @@ -531,6 +531,17 @@ &usb_qmpphy_out {
> remote-endpoint = <&pmi632_ss_in>;
> };
>
> +&wifi {
> + status = "okay";
status goes last
Konrad
^ permalink raw reply [flat|nested] 27+ messages in thread