From patchwork Fri Dec 23 13:21:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 36267 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp315751wrn; Fri, 23 Dec 2022 05:23:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXuiH+ZRHEO6cGScA09uDdRWCwrpkPhM2DgZty4CYPjpVwY8XbPSQrD2n67JbhsaN6XmWIl6 X-Received: by 2002:aa7:ce11:0:b0:464:5ec3:c46 with SMTP id d17-20020aa7ce11000000b004645ec30c46mr8207133edv.16.1671801812949; Fri, 23 Dec 2022 05:23:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671801812; cv=none; d=google.com; s=arc-20160816; b=oca32O43m8RaF9tVyE8kbKm4m4wqBA9d4wTQdmiIhSDTg/r4O7tBovj8guhb3Xwj70 KYloWbat5CsdaflrJ41YSADKL0G+JYX/nD+9HGmah6yVNCMUkvWTbsmjMgBxnzW8nQsX 0KHu24S0V7lgBDX5x0OJRBSG532uOSiqe0CCJxG9/3zyr4OeVzJ7MrIisNdzMmszvBva RVSNGvBpr4qYzEptw7x/XS0R9hhXyJ3Y6cjWWDYI4CbpNhE6yi8kTH4IzjJ5oIfr2ass xMmu4qk2Dyk50XPkpeDz87Fk5R8pAkuAekFg9KM3mXm/00MhirFpkoU6zimPYPF9PeWK fvcQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Jdj4vmGyncl7sIQB4NLGtQlaGlrhat1ERXM9DJwYFsA=; b=nZfDve3Kd8nFYsiuYkSX9o2281Yk50pBkOthxpeQuXmi7vnM8dg2HbQFntLBJVArdt t+lKz0f0ROeXUDw8NXdJhXoDOPo/8LEgc6MlJgmoZCRwB3ucD8z2onvwfRq8SgSREbj7 /jNl9nGFSp4Pb9L1M4bFBJSG/0CNzT3E8rRme7Eg1WEmJYFZAd9GkRLvM7VPDz6ZE8Yc b9G2QkZZxrSn+vf31VLSIglKjFMa09siSKUgEF6MR3R2nQNc/8qQkfvm/HzkVCPPbrsT X380gkSCPU0WtyblnVgjUT3LWM5gP9pVCiCJWAjpx4kQTACsng4ymnylKv2pKoNEcxzC T7qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nn6vZEwm; 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 h7-20020a056402280700b0046b7410c015si3420840ede.18.2022.12.23.05.23.09; Fri, 23 Dec 2022 05:23:32 -0800 (PST) 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=Nn6vZEwm; 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 S236370AbiLWNWa (ORCPT + 99 others); Fri, 23 Dec 2022 08:22:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230405AbiLWNWF (ORCPT ); Fri, 23 Dec 2022 08:22:05 -0500 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD7E43EACB for ; Fri, 23 Dec 2022 05:22:03 -0800 (PST) Received: by mail-lj1-x230.google.com with SMTP id s25so5025523lji.2 for ; Fri, 23 Dec 2022 05:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Jdj4vmGyncl7sIQB4NLGtQlaGlrhat1ERXM9DJwYFsA=; b=Nn6vZEwmuZRIRijMjr3r1ECwBxSbFdhYvxhGPT1PKgSLpIKf1dORGzoo3OMtsLkACM KzpI9oKWqoAIbLoBIocnXWEk8Rk7oLDtrqkIwZSK4eDY2X39LRke6P+2JfiVJOBi6jBH Hn6QJQ9gbY6xqW4/TJazhvhfdEzZMD7qakEMkB7yt9ytkHQcQyw6vsx0VXyXhP9lWh8J GBo84yJ/OIP0RPu9eeGlD6SF4pKU96vpZfytcGGzwlsdrqcSB6DVBQxvzir3UK6G+pGh 9CUrKDvNYqeGGbkUnCuZSj5qnYxf/fDrFrr1Aeg1I8ppTHdeSzrAyTKg8ibOjG5YATSl 4a1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Jdj4vmGyncl7sIQB4NLGtQlaGlrhat1ERXM9DJwYFsA=; b=FriLFEYn2Ys9pA2ldyTtQf3iUL3oz2IslfFCZ0YD70vWtNSyUGSwaMifvueaXZkjry f+i/mjC/6MbIt5cipiQqC47opFN6/SHj10mxGm47UeRqab/TU/lLRexBd6v16w7HLqSs 4XczkT2WUcOnlU3IpmNsbAhGxfWI6Dq9pstH3sQO3TJzdr1EFEV/JIAv6Pue2W0raIOP qeUk6FS3DqkmQG8q6OxgOpoNDW7klToD+cm8JAV6gAdV8frt3F9h4HvZdJ68bXpHipRv FLfbRPX5WF0tSPKAVgwfrBipUwtwDoEXUSOaiJui/b93G//9iJqBH63K3ac0tyeBO4k4 JPsg== X-Gm-Message-State: AFqh2krMMm3C8JQDiT2Weo3z3I1Tafq2n+5WwbgWlOs8x6Dx9XYHsl4r lbYlHEVLP0q5PJAP6tdgyjEOXQ== X-Received: by 2002:a2e:4949:0:b0:27a:1ea8:185e with SMTP id b9-20020a2e4949000000b0027a1ea8185emr2497855ljd.7.1671801721933; Fri, 23 Dec 2022 05:22:01 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id f3-20020a2eb5a3000000b00279e0b8bae7sm412007ljn.65.2022.12.23.05.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Dec 2022 05:22:01 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Rao Mandadapu , Vinod Koul , Ratna Deepthi Kudaravalli , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: soundwire: qcom,soundwire: correct sizes related to number of ports Date: Fri, 23 Dec 2022 14:21:59 +0100 Message-Id: <20221223132159.81211-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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 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?1753011257399467459?= X-GMAIL-MSGID: =?utf-8?q?1753011257399467459?= There are several properties depending on number of ports. Some of them had maximum limit of 5 and some of 8. SM8450 AudioReach comes with 8 ports, so fix the limits: sm8450-sony-xperia-nagara-pdx224.dtb: soundwire-controller@3250000: qcom,ports-word-length: 'oneOf' conditional failed, one must be fixed: [[255, 255, 255, 255, 255, 255, 255, 255]] is too short [255, 255, 255, 255, 255, 255, 255, 255] is too long Fixes: febc50b82bc9 ("dt-bindings: soundwire: Convert text bindings to DT Schema") Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/soundwire/qcom,soundwire.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml index bcbfa71536cd..3efdc192ab01 100644 --- a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml +++ b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml @@ -80,7 +80,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 5 + maxItems: 8 qcom,ports-sinterval-low: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -124,7 +124,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 5 + maxItems: 8 qcom,ports-block-pack-mode: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -154,7 +154,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 5 + maxItems: 8 items: oneOf: - minimum: 0 @@ -171,7 +171,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 5 + maxItems: 8 items: oneOf: - minimum: 0 @@ -187,7 +187,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 5 + maxItems: 8 items: oneOf: - minimum: 0