arm64: dts: qcom: initial Inforce IFC6560 board support
v6 cover arm64: dts: qcom: initial Inforce IFC6560 board support
This work is largely based on the previous work by Bjorn Andersson ([1])
Changes since v5:
- Drop icc patch, as there are questions whether the original paths are valid. It will be submitted separately.
Changes since v4:
- Remove unused mdp and sd-card-det-n DT nodes from the ifc6560 dts (thanks to Konrad).
Changes since v3 (most points based on review by Marijn):
- Fixed a typo in dsi0 patch
- Fixed indentation here and there
- Renamed qusb2phy to qusb2phy0 to play better with qusb2phy1
- Fixed the ICC path for the GPU
- Fixed sdhc2 pinconf for sdm636-sony-xperia-ganges-mermaid
- Moved SDHC2 card detect gpio pin to board files
Changes since v2:
- Removed useless enablement of mdp node from the board file. It is already enabled in the SoC dtsi file.
Changes since v1 (mostly based on Kondrad's review):
- Also disabled dsi0/dsi0 phy in sdm630.dtsi
- Removed the clock from BAM DMA devices rather than disabling them completely
- Replaced numbers with symbolic names for interconnects in sdm630.dtsi
- Switched to "qcom,sda660" as a fallback compatible string
- Added dt-bindings for the qcom,sda660 compat
- Removed extra nesting level from the adsp firmware path
- Replaced numbers with proper symbolic names in the board file
- Added chassis-type property
- Changed the order of blsp entries in the board file
- Removed spurious newlines
- Changed the order of regulator properties
- Changed the DSI data-lines to list all four lanes. Still use just three lanes for the adv bridge (and describe the reason in the comment)
Changes since Bjorn's v2:
- Disable dsi1, dsi1 phy, GPU by default in sdm660.dtsi/sdm630.dtsi
- Fix qusb2phy ref clock
- Added USB2 host support to sdm630.dtsi
- Renamed DTS to follow SoC-vendor-board pattern
- Fixed vph_pwr voltage
- Removed extra/unrelated comments
- Added keys, USB2, USB3,
- Added configuration for the attached HDMI bridge
- Enabled MDP, MDSS and DSI0/DSI0 PHY devices
- Removed uart pinctrl and /reserved-mem nodes (present in main dtsi file)
- Added card detection for the SDCC2
- Disabled BLSP BAM DMA devices, they make the board reset during boot
[1] https://lore.kernel.org/linux-arm-msm/[email protected]/#t
Dmitry Baryshkov (11):
arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
arm64: dts: qcom: sdm660: disable dsi1/dsi1_phy by default
arm64: dts: qcom: sdm630: disable GPU by default
arm64: dts: qcom: sdm630: fix the qusb2phy ref clock
arm64: dts: qcom: sdm630: rename qusb2phy to qusb2phy0
arm64: dts: qcom: sdm630: add second (HS) USB host support
arm64: dts: qcom: sdm630: fix gpu's interconnect path
arm64: dts: qcom: sdm636-sony-xperia-ganges-mermaid: correct sdc2
pinconf
arm64: dts: qcom: sdm660: move SDHC2 card detect pinconf to board
files
arm64: dts: qcom: sdm660: Add initial Inforce IFC6560 board support
dt-bindings: arm: qcom: document sda660 SoC and ifc6560 board
.../devicetree/bindings/arm/qcom.yaml | 6 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sda660-inforce-ifc6560.dts | 461 ++++++++++++++++++ .../dts/qcom/sdm630-sony-xperia-nile.dtsi | 18 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 81 ++- .../sdm636-sony-xperia-ganges-mermaid.dts | 2 +- .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 18 +- arch/arm64/boot/dts/qcom/sdm660.dtsi | 3 + 8 files changed, 571 insertions(+), 19 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
Signature · 1 line
2.35.1
PATCH v6 1/11 arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/sdm630.dtsi +3 -0
@@ -1559,6 +1559,8 @@ dsi0: dsi@c994000 { phys = <&dsi0_phy>; phy-names = "dsi"; + status = "disabled"; + ports { #address-cells = <1>; #size-cells = <0>;
@@ -1592,6 +1594,7 @@ dsi0_phy: dsi-phy@c994400 { clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; clock-names = "iface", "ref"; + status = "disabled"; }; };
Signature · 1 line
2.35.1
Re: [PATCH v6 01/11] arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
Quoted 7 lines · Dmitry Baryshkov
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
I also added my:
To v5, to confirm the Suggested-by.
Quoted 28 lines
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/qcom/sdm630.dtsi +3
-0@@ -1559,6 +1559,8 @@ dsi0: dsi@c994000 { phys = <&dsi0_phy>; phy-names = "dsi"; + status = "disabled"; + ports { #address-cells = <1>; #size-cells = <0>;@@ -1592,6 +1594,7 @@ dsi0_phy: dsi-phy@c994400 { clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; clock-names = "iface", "ref"; + status = "disabled"; }; };Signature · 1 line
2.35.1
Re: [PATCH v6 01/11] arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
Quoted 9 lines · Marijn Suijten
Quoted 7 lines · Dmitry Baryshkov
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
Quoted 5 lines
I also added my:
Reviewed-by Marijn Suijten <[email protected]>To v5, to confirm the Suggested-by.
Reviewed-by tag is not used to confirm other tags like reported or suggested. It means you performed the review and you state what is described in "Reviewer's statement of oversight".
Don't add the tag for reasons other than described in that statement of oversight.
Best regards,
Krzysztof
Re: [PATCH v6 01/11] arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
Quoted 12 lines · Krzysztof Kozlowski
Quoted 11 lines · Marijn Suijten
Quoted 7 lines · Dmitry Baryshkov
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>I also added my:
Quoted 7 lines
Quoted 3 lines
Reviewed-by Marijn Suijten <[email protected]>To v5, to confirm the Suggested-by.
Reviewed-by tag is not used to confirm other tags like reported or suggested. It means you performed the review and you state what is described in "Reviewer's statement of oversight".
That is obviously implied, otherwise I wouldn't have sent a Reviewed-by in the first place.
However, I don't think Suggested-by quite carries the load of a Reviewed-by (at all...), so I don't understand why my Reviewed-by's have strangely been picked up for every patch except those where my name is already listed as Suggested-by or Reported-by, those are completely separate things.
- Marijn
Re: [PATCH v6 01/11] arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
In reply to Marijn SuijtenQuoted 5 lines · Marijn Suijten
Quoted 4 lines · Dmitry Baryshkov
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
Quoted 7 lines
Quoted 3 lines
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>I also added my:
Reviewed-by Marijn Suijten <[email protected]>
Please excuse me. I didn't pick up your R-b tags by mistake.
Quoted 31 lines
To v5, to confirm the Suggested-by.
Quoted 28 lines
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 +++ 1 file changed, 3 insertions(+)arch/arm64/boot/dts/qcom/sdm630.dtsi +3
-0@@ -1559,6 +1559,8 @@ dsi0: dsi@c994000 { phys = <&dsi0_phy>; phy-names = "dsi"; + status = "disabled"; + ports { #address-cells = <1>; #size-cells = <0>;@@ -1592,6 +1594,7 @@ dsi0_phy: dsi-phy@c994400 { clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; clock-names = "iface", "ref"; + status = "disabled"; }; };Signature · 1 line
2.35.1
Signature · 2 lines
With best wishes Dmitry
Re: [PATCH v6 01/11] arm64: dts: qcom: sdm630: disable dsi0/dsi0_phy by default
Quoted 10 lines · Dmitry Baryshkov
Quoted 9 lines · Marijn Suijten
Quoted 7 lines · Dmitry Baryshkov
Follow the typical practice and keep DSI0/DSI0 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
Quoted 5 lines
Quoted 3 lines
I also added my:
Reviewed-by Marijn Suijten <[email protected]>Please excuse me. I didn't pick up your R-b tags by mistake.
No worries, it just seemed coincidental to have them picked up on every patch except the ones which already had a Suggested/Reported-by tag, thanks for picking them up now!
- Marijn
PATCH v6 2/11 arm64: dts: qcom: sdm660: disable dsi1/dsi1_phy by default
In reply to Dmitry BaryshkovFollow the typical practice and keep DSI1/DSI1 PHY disabled by default. They should be enabled in the board DT files. No existing boards use them at this moment.
--- arch/arm64/boot/dts/qcom/sdm660.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/sdm660.dtsi +3 -0
@@ -192,6 +192,8 @@ dsi1: dsi@c996000 { phys = <&dsi1_phy>; phy-names = "dsi"; + status = "disabled"; + ports { #address-cells = <1>; #size-cells = <0>;
@@ -225,6 +227,7 @@ dsi1_phy: dsi-phy@c996400 { clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>; clock-names = "iface", "ref"; + status = "disabled"; }; };
Signature · 1 line
2.35.1
PATCH v6 3/11 arm64: dts: qcom: sdm630: disable GPU by default
In reply to Dmitry BaryshkovThe SoC's device tree file disables gpucc and adreno's SMMU by default. So let's disable the GPU too. Moreover it looks like SMMU might be not usable without additional patches (which means that GPU is unusable too). No board uses GPU at this moment.
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sdm630.dtsi +2 -0
@@ -1050,6 +1050,8 @@ adreno_gpu: gpu@5000000 { operating-points-v2 = <&gpu_sdm630_opp_table>; + status = "disabled"; + gpu_sdm630_opp_table: opp-table { compatible = "operating-points-v2"; opp-775000000 {
Signature · 1 line
2.35.1
PATCH v6 4/11 arm64: dts: qcom: sdm630: fix the qusb2phy ref clock
In reply to Dmitry BaryshkovAccording to the downstram DT file, the qusb2phy ref clock should be GCC_RX0_USB2_CLKREF_CLK, not GCC_RX1_USB2_CLKREF_CLK.
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm630.dtsi +1 -1
@@ -1262,7 +1262,7 @@ qusb2phy: phy@c012000 { #phy-cells = <0>; clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, - <&gcc GCC_RX1_USB2_CLKREF_CLK>; + <&gcc GCC_RX0_USB2_CLKREF_CLK>; clock-names = "cfg_ahb", "ref"; resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
Signature · 1 line
2.35.1
PATCH v6 5/11 arm64: dts: qcom: sdm630: rename qusb2phy to qusb2phy0
In reply to Dmitry BaryshkovIn preparation to adding second USB host/PHY pair, change first USB PHY's label to qusb2phy0.
--- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +1 -1
@@ -224,7 +224,7 @@ &pon_resin { linux,code = <KEY_VOLUMEUP>; }; -&qusb2phy { +&qusb2phy0 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>;
arch/arm64/boot/dts/qcom/sdm630.dtsi +2 -2
@@ -1250,13 +1250,13 @@ usb3_dwc3: usb@a800000 { * haven't seen any devices making use of it. */ maximum-speed = "high-speed"; - phys = <&qusb2phy>; + phys = <&qusb2phy0>; phy-names = "usb2-phy"; snps,hird-threshold = /bits/ 8 <0>; }; }; - qusb2phy: phy@c012000 { + qusb2phy0: phy@c012000 { compatible = "qcom,sdm660-qusb2-phy"; reg = <0x0c012000 0x180>; #phy-cells = <0>;
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +1 -1
@@ -103,7 +103,7 @@ &pon_resin { linux,code = <KEY_VOLUMEDOWN>; }; -&qusb2phy { +&qusb2phy0 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>;
Signature · 1 line
2.35.1
Re: [PATCH v6 05/11] arm64: dts: qcom: sdm630: rename qusb2phy to qusb2phy0
Quoted 6 lines · Dmitry Baryshkov
In preparation to adding second USB host/PHY pair, change first USB PHY's label to qusb2phy0.
Suggested-by Marijn Suijten <[email protected]>Reviewed-by Konrad Dybcio <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
https://lore.kernel.org/linux-arm-msm/[email protected]/
Quoted 55 lines
--- arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 2 +- arch/arm64/boot/dts/qcom/sdm630.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +1
-1@@ -224,7 +224,7 @@ &pon_resin { linux,code = <KEY_VOLUMEUP>; }; -&qusb2phy { +&qusb2phy0 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>;arch/arm64/boot/dts/qcom/sdm630.dtsi +2
-2@@ -1250,13 +1250,13 @@ usb3_dwc3: usb@a800000 { * haven't seen any devices making use of it. */ maximum-speed = "high-speed"; - phys = <&qusb2phy>; + phys = <&qusb2phy0>; phy-names = "usb2-phy"; snps,hird-threshold = /bits/ 8 <0>; }; }; - qusb2phy: phy@c012000 { + qusb2phy0: phy@c012000 { compatible = "qcom,sdm660-qusb2-phy"; reg = <0x0c012000 0x180>; #phy-cells = <0>;arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +1
-1@@ -103,7 +103,7 @@ &pon_resin { linux,code = <KEY_VOLUMEDOWN>; }; -&qusb2phy { +&qusb2phy0 { status = "okay"; vdd-supply = <&vreg_l1b_0p925>;Signature · 1 line
2.35.1
PATCH v6 6/11 arm64: dts: qcom: sdm630: add second (HS) USB host support
In reply to Dmitry BaryshkovAdd DT entries for the second DWC3 USB host, which is limited to the USB2.0 (HighSpeed), and the corresponding QUSB PHY.
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+)
arch/arm64/boot/dts/qcom/sdm630.dtsi +55 -0
@@ -1270,6 +1270,20 @@ qusb2phy0: phy@c012000 { status = "disabled"; }; + qusb2phy1: phy@c014000 { + compatible = "qcom,sdm660-qusb2-phy"; + reg = <0x0c014000 0x180>; + #phy-cells = <0>; + + clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, + <&gcc GCC_RX1_USB2_CLKREF_CLK>; + clock-names = "cfg_ahb", "ref"; + + resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; + nvmem-cells = <&qusb2_hstx_trim>; + status = "disabled"; + }; + sdhc_2: sdhci@c084000 { compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; reg = <0x0c084000 0x1000>;
@@ -1375,6 +1389,47 @@ opp-384000000 { }; }; + usb2: usb@c2f8800 { + compatible = "qcom,sdm660-dwc3", "qcom,dwc3"; + reg = <0x0c2f8800 0x400>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + clocks = <&gcc GCC_CFG_NOC_USB2_AXI_CLK>, + <&gcc GCC_USB20_MASTER_CLK>, + <&gcc GCC_USB20_MOCK_UTMI_CLK>, + <&gcc GCC_USB20_SLEEP_CLK>; + clock-names = "cfg_noc", "core", + "mock_utmi", "sleep"; + + assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, + <&gcc GCC_USB20_MASTER_CLK>; + assigned-clock-rates = <19200000>, <60000000>; + + interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hs_phy_irq"; + + qcom,select-utmi-as-pipe-clk; + + resets = <&gcc GCC_USB_20_BCR>; + + usb2_dwc3: usb@c200000 { + compatible = "snps,dwc3"; + reg = <0x0c200000 0xc8d0>; + interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; + snps,dis_u2_susphy_quirk; + snps,dis_enblslpm_quirk; + + /* This is the HS-only host */ + maximum-speed = "high-speed"; + phys = <&qusb2phy1>; + phy-names = "usb2-phy"; + snps,hird-threshold = /bits/ 8 <0>; + }; + }; + mmcc: clock-controller@c8c0000 { compatible = "qcom,mmcc-sdm630"; reg = <0x0c8c0000 0x40000>;
Signature · 1 line
2.35.1
PATCH v6 7/11 arm64: dts: qcom: sdm630: fix gpu's interconnect path
In reply to Dmitry BaryshkovICC path for the GPU incorrectly states <&gnoc 1 &bimc 5>, which is a path from SLAVE_GNOC_BIMC to SLAVE_EBI. According to the downstream GPU uses MASTER_OXILI here, <&bimc 1 ...>.
While we are at it, use defined names instead of the numbers for this interconnect path.
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm630.dtsi +2 -1
@@ -8,6 +8,7 @@ #include <dt-bindings/clock/qcom,gpucc-sdm660.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/clock/qcom,rpmcc.h> +#include <dt-bindings/interconnect/qcom,sdm660.h> #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
@@ -1045,7 +1046,7 @@ adreno_gpu: gpu@5000000 { nvmem-cells = <&gpu_speed_bin>; nvmem-cell-names = "speed_bin"; - interconnects = <&gnoc 1 &bimc 5>; + interconnects = <&bimc MASTER_OXILI &bimc SLAVE_EBI>; interconnect-names = "gfx-mem"; operating-points-v2 = <&gpu_sdm630_opp_table>;
Signature · 1 line
2.35.1
Re: [PATCH v6 07/11] arm64: dts: qcom: sdm630: fix gpu's interconnect path
Quoted 2 lines · Dmitry Baryshkov
ICC path for the GPU incorrectly states <&gnoc 1 &bimc 5>, which is a path from
SLAVE_GNOC_BIMCtoSLAVE_EBI. According to the downstream
Note that I suggested to reword this sentence for readablity in v5:
https://lore.kernel.org/linux-arm-msm/[email protected]/
Quoted 8 lines
GPU uses
MASTER_OXILIhere, <&bimc 1 ...>.While we are at it, use defined names instead of the numbers for this interconnect path.
Fixes 5cf69dcbec8b ("arm64: dts: qcom: sdm630: Add Adreno 508 GPU configuration")Reported-by Marijn Suijten <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
And also added my Reviewed-by there. I think it is normal to have a Reviewed-by on top of a Suggested-by/Reported-by, so that I as reviewer confirm the contents of the patch?
Since this is the third patch missing these, It may just have been an oversight.
- Marijn
Quoted 28 lines
--- arch/arm64/boot/dts/qcom/sdm630.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/arm64/boot/dts/qcom/sdm630.dtsi +2
-1@@ -8,6 +8,7 @@ #include <dt-bindings/clock/qcom,gpucc-sdm660.h> #include <dt-bindings/clock/qcom,mmcc-sdm660.h> #include <dt-bindings/clock/qcom,rpmcc.h> +#include <dt-bindings/interconnect/qcom,sdm660.h> #include <dt-bindings/power/qcom-rpmpd.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/arm-gic.h>@@ -1045,7 +1046,7 @@ adreno_gpu: gpu@5000000 { nvmem-cells = <&gpu_speed_bin>; nvmem-cell-names = "speed_bin"; - interconnects = <&gnoc 1 &bimc 5>; + interconnects = <&bimc MASTER_OXILI &bimc SLAVE_EBI>; interconnect-names = "gfx-mem"; operating-points-v2 = <&gpu_sdm630_opp_table>;Signature · 1 line
2.35.1
Re: [PATCH v6 07/11] arm64: dts: qcom: sdm630: fix gpu's interconnect path
Quoted 4 lines · Marijn Suijten
And also added my Reviewed-by there. I think it is normal to have a Reviewed-by on top of a Suggested-by/Reported-by, so that I as reviewer confirm the contents of the patch?
The review tag is not used to confirm anything like that.
Quoted 3 lines
Since this is the third patch missing these, It may just have been an oversight.
If your review was meeting the criteria of "Reviewer's statement of oversight", then of course should be added here.
Best regards,
Krzysztof
Re: [PATCH v6 07/11] arm64: dts: qcom: sdm630: fix gpu's interconnect path
Quoted 7 lines · Krzysztof Kozlowski
Quoted 4 lines · Marijn Suijten
And also added my Reviewed-by there. I think it is normal to have a Reviewed-by on top of a Suggested-by/Reported-by, so that I as reviewer confirm the contents of the patch?
The review tag is not used to confirm anything like that.
It is used to acknowledge that I agree on (confirm) the contents of the patch as per how a review usually works. I have reviewed the patch, double-checked the numbers on my end. That's the "contents of the patch"?
Quoted 5 lines
Quoted 2 lines
Since this is the third patch missing these, It may just have been an oversight.
If your review was meeting the criteria of "Reviewer's statement of oversight", then of course should be added here.
That's what I said above, the Reviewed-by goes on top of the Reported-by as the latter doesn't imply the former at all.
- Marijn
PATCH v6 8/11 arm64: dts: qcom: sdm636-sony-xperia-ganges-mermaid: correct sdc2 pinconf
In reply to Dmitry BaryshkovFix the device tree node in the &sdc2_state_on override. The sdm630 uses 'clk' rather than 'pinconf-clk'.
--- arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts +1 -1
@@ -19,7 +19,7 @@ / { }; &sdc2_state_on { - pinconf-clk { + clk { drive-strength = <14>; }; };
Signature · 1 line
2.35.1
PATCH v6 9/11 arm64: dts: qcom: sdm660: move SDHC2 card detect pinconf to board files
In reply to Dmitry BaryshkovThis results in dts duplication, but per mutual agreement card detect pin configuration belongs to the board files. Move it from the SoC dtsi to the board DT files.
--- .../boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 16 ++++++++++++++++ arch/arm64/boot/dts/qcom/sdm630.dtsi | 12 ------------ .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 12 deletions(-)
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +16 -0
@@ -549,6 +549,22 @@ vreg_l19a_3p3: l19 { }; }; +&sdc2_state_on { + sd-cd { + pins = "gpio54"; + bias-pull-up; + drive-strength = <2>; + }; +}; + +&sdc2_state_off { + sd-cd { + pins = "gpio54"; + bias-disable; + drive-strength = <2>; + }; +}; + &sdhc_1 { status = "okay"; supports-cqe;
arch/arm64/boot/dts/qcom/sdm630.dtsi +0 -12
@@ -983,12 +983,6 @@ data { bias-pull-up; drive-strength = <10>; }; - - sd-cd { - pins = "gpio54"; - bias-pull-up; - drive-strength = <2>; - }; }; sdc2_state_off: sdc2-off {
@@ -1009,12 +1003,6 @@ data { bias-pull-up; drive-strength = <2>; }; - - sd-cd { - pins = "gpio54"; - bias-disable; - drive-strength = <2>; - }; }; };
arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +16 -0
@@ -363,6 +363,22 @@ vreg_l19a_3p3: l19 { }; }; +&sdc2_state_on { + sd-cd { + pins = "gpio54"; + bias-pull-up; + drive-strength = <2>; + }; +}; + +&sdc2_state_off { + sd-cd { + pins = "gpio54"; + bias-disable; + drive-strength = <2>; + }; +}; + &sdhc_1 { status = "okay"; supports-cqe;
Signature · 1 line
2.35.1
Re: [PATCH v6 09/11] arm64: dts: qcom: sdm660: move SDHC2 card detect pinconf to board files
Quoted 6 lines · Dmitry Baryshkov
This results in dts duplication, but per mutual agreement card detect pin configuration belongs to the board files. Move it from the SoC dtsi to the board DT files.
Suggested-by Marijn Suijten <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
Quoted 93 lines
--- .../boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 16 ++++++++++++++++ arch/arm64/boot/dts/qcom/sdm630.dtsi | 12 ------------ .../boot/dts/qcom/sdm660-xiaomi-lavender.dts | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 12 deletions(-)arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi +16
-0@@ -549,6 +549,22 @@ vreg_l19a_3p3: l19 { }; }; +&sdc2_state_on { + sd-cd { + pins = "gpio54"; + bias-pull-up; + drive-strength = <2>; + }; +}; + +&sdc2_state_off { + sd-cd { + pins = "gpio54"; + bias-disable; + drive-strength = <2>; + }; +}; + &sdhc_1 { status = "okay"; supports-cqe;arch/arm64/boot/dts/qcom/sdm630.dtsi +0
-12@@ -983,12 +983,6 @@ data { bias-pull-up; drive-strength = <10>; }; - - sd-cd { - pins = "gpio54"; - bias-pull-up; - drive-strength = <2>; - }; }; sdc2_state_off: sdc2-off {@@ -1009,12 +1003,6 @@ data { bias-pull-up; drive-strength = <2>; }; - - sd-cd { - pins = "gpio54"; - bias-disable; - drive-strength = <2>; - }; }; };arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +16
-0@@ -363,6 +363,22 @@ vreg_l19a_3p3: l19 { }; }; +&sdc2_state_on { + sd-cd { + pins = "gpio54"; + bias-pull-up; + drive-strength = <2>; + }; +}; + +&sdc2_state_off { + sd-cd { + pins = "gpio54"; + bias-disable; + drive-strength = <2>; + }; +}; + &sdhc_1 { status = "okay"; supports-cqe;Signature · 1 line
2.35.1
PATCH v6 10/11 arm64: dts: qcom: sdm660: Add initial Inforce IFC6560 board support
In reply to Dmitry BaryshkovThe IFC6560 is a board from Inforce Computing, built around the SDA660 SoC. This patch describes core clocks, some regulators from the two PMICs, debug uart, storage, bluetooth and audio DSP remoteproc.
The regulator settings are inherited from prior work by Konrad Dybcio and AngeloGioacchino Del Regno.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sda660-inforce-ifc6560.dts | 461 ++++++++++++++++++ 2 files changed, 462 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -88,6 +88,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sc7280-herobrine-herobrine-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-idp2.dtb dtb-$(CONFIG_ARCH_QCOM) += sc7280-crd.dtb +dtb-$(CONFIG_ARCH_QCOM) += sda660-inforce-ifc6560.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-ganges-kirin.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-discovery.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm630-sony-xperia-nile-pioneer.dtb
arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts new file +461 -0
461 lines not on this page · raw message
Signature · 1 line
2.35.1
PATCH v6 11/11 dt-bindings: arm: qcom: document sda660 SoC and ifc6560 board
In reply to Dmitry BaryshkovAdd binding documentation for the Inforce IFC6560 board which uses Snapdragon SDA660.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +6 -0
@@ -41,6 +41,7 @@ description: | sa8155p sc7180 sc7280 + sda660 sdm630 sdm632 sdm660
@@ -225,6 +226,11 @@ properties: - google,senor - const: qcom,sc7280 + - items: + - enum: + - inforce,ifc6560 + - const: qcom,sda660 + - items: - enum: - fairphone,fp3
Signature · 1 line
2.35.1
Re: [PATCH v6 11/11] dt-bindings: arm: qcom: document sda660 SoC and ifc6560 board
Quoted 6 lines · Dmitry Baryshkov
Add binding documentation for the Inforce IFC6560 board which uses Snapdragon SDA660.
Reviewed-by Marijn Suijten <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>
Nit: don't dt-bindings patches go _before_ using these in dts? In ohter words, should patch 10 and 11 be swapped?
Quoted 31 lines
--- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+)Documentation/devicetree/bindings/arm/qcom.yaml +6
-0@@ -41,6 +41,7 @@ description: | sa8155p sc7180 sc7280 + sda660 sdm630 sdm632 sdm660@@ -225,6 +226,11 @@ properties: - google,senor - const: qcom,sc7280 + - items: + - enum: + - inforce,ifc6560 + - const: qcom,sda660 + - items: - enum: - fairphone,fp3Signature · 1 line
2.35.1
Re: [PATCH v6 11/11] dt-bindings: arm: qcom: document sda660 SoC and ifc6560 board
Quoted 10 lines · Marijn Suijten
Quoted 6 lines · Dmitry Baryshkov
Add binding documentation for the Inforce IFC6560 board which uses Snapdragon SDA660.
Reviewed-by Marijn Suijten <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>Nit: don't dt-bindings patches go _before_ using these in dts? In ohter words, should patch 10 and 11 be swapped?
Yes, they should.
Best regards,
Krzysztof
Re: [PATCH v6 11/11] dt-bindings: arm: qcom: document sda660 SoC and ifc6560 board
In reply to Dmitry BaryshkovQuoted 15 lines · Dmitry Baryshkov
Add binding documentation for the Inforce IFC6560 board which uses Snapdragon SDA660.
Reviewed-by Marijn Suijten <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Dmitry Baryshkov <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+)Documentation/devicetree/bindings/arm/qcom.yaml +0
-0
Documentation/devicetree/bindings/arm/qcom.yaml description: | · line 44
Quoted 4 lines
Documentation/devicetree/bindings/arm/qcom.yaml +1
-0@@ -41,6 +41,7 @@ description: | sa8155p sc7180 sc7280 + sda660
I wanted to base my work on top of it, but this patch does not apply. I think you based it on something out of date, also judging by my old email address you are using (in each patchset). The patches should be based on current development tree.
Best regards,
Krzysztof