Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6361079rwl; Tue, 4 Apr 2023 11:23:40 -0700 (PDT) X-Google-Smtp-Source: AKy350aPKUFUvEev+8bCH5viFZ0aqeZQDU7pr2378X1ZHntO2bKnzoh7uzHv3/k26wBiTC6U1Sih X-Received: by 2002:a17:90a:aa83:b0:23d:3878:781e with SMTP id l3-20020a17090aaa8300b0023d3878781emr168226pjq.21.1680632620141; Tue, 04 Apr 2023 11:23:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680632620; cv=none; d=google.com; s=arc-20160816; b=EtSiWKOlqyFgT7KkH/uFY5aeqXQ6dw8hHv23zcvq9mkdE6X4mitYGKOECf7CCwZud9 042m883ctlvnkCz7PMlJuFC9v+OlM0UBJtl8JWRaXpHoLn4H3VZ4Q6RCt506uIA8k6/7 wl6fU1bxxzFUZcAT/TrFCdXD4hvZ8yiA1I0PZDIVMab3N1XwLbUvPlnXsw2+PXimFjcr XG4YxLnKPQtCWCiQnyWuKFxG46Zl083NYIdNyWG/ieJJtvIuRf6VppEM5J6cm4QNYk6J iU2VOI6x9F3/FI3EUgPnvqtCZqor0jDlg7QiOhmgiBEoFeX+1muXkjDGokQp43FkM2Uk GhcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Ir8YBxidmyDjL43kqs3HcIAsaJ4PKAEaZFGmGkOZQXg=; b=O95/zZAacRGjti6j0F3spoYkSmFsMgk4aretiheLb+fk2rD5dNwr6zQWO99RmH7obu gLZxFdi0DVEYjOPtVY+nkHlJYnzI9AGXxSf6dVOBJg/5T4VjnFDIIprXHdBqc2Dw9zET 7opTJx4iSU35eeog4Oe0tVbURxOVHw40FZc89rKHF5CIhh6FAq79E/5F2wgQhjWuZvKW wU9KRaKK+JvZ/9ZrrGJajfI2VHEzuei/awuh/lyFi0ZP0TOrgvbnH6Z6LNrfPZqVY+hP z5YdnePEsrUw/aWkBI1hr9ab+7h+FFQLzpC1bp7TXiIOb9UJ0PeYJXypPfk5QpO3meyy AP+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RQDpIhiU; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 31-20020a630e5f000000b00507766aea63si10342827pgo.864.2023.04.04.11.23.28; Tue, 04 Apr 2023 11:23:40 -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=RQDpIhiU; 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 S236033AbjDDSSP (ORCPT + 99 others); Tue, 4 Apr 2023 14:18:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235479AbjDDSSN (ORCPT ); Tue, 4 Apr 2023 14:18:13 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E75634219 for ; Tue, 4 Apr 2023 11:18:11 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id ek18so134250452edb.6 for ; Tue, 04 Apr 2023 11:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680632290; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ir8YBxidmyDjL43kqs3HcIAsaJ4PKAEaZFGmGkOZQXg=; b=RQDpIhiUlw2Y9lmNTIPdcM7xe4l9Dps6+qTrp/9ViFNP8QnQo2FijSxlG1hENEX5Xs acL5CSJjeXPn67PV37G3MBVbxTIgf8Gs8cz1jlbMgNLLeGDfR5BoWHDcVMtsGXlL2ERx C71+sOz9RqE7YXUfDZ8VoHFQa5IcV8YsxlHbQ0Y+sdLCoDGKebETZl1gWiwllaF77z3J k05+fAr7959COxq5K20OpDlOI1/vR/cnxqxO3TQldUiAhSwwUQIAdXRTp3XgGgKaB8Bb hZejIAMAFjAXZ2ZtdYNMyjLxHG7xJoghF+50qfAvawxz5xvZ5Q1W+jKCyoGlav35iOjD bUPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680632290; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ir8YBxidmyDjL43kqs3HcIAsaJ4PKAEaZFGmGkOZQXg=; b=dZBcrPM4mmLI0aflcE4KMYpO56Bk+Y9WLe/Q0VIi4mup0I93PSGzRTNFKvu2rxq+c3 eAxvhFJDFAQg6RXrb1hmr+mxWdNOFYwI7QdOy4LM2OR6Eqt4Rpcrsmk18aljiIKquO0f NUwXes1cYWLvQQ+hbJaaiQob2pLns+BscMA+78k97qv4ck4oPboaXwz0ceRGVulMbiIq rf+ZKYNyYOwQ5qbibVZr6oXn06yffNfNO6zOOgjV0AaE65dj9JPfMv0jz+DnLV3j3kaK nMREfRfttnZ0TtmhkYNfcTJX0a0Wend+v1D71l1J7LGKi4wJqkQOZ1nAXNZZkIlqfchl hbMw== X-Gm-Message-State: AAQBX9dNv3IZs/CSGvtc0UqZf81PkoQFErrzW7r7lPCVaOQ6aXdcQb3R 85Zj4nE/EuioXRMpkZvXMcF3lw== X-Received: by 2002:aa7:cb47:0:b0:4fc:c7c8:e78d with SMTP id w7-20020aa7cb47000000b004fcc7c8e78dmr333454edt.31.1680632290425; Tue, 04 Apr 2023 11:18:10 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:7467:56f4:40b7:cba8? ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id o1-20020a50c281000000b00502b0b0d75csm2190606edf.46.2023.04.04.11.18.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Apr 2023 11:18:10 -0700 (PDT) Message-ID: <76a524a8-f87a-0147-32cd-5ef6cc55d2bc@linaro.org> Date: Tue, 4 Apr 2023 20:18:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 2/7] dt-bindings: soundwire: qcom: add 16-bit sample interval To: Rob Herring Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , 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, Patrick Lai References: <20230403132503.62090-1-krzysztof.kozlowski@linaro.org> <20230403132503.62090-3-krzysztof.kozlowski@linaro.org> <20230404142159.GA3827653-robh@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20230404142159.GA3827653-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 04/04/2023 16:21, Rob Herring wrote: >> diff --git a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml >> index c283c594fb5c..883b8be9be1b 100644 >> --- a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml >> +++ b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml >> @@ -86,7 +86,7 @@ properties: >> qcom,ports-sinterval-low: >> $ref: /schemas/types.yaml#/definitions/uint8-array >> description: >> - Sample interval low of each data port. >> + Sample interval (only lowest byte) of each data port. >> Out ports followed by In ports. Used for Sample Interval calculation. >> Value of 0xff indicates that this option is not implemented >> or applicable for the respective data port. >> @@ -94,6 +94,19 @@ properties: >> minItems: 3 >> maxItems: 16 >> >> + qcom,ports-sinterval: >> + $ref: /schemas/types.yaml#/definitions/uint32-array >> + description: >> + Sample interval of each data port. >> + Out ports followed by In ports. Used for Sample Interval calculation. >> + Value of 0xffff indicates that this option is not implemented >> + or applicable for the respective data port. >> + More info in MIPI Alliance SoundWire 1.0 Specifications. >> + minItems: 3 >> + maxItems: 16 >> + items: >> + maximum: 0xffff > > Why not use uint16-array? Because I am afraid it will grow in next version to 24 or 32 bits. I can change easily maximum, but if I put here uint16-array, all DTS will have /bytes 16/ annotation. Best regards, Krzysztof