From patchwork Tue Apr 18 09:54:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 84722 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2719116vqo; Tue, 18 Apr 2023 02:56:18 -0700 (PDT) X-Google-Smtp-Source: AKy350a2uvS08G/qEXIz5AOgmsfBBX9l6p7qoowynMv9xX6faayU2YRQGs0ciMNaMRcUTPv+pvt6 X-Received: by 2002:a17:902:daca:b0:1a6:6f38:60df with SMTP id q10-20020a170902daca00b001a66f3860dfmr1928050plx.41.1681811777806; Tue, 18 Apr 2023 02:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681811777; cv=none; d=google.com; s=arc-20160816; b=SaYlxNEuEdQyCOMMB0Obj2ry9XpbPOVThsKh1HJLdvBK7AVt4atQRQDn/ucXikMvCa gMNFkIvCcx2X79CcH7aE8xYmlSNebEwabwvwVQ+qI9Un8OHkLBjWlt7wQS2GeiRx/lvh u5fb7M/9IUFNk4xUgcllsKMrXKzLDCUXsvkZmOId+mncDpH/MvbyUxhZQEUsvqlL7yjk Gtt0tvL43KUYQZSBUlOuyWMIV4am/ftf9s2fjHIfQ1mNdDUHzKdpZcXYdfWgWqbn0vjs Ju6o0cyJubx12IEga8N4SjtERSJ1AK0iNzQj3ESPZKvy3PsJgFk7UFlncIC+uuvLUYsu irkA== 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=qQ8KevaU3QTxraZkfXWWkbBrnYMVguulcoi7GnzRXhI=; b=WdWZQ9lc4YoB/uB42IMY3t8KM/iP7hfvmOwIax46kGNPvj57Nevu6ccfM+FRuOndox itE/FxgLaDguVEtM83omY4i1YfHNYfxTLTx58T0ewt6Z4xUuQvKsVWBKlAN5p5YQbFlE gLk+9pFjW46AA1IqIBckboLlqhqPbSjyjP9NDccBPqZkfRHkoYnq8we8rTu2Tp5rp7Nu D58IkGH4XxN+Xcx6+DhsaMLdK7tfEVCIo/bQFLLWSoemmaEzjnEnTZt1d0baM4/A78DW rV/tOF8JV061JdwRBE035N9nRIOncpCJY1qcMU5vm7Ag5ZACFQOPo/7t7RCLkFJdNHpT OUsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RPWTOocd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020a17090332c600b001a69fe5f560si11467144plr.444.2023.04.18.02.56.06; Tue, 18 Apr 2023 02:56:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RPWTOocd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S231138AbjDRJzL (ORCPT + 99 others); Tue, 18 Apr 2023 05:55:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbjDRJzH (ORCPT ); Tue, 18 Apr 2023 05:55:07 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23F496E82 for ; Tue, 18 Apr 2023 02:54:53 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-94a34a0b531so650881566b.1 for ; Tue, 18 Apr 2023 02:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681811691; x=1684403691; 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=qQ8KevaU3QTxraZkfXWWkbBrnYMVguulcoi7GnzRXhI=; b=RPWTOocd+41sseJPEHA3IfI9DCZsYutqaxHBRwl1A6XNqRizzEsiS3XBM4oSfs28Fx zp3jXQscxLT9M2RbrTVwOuTrxQMYDyDX9f96fY/d72sqFtE2v0HyqeDmNLtRy49Qruj1 pQgr50Y2nblqGHR96iDIL+a0quDDrVSPI7gZw577X7tgFZD+NJxStQ2KrKH8zc8n6250 4erldJ7VJXMzt9vA+fR5s0Tr8r2lM7C+LTWYlQf4mDhdBFw2JItJx+P+rkzyswIJyQUN 1x2fo67hg2v/S/SLs7C8zjKy5bfBM+CIQf3P14jbCMFR+28KcV90S62OO11lMszpAudO Ob6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681811691; x=1684403691; 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=qQ8KevaU3QTxraZkfXWWkbBrnYMVguulcoi7GnzRXhI=; b=YLoWSVc/C4pZYGMbqqE4R1FNH/DlX3ZyIKVOVbM6ZJCC5apGPa3gEHw7JYiwCxdr8G 0avvfEgGjLPOL0w08JmltBeJoTD/tORLpmA0jPMpHld7sSoDb3NzhrCmYpZrkg68Ekf+ +hL+rJ9WdNakIIh+paErVZxHX7thvotlkMjFdij6G71XHUbEE3/eiljPvP3pTzDzYZrA jMOtESlExFjLnuDwyAF2e6crQWP1wtKIUnt6+vG7daZw1DwiGtn94rkbnunKqaG4G9cS yCtopcv6Uc2B94pvz7hW1RqxYPXMchc9/WxkGt0EeWIbKtxB0jm5PILxl8VX6ZLGzAZF 8rKA== X-Gm-Message-State: AAQBX9d+0ryOFALfpepEQQ3pDHp0wqtfInSlIqvcjK+ByFkUnTymCVMx CM02PYIbem0KFi42SZYI5xrmOQ== X-Received: by 2002:aa7:c45a:0:b0:504:a2c8:ea60 with SMTP id n26-20020aa7c45a000000b00504a2c8ea60mr1740013edr.35.1681811691495; Tue, 18 Apr 2023 02:54:51 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:a276:7d35:5226:1c77]) by smtp.gmail.com with ESMTPSA id o4-20020a509b04000000b00504d04c939fsm7076578edi.59.2023.04.18.02.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Apr 2023 02:54:51 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , Srinivas Kandagatla , Rao Mandadapu , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v3 1/7] dt-bindings: soundwire: qcom: add Qualcomm Soundwire v2.0.0 Date: Tue, 18 Apr 2023 11:54:41 +0200 Message-Id: <20230418095447.577001-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230418095447.577001-1-krzysztof.kozlowski@linaro.org> References: <20230418095447.577001-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763507466721644855?= X-GMAIL-MSGID: =?utf-8?q?1763507466721644855?= Add compatible for Qualcomm Soundwire v2.0.0 controller, which comes with several differences against v1.7.0 in register layout and more ports (thus increase maxItems of each port-related property to 16). Reviewed-by: Rob Herring Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Add tags. Changes since v1: 1. Increase maxItems to 16 for port-related properties. --- .../bindings/soundwire/qcom,soundwire.yaml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml index e4dba825ab11..98c7fc7e1189 100644 --- a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml +++ b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml @@ -21,6 +21,7 @@ properties: - qcom,soundwire-v1.5.1 - qcom,soundwire-v1.6.0 - qcom,soundwire-v1.7.0 + - qcom,soundwire-v2.0.0 reg: maxItems: 1 @@ -80,7 +81,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 qcom,ports-sinterval-low: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -91,7 +92,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 qcom,ports-offset1: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -102,7 +103,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 qcom,ports-offset2: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -113,7 +114,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 qcom,ports-lane-control: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -124,7 +125,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 qcom,ports-block-pack-mode: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -137,7 +138,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 items: oneOf: - minimum: 0 @@ -154,7 +155,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 items: oneOf: - minimum: 0 @@ -171,7 +172,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 items: oneOf: - minimum: 0 @@ -187,7 +188,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 8 + maxItems: 16 items: oneOf: - minimum: 0