This patch series expand F(x)tec Pro1X (QX1050) device tree to support
various components of the device.
Most notably:
+ SD Card slot
+ Touchscreen
+ MDSS, DRM display panel
+ WLAN (ATH10K)
+ Hall sensor and camera button
This patch series has been tested on Buildroot Linux with TQFTPSERV and
RMTFS present in userspace.
Signed-off-by: Dang Huynh <danct12@riseup.net>
---
Changes in v2:
- Squash copyright year commit to the hall sensor commit
- Reorder pinctrl-n and pinctrl-names in several commits
- Use interrupts-extended for touchscreen
- Add further information to the caps lock LED node
- Move status property from &wifi to the end of the node
- Link to v1: https://lore.kernel.org/r/20240722-qx1050-feature-expansion-v1-0-c4d486435b96@riseup.net
---
Dang Huynh (11):
arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander
arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen
arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED
arm64: dts: qcom: sm6115-pro1x: Enable SD card slot
arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU
arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS
arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property
arm64: dts: qcom: sm6115-pro1x: Enable RGB LED
arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs
arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 319 +++++++++++++++++++++++-
1 file changed, 310 insertions(+), 9 deletions(-)
---
base-commit: 41c196e567fb1ea97f68a2ffb7faab451cd90854
change-id: 20240722-qx1050-feature-expansion-7f6a2682f2ea
Best regards,
--
Dang Huynh <danct12@riseup.net>
[PATCH v2 01/11] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
On 25.07.2024 3:42 AM, Dang Huynh wrote:
> The Pro1X has a caps lock LED on the keyboard.> > Signed-off-by: Dang Huynh <danct12@riseup.net>> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
On 25.07.2024 3:42 AM, Dang Huynh wrote:
> Fxtec Pro1X has two card slots and allow either 2xSIM cards or> 1xSIM, 1xSD Card configuration.> > Signed-off-by: Dang Huynh <danct12@riseup.net>> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
On 25.07.2024 3:42 AM, Dang Huynh wrote:
> Fxtec Pro1x uses the same display (BOE BF060Y8M-AJ0) as Pro1.> > Signed-off-by: Dang Huynh <danct12@riseup.net>> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
On Thu, 25 Jul 2024 08:42:09 +0700, Dang Huynh wrote:
> This patch series expand F(x)tec Pro1X (QX1050) device tree to support> various components of the device.> > Most notably:> + SD Card slot> + Touchscreen> + MDSS, DRM display panel> + WLAN (ATH10K)> + Hall sensor and camera button> > This patch series has been tested on Buildroot Linux with TQFTPSERV and> RMTFS present in userspace.> > Signed-off-by: Dang Huynh <danct12@riseup.net>> ---> Changes in v2:> - Squash copyright year commit to the hall sensor commit> - Reorder pinctrl-n and pinctrl-names in several commits> - Use interrupts-extended for touchscreen> - Add further information to the caps lock LED node> - Move status property from &wifi to the end of the node> - Link to v1: https://lore.kernel.org/r/20240722-qx1050-feature-expansion-v1-0-c4d486435b96@riseup.net> > ---> Dang Huynh (11):> arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button> arm64: dts: qcom: sm6115-pro1x: Add PCA9534 IO Expander> arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen> arm64: dts: qcom: sm6115-pro1x: Add Caps Lock LED> arm64: dts: qcom: sm6115-pro1x: Enable SD card slot> arm64: dts: qcom: sm6115-pro1x: Enable MDSS and GPU> arm64: dts: qcom: sm6115-pro1x: Hook up USB3 SS> arm64: dts: qcom: sm6115-pro1x: Add PMI632 Type-C property> arm64: dts: qcom: sm6115-pro1x: Enable RGB LED> arm64: dts: qcom: sm6115-pro1x: Enable remoteprocs> arm64: dts: qcom: sm6115-pro1x: Enable ATH10K WLAN> > arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 319 +++++++++++++++++++++++-> 1 file changed, 310 insertions(+), 9 deletions(-)> ---> base-commit: 41c196e567fb1ea97f68a2ffb7faab451cd90854> change-id: 20240722-qx1050-feature-expansion-7f6a2682f2ea> > Best regards,> --> Dang Huynh <danct12@riseup.net>> > >
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y qcom/sm6115-fxtec-pro1x.dtb' for 20240725-qx1050-feature-expansion-v2-0-5fac4bbd946f@riseup.net:
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dtb: pinctrl@500000: Unevaluated properties are not allowed ('hall-sensor-n', 'key-camera-n', 'mdss-dsi-n', 'panel-en-n', 'ts-int-n', 'ts-rst-n' were unexpected)
from schema $id: http://devicetree.org/schemas/pinctrl/qcom,sm6115-tlmm.yaml#
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dtb: panel@0: 'elvdd-supply' is a required property
from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml#
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dtb: panel@0: 'elvss-supply' is a required property
from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml#
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dtb: panel@0: 'vcc-supply' is a required property
from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml#
arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dtb: panel@0: 'vci-supply' is a required property
from schema $id: http://devicetree.org/schemas/display/panel/boe,bf060y8m-aj0.yaml#
Re: [PATCH v2 01/11] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
On 25.07.2024 3:42 AM, Dang Huynh wrote:
> The Pro1X has a flip keyboard and a single-state camera button.> > Signed-off-by: Dang Huynh <danct12@riseup.net>> ---
[...]
> > &tlmm {> gpio-reserved-ranges = <0 4>, <14 4>;> +> + hall_sensor_n: hall-sensor-n {
These must end in -state to pass binding checks (also in other
patches)
Also,
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html#order-of-nodes
suggests to sort these nodes by gpio number
Konrad
Re: [PATCH v2 01/11] arm64: dts: qcom: sm6115-pro1x: Add Hall Switch and Camera Button
On 25/07/2024 03:42, 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 | 34 +++++++++++++++++++++++--> 1 file changed, 32 insertions(+), 2 deletions(-)>
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check W=1` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
Best regards,
Krzysztof