From patchwork Mon Jul 22 09:51:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 814188 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 (alsa0.perex.cz [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 CEEFDC3DA5D for ; Mon, 22 Jul 2024 13:04:46 +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 1007720C4; Mon, 22 Jul 2024 15:04:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1007720C4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1721653485; bh=KRsPJdZcwmK3gbwOR0QFyaoTgSYfTVGDmjEFVejhQg0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=R9hKhfmA77bvAb05OTL2lPu5+pGhX4JoO3vglAQ478MXlXYFphQzDJ8SMvhKV+2lT dLgBYuUej7iaw6iOCafL9v6ebHtL0klmXUP1/fNg5T3vzyArnLT24EZBeNFcBpheOa 5KD4aRHsYYjErRAcymiaS86SWCg28sp39OpcHwh4= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C4EEEF80BF3; Mon, 22 Jul 2024 15:01:10 +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 4369FF808F9; Mon, 22 Jul 2024 15:01:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2A081F8019B; Mon, 22 Jul 2024 11:54:24 +0200 (CEST) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 451ADF801F5 for ; Mon, 22 Jul 2024 11:52:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 451ADF801F5 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=IU6fsPB7 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-52efaae7edfso1166475e87.2 for ; Mon, 22 Jul 2024 02:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721641942; x=1722246742; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LueQvPp7jIsOu7JwwYrAGJM7gILiYRCDnqZjPBjPXPA=; b=IU6fsPB76kyV5ddtjKnPizGdfKBs1NY5UsbEZanwdV+40WevE/Zi4vKNiDfnR6SdbY 101YTyrvova99wOZiha9XEpqCfbo+UUlBvvTdeS9J8XiCGCp2dyxsCvu/l8Q48OfjO4v vRIiWIc+vGWnGKfNaVlClf3QVrbTO8kC2Cd3PQ3QAXRaRF/rSZ/m17pZrp2FwwQi57/+ eQZm6UqI9xjUTp1KRoqRkcm3ZgAMRXERJtp8ITJ7twowxKbMV117CMkheN5+lFLwA4LB cyHHQml8nULYgoDEDaLen5HmFbzvy8C8JIu5RAC95McJZ+aJwLgxeYy8UvAXquano7oK Wepg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721641942; x=1722246742; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LueQvPp7jIsOu7JwwYrAGJM7gILiYRCDnqZjPBjPXPA=; b=WGY18j5XrLSlBdyqXSLjbhKc+iG9kLZ+JveG2LuiTkwnm6N+oGdrfKP8GY/pDrY5QT lZXsp7czvtk/Pba15K7RyElQHWJ077+a6oEzy4y9rcCaMmmiJ//fEOUt0pCmgl/9i5Dl EHejC4JEr/zfEiXkaecQA9HXmDMQVsXJbpr2RDEO+QKbgKmjT8gjm7LmT99u/cA81Puo rgokOPwcKioY57G2iaFFCoj/8be8q8ckNa+Q1YH+fHBE93Rp7kc/saJ0Xdt3YfgHBoiB AyqZD08l+qLUIZAZWPAMncObaAdAId5KkcxTb7+BrMKDK49/7lxKg4QrYrcImA5FP9Yb F/ig== X-Forwarded-Encrypted: i=1; AJvYcCVW5UsSe9LHj4H/o2LvD0twPDe7VkIrlRq04/BYCwSpUQyltQ6rNaWxIA45dJzXOq/G6nvHCgJ7ClHGp1yJekdb/D99CkJherN6fD8= X-Gm-Message-State: AOJu0YzR8De0MOm0VdcrvlFnpl5pUbUXzbm2TwSt/EL/f76DwMuNu+Pd iOYoSfgEOVFZjJZDKskkTIpeyIsv4UDbuEpgH8E8qwyMZLBad+2d X-Google-Smtp-Source: AGHT+IFEAj1t++gm3u7tMYWGE3y1vx+XHwQtuisG9uc4Yr+MK+jmP04CRcVD6fbhOpk4+urwoo37lA== X-Received: by 2002:a05:6512:2826:b0:52e:764b:b20d with SMTP id 2adb3069b0e04-52efb7e1281mr4257344e87.28.1721641941605; Mon, 22 Jul 2024 02:52:21 -0700 (PDT) Received: from localhost.localdomain (byy214.neoplus.adsl.tpnet.pl. [83.30.44.214]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52fc226cdccsm91552e87.164.2024.07.22.02.52.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jul 2024 02:52:21 -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 , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ASoC: dt-bindings: qcom,sm8250: Add msm8953/msm8976-qdsp6-sndcard Date: Mon, 22 Jul 2024 11:51:07 +0200 Message-ID: <20240722095147.3372-4-a39.skl@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240722095147.3372-1-a39.skl@gmail.com> References: <20240722095147.3372-1-a39.skl@gmail.com> 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: 4XLZZND7VB4OW2DL4ZLWPIWAOI6MOKVZ X-Message-ID-Hash: 4XLZZND7VB4OW2DL4ZLWPIWAOI6MOKVZ X-Mailman-Approved-At: Mon, 22 Jul 2024 13:00:57 +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: Document MSM8953/MSM8976 QDSP6 cards. Signed-off-by: Adam Skladowski --- .../bindings/sound/qcom,sm8250.yaml | 28 +++++++++++++++++-- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml index b2e15ebbd1bc..3b5f8adba725 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -29,6 +29,8 @@ properties: - enum: - qcom,apq8016-sbc-sndcard - qcom,msm8916-qdsp6-sndcard + - qcom,msm8953-qdsp6-sndcard + - qcom,msm8976-qdsp6-sndcard - qcom,qcm6490-idp-sndcard - qcom,qcs6490-rb3gen2-sndcard - qcom,qrb5165-rb5-sndcard @@ -144,10 +146,30 @@ allOf: - model - reg - reg-names - else: + - if: + properties: + compatible: + contains: + enum: + - qcom,msm8953-qdsp6-sndcard + - qcom,msm8976-qdsp6-sndcard + then: properties: - reg: false - reg-names: false + reg: + items: + - description: Microphone I/O mux register address + - description: Speaker I/O mux register address + - description: Quinary Mi2S I/O mux register address + reg-names: + items: + - const: mic-iomux + - const: spkr-iomux + - const: quin-iomux + required: + - compatible + - model + - reg + - reg-names additionalProperties: false