From patchwork Fri Mar 12 11:39:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 398569 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1121154jai; Fri, 12 Mar 2021 03:40:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUesw0v10R4rOVsW9YvbalGqF3fa4RjMPB4VqMCA6noNYcU6Y67L0/H7qFcfbDVTDE9bO/ X-Received: by 2002:a17:906:400b:: with SMTP id v11mr8022700ejj.194.1615549224756; Fri, 12 Mar 2021 03:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615549224; cv=none; d=google.com; s=arc-20160816; b=clkgcXg3sIt6/xvYwUxBUW+ZDYACEvO8tFd97XR3TkOicZsLp2WskT/aRGEFTy1aZr IH3YZkDI2PE0wboA0dqs+QvNfFLR+9sfj6lUPZbRB52nS0cnuwQAybkMlHJkqRCLHJwP tXr37vW0kUxnzQfcdKy6U6y1qW3ESdPayLJK+1k7BICwBc9cWU9CaspWjdnoX97s97HZ MqolvbQv/+5YVbAUkrMtvbJYhmJxBww8Hl6h0gbcWIEl86e5bfogaoqzMBvDTJdYkqZW FYXB6Y1zuwkxfPQgucQCg7CeoeiJ0KKods55SJb/PiWxCGDbPv0vielPEv+j+ObKvGC0 QWlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Dw9cMYL3jtOlJaAZjl852OdyP+MrjSkhGMQF/GJ7398=; b=yyT5yudWNLjt38jSLaNQFxrsjM/rrXGHp1eCivRs/A+9wsiHJM+sxPoV4OJtVx3ihm 0k2AIwsz++HJ2IEs3PYlj73XM7Q35p+AyoXTsZn7MwxqE5tph1UGyFWIvX27rfl8KDYt 4s0gObHMb/qRzVi4kYP+tYuv5lfDAY3KKVaEJ9JYinSOG0yFZH23/SxSXtdoGitwnD5X wNRqqC+HxSoJL2BXXVPs1YSWEYt4MA/i2Fe9iKbpXWWJREZtunw1/KryJpF2FW31rHyr QHdBHcJLTpLL3/KXdOj1spdqWldt0tJ6CrEkbozhCB1No4+vFAVqdoe5Y8h6BoF+GXmc bHcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JO/SQnNA"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si3831085edz.577.2021.03.12.03.40.24; Fri, 12 Mar 2021 03:40:24 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="JO/SQnNA"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230302AbhCLLjy (ORCPT + 6 others); Fri, 12 Mar 2021 06:39:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbhCLLjj (ORCPT ); Fri, 12 Mar 2021 06:39:39 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06F8CC061574 for ; Fri, 12 Mar 2021 03:39:39 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id g25so3605681wmh.0 for ; Fri, 12 Mar 2021 03:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Dw9cMYL3jtOlJaAZjl852OdyP+MrjSkhGMQF/GJ7398=; b=JO/SQnNAgL9e4Z+uuEOW9BgtfgUkesqGXsKQKZNiJhNp5d8P7mjIxUzYGSA0yGeLLT twuuywut+oNvZBEizrkkcNbeapEkpRs9C9W7naMzL0dQFHabuL3mKucVmVeWk1tYGHRl i6u6KjqFrER9VHlvx582HE5VLOeY2N5n0e7wdK+BOhecBIB+AgykWzUq9HiNMFkbhe4n EsDNe7tPZWCCkquzG/d0lapo2v1e5Dp2yQO5ZECx7He7u4GdWtKiTCEIZL0t3ewt4GFw ObvGJMp/Xuxy1aubyfcwM4obb1Y4LvCqdiq68AitA3oXULty0UXMy5+eys0qipqDfDLf 6dMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Dw9cMYL3jtOlJaAZjl852OdyP+MrjSkhGMQF/GJ7398=; b=Daf3WLBcMH5uBUrLCnzvEZsiJNvemAOA76h7uc8aYMVsgKtFgDcpbb9/8CC41j4IQA 42cCpNvjkrC0hLrihtlCBB1gF+5zgofLU2mcSm0zSkIRWfUDAO4jKs4LPnUYZOwQ1mkX QkHFXvguKV6/DsY96e31m+RGhKip5oPF2NpFORXD6nqV3PNmM1vtqPYUGrzYUaFg8X2Q q1bCPeB2h8pQPSQfpi9EX/4Wf2Mr4n75pDbzIJO7H788tcBaHt6oL8GA43qLNt3kX/XP SLTRLYoz0/4bRkN8IcU8+kQPm7UoeWhp7UCXVB1F3rGtomfbvjZE4CNfiSMThtZZV2Ep Jf/Q== X-Gm-Message-State: AOAM5330qoGdV/49E/MsvZ6by7oPsPgVur92v0Cdx814ZgAZ+9TCxhvN kMfzgL+JT3PvQIzYuHhMRoRKXw== X-Received: by 2002:a1c:7714:: with SMTP id t20mr12411840wmi.107.1615549177792; Fri, 12 Mar 2021 03:39:37 -0800 (PST) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id z1sm7412458wru.95.2021.03.12.03.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 03:39:37 -0800 (PST) From: Srinivas Kandagatla To: broonie@kernel.org, vkoul@kernel.org Cc: robh@kernel.org, devicetree@vger.kernel.org, yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH v3 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping Date: Fri, 12 Mar 2021 11:39:28 +0000 Message-Id: <20210312113929.17512-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210312113929.17512-1-srinivas.kandagatla@linaro.org> References: <20210312113929.17512-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org WSA881x SoundWire device ports are statically assigned to master ports at design time. So add bindings required to specify these mappings! Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,wsa881x.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.21.0 diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml index ea44d03e58ca..491ce1270cb5 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wsa881x.yaml @@ -26,6 +26,13 @@ properties: description: GPIO spec for Powerdown/Shutdown line to use maxItems: 1 + qcom,port-mapping: + description: | + Specifies static port mapping between slave and master ports. + In the order of slave port index. + maxItems: 4 + $ref: /schemas/types.yaml#/definitions/uint32-array + '#thermal-sensor-cells': const: 0 @@ -54,6 +61,7 @@ examples: powerdown-gpios = <&wcdpinctrl 2 0>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + qcom,port-mapping = <1 2 3 7>; }; speaker@0,2 { @@ -62,6 +70,7 @@ examples: powerdown-gpios = <&wcdpinctrl 2 0>; #thermal-sensor-cells = <0>; #sound-dai-cells = <0>; + qcom,port-mapping = <4 5 6 8>; }; };