1. 19 Sep, 2022 5 commits
  2. 15 Sep, 2022 1 commit
    • Mark Brown's avatar
      ASoC/qcom/arm64: Qualcomm ADSP DTS and binding fixes · 12e51866
      Mark Brown authored
      Merge series from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>:
      
      Hi,
      
      Dependencies/merging
      ====================
      1. The DTS patches are independent.
      2. The binding patches should come together, because of context changes. Could
         be one of: Qualcomm SoC, ASoC or DT tree.
      
      Changes since v3
      ================
      1. Patch 9-10: re-order, so first apr.yaml is corrected and then we convert to
         DT schema. This makes patchset fully bisectable in expense of changing the same
         lines twice.
      2. Patch 11: New patch.
      
      Changes since v2
      ================
      1. Patch 9: rename and extend commit msg.
      2. Add Rb tags.
      
      Changes since v1
      ================
      1. Patch 9: New patch.
      2. Patch 10: Correct also sound/qcom,q6apm-dai.yaml (Rob).
      2. Patch 13: New patch.
      3. Add Rb/Tb tags.
      
      Best regards,
      Krzysztof
      
      Krzysztof Kozlowski (15):
        arm64: dts: qcom: sdm630: align APR services node names with dtschema
        arm64: dts: qcom: sdm845: align APR services node names with dtschema
        arm64: dts: qcom: sm8250: align APR services node names with dtschema
        arm64: dts: qcom: msm8996: fix APR services nodes
        arm64: dts: qcom: sdm845: align dai node names with dtschema
        arm64: dts: qcom: msm8996: align dai node names with dtschema
        arm64: dts: qcom: qrb5165-rb5: align dai node names with dtschema
        arm64: dts: qcom: sm8250: use generic name for LPASS clock controller
        dt-bindings: soc: qcom: apr: correct service children
        ASoC: dt-bindings: qcom,q6asm: convert to dtschema
        ASoC: dt-bindings: qcom,q6adm: convert to dtschema
        ASoC: dt-bindings: qcom,q6dsp-lpass-ports: cleanup example
        ASoC: dt-bindings: qcom,q6dsp-lpass-clocks: cleanup example
        ASoC: dt-bindings: qcom,q6apm-dai: adjust indentation in example
        dt-bindings: soc: qcom: apr: add missing properties
      
       .../bindings/soc/qcom/qcom,apr.yaml           | 112 ++++++++++++++++--
       .../bindings/sound/qcom,q6adm-routing.yaml    |  52 ++++++++
       .../devicetree/bindings/sound/qcom,q6adm.txt  |  39 ------
       .../bindings/sound/qcom,q6apm-dai.yaml        |  21 ++--
       .../bindings/sound/qcom,q6asm-dais.yaml       | 112 ++++++++++++++++++
       .../devicetree/bindings/sound/qcom,q6asm.txt  |  70 -----------
       .../sound/qcom,q6dsp-lpass-clocks.yaml        |  36 +++---
       .../sound/qcom,q6dsp-lpass-ports.yaml         |  64 +++++-----
       arch/arm64/boot/dts/qcom/msm8996.dtsi         |  10 +-
       arch/arm64/boot/dts/qcom/qrb5165-rb5.dts      |   4 +-
       arch/arm64/boot/dts/qcom/sdm630.dtsi          |   8 +-
       arch/arm64/boot/dts/qcom/sdm845-db845c.dts    |   2 +-
       .../boot/dts/qcom/sdm845-xiaomi-beryllium.dts |   2 +-
       .../boot/dts/qcom/sdm845-xiaomi-polaris.dts   |   4 +-
       arch/arm64/boot/dts/qcom/sdm845.dtsi          |   8 +-
       arch/arm64/boot/dts/qcom/sm8250.dtsi          |  10 +-
       16 files changed, 346 insertions(+), 208 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm-routing.yaml
       delete mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt
       create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm-dais.yaml
       delete mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt
      
      --
      2.34.1
      12e51866
  3. 14 Sep, 2022 13 commits
  4. 13 Sep, 2022 8 commits
  5. 11 Sep, 2022 8 commits
  6. 10 Sep, 2022 4 commits
  7. 09 Sep, 2022 1 commit
    • Mark Brown's avatar
      ASoC: mediatek: Set i2s clock sharing from machine drivers · 26cc239f
      Mark Brown authored
      Merge series from Nícolas F. R. A. Prado <nfraprado@collabora.com>:
      
      The i2s ports on MediaTek SoCs only support a single data lane. In order
      to achieve full-duplex operation thus two i2s ports, one for input and
      one for output, need to be used together and sharing a single clock from
      one of the ports.
      
      This clock sharing setting was previously read by the sound platform
      driver from the devicetree, but given that the input/output pairing is
      closely related to which codecs are connected to which ports, the
      machine sound driver can infer and set it, so that no DT property is
      required.
      
      At this point only mt8183-kukui was using the DT property, but given
      that this property was never documented, and that the API introduced in
      this series makes it obsolete, the undocumented DT property can safely
      be removed.
      
      This series adds a function to allow setting the i2s shared clocks,
      makes use of it in the machine drivers as required, and removes the no
      longer required DT properties and support for them in the drivers, for
      all of mt8192, mt8183 and mt8186.
      
      Nícolas F. R. A. Prado (10):
        ASoC: mediatek: mt8192: Allow setting shared clocks from machine
          driver
        ASoC: mediatek: mt8192-mt6359: Make i2s9 share the clock from i2s8
        ASoC: mediatek: mt8192: Remove clock share parsing from DT
        ASoC: mediatek: mt8183: Allow setting shared clocks from machine
          driver
        ASoC: mediatek: mt8183: Configure shared clocks
        ASoC: mediatek: mt8183: Remove clock share parsing from DT
        arm64: dts: mediatek: kukui: Remove i2s-share properties
        ASoC: mediatek: mt8186: Allow setting shared clocks from machine
          driver
        ASoC: mediatek: mt8186: Configure shared clocks
        ASoC: mediatek: mt8186: Remove clock share parsing from DT
      
       .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi |  5 --
       sound/soc/mediatek/mt8183/mt8183-afe-common.h |  3 ++
       .../mediatek/mt8183/mt8183-da7219-max98357.c  | 33 +++++++++++++
       sound/soc/mediatek/mt8183/mt8183-dai-i2s.c    | 45 ++++++++---------
       .../mt8183/mt8183-mt6358-ts3a227-max98357.c   | 33 +++++++++++++
       sound/soc/mediatek/mt8186/mt8186-afe-common.h |  3 ++
       sound/soc/mediatek/mt8186/mt8186-dai-i2s.c    | 44 ++++++++---------
       .../mt8186/mt8186-mt6366-da7219-max98357.c    | 18 +++++++
       .../mt8186/mt8186-mt6366-rt1019-rt5682s.c     | 18 +++++++
       sound/soc/mediatek/mt8192/mt8192-afe-common.h |  3 ++
       sound/soc/mediatek/mt8192/mt8192-dai-i2s.c    | 49 ++++++++-----------
       .../mt8192/mt8192-mt6359-rt1015-rt5682.c      |  9 ++++
       12 files changed, 180 insertions(+), 83 deletions(-)
      
      --
      2.37.3
      26cc239f