Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: qcom,ipa: Correct indentation and style in DTS example

DTS example in the bindings should be indented with 2- or 4-spaces and
aligned with opening '- |', so correct any differences like 3-spaces or
mixtures 2- and 4-spaces in one binding.

No functional changes here, but saves some comments during reviews of
new patches built on existing code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Alex Elder <elder@riscstar.com>
Link: https://patch.msgid.link/20250324125222.82057-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Jakub Kicinski
a8b4ea78 00a25cca

+62 -62
+62 -62
Documentation/devicetree/bindings/net/qcom,ipa.yaml
··· 210 210 211 211 examples: 212 212 - | 213 - #include <dt-bindings/interrupt-controller/arm-gic.h> 214 - #include <dt-bindings/clock/qcom,rpmh.h> 215 - #include <dt-bindings/interconnect/qcom,sdm845.h> 213 + #include <dt-bindings/interrupt-controller/arm-gic.h> 214 + #include <dt-bindings/clock/qcom,rpmh.h> 215 + #include <dt-bindings/interconnect/qcom,sdm845.h> 216 216 217 - smp2p-mpss { 218 - compatible = "qcom,smp2p"; 219 - interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>; 220 - mboxes = <&apss_shared 6>; 221 - qcom,smem = <94>, <432>; 222 - qcom,local-pid = <0>; 223 - qcom,remote-pid = <5>; 217 + smp2p-mpss { 218 + compatible = "qcom,smp2p"; 219 + interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>; 220 + mboxes = <&apss_shared 6>; 221 + qcom,smem = <94>, <432>; 222 + qcom,local-pid = <0>; 223 + qcom,remote-pid = <5>; 224 224 225 - ipa_smp2p_out: ipa-ap-to-modem { 226 - qcom,entry-name = "ipa"; 227 - #qcom,smem-state-cells = <1>; 228 - }; 229 - 230 - ipa_smp2p_in: ipa-modem-to-ap { 231 - qcom,entry-name = "ipa"; 232 - interrupt-controller; 233 - #interrupt-cells = <2>; 234 - }; 225 + ipa_smp2p_out: ipa-ap-to-modem { 226 + qcom,entry-name = "ipa"; 227 + #qcom,smem-state-cells = <1>; 235 228 }; 236 229 237 - ipa@1e40000 { 238 - compatible = "qcom,sc7180-ipa"; 239 - 240 - qcom,gsi-loader = "self"; 241 - memory-region = <&ipa_fw_mem>; 242 - firmware-name = "qcom/sc7180-trogdor/modem/modem.mbn"; 243 - 244 - iommus = <&apps_smmu 0x440 0x0>, 245 - <&apps_smmu 0x442 0x0>; 246 - reg = <0x1e40000 0x7000>, 247 - <0x1e47000 0x2000>, 248 - <0x1e04000 0x2c000>; 249 - reg-names = "ipa-reg", 250 - "ipa-shared", 251 - "gsi"; 252 - 253 - interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>, 254 - <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, 255 - <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 256 - <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; 257 - interrupt-names = "ipa", 258 - "gsi", 259 - "ipa-clock-query", 260 - "ipa-setup-ready"; 261 - 262 - clocks = <&rpmhcc RPMH_IPA_CLK>; 263 - clock-names = "core"; 264 - 265 - interconnects = 266 - <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>, 267 - <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>, 268 - <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>; 269 - interconnect-names = "memory", 270 - "imem", 271 - "config"; 272 - 273 - qcom,qmp = <&aoss_qmp>; 274 - 275 - qcom,smem-states = <&ipa_smp2p_out 0>, 276 - <&ipa_smp2p_out 1>; 277 - qcom,smem-state-names = "ipa-clock-enabled-valid", 278 - "ipa-clock-enabled"; 230 + ipa_smp2p_in: ipa-modem-to-ap { 231 + qcom,entry-name = "ipa"; 232 + interrupt-controller; 233 + #interrupt-cells = <2>; 279 234 }; 235 + }; 236 + 237 + ipa@1e40000 { 238 + compatible = "qcom,sc7180-ipa"; 239 + 240 + qcom,gsi-loader = "self"; 241 + memory-region = <&ipa_fw_mem>; 242 + firmware-name = "qcom/sc7180-trogdor/modem/modem.mbn"; 243 + 244 + iommus = <&apps_smmu 0x440 0x0>, 245 + <&apps_smmu 0x442 0x0>; 246 + reg = <0x1e40000 0x7000>, 247 + <0x1e47000 0x2000>, 248 + <0x1e04000 0x2c000>; 249 + reg-names = "ipa-reg", 250 + "ipa-shared", 251 + "gsi"; 252 + 253 + interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>, 254 + <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, 255 + <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 256 + <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; 257 + interrupt-names = "ipa", 258 + "gsi", 259 + "ipa-clock-query", 260 + "ipa-setup-ready"; 261 + 262 + clocks = <&rpmhcc RPMH_IPA_CLK>; 263 + clock-names = "core"; 264 + 265 + interconnects = 266 + <&aggre2_noc MASTER_IPA 0 &mc_virt SLAVE_EBI1 0>, 267 + <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>, 268 + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>; 269 + interconnect-names = "memory", 270 + "imem", 271 + "config"; 272 + 273 + qcom,qmp = <&aoss_qmp>; 274 + 275 + qcom,smem-states = <&ipa_smp2p_out 0>, 276 + <&ipa_smp2p_out 1>; 277 + qcom,smem-state-names = "ipa-clock-enabled-valid", 278 + "ipa-clock-enabled"; 279 + };