arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
PATCH v4 2/2 dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding
In reply to Hongyang ZhaoAdd binding for the Thundercomm RUBIK Pi 3 board, which is based on the Qualcomm Dragonwing QCS6490 SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -340,6 +340,7 @@ properties: - particle,tachyon - qcom,qcm6490-idp - qcom,qcs6490-rb3gen2 + - thundercomm,rubikpi3 - shift,otter - const: qcom,qcm6490
Signature · 1 line
2.43.0
v4 cover arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
RUBIK Pi 3 (https://rubikpi.ai/), a lightweight development board based on Qualcomm Dragonwing™ QCS6490 platform, is the first Pi built on
This commit enables the following features:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1
---
Changes in v4:
- Enable PCIe0 node
- Added AX88179B Ethernet and UPD720201 USBHUB power control.
- Delete the nodes and attributes defined in sc7280.dtsi.
- Modify qcom.yaml to add binding for the Thundercomm RUBIK Pi 3 board.
- Link to v3: https://lore.kernel.org/linux-arm-msm/[email protected]/
Changes in v3:
- Rebase on linux-next/master.
- Link to v2: https://lore.kernel.org/linux-arm-msm/[email protected]/
Changes in v2:
- Fix problems found when running device tree check.
- Enable USB2.0 interface.
- Link to v1: https://lore.kernel.org/linux-arm-msm/[email protected]/
---
Hongyang Zhao (2):
arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding
.../devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1410 +++++++++++++++++ 3 files changed, 1412 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
Signature · 1 line
2.43.0
PATCH v4 1/2 arm64: dts: qcom: rubikpi3: Add qcs6490-rubikpi3 board dts
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
Works:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcs6490-thundercomm-rubikpi3.dts | 1410 +++++++++++++++++ 2 files changed, 1411 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -133,6 +133,7 @@ qcs6490-rb3gen2-industrial-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2 dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-industrial-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-vision-mezzanine.dtb +dtb-$(CONFIG_ARCH_QCOM) += qcs6490-thundercomm-rubikpi3.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8300-ride.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs8550-aim300-aiot.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs9100-ride.dtb
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +1410 -0
1,410 lines not on this page · raw message
Signature · 1 line
2.43.0
Re: [PATCH v4 2/2] dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding
In reply to Hongyang ZhaoQuoted 13 lines · Hongyang Zhao
Add binding for the Thundercomm RUBIK Pi 3 board, which is based on the Qualcomm Dragonwing QCS6490 SoC.
Signed-off-by Hongyang Zhao <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0
Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 344
Quoted 5 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -340,6 +340,7 @@ properties: - particle,tachyon - qcom,qcm6490-idp - qcom,qcs6490-rb3gen2 + - thundercomm,rubikpi3 - shift,otter
'shift' < 'thundercomm'
Quoted 5 lines
Documentation/devicetree/bindings/arm/qcom.yaml +0
-0- const: qcom,qcm6490Signature · 1 line
2.43.0
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v4 2/2] dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding
Quoted 9 lines · Hongyang Zhao
Quoted 8 lines
Add binding for the Thundercomm RUBIK Pi 3 board, which is based on the Qualcomm Dragonwing QCS6490 SoC.
Signed-off-by Hongyang Zhao <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Quoted 15 lines
Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 344
Quoted 10 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -340,6 +340,7 @@ properties: - particle,tachyon - qcom,qcm6490-idp - qcom,qcs6490-rb3gen2 + - thundercomm,rubikpi3 - shift,otter'shift' < 'thundercomm'
Quoted 2 lines
Documentation/devicetree/bindings/arm/qcom.yaml +0
-0- const: qcom,qcm6490
That's my mistake. Thank you for pointing it out. I'll wait a few days and make the changes in the new patch.
--
Thanks,
Hongyang
Re: [PATCH v4 2/2] dt-bindings: arm: qcom: rubikpi3: document rubikpi3 board binding
In reply to Hongyang ZhaoQuoted 4 lines · Hongyang Zhao
Add binding for the Thundercomm RUBIK Pi 3 board, which is based on the Qualcomm Dragonwing QCS6490 SoC.
Signed-off-by Hongyang Zhao <[email protected]>
<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline) or work on fork of kernel (don't, instead use mainline). Just use b4 and everything should be fine, although remember about b4 prep --auto-to-cc if you added new patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time.
Please kindly resend and include all necessary To/Cc entries. </form letter>
Best regards,
Krzysztof
Quoted 14 lines · Hongyang Zhao
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
Works:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1
Quoted 5 lines
Signed-off-by Hongyang Zhao <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier V1<[email protected]>
Is the "V1" part of Loic's name?> ---
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 55
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +5
-0+ fan0: pwm-fan { + compatible = "pwm-fan"; + pwms = <&pm8350c_pwm 3 1000000>; + pinctrl-0 = <&fan_pwm_out_default>; + pinctrl-names = "default";
You most definitely want some cooling-levels in here, so that the fan can be then referred to as a cooling device from some thermal-zone
[...]
Quoted 4 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +4
-0+ thermal-zones { + sdm-skin-thermal { + thermal-sensors = <&pmk8350_adc_tm 3>; +
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 207
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + }; + + quiet-thermal {
'q' < 's', but perhaps sorting by the thermal provider index (i.e. pmk8350_adc_tm 0/1/3) could make this more legible
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 255
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +8
-0+ vreg_lt9611_3p3: vreg_lt9611_3p3 { + compatible = "regulator-fixed"; + + regulator-name = "vreg_lt9611_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 83 0>;
"0" is supposed to be "GPIO_ACTIVE_HIGH" here, similarly elsewhere
[...]
Review
Quoted 2 lines
+&pcie0_phy {
(quoted diff) +1
-0+ status = "okay";
Please put 'status' uniformly as the last property, with a \n preceeding it
[...]
Quoted 26 lines
+&pm8350c_pwm {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +25
-0+ #address-cells = <1>; + #size-cells = <0>; + + status = "okay"; + + led@1 { + reg = <1>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <3>; + linux,default-trigger = "none"; + default-state = "off"; + panic-indicator; + label = "red"; + }; + + led@2 { + reg = <2>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <2>; + linux,default-trigger = "none"; + default-state = "off"; + label = "green"; + };
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 906
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + led@3 { + reg = <3>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <1>; + linux,default-trigger = "none"; + default-state = "off"; + label = "blue"; + };
Are these three separate LEDs (i.e. are none of them combined)?
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1157
Quoted 8 lines
+&thermal_zones {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +7
-0+ cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + };
these are not useful unless you wire up the fan here
Quoted 44 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +44
-0+ + cpu_warm: cpu-warm { + temperature = <80000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_hot: cpu-hot { + temperature = <90000>; + hysteresis = <5000>; + type = "active"; + }; + }; + }; + + gpuss0-thermal { + trips { + gpuss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + gpuss1-thermal { + trips { + gpuss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + nspss0-thermal { + trips { + nspss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + };
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1211
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + nspss1-thermal { + trips { + nspss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + };
neither are any of these ^
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1232
Quoted 3 lines
+&tlmm {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +2
-0+ bt_device_wake: bt-device-wake-state { + pins = "gpio39";
It'd be nice if entries here were sorted by the GPIO index, as per
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
[...]
Quoted 6 lines
+/*
+ * Update the lpassaudio node to support the new compatible as the
+ * lpassaudio needs to support the reset functionality on the
+ * QCS6490 RUBIK Pi 3 board and the rest of the Audio functionality would be
+ * provided from the LPASS firmware.
+ */
I'm not sure this comment is useful, given this is a "common" situation, but this override should most definitely not hang out at the tail end of the file
Konrad
Quoted 4 lines
+&lpass_audiocc {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ compatible = "qcom,qcm6490-lpassaudiocc"; + /delete-property/ power-domains; +};
Quoted 15 lines · Hongyang Zhao
Quoted 14 lines
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
Works:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1
Quoted 7 lines
Quoted 5 lines
Signed-off-by Hongyang Zhao <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier V1<[email protected]>Is the "V1" part of Loic's name?> ---
No... Sorry, I didn't check carefully.
Quoted 11 lines
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 55
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +5
-0+ fan0: pwm-fan { + compatible = "pwm-fan"; + pwms = <&pm8350c_pwm 3 1000000>; + pinctrl-0 = <&fan_pwm_out_default>; + pinctrl-names = "default";You most definitely want some cooling-levels in here, so that the fan can be then referred to as a cooling device from some thermal-zone
Yes, thank you. I will change it like this:
fan0: pwm-fan {
compatible = "pwm-fan";
/* cooling level (0, 1, 2, 3) : (0% duty, 25% duty, 50% duty, 100% duty) */
cooling-levels = <0 64 128 255>;
#cooling-cells = <2>;
pwms = <&pm8350c_pwm 3 1000000>;
pinctrl-0 = <&fan_pwm_out_default>;
pinctrl-names = "default";
};Quoted 12 lines
[...]
Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +9
-0+ thermal-zones { + sdm-skin-thermal { + thermal-sensors = <&pmk8350_adc_tm 3>; + + trips { + active-config0 { + temperature = <125000>; + hysteresis = <1000>; + type = "passive";
Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 207
Quoted 5 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +5
-0+ }; + }; + }; + + quiet-thermal {'q' < 's', but perhaps sorting by the thermal provider index (i.e.
pmk8350_adc_tm0/1/3) could make this more legible
Understood, I will modify the order to pmk8350_adc_tm 0/1/3.
Quoted 12 lines
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 255
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +8
-0+ vreg_lt9611_3p3: vreg_lt9611_3p3 { + compatible = "regulator-fixed"; + + regulator-name = "vreg_lt9611_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 83 0>;"0" is supposed to be "
GPIO_ACTIVE_HIGH" here, similarly elsewhere
Understood, I will review the entire file.
Quoted 9 lines
[...]
Review
Quoted 2 lines
+&pcie0_phy {
(quoted diff) +1
-0+ status = "okay";Please put 'status' uniformly as the last property, with a
preceeding it
Got it, I missed that...
Quoted 32 lines
[...]
Quoted 30 lines
+&pm8350c_pwm {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +29
-0+ #address-cells = <1>; + #size-cells = <0>; + + status = "okay"; + + led@1 { + reg = <1>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <3>; + linux,default-trigger = "none"; + default-state = "off"; + panic-indicator; + label = "red"; + }; + + led@2 { + reg = <2>; + color = <LED_COLOR_ID_GREEN>; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <2>; + linux,default-trigger = "none"; + default-state = "off"; + label = "green"; + }; + + led@3 { + reg = <3>; + color = <LED_COLOR_ID_GREEN>;
Quoted 9 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 906
Quoted 6 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +6
-0+ function = LED_FUNCTION_INDICATOR; + function-enumerator = <1>; + linux,default-trigger = "none"; + default-state = "off"; + label = "blue"; + };Are these three separate LEDs (i.e. are none of them combined)?
These three LEDs are independent.
Quoted 12 lines
[...]
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1157
Quoted 8 lines
+&thermal_zones {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +7
-0+ cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + };these are not useful unless you wire up the fan here
I wrote a service program at the user levelthat listens for netlink messages from here to control the fan.
Controlling the fan at the kernel level should be a better approach, and I have verified this. I will make modifications similar to the following:
cpu0-thermal {
trips {
cpu_tepid: cpu-tepid {
temperature = <65000>;
hysteresis = <5000>;
type = "active";
};
cpu_warm: cpu-warm {
temperature = <80000>;
hysteresis = <5000>;
type = "active";
};
cpu_hot: cpu-hot {
temperature = <90000>;
hysteresis = <5000>;
type = "active";
};
};
cooling-maps {
map-cpu-tepid {
/* active: set fan to cooling level 1 */
cooling-device = <&fan0 1 1>;
trip = <&cpu_tepid>;
};
map-cpu-warm {
/* active: set fan to cooling level 2 */
cooling-device = <&fan0 2 2>;
trip = <&cpu_warm>;
};
map-cpu-hot {
/* active: set fan to cooling level 3 */
cooling-device = <&fan0 3 3>;
trip = <&cpu_hot>;
};
};
};Quoted 60 lines
Quoted 45 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +44
-0+ + cpu_warm: cpu-warm { + temperature = <80000>; + hysteresis = <5000>; + type = "active"; + }; + + cpu_hot: cpu-hot { + temperature = <90000>; + hysteresis = <5000>; + type = "active"; + }; + }; + }; + + gpuss0-thermal { + trips { + gpuss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + gpuss1-thermal { + trips { + gpuss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + }; + + nspss0-thermal { + trips { + nspss0_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + };arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1211
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +10
-0+ + nspss1-thermal { + trips { + nspss1_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <5000>; + type = "hot"; + }; + }; + };neither are any of these ^
[...]
Quoted 8 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1232
Quoted 3 lines
+&tlmm {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +2
-0+ bt_device_wake: bt-device-wake-state { + pins = "gpio39";It'd be nice if entries here were sorted by the GPIO index, as per
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html
Thank you, understood. I will arrange them in ascending order of pins, for example:
pcie1_reset_n: pcie1-reset-n-state {
pins = "gpio2";
function = "gpio";
drive-strength = <16>;
output-low;
bias-disable;
};
pcie1_wake_n: pcie1-wake-n-state {
pins = "gpio3";
function = "gpio";
drive-strength = <2>;
bias-pull-up;
};
usb_eth_power: usb-eth-power-state {
pins = "gpio7";
function = "gpio";
drive-strength = <16>;
bias-disable;
};Quoted 13 lines
[...]
Quoted 6 lines
+/*
+ * Update the lpassaudio node to support the new compatible as the
+ * lpassaudio needs to support the reset functionality on the
+ * QCS6490 RUBIK Pi 3 board and the rest of the Audio functionality would be
+ * provided from the LPASS firmware.
+ */I'm not sure this comment is useful, given this is a "common" situation, but this override should most definitely not hang out at the tail end of the file
Quoted 6 lines
Konrad
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1410
Quoted 4 lines
+&lpass_audiocc {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +3
-0+ compatible = "qcom,qcm6490-lpassaudiocc"; + /delete-property/ power-domains; +};
I will remove this comment and place this node in alphabetical order between &i2c9 and &mdss.
--
Thanks,
Hongyang
Quoted 23 lines · Hongyang Zhao
Quoted 4 lines
Add binding for the Thundercomm RUBIK Pi 3 board, which is based on the Qualcomm Dragonwing QCS6490 SoC.
Signed-off-by Hongyang Zhao <[email protected]><form letter>
Please usescripts/get_maintainers.plto get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel.Tools like b4 or
scripts/get_maintainer.plprovide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline) or work on fork of kernel (don't, instead use mainline). Just use b4 and everything should be fine, although remember aboutb4 prep --auto-to-ccif you added new patches to the patchset.You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time.
Quoted 5 lines
Please kindly resend and include all necessary To/Cc entries. </form letter>
Best regards,
Krzysztof
Thank you very much. Understood. I will make the adjustments and resend the new patch. However, since the discussion on [PATCH v4 1/2] is still ongoing, I should wait a few days before sending it.
--
Thanks,
Hongyang
Quoted 20 lines · Hongyang Zhao
Quoted 20 lines · Hongyang Zhao
Quoted 19 lines
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
Works:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1Signed-off-by Hongyang Zhao <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier V1<[email protected]>
[...]
Quoted 11 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1157
Quoted 8 lines
+&thermal_zones {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +7
-0+ cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + };these are not useful unless you wire up the fan here
Quoted 2 lines
I wrote a service program at the user levelthat listens for netlink messages from here to control the fan.
Creative!
Quoted 31 lines
Controlling the fan at the kernel level should be a better approach, and I have verified this. I will make modifications similar to the following:
cpu0-thermal { trips { cpu_tepid: cpu-tepid { temperature = <65000>; hysteresis = <5000>; type = "active"; }; cpu_warm: cpu-warm { temperature = <80000>; hysteresis = <5000>; type = "active"; }; cpu_hot: cpu-hot { temperature = <90000>; hysteresis = <5000>; type = "active"; }; }; cooling-maps { map-cpu-tepid { /* active: set fan to cooling level 1 */ cooling-device = <&fan0 1 1>; trip = <&cpu_tepid>; };
Quoted 8 lines
map-cpu-warm {
/* active: set fan to cooling level 2 */
cooling-device = <&fan0 2 2>;
trip = <&cpu_warm>;
};
map-cpu-hot {
/* active: set fan to cooling level 3 */You can drop these comments
Konrad
Quoted 76 lines
Quoted 20 lines
Quoted 20 lines · Hongyang Zhao
Quoted 19 lines
Add DTS for Thundercomm qcs6490-rubikpi3 board which uses QCS6490 SoC.
Works:
- Wi-Fi (AP6256)
- Bluetooth (AP6256)
- Ethernet (AX88179B connected to UPD720201)
- USB Type-C
- USB Type-A 2.0 port
- Two USB Type-A 3.0 ports (UPD720201 connected to PCIe0)
- M.2 M-Key 2280 PCIe 3.0
- RTC
- 40PIN: I2C x1, UART x1Signed-off-by Hongyang Zhao <[email protected]>Reviewed-by Roger Shimizu <[email protected]>Cc Casey Connolly <[email protected]>Cc Christopher Obbard <[email protected]>Cc Loic Minier V1<[email protected]>[...]
Quoted 11 lines
Quoted 10 lines
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts line 1157
Quoted 8 lines
+&thermal_zones {
arch/arm64/boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts new file +7
-0+ cpu0-thermal { + trips { + cpu_tepid: cpu-tepid { + temperature = <65000>; + hysteresis = <5000>; + type = "active"; + };these are not useful unless you wire up the fan here
Quoted 2 lines
I wrote a service program at the user levelthat listens for netlink messages from here to control the fan.
Creative!
Quoted 37 lines
Controlling the fan at the kernel level should be a better approach, and I have verified this. I will make modifications similar to the following:
cpu0-thermal { trips { cpu_tepid: cpu-tepid { temperature = <65000>; hysteresis = <5000>; type = "active"; }; cpu_warm: cpu-warm { temperature = <80000>; hysteresis = <5000>; type = "active"; }; cpu_hot: cpu-hot { temperature = <90000>; hysteresis = <5000>; type = "active"; }; }; cooling-maps { map-cpu-tepid { /* active: set fan to cooling level 1 */ cooling-device = <&fan0 1 1>; trip = <&cpu_tepid>; }; map-cpu-warm { /* active: set fan to cooling level 2 */ cooling-device = <&fan0 2 2>; trip = <&cpu_warm>; };
Quoted 4 lines
Quoted 2 lines
map-cpu-hot { /* active: set fan to cooling level 3 */You can drop these comments
Hi Konrad,
Sorry, in the v5 patch I sent, I missed your review, I will remove this part in the v6 version.
Thank you!
Hongyang