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: 1719166 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Nn6vZEwm; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4Ndnsd1pZ3z23dZ for ; Sat, 24 Dec 2022 00:22:29 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236307AbiLWNW0 (ORCPT ); Fri, 23 Dec 2022 08:22:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236323AbiLWNWF (ORCPT ); Fri, 23 Dec 2022 08:22:05 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD5EF3EAC6 for ; Fri, 23 Dec 2022 05:22:03 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id s10so5028870ljg.1 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=3EzuSAt1D1oBqTRL0ut16m8DU0bUFnZXQJ6m5dQzGBXT4zqWgTYbUr94l+E0PRhfKj mYF5xJ4DL2EkKwUCtfIp17CtQq7f5hat3nDy/8MdtyZ7CBriFZ6rL/RC8dpY0AraE+1O +x5mKe7AtLNzcy2U/o3qgI7ZvLyrtZAJeyC1WGckJJZe464FfQ+azBHwySCdaTVuA/WZ h+fczAaf+y1JVKd5goNmsdrvaAx+H+AU9KtUPddHerqOI8F7YtLXcFM7CPvncU5N/Eve 6dt1HAf/3Swv6Eph12V9PeAoweWcVPz897g8xuyjzqJTHwjXo1nV4LwN2Q2kXDZ2mWNH ce3Q== X-Gm-Message-State: AFqh2kqp6u+8qJ9FCthPE2/zmbQTpuRhEi4u3auSHJ76ivNHMD91uhR7 iiKuOGBQE5pBjjwV/bYJtboZ4w== X-Google-Smtp-Source: AMrXdXt1uNGt9tJ6XLlq+A5ZvETbjua0KwGLpqYP2YWjpkpIIcp/1bXCY5y1n9W8DeR1uKleGZruPA== 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=ham 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: devicetree@vger.kernel.org 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