Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp721000lqb; Wed, 17 Apr 2024 08:55:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUScFNOStQS8yJXFVCqav9ejaXIcvK1EkOemrMe3sZVt/v1DwUaNcFURl8GgqtF5bR7rM0E6LYlzk5I7wmIz12p+QXwhwgTjZJQRclLDA== X-Google-Smtp-Source: AGHT+IEXYPkxth9Rg7hZJctQV7qfBelDHGZ3idMVAIn/FhkMkW8NHpAWWA6F50zlW8v2fj9vNHrL X-Received: by 2002:a05:6512:241:b0:518:ef66:b797 with SMTP id b1-20020a056512024100b00518ef66b797mr5486981lfo.1.1713369328283; Wed, 17 Apr 2024 08:55:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713369328; cv=pass; d=google.com; s=arc-20160816; b=K3cSaDKqf6niyy+8y4xtBnKPZGX4qaw7kdaJF+7GmDdsiEAnh3ty5EHYthbt9Z+qz6 EHcJGZxycTYrsBaXVWD3Tg8bCBp8PD17lwlZ7dRs3hctHGq+oRdtcB5WX4Kn5dl1t4bo W2m2H1cRJ6Vngg451tiGDDu4T8xANHLYExuaTJ2AezCIto7+ZYYkvi0lLmCATS/PDGkr ULmLLTBIOy2JZP+2NV4gC+3JFYWRUfdVmylKKBs4Tbh8mEYvfwC0++nqNa5o5SMK7b7g poTMgQ41IydaT1z3w7xGN0pOS3LHY7MtQH8pvnogp2fdcycJkBtTzt+q7+qpXAr93PEo KOww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=v8t1P6v9eSHUG4EVA8AghLWyqQRFwSMXt0umqwSEiGM=; fh=kGpcpDXPIu0PRw+c5olrwySFcbQIS6m4rcuVCtpT9a8=; b=OsM8wtCIybfww9JGJHHLbYT6N3yx+bQQCfdzYucR7t4BKqn+GX1iBp/+24oVLgDC4R p5S0fYHvNbb1DAHa3AR8FhVezQUjdIPCcyoiqQyf9Com70+QD1Gld5nnqsGLlYtHedth ZXZnerEa5YF0WYPoq1jBwpiPfonZudmZHJBbL2cx9/QyJ83ww8rq+t9boEwpcA8Z036r JeVWDQS1jVZXxnY9j/lTmIFOJgELr03Rjezq4f8ZPDQDVeINoNt992ZPf1C+cz5YBRDI 4+NySZkDYFJJdhMxIWPeJalfphtuz1/tIaA2538P70VCyQTcUalK+dKh0peI/xk3SmOd oVhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ayk+78ij; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ig8-20020a056402458800b0056e113a5a26si6858840edb.464.2024.04.17.08.55.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 08:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ayk+78ij; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-148856-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A78611F2252A for ; Wed, 17 Apr 2024 15:53:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 484EB147C8A; Wed, 17 Apr 2024 15:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ayk+78ij" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EF13147C7B; Wed, 17 Apr 2024 15:52:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713369155; cv=none; b=t7QH8VH5BQ3bcZffHvISubenOwN+Ta3eDsOMs55z7XPJYUKPK5Wgcj7QmqOGgXZcFQndeEA9xkCTb+4UfViyikC3GXqFtSNZZ1yr9iReCTkxd5OLNYP2jz/0IR2A1Qn8eojtg5+UcY7UwLHKswLsfhqVsTM7ZTAM6b66XUhm7Nw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713369155; c=relaxed/simple; bh=7wb9H72Aj+y1YrETYNhTzY+E0Bau8VPmpQtR6PztyIk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ghZa1z5KMRWVLEcpAvHysm5nwTBa7TAXBN/LMMGputizSSzc0yaEMOLCwVUjc92rdSPWgtIaCoCqJ9an9NQc60syZTkiL0c9INbfbtalgwcL6sS1zNeNWVmp54IJdEp9GJ1Fm865ahPgFHxDzxldKVnFmsjHRYVymmA94W59hNQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ayk+78ij; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8235FC072AA; Wed, 17 Apr 2024 15:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713369154; bh=7wb9H72Aj+y1YrETYNhTzY+E0Bau8VPmpQtR6PztyIk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ayk+78ijXrawiR4kAXqOs0GiJcMWt+Zd77nW2/ETTzLnQdZcgqCu2wbwD8OdOq1Pw MzQoVUr8iIPuM7PU9Ry+4KAjsXsHBTq2EGqdrVPl4yA/4i9mqn1ZE/Y7WfPEa26/SA AVsw+R/uPyZUYzWXRQ6TGXshL88v1a0JxuqqXQBF5HBmF0WpSJ0J4/TVzBuTBxGA1b +Vy8g2XS4t9bjQHAEkM8ZobraS3/DQFBZ+WfG8tTyW1Jtja0AGy96Lse+Yy4Vz08m5 QkPfgUL7wqggfDHe+8ZiDlzm+Roxd+Yq4qV/9F52xkUS9R8yhVw+ivlaiC87Z0ZeEo 2lpPGJOg/ABCw== Message-ID: <38ed0465-5b29-4e81-8bbf-f5480bc27c7b@kernel.org> Date: Wed, 17 Apr 2024 17:52:34 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/8] ASoC: dt-bindings: wcd937x-sdw: add bindings for wcd937x-sdw To: Mohammad Rafi Shaik , Rob Herring Cc: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , 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, quic_rohkumar@quicinc.com, quic_pkumpatl@quicinc.com References: <20240416063600.309747-1-quic_mohs@quicinc.com> <20240416063600.309747-4-quic_mohs@quicinc.com> <20240416143237.GA2250258-robh@kernel.org> <13bff1dd-d134-e5ab-6691-b2bcb0a786c8@quicinc.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc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ndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <13bff1dd-d134-e5ab-6691-b2bcb0a786c8@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17/04/2024 10:17, Mohammad Rafi Shaik wrote: > On 4/16/2024 8:02 PM, Rob Herring wrote: >> On Tue, Apr 16, 2024 at 12:05:55PM +0530, Mohammad Rafi Shaik wrote: >>> From: Prasad Kumpatla >>> >>> Qualcomm WCD9370/WCD9375 Codec is a standalone Hi-Fi audio codec IC >>> connected over SoundWire. This device has two SoundWire devices RX and >>> TX respectively. >>> This binding is for those slave devices on WCD9370/WCD9375. >>> >>> Co-developed-by: Mohammad Rafi Shaik >>> Signed-off-by: Mohammad Rafi Shaik >>> Signed-off-by: Prasad Kumpatla >>> --- >>> .../bindings/sound/qcom,wcd937x-sdw.yaml | 71 +++++++++++++++++++ >>> 1 file changed, 71 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd937x-sdw.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd937x-sdw.yaml b/Documentation/devicetree/bindings/sound/qcom,wcd937x-sdw.yaml >>> new file mode 100644 >>> index 000000000000..2b7358e266ba >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/sound/qcom,wcd937x-sdw.yaml >>> @@ -0,0 +1,71 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: http://devicetree.org/schemas/sound/qcom,wcd937x-sdw.yaml# >>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>> + >>> +title: Qualcomm SoundWire Slave devices on WCD9370 >>> + >>> +maintainers: >>> + - Srinivas Kandagatla >>> + >>> +description: | >> >> Don't need '|' if no formatting. >> >>> + Qualcomm WCD9370 Codec is a standalone Hi-Fi audio codec IC. >>> + It has RX and TX Soundwire slave devices. This bindings is for the >>> + slave devices. >>> + >>> +properties: >>> + compatible: >>> + const: sdw20217010a00 >>> + >>> + reg: >>> + maxItems: 1 >>> + >>> + qcom,tx-port-mapping: >>> + description: | >>> + Specifies static port mapping between slave and master tx ports. >>> + In the order of slave port index. >> >> Are there constraints on the values of the entries? > > The port mapping entries are fixed values. > There is no constraints. If they are fixed, then for sure you have constraints, because they are known. I really do not understand your response. Best regards, Krzysztof