Commit 7bf0008a authored by Georgi Djakov's avatar Georgi Djakov
Browse files

Merge branch 'icc-dt' into icc-next



* icc-dt
  dt-bindings: interconnect: split SC7280 to own schema
  dt-bindings: interconnect: split SC8280XP to own schema
  dt-bindings: interconnect: split SM8450 to own schema
  dt-bindings: interconnect: qcom-bwmon: document SM8550 compatibles
  dt-bindings: interconnect: OSM L3: Add SM6350 OSM L3 compatible
  dt-bindings: interconnect: Exclude all non msm8939 from snoc-mm
  dt-bindings: interconnect: samsung,exynos-bus: allow opp-table

Signed-off-by: default avatarGeorgi Djakov <djakov@kernel.org>
parents b1f5e7ff 3e0df691
Loading
Loading
Loading
Loading
+42 −31
Original line number Diff line number Diff line
@@ -62,6 +62,37 @@ properties:
  power-domains:
    maxItems: 1

# Child node's properties
patternProperties:
  '^interconnect-[a-z0-9]+$':
    type: object
    description:
      snoc-mm is a child of snoc, sharing snoc's register address space.

    properties:
      compatible:
        enum:
          - qcom,msm8939-snoc-mm

      '#interconnect-cells':
        const: 1

      clock-names:
        items:
          - const: bus
          - const: bus_a

      clocks:
        items:
          - description: Bus Clock
          - description: Bus A Clock

    required:
      - compatible
      - '#interconnect-cells'
      - clock-names
      - clocks

required:
  - compatible
  - reg
@@ -109,37 +140,6 @@ allOf:
            - description: Bus Clock
            - description: Bus A Clock

      # Child node's properties
      patternProperties:
        '^interconnect-[a-z0-9]+$':
          type: object
          description:
            snoc-mm is a child of snoc, sharing snoc's register address space.

          properties:
            compatible:
              enum:
                - qcom,msm8939-snoc-mm

            '#interconnect-cells':
              const: 1

            clock-names:
              items:
                - const: bus
                - const: bus_a

            clocks:
              items:
                - description: Bus Clock
                - description: Bus A Clock

          required:
            - compatible
            - '#interconnect-cells'
            - clock-names
            - clocks

  - if:
      properties:
        compatible:
@@ -215,6 +215,17 @@ allOf:
            - description: Aggregate2 USB3 AXI Clock.
            - description: Config NoC USB2 AXI Clock.

  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - qcom,msm8939-snoc
    then:
      patternProperties:
        '^interconnect-[a-z0-9]+$': false

examples:
  - |
      #include <dt-bindings/clock/qcom,rpmcc.h>
+27 −0
Original line number Diff line number Diff line
@@ -196,6 +196,8 @@ properties:
    maxItems: 2

  operating-points-v2: true
  opp-table:
    type: object

  samsung,data-clock-ratio:
    $ref: /schemas/types.yaml#/definitions/uint32
@@ -227,6 +229,31 @@ examples:
        operating-points-v2 = <&bus_dmc_opp_table>;
        devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
        vdd-supply = <&buck1_reg>;

        bus_dmc_opp_table: opp-table {
            compatible = "operating-points-v2";

            opp-50000000 {
                opp-hz = /bits/ 64 <50000000>;
                opp-microvolt = <800000>;
            };
            opp-100000000 {
                opp-hz = /bits/ 64 <100000000>;
                opp-microvolt = <800000>;
            };
            opp-134000000 {
                opp-hz = /bits/ 64 <134000000>;
                opp-microvolt = <800000>;
            };
            opp-200000000 {
                opp-hz = /bits/ 64 <200000000>;
                opp-microvolt = <825000>;
            };
            opp-400000000 {
                opp-hz = /bits/ 64 <400000000>;
                opp-microvolt = <875000>;
            };
        };
    };

    ppmu_dmc0: ppmu@106a0000 {