From patchwork Mon Mar 15 16:56:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 400521 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3591560jai; Mon, 15 Mar 2021 09:57:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPRwTZ609vCBNpWBKitNcMLe0sZuExShJ6cvRf4ahrXjmFPpThCgaZ3p0bpAFhK7eKx5DE X-Received: by 2002:a05:6402:1754:: with SMTP id v20mr30738985edx.191.1615827461764; Mon, 15 Mar 2021 09:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615827461; cv=none; d=google.com; s=arc-20160816; b=jctkXePc08fJ5GeBBl6CaqWh9GlH5IiuKd66XsmnZI9HHwhfxgMgsFiekf7QjB/45X +DjQJPTtTO7+JEEj4l05Ye2i5YTFh89GkI0rxV4Z9FkYZpxQ3NAQaM6d2o0sOVIURbJK oYYDTJ8QHyi/1s3xlQso3BUn4AvRiLbtr1S20XdacL88oFDUGexkwcAA78Kp+SSZub6f OSCvWJdiYb6A2czOGaJhXcsr78TqN2rtczDZdL6NQPlGrrULrO836E87Ve+yIOvA+BtP pc3LLum3O86amyeIC59Aou0ApfX7Jj10+wY/LIJCteWiSdjKpPENCIT2HpQYTgZPUAgr VR0A== 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=UuYqNOv0FZJRc6hCfVkjpQ/TN8cm36Q8Ij6B/DCyRZZbGumfUJU7mdPeP7pgN/gteY m5bMbmZmjWnTvROII9wVrUHNUJCR5sM1Q75pw+M9DqSkvMdDij0W7bnPGw23OHsVdg6w YVNbv80PXuMgt1VZaAjg2zGs1p5Wt8kjJw2JgCuU/sX2QqMPHjx5pZxPsfpcEDNNv1q6 l4qO1bgyrBNcqV/lw8R/7FeMj+eTFYOHdAKuLdDO6SsmM0PgXI5ksCnbUuiP+E5Ptapz 1eunN+WDVP72k7S2GFKhLrJGCpKPwbleYkqmw1uDiY7WDULvfv5Mm7olFE9PQrrl70YS 0n3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hgOmJNEg; 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 p8si11752848edm.44.2021.03.15.09.57.41; Mon, 15 Mar 2021 09:57:41 -0700 (PDT) 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=hgOmJNEg; 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 S234338AbhCOQ5L (ORCPT + 6 others); Mon, 15 Mar 2021 12:57:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234356AbhCOQ47 (ORCPT ); Mon, 15 Mar 2021 12:56:59 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37B3FC06175F for ; Mon, 15 Mar 2021 09:56:59 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso19864515wmi.0 for ; Mon, 15 Mar 2021 09:56:59 -0700 (PDT) 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=hgOmJNEgjoKRZJFLsQvmXzKGK0x6KpA7ts+E75YZSi7QZn+qZOS507y4wZdiB+K3yg qFF1KpqSP0gXwhKwQN8Bcd/gkNIkpaaRM92zi50lqMRsFVUxQTA0BgSZOapRo76i7GOe vlF9+LLtakDwOMZdFtlrxrdwoBnGLV3zdCF6TTyth2SEfCJZa6/JpAnHBR0n02NhLbdd MIBEXh5gV/lIxkZOdATeu8l2jsaZ0kTAFDaQyZCAF5LHrdvFkHMFo4DcsCNyCc0Dp5n7 kxlaFq9kX3YOzm2tjYEwdDfzPNKIs/8fYgLJRwUwXM9gyflouEMti7ucdkQrRVRKO1DO NTNg== 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=Kdn6gFvJHJlTps7GaUUsY0JHZN7hBw67H4l+lrIOHP2c68DVa0y0uL+snU+HX7DioY WanjSkgHojZqsuQGj889uD+bfL4xXo1E2TNTnLVZvyzDcw5O4s1dv+Fkl/uoIaQiRalx w/r1XNcyWR1GSc7xyzPl30nwvwA6RC5cKles+FLW6qKNv4wS8l7h0RRIKrafxJORskHA Vg/Vj01wuJDtIzTYkr5f+/9LU0m66As7mw4/xcDmairGFHrge7EXx/eSDsroxTSUUqKb vGao9UZ30CLeYcaelu/550iGG6saF4A1plleHaQKfbSH3Y+Ja3ICTwCMgD9fwubicr2Z PTQQ== X-Gm-Message-State: AOAM530kOEq8KHUlN3mU1jkjxtqTkmAHgHRcu7yTCuLUhEvF219+a2A4 fx2hUPEBYyP+ywSF0vwDo7wFNg== X-Received: by 2002:a1c:e389:: with SMTP id a131mr630946wmh.78.1615827417971; Mon, 15 Mar 2021 09:56:57 -0700 (PDT) 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 o2sm227656wmc.23.2021.03.15.09.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Mar 2021 09:56:57 -0700 (PDT) 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, alsa-devel@alsa-project.org, Srinivas Kandagatla Subject: [PATCH v4 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping Date: Mon, 15 Mar 2021 16:56:49 +0000 Message-Id: <20210315165650.13392-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210315165650.13392-1-srinivas.kandagatla@linaro.org> References: <20210315165650.13392-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 Reviewed-by: Rob Herring 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>; }; };