dt-bindings: Convert multiple Qualcomm OPP and CPUFreq bindings to DT schema
Subsystems (7)
v3 cover dt-bindings: Convert multiple Qualcomm OPP and CPUFreq bindings to DT schema
This series is a compilation of DT schema conversions of multiple Qualcomm OPP and CPUFreq bindings:
- qcom-cpufreq-nvmem (operating-points-v2-kryo-cpu)
- qcom-opp (operating-points-v2-qcom-level)
- qcom,cpr
Converting each one to DT schema introduces new dt_binding_check and dtbs_check errors to the others, so it was better to combine them into a series. Some errors were also caused by a couple of device trees having OPP tables with names that do not follow opp-v2-base, so these got fixed in this series as well. Finally, the lack of MSM8996 compatibles in arm/qcom.yaml caused an error in the opp-v2-kryo-cpu example, so they were added to the schema as well as to the msm8996-mtp device tree, which only had qcom,msm8996-mtp as its compatible.
PATCH 4/7 is a new version of a patch[1] that was sent as part of a different series before, and PATCH 7/7 is a new version of a patch[2] that was sent alone.
Changes in v3:
- Resend with unified version for all patches
Changes since v1 (PATCH v2 4/7):
- Split the schema into an OPP schema and a CPUFreq schema.
Changes since v1 (PATCH v2 7/7):
- Remove allOf from compatible.
Yassine Oudjana (7):
dt-bindings: arm: qcom: Add msm8996 and apq8096 compatibles
arm64: dts: qcom: msm8996-mtp: Add msm8996 compatible
dt-bindings: opp: qcom-opp: Convert to DT schema
dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema
arm64: dts: qcom: msm8996: Rename cluster OPP tables
arm64: dts: qcom: qcs404: Rename CPU and CPR OPP tables
dt-bindings: power: avs: qcom,cpr: Convert to DT schema
.../devicetree/bindings/arm/qcom.yaml | 16 +- .../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 166 ++++ .../bindings/opp/opp-v2-kryo-cpu.yaml | 257 ++++++ .../bindings/opp/opp-v2-qcom-level.yaml | 60 ++ .../bindings/opp/qcom-nvmem-cpufreq.txt | 796 ------------------ .../devicetree/bindings/opp/qcom-opp.txt | 19 - .../bindings/power/avs/qcom,cpr.txt | 130 --- .../bindings/power/avs/qcom,cpr.yaml | 160 ++++ MAINTAINERS | 5 +- arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 +- arch/arm64/boot/dts/qcom/qcs404.dtsi | 4 +- 12 files changed, 666 insertions(+), 953 deletions(-) create mode 100644 Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml delete mode 100644 Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt delete mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt delete mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.txt create mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml
[1] https://lore.kernel.org/linux-arm-msm/[email protected]/
[2] https://lore.kernel.org/linux-arm-msm/[email protected]/
Signature · 1 line
2.34.1
PATCH RESEND v3 1/7 dt-bindings: arm: qcom: Add msm8996 and apq8096 compatibles
Add compatibles for MSM8996 and APQ8096 and all supported devices that have them.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/qcom.yaml +15 -1
@@ -172,7 +172,21 @@ properties: - const: qcom,apq8094 - items: - - const: qcom,msm8996-mtp + - enum: + - arrow,apq8096-db820c + - inforce,ifc6640 + - const: qcom,apq8096-sbc + - const: qcom,apq8096 + + - items: + - enum: + - qcom,msm8996-mtp + - sony,dora-row + - sony,kagura-row + - sony,keyaki-row + - xiaomi,gemini + - xiaomi,scorpio + - const: qcom,msm8996 - items: - enum:
Signature · 1 line
2.34.1
PATCH RESEND v3 2/7 arm64: dts: qcom: msm8996-mtp: Add msm8996 compatible
In reply to Yassine OudjanaAdd qcom,msm8996 compatible to match DT schema.
--- arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996-mtp.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "Qualcomm Technologies, Inc. MSM 8996 MTP"; - compatible = "qcom,msm8996-mtp"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996"; aliases { serial0 = &blsp2_uart2;
Signature · 1 line
2.34.1
PATCH RESEND v3 3/7 dt-bindings: opp: qcom-opp: Convert to DT schema
In reply to Yassine OudjanaConvert qcom-opp.txt to DT schema format.
--- .../bindings/opp/opp-v2-qcom-level.yaml | 60 +++++++++++++++++++ .../devicetree/bindings/opp/qcom-opp.txt | 19 ------ 2 files changed, 60 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml delete mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt
Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml new file +60 -0
@@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/opp/opp-v2-qcom-level.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm OPP bindings to describe OPP nodes. + +maintainers: + - Niklas Cassel <[email protected]> + +allOf: + - $ref: opp-v2-base.yaml# + +properties: + compatible: + const: operating-points-v2-qcom-level + +patternProperties: + '^opp-?[0-9]+$': + type: object + + properties: + opp-level: true + + qcom,opp-fuse-level: + description: | + A positive value representing the fuse corner/level associated with + this OPP node. Sometimes several corners/levels shares a certain fuse + corner/level. A fuse corner/level contains e.g. ref uV, min uV, + and max uV. + $ref: /schemas/types.yaml#/definitions/uint32 + + required: + - opp-level + - qcom,opp-fuse-level + +required: + - compatible + +additionalProperties: false + +examples: + - | + cpr_opp_table: opp-table-cpr { + compatible = "operating-points-v2-qcom-level"; + + cpr_opp1: opp1 { + opp-level = <1>; + qcom,opp-fuse-level = <1>; + }; + cpr_opp2: opp2 { + opp-level = <2>; + qcom,opp-fuse-level = <2>; + }; + cpr_opp3: opp3 { + opp-level = <3>; + qcom,opp-fuse-level = <3>; + }; + };
Documentation/devicetree/bindings/opp/qcom-opp.txt deleted +0 -19
@@ -1,19 +0,0 @@ -Qualcomm OPP bindings to describe OPP nodes - -The bindings are based on top of the operating-points-v2 bindings -described in Documentation/devicetree/bindings/opp/opp-v2-base.yaml -Additional properties are described below. - -* OPP Table Node - -Required properties: -- compatible: Allow OPPs to express their compatibility. It should be: - "operating-points-v2-qcom-level" - -* OPP Node - -Required properties: -- qcom,opp-fuse-level: A positive value representing the fuse corner/level - associated with this OPP node. Sometimes several corners/levels shares - a certain fuse corner/level. A fuse corner/level contains e.g. ref uV, - min uV, and max uV.
Signature · 1 line
2.34.1
PATCH RESEND v3 4/7 dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema
In reply to Yassine OudjanaConvert qcom-nvmem-cpufreq to DT schema format, splitting it into an OPP schema and a CPUFreq schema in the process.
---
Changes since v1:
- Split the schema into an OPP schema and a CPUFreq schema.
.../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 166 ++++ .../bindings/opp/opp-v2-kryo-cpu.yaml | 257 ++++++ .../bindings/opp/qcom-nvmem-cpufreq.txt | 796 ------------------ MAINTAINERS | 3 +- 4 files changed, 425 insertions(+), 797 deletions(-) create mode 100644 Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml delete mode 100644 Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt
Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml new file +166 -0
@@ -0,0 +1,166 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/cpufreq/qcom-cpufreq-nvmem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. NVMEM CPUFreq bindings + +maintainers: + - Ilia Lin <[email protected]> + +description: | + In certain Qualcomm Technologies, Inc. SoCs such as QCS404, The CPU supply + voltage is dynamically configured by Core Power Reduction (CPR) depending on + current CPU frequency and efuse values. + CPR provides a power domain with multiple levels that are selected depending + on the CPU OPP in use. The CPUFreq driver sets the CPR power domain level + according to the required OPPs defined in the CPU OPP tables. + +select: + properties: + compatible: + contains: + enum: + - qcom,qcs404 + required: + - compatible + +properties: + cpus: + type: object + + patternProperties: + 'cpu@[0-9a-f]+': + type: object + + properties: + power-domains: + maxItems: 1 + + power-domain-names: + items: + - const: cpr + + required: + - power-domains + - power-domain-names + +patternProperties: + '^opp-table(-[a-z0-9]+)?$': + if: + properties: + compatible: + const: operating-points-v2-kryo-cpu + then: + patternProperties: + '^opp-?[0-9]+$': + required: + - required-opps + +additionalProperties: true + +examples: + - | + / { + model = "Qualcomm Technologies, Inc. QCS404"; + compatible = "qcom,qcs404"; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + CPU0: cpu@100 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x100>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2_0>; + #cooling-cells = <2>; + clocks = <&apcs_glb>; + operating-points-v2 = <&cpu_opp_table>; + power-domains = <&cpr>; + power-domain-names = "cpr"; + }; + + CPU1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x101>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2_0>; + #cooling-cells = <2>; + clocks = <&apcs_glb>; + operating-points-v2 = <&cpu_opp_table>; + power-domains = <&cpr>; + power-domain-names = "cpr"; + }; + + CPU2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x102>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2_0>; + #cooling-cells = <2>; + clocks = <&apcs_glb>; + operating-points-v2 = <&cpu_opp_table>; + power-domains = <&cpr>; + power-domain-names = "cpr"; + }; + + CPU3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x103>; + enable-method = "psci"; + cpu-idle-states = <&CPU_SLEEP_0>; + next-level-cache = <&L2_0>; + #cooling-cells = <2>; + clocks = <&apcs_glb>; + operating-points-v2 = <&cpu_opp_table>; + power-domains = <&cpr>; + power-domain-names = "cpr"; + }; + }; + + cpu_opp_table: opp-table-cpu { + compatible = "operating-points-v2-kryo-cpu"; + opp-shared; + + opp-1094400000 { + opp-hz = /bits/ 64 <1094400000>; + required-opps = <&cpr_opp1>; + }; + opp-1248000000 { + opp-hz = /bits/ 64 <1248000000>; + required-opps = <&cpr_opp2>; + }; + opp-1401600000 { + opp-hz = /bits/ 64 <1401600000>; + required-opps = <&cpr_opp3>; + }; + }; + + cpr_opp_table: opp-table-cpr { + compatible = "operating-points-v2-qcom-level"; + + cpr_opp1: opp1 { + opp-level = <1>; + qcom,opp-fuse-level = <1>; + }; + cpr_opp2: opp2 { + opp-level = <2>; + qcom,opp-fuse-level = <2>; + }; + cpr_opp3: opp3 { + opp-level = <3>; + qcom,opp-fuse-level = <3>; + }; + }; + };
Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml new file +257 -0
257 lines not on this page · raw message
Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt deleted +0 -796
796 lines not on this page · raw message
MAINTAINERS +2 -1
@@ -15896,7 +15896,8 @@ QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096 M: Ilia Lin <[email protected]> L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt +F: Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml +F: Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml F: drivers/cpufreq/qcom-cpufreq-nvmem.c QUALCOMM CRYPTO DRIVERS
Signature · 1 line
2.34.1
PATCH RESEND v3 5/7 arm64: dts: qcom: msm8996: Rename cluster OPP tables
In reply to Yassine OudjanaRename cluster OPP table node names to match the nodename pattern defined in the opp-v2-base DT schema.
--- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
@@ -134,7 +134,7 @@ CPU_SLEEP_0: cpu-sleep-0 { }; }; - cluster0_opp: opp_table0 { + cluster0_opp: opp-table-cluster0 { compatible = "operating-points-v2-kryo-cpu"; nvmem-cells = <&speedbin_efuse>; opp-shared;
@@ -222,7 +222,7 @@ opp-1593600000 { }; }; - cluster1_opp: opp_table1 { + cluster1_opp: opp-table-cluster1 { compatible = "operating-points-v2-kryo-cpu"; nvmem-cells = <&speedbin_efuse>; opp-shared;
Signature · 1 line
2.34.1
PATCH RESEND v3 6/7 arm64: dts: qcom: qcs404: Rename CPU and CPR OPP tables
In reply to Yassine OudjanaRename CPU and CPR OPP table node names to match the nodename pattern defined in the opp-v2-base DT schema.
--- arch/arm64/boot/dts/qcom/qcs404.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/qcs404.dtsi +2 -2
@@ -110,7 +110,7 @@ CPU_SLEEP_0: cpu-sleep-0 { }; }; - cpu_opp_table: cpu-opp-table { + cpu_opp_table: opp-table-cpu { compatible = "operating-points-v2-kryo-cpu"; opp-shared;
@@ -128,7 +128,7 @@ opp-1401600000 { }; }; - cpr_opp_table: cpr-opp-table { + cpr_opp_table: opp-table-cpr { compatible = "operating-points-v2-qcom-level"; cpr_opp1: opp1 {
Signature · 1 line
2.34.1
PATCH RESEND v3 7/7 dt-bindings: power: avs: qcom,cpr: Convert to DT schema
In reply to Yassine OudjanaConvert qcom,cpr.txt to DT schema format.
---
Changes since v1:
- Remove allOf from compatible.
.../bindings/power/avs/qcom,cpr.txt | 130 -------------- .../bindings/power/avs/qcom,cpr.yaml | 160 ++++++++++++++++++ MAINTAINERS | 2 +- 3 files changed, 161 insertions(+), 131 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.txt create mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml
Documentation/devicetree/bindings/power/avs/qcom,cpr.txt deleted +0 -130
@@ -1,130 +0,0 @@ -QCOM CPR (Core Power Reduction) - -CPR (Core Power Reduction) is a technology to reduce core power on a CPU -or other device. Each OPP of a device corresponds to a "corner" that has -a range of valid voltages for a particular frequency. While the device is -running at a particular frequency, CPR monitors dynamic factors such as -temperature, etc. and suggests adjustments to the voltage to save power -and meet silicon characteristic requirements. - -- compatible: - Usage: required - Value type: <string> - Definition: should be "qcom,qcs404-cpr", "qcom,cpr" for qcs404 - -- reg: - Usage: required - Value type: <prop-encoded-array> - Definition: base address and size of the rbcpr register region - -- interrupts: - Usage: required - Value type: <prop-encoded-array> - Definition: should specify the CPR interrupt - -- clocks: - Usage: required - Value type: <prop-encoded-array> - Definition: phandle to the reference clock - -- clock-names: - Usage: required - Value type: <stringlist> - Definition: must be "ref" - -- vdd-apc-supply: - Usage: required - Value type: <phandle> - Definition: phandle to the vdd-apc-supply regulator - -- #power-domain-cells: - Usage: required - Value type: <u32> - Definition: should be 0 - -- operating-points-v2: - Usage: required - Value type: <phandle> - Definition: A phandle to the OPP table containing the - performance states supported by the CPR - power domain - -- acc-syscon: - Usage: optional - Value type: <phandle> - Definition: phandle to syscon for writing ACC settings - -- nvmem-cells: - Usage: required - Value type: <phandle> - Definition: phandle to nvmem cells containing the data - that makes up a fuse corner, for each fuse corner. - As well as the CPR fuse revision. - -- nvmem-cell-names: - Usage: required - Value type: <stringlist> - Definition: should be "cpr_quotient_offset1", "cpr_quotient_offset2", - "cpr_quotient_offset3", "cpr_init_voltage1", - "cpr_init_voltage2", "cpr_init_voltage3", "cpr_quotient1", - "cpr_quotient2", "cpr_quotient3", "cpr_ring_osc1", - "cpr_ring_osc2", "cpr_ring_osc3", "cpr_fuse_revision" - for qcs404. - -Example: - - cpr_opp_table: cpr-opp-table { - compatible = "operating-points-v2-qcom-level"; - - cpr_opp1: opp1 { - opp-level = <1>; - qcom,opp-fuse-level = <1>; - }; - cpr_opp2: opp2 { - opp-level = <2>; - qcom,opp-fuse-level = <2>; - }; - cpr_opp3: opp3 { - opp-level = <3>; - qcom,opp-fuse-level = <3>; - }; - }; - - power-controller@b018000 { - compatible = "qcom,qcs404-cpr", "qcom,cpr"; - reg = <0x0b018000 0x1000>; - interrupts = <0 15 IRQ_TYPE_EDGE_RISING>; - clocks = <&xo_board>; - clock-names = "ref"; - vdd-apc-supply = <&pms405_s3>; - #power-domain-cells = <0>; - operating-points-v2 = <&cpr_opp_table>; - acc-syscon = <&tcsr>; - - nvmem-cells = <&cpr_efuse_quot_offset1>, - <&cpr_efuse_quot_offset2>, - <&cpr_efuse_quot_offset3>, - <&cpr_efuse_init_voltage1>, - <&cpr_efuse_init_voltage2>, - <&cpr_efuse_init_voltage3>, - <&cpr_efuse_quot1>, - <&cpr_efuse_quot2>, - <&cpr_efuse_quot3>, - <&cpr_efuse_ring1>, - <&cpr_efuse_ring2>, - <&cpr_efuse_ring3>, - <&cpr_efuse_revision>; - nvmem-cell-names = "cpr_quotient_offset1", - "cpr_quotient_offset2", - "cpr_quotient_offset3", - "cpr_init_voltage1", - "cpr_init_voltage2", - "cpr_init_voltage3", - "cpr_quotient1", - "cpr_quotient2", - "cpr_quotient3", - "cpr_ring_osc1", - "cpr_ring_osc2", - "cpr_ring_osc3", - "cpr_fuse_revision"; - };
Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml new file +160 -0
160 lines not on this page · raw message
MAINTAINERS +1 -1
@@ -15889,7 +15889,7 @@ M: Niklas Cassel <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: Documentation/devicetree/bindings/power/avs/qcom,cpr.txt +F: Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml F: drivers/soc/qcom/cpr.c QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096
Signature · 1 line
2.34.1
Quoted 6 lines · Yassine Oudjana
This series is a compilation of DT schema conversions of multiple Qualcomm OPP and CPUFreq bindings:
- qcom-cpufreq-nvmem (operating-points-v2-kryo-cpu)
- qcom-opp (operating-points-v2-qcom-level)
- qcom,cpr
Really nice to see these updates!
I'm going to pick up the patches that goes through the Qualcomm tree, but patch 3,4 and 7 would be better to take through Viresh's tree, so I've looped him in on this reply.
Thanks,
Bjorn
Quoted 58 lines
Converting each one to DT schema introduces new
dt_binding_checkanddtbs_checkerrors to the others, so it was better to combine them into a series. Some errors were also caused by a couple of device trees having OPP tables with names that do not follow opp-v2-base, so these got fixed in this series as well. Finally, the lack of MSM8996 compatibles inarm/qcom.yamlcaused an error in the opp-v2-kryo-cpu example, so they were added to the schema as well as to the msm8996-mtp device tree, which only had qcom,msm8996-mtp as its compatible.PATCH 4/7 is a new version of a patch[1] that was sent as part of a different series before, and PATCH 7/7 is a new version of a patch[2] that was sent alone.
Changes in v3:
- Resend with unified version for all patchesChanges since v1 (PATCH v2 4/7):
- Split the schema into an OPP schema and a CPUFreq schema.Changes since v1 (PATCH v2 7/7):
- Remove allOf from compatible.Yassine Oudjana (7):
dt-bindings: arm: qcom: Add msm8996 and apq8096 compatibles
arm64: dts: qcom: msm8996-mtp: Add msm8996 compatible
dt-bindings: opp: qcom-opp: Convert to DT schema
dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema
arm64: dts: qcom: msm8996: Rename cluster OPP tables
arm64: dts: qcom: qcs404: Rename CPU and CPR OPP tables
dt-bindings: power: avs: qcom,cpr: Convert to DT schema.../devicetree/bindings/arm/qcom.yaml | 16 +- .../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 166 ++++ .../bindings/opp/opp-v2-kryo-cpu.yaml | 257 ++++++ .../bindings/opp/opp-v2-qcom-level.yaml | 60 ++ .../bindings/opp/qcom-nvmem-cpufreq.txt | 796 ------------------ .../devicetree/bindings/opp/qcom-opp.txt | 19 - .../bindings/power/avs/qcom,cpr.txt | 130 --- .../bindings/power/avs/qcom,cpr.yaml | 160 ++++ MAINTAINERS | 5 +- arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 2 +- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 +- arch/arm64/boot/dts/qcom/qcs404.dtsi | 4 +- 12 files changed, 666 insertions(+), 953 deletions(-) create mode 100644 Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml create mode 100644 Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml delete mode 100644 Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt delete mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt delete mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.txt create mode 100644 Documentation/devicetree/bindings/power/avs/qcom,cpr.yaml[1] https://lore.kernel.org/linux-arm-msm/[email protected]/
[2] https://lore.kernel.org/linux-arm-msm/[email protected]/Signature · 1 line
2.34.1
Viresh Kumar
maintainerQuoted 9 lines · Bjorn Andersson
Quoted 6 lines · Yassine Oudjana
This series is a compilation of DT schema conversions of multiple Qualcomm OPP and CPUFreq bindings:
- qcom-cpufreq-nvmem (operating-points-v2-kryo-cpu)
- qcom-opp (operating-points-v2-qcom-level)
- qcom,cpr
Quoted 5 lines
Really nice to see these updates!
I'm going to pick up the patches that goes through the Qualcomm tree, but patch 3,4 and 7 would be better to take through Viresh's tree, so I've looped him in on this reply.
I believe all these need to go together, else you will start getting schema errors ?
Signature · 1 line
viresh
This series was applied to qcom/linux.git (for-next) by Bjorn Andersson <[email protected]>:
Hello:
This series was applied to qcom/linux.git (for-next) by Bjorn Andersson <[email protected]>:
Quoted 15 lines · On Thu, 03 Feb 2022 07:24:00 +0000 you wrote:
This series is a compilation of DT schema conversions of multiple Qualcomm OPP and CPUFreq bindings:
- qcom-cpufreq-nvmem (operating-points-v2-kryo-cpu)
- qcom-opp (operating-points-v2-qcom-level)
- qcom,cprConverting each one to DT schema introduces new
dt_binding_checkanddtbs_checkerrors to the others, so it was better to combine them into a series. Some errors were also caused by a couple of device trees having OPP tables with names that do not follow opp-v2-base, so these got fixed in this series as well. Finally, the lack of MSM8996 compatibles inarm/qcom.yamlcaused an error in the opp-v2-kryo-cpu example, so they were added to the schema as well as to the msm8996-mtp device tree, which only had qcom,msm8996-mtp as its compatible.
Quoted 1 line
[...]
Here is the summary with links:
- [RESEND,v3,1/7] dt-bindings: arm: qcom: Add msm8996 and apq8096 compatibles
https://git.kernel.org/qcom/c/134cfc5565d3 - [RESEND,v3,2/7] arm64: dts: qcom: msm8996-mtp: Add msm8996 compatible https://git.kernel.org/qcom/c/3431a7f5bbf2 - [RESEND,v3,3/7] dt-bindings: opp: qcom-opp: Convert to DT schema (no matching commit) - [RESEND,v3,4/7] dt-bindings: opp: Convert qcom-nvmem-cpufreq to DT schema (no matching commit) - [RESEND,v3,5/7] arm64: dts: qcom: msm8996: Rename cluster OPP tables https://git.kernel.org/qcom/c/f55dda215731 - [RESEND,v3,6/7] arm64: dts: qcom: qcs404: Rename CPU and CPR OPP tables https://git.kernel.org/qcom/c/b7072cc5704d
- [RESEND,v3,7/7] dt-bindings: power: avs: qcom,cpr: Convert to DT schema (no matching commit)
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html