From patchwork Sat Jul 27 18:20:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 815689 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (unknown [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4218FC3DA64 for ; Wed, 31 Jul 2024 08:50:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 06E4B2BB4; Wed, 31 Jul 2024 10:50:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 06E4B2BB4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1722415828; bh=3Lh1BwhVeqRnEATXFageAXiylnoLj5EisM5J8nNNO+w=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Kr7UfJKdrdRucvL5dFEwwRSlvA2aU19Mzqwh4n6klaqOZBeK/tqzD7wHSi5fffExh DqYCxdylVAljf8i0jRSkeXm9qbbZwFDuvaIUuU3QzUwxC4XaGLiFGp1xE0kA+wlKBx 8U4mpoug+GSLnkxpz01Lz8K0YoLnLAJArkGpVvcc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0AA9EF805C2; Wed, 31 Jul 2024 10:49:28 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 9168CF805C0; Wed, 31 Jul 2024 10:49:28 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F4FBF8013D; Sat, 27 Jul 2024 20:25:59 +0200 (CEST) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 96123F8013D for ; Sat, 27 Jul 2024 20:20:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 96123F8013D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=JPew/SXn Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ef2fccca2cso27361121fa.1 for ; Sat, 27 Jul 2024 11:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722104442; x=1722709242; darn=alsa-project.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WxFUyWe0lcthVY5bBYHT4KxjaYpQ0TGg/fnnCJonf3U=; b=JPew/SXn34tgZLePYg/jR0pXgyVZ70Nj4ePzXNZcnubhNl0ucB0h+QqOlTlLhQ5+hJ YrwHWj9saXxK3+qx5cA5JyK3THusr3pfiGa3hZRVrXXV/Ef4g0R2bCXQ5araAro1APfM 1o5pyiJojTkCuVTaq7laL5d5eTBeF5sbNXWRCZ8k3jnCXdG1+KhHxos/UZzUQtKG3xul tSQ/qY+CWlIGNjEypeZ/m0D2cF3RXPIh53QKszE7XQVyucwDlSAE+GJ5cEN7M6HcyYnQ J1jCWDfjz0t2eUFyXpktDiuz03w4c+oGkOClBLmjQ6/xyJoRoJ2iyAY/T9VZwlHgN5BF ZkEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722104442; x=1722709242; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WxFUyWe0lcthVY5bBYHT4KxjaYpQ0TGg/fnnCJonf3U=; b=uYE1BWL9BheHiXfSUY8ul7+3tIIftoGmvilsWEEewwHWmy3AK0YhWUUxgX/a10Mbem 7lg8kfhbXIeAy07ws14jpguWuQLW7sm7FZ/TzII0Po2A95auweQ9vimpI3W2vuQd2R02 C+xK8gpOU5BgUTpzcmQtPMVdWi3+o6oHFk9qg9Zz3ie0dXLC8MbGdyFJHPfoNKJIevCg dcy3W3hFJCzS1opOj2T7sSWROWJJDOFihArJ5V7Ubm5vQLv/dHVIYr7l/EaazX6FnhI9 GI+XxqlaceKJIYF4wcpBfwc9mV9cPbE80SnNOmtZtuQLt2J+C3hOWrXECSiM4bJr0tD/ IwAA== X-Forwarded-Encrypted: i=1; AJvYcCXfstjfXrs4t2EzpekLZxDBIwiNewfHlOdL4uBedj/tWO54TT7glGBC5HpkX1moV7S+diXPyW5kT90teA5EqLygqOM55HmvhCHrRCM= X-Gm-Message-State: AOJu0YyJoKyt49D8jCbUiycAvAkclTs+COylqVGTDhYsHn/LaB0ZIjIC uhLX666Sn9P9e9YQa3mcozXA8h8h/3DJ0ZnedHp9LCCf9GRwG7va X-Google-Smtp-Source: AGHT+IEu0dt6qpt6W9qSkNlLYQ68T+/D93Gf2dnEZ2mPYWT0uQCbffw2RtHL1SdmIIuqusSF1cnhUQ== X-Received: by 2002:a2e:9795:0:b0:2ef:2fcc:c9fb with SMTP id 38308e7fff4ca-2f12ee47152mr21852671fa.36.1722104441734; Sat, 27 Jul 2024 11:20:41 -0700 (PDT) Received: from localhost.localdomain (byw127.neoplus.adsl.tpnet.pl. [83.30.42.127]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f03d077226sm7504891fa.126.2024.07.27.11.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jul 2024 11:20:41 -0700 (PDT) From: Adam Skladowski To: Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Stephan Gerhold , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH v2 0/4] MSM8953/MSM8976 ASoC support Date: Sat, 27 Jul 2024 20:20:23 +0200 Message-ID: <20240727182031.35069-1-a39.skl@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-MailFrom: a39.skl@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: GDTJNGMXLY4XYBN3ONVGEH2FFLZHXTTO X-Message-ID-Hash: GDTJNGMXLY4XYBN3ONVGEH2FFLZHXTTO X-Mailman-Approved-At: Wed, 31 Jul 2024 08:48:46 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Introduce support for basic sound card setup on MSM8953/MSM8976 platforms, document new compatibles and introduce support for more dais. Most of code is sourced from msm8953-mainline fork over github with some changes implemented by me,some basic changes are mentioned in each patch. [1] - https://lore.kernel.org/lkml/20240723083300.35605-1-krzysztof.kozlowski@linaro.org/T/ Changes since v1 ================ 1. Rebased dt-bindings documentation based on Krzysztof's split patch[1] 2. Resolved clang errors by guarding ret verification inside if 3. Switched quin-iomux to devm_ioremap_resource to not fail on msm8916 Adam Skladowski (1): ASoC: dt-bindings: apq8016-sbc: Add msm8953/msm8976-qdsp6-sndcard Vladimir Lypak (3): ASoC: qcom: apq8016_sbc.c: Add Quinary support ASoC: msm8916-wcd-analog: add cajon and cajon v2 support ASoC: qcom: apq8016_sbc: Add support for msm8953/msm8976 SoC .../sound/qcom,apq8016-sbc-sndcard.yaml | 51 +++++++++-- sound/soc/codecs/msm8916-wcd-analog.c | 63 +++++++++++++- sound/soc/qcom/apq8016_sbc.c | 84 ++++++++++++++++++- 3 files changed, 186 insertions(+), 12 deletions(-)