1. 08 Feb, 2021 5 commits
  2. 05 Feb, 2021 15 commits
  3. 04 Feb, 2021 5 commits
  4. 03 Feb, 2021 7 commits
  5. 02 Feb, 2021 5 commits
  6. 01 Feb, 2021 3 commits
    • Srinivas Kandagatla's avatar
      ASoC: codecs: add missing max_register in regmap config · e8820dbd
      Srinivas Kandagatla authored
      For some reason setting max_register was missed from regmap_config.
      Without this cat /sys/kernel/debug/regmap/sdw:0:217:2010:0:1/range
      actually throws below Warning.
      
      WARNING: CPU: 7 PID: 540 at drivers/base/regmap/regmap-debugfs.c:160
       regmap_debugfs_get_dump_start.part.10+0x1e0/0x220
      ...
      Call trace:
       regmap_debugfs_get_dump_start.part.10+0x1e0/0x220
       regmap_reg_ranges_read_file+0xc0/0x2e0
       full_proxy_read+0x64/0x98
       vfs_read+0xa8/0x1e0
       ksys_read+0x6c/0x100
       __arm64_sys_read+0x1c/0x28
       el0_svc_common.constprop.3+0x6c/0x190
       do_el0_svc+0x24/0x90
       el0_svc+0x14/0x20
       el0_sync_handler+0x90/0xb8
       el0_sync+0x158/0x180
      ...
      
      Fixes: a0aab9e1 ("ASoC: codecs: add wsa881x amplifier support")
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Link: https://lore.kernel.org/r/20210201161429.28060-1-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e8820dbd
    • Sebastian Reichel's avatar
      ASoC: cpcap: fix microphone timeslot mask · de5bfae2
      Sebastian Reichel authored
      The correct mask is 0x1f8 (Bit 3-8), but due to missing BIT() 0xf (Bit
      0-3) was set instead. This means setting of CPCAP_BIT_MIC1_RX_TIMESLOT0
      (Bit 3) still worked (part of both masks). On the other hand the code
      does not properly clear the other MIC timeslot bits. I think this
      is not a problem, since they are probably initialized to 0 and not
      touched by the driver anywhere else. But the mask also contains some
      wrong bits, that will be cleared. Bit 0 (CPCAP_BIT_SMB_CDC) should be
      safe, since the driver enforces it to be 0 anyways.
      
      Bit 1-2 are CPCAP_BIT_FS_INV and CPCAP_BIT_CLK_INV. This means enabling
      audio recording forces the codec into SND_SOC_DAIFMT_NB_NF mode, which
      is obviously bad.
      
      The bug probably remained undetected, because there are not many use
      cases for routing microphone to the CPU on platforms using cpcap and
      user base is small. I do remember having some issues with bad sound
      quality when testing voice recording back when I wrote the driver.
      It probably was this bug.
      
      Fixes: f6cdf2d3 ("ASoC: cpcap: new codec")
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
      Reviewed-by: default avatarTony Lindgren <tony@atomide.com>
      Link: https://lore.kernel.org/r/20210123172945.3958622-1-sre@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      de5bfae2
    • Mark Brown's avatar
      Merge series "Tegra186 and Tegra194 audio graph card" from Sameer Pujar <spujar@nvidia.com>: · 1f16aaee
      Mark Brown authored
      This series adds support for audio graph based solution on Tegra186 and
      Tegra194. This enables audio paths for I2S, DMIC and DSPK modules.
      
      Depending on the platform Jetson TX2 or Jetson AGX Xavier, required I/O
      module instances are enabled. Since the latter board has on board audio
      codec, DT support for the same is enabled and external audio playback and
      capture can be used.
      
      Changelog
      =========
      
      v1 --> v2:
      ----------
        - Dropped patch "ASoC: tegra: Select SND_SOC_RT5659" as per suggestion
          from Mark.
        - Add new patch "ASoC: rt5659: Add Kconfig prompt"
        - Add new patch "arm64: defconfig: Enable RT5659"
        - No changes in other patches from earlier series.
      
      Sameer Pujar (9):
        ASoC: dt-bindings: rt5659: Update binding doc
        ASoC: dt-bindings: tegra: Add iommus property to Tegra graph card
        ASoC: audio-graph-card: Add clocks property to endpoint node
        ASoC: rt5659: Add Kconfig prompt
        arm64: defconfig: Enable RT5659
        arm64: tegra: Add RT5658 device entry
        Revert "arm64: tegra: Disable the ACONNECT for Jetson TX2"
        arm64: tegra: Audio graph sound card for Jetson TX2
        arm64: tegra: Audio graph sound card for Jetson AGX Xavier
      
       .../bindings/sound/audio-graph-port.yaml           |   3 +
       .../sound/nvidia,tegra-audio-graph-card.yaml       |   3 +
       Documentation/devicetree/bindings/sound/rt5659.txt |  11 +
       arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 609 +++++++++++++++++++++
       arch/arm64/boot/dts/nvidia/tegra186.dtsi           |  22 +
       arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 468 ++++++++++++++++
       arch/arm64/boot/dts/nvidia/tegra194.dtsi           |  20 +
       arch/arm64/configs/defconfig                       |   1 +
       sound/soc/codecs/Kconfig                           |   2 +-
       9 files changed, 1138 insertions(+), 1 deletion(-)
      
      --
      2.7.4
      1f16aaee