From patchwork Thu Jun 27 14:44:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 808296 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 5AD24C3064D for ; Thu, 27 Jun 2024 14:46:25 +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 6DE31211B; Thu, 27 Jun 2024 16:46:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6DE31211B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719499583; bh=lE5cuvuL9G95IfOe9RWKWZGLXmj/X5MR2oSFCb1vVEw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=H/uIWv77t9Ee4PUBJRAniNNny9Swf1Xir33+YFEl4dU3rwa08WGkDeyfEWUrqc5FW aut2xsW1EF/LA/Pjd8l/Pty43tkovosdd6qUJN0FZkRdtSG5PPZrOscV0VGtPueeAh ETTqBIu7Zxpcy88TYnWWvg2hwZ9hNOatXmjdrZWo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8B1FF80620; Thu, 27 Jun 2024 16:45:05 +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 E78BEF80589; Thu, 27 Jun 2024 16:45:04 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BD9CEF805C0; Thu, 27 Jun 2024 16:44:55 +0200 (CEST) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 6939EF805A9 for ; Thu, 27 Jun 2024 16:44:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 6939EF805A9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=YifmdX/X Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-424acfff613so24237565e9.0 for ; Thu, 27 Jun 2024 07:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719499491; x=1720104291; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gRJmTF7L/9R7w6etZ1hOgP2bjz9f74jpdrGthQ0OD1c=; b=YifmdX/XRHjU5RdKx18Mft5nJeuamsv/YlloodNgpXknAgt8ClqiNczZWjMY1vPjhp U05M8t6UDe2qgWUyQTFWAjm3frC95KZGRQFIYSzvpgyqIOObC3K/B207JIRiIzyrEQwg zeFn6hfaDGvcGLz3J8F8sAOg/XXykGNPV5eAHQqoKU5LmfDCByxfRbDYQn0D0XVZ61RK 87JauFl29dezzdLSuq5t3W0+DCTtxqc8YsRGDJJ2jiTXjMg4+J93Nyy24L+QKFwLu6qj /ZqfBK6F8hixZiqbzHIgwMGOGJrod4PjJom+Rnyu+6QFOehtY13JRmRueiJPPlw9VGbb QqxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719499491; x=1720104291; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gRJmTF7L/9R7w6etZ1hOgP2bjz9f74jpdrGthQ0OD1c=; b=t+gjaxPD15emIOCbGw+raDaSVZ4X32nj2lqORBFAW6MSHLBNHGnHGFEgFK5aHCF/+R 1MuqaiuatdO79FKEJaV9d9zJaeelleveyAQMce7wJLvzKD8oUJ2hXT1Eeh6OYTdjvTx+ a1N8W1XlRtQeWagXmmpM4h6p+FVDvru52zMgRnzYxR8LBiqlHnVEgEBrkHxw449JaGJY aet0FPpB17Isg/mJWYJmzTQlvk4mnk9ByJn/bHtF0Febz4PxlNzXrbkFOylkWUoqi50S qf4Vf7OvXqo8eU6FoWtDguf88pO6pqYte9jkNnKmFjXm1uVPLBJzx6HXaXI+bIT/lE0g W8DQ== X-Forwarded-Encrypted: i=1; AJvYcCVb1RqZtFGyIzpujFpglEfOcN6RPdkzoaWwDmQNIo9NsZ5o4D0FCUZ0Cf8e+iXsJcWogbFUtfL3z+dNDM8YC9s/3lrF/6Jm+eR5+JA= X-Gm-Message-State: AOJu0YyzMEfJOtdxm+ocUGcYWQT7iXfB/lCm4tm4Yotu4AthZwYuhmdZ yffCroQNHH4eBXmsy6lsylDIiHdnZnEfDfRa5rse8Nqd4bhMh/RebIEmtYt0a90= X-Google-Smtp-Source: AGHT+IGNUBrnTko7rPX48x8ABrouRQvgTCE+3KFWPLeGW85kH8CD41VU6V7kD+IEBwpxVGEhVujWHA== X-Received: by 2002:a05:600c:2e04:b0:425:641c:5f40 with SMTP id 5b1f17b1804b1-425641c606amr19393175e9.39.1719499491245; Thu, 27 Jun 2024 07:44:51 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42564b7b7c1sm31254075e9.23.2024.06.27.07.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 07:44:47 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 15:44:40 +0100 Subject: [PATCH v2 3/6] ASoC: dt-bindings: wsa8840: Document port mapping property MIME-Version: 1.0 Message-Id: <20240626-port-map-v2-3-6cc1c5608cdd@linaro.org> References: <20240626-port-map-v2-0-6cc1c5608cdd@linaro.org> In-Reply-To: <20240626-port-map-v2-0-6cc1c5608cdd@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1295; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=lE5cuvuL9G95IfOe9RWKWZGLXmj/X5MR2oSFCb1vVEw=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfXrYwbTrjcD2u071XMsefeUX9UvlY3GzadeVQ LSyDLhB39qJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn162AAKCRB6of1ZxzRV NwNDB/wKyhxatFXvVz/JsbO1otbEB2++w45VwdupIDhwMMbziatHubmsQuubODvbWYR3lIbDq8/ QZrqhc8BxXjqNRUvJmr55IpLHDivtCipYSievqCmGYlQ1ue2Lj/shYo4UuSaJ9YXtti7c0aT520 whvV1Er/oW8PXxOD7xI9Fn2qmtHN292sM8gdImW5z+sVHow21Aq1pg7YTPW7jkGWuzJUqo/hYrG ieFfyX7PJXMu5gnArHOImyPGjSka0jhDVTk006jh/ypG99OO4E6jCeedtr1o56Fr54GhgCYhQuc vOeA07iMxEZqqJDKXGx5oCySNpC/XyOzpseJQtC3wYxp+WJj X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: OB6IRFMFTRGOCCZA4CKZNTB4S6E7PNY6 X-Message-ID-Hash: OB6IRFMFTRGOCCZA4CKZNTB4S6E7PNY6 X-MailFrom: srinivas.kandagatla@linaro.org 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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 port mapping property for wsa884x. Port mapping is required to be able map correct master ports. All the device ports are not mapped in same order as master ports, so there is a need for having static port mapping for WSA codecs. Reviewed-by: Krzysztof Kozlowski Tested-by: Neil Armstrong # on SM8650-HDK Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml index 22798d22d981..83e0360301e1 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml @@ -32,6 +32,14 @@ properties: description: Powerdown/Shutdown line to use (pin SD_N) maxItems: 1 + qcom,port-mapping: + description: | + Specifies static port mapping between slave and master ports. + In the order of slave port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 6 + maxItems: 6 + '#sound-dai-cells': const: 0