From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C004BC77B76 for ; Mon, 17 Apr 2023 14:18:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjDQOSE (ORCPT ); Mon, 17 Apr 2023 10:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbjDQOSA (ORCPT ); Mon, 17 Apr 2023 10:18:00 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 333055BBA for ; Mon, 17 Apr 2023 07:17:32 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id vc20so9601619ejc.10 for ; Mon, 17 Apr 2023 07:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681741050; x=1684333050; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mjLQZkxTBlX3f7nO48hxD2oULveWu8viYEgFU3xZb9g=; b=EXnrC+sI+XdHwyMZvAyllL/QfV5LjpTKCH8KkvPigJb8znAO8K7jst5GMPEgHFYJgr NlYeXVV3QtwCp/NRQqikPY/Zhx6Cea/mF2V+YEvsajc6NYVpTB1GICpday6vnypDOISL 8F+2Oqyptl/mgaFrrBU6ffKE5zG6++sRYS2OdGbJKlVxzxJCpSZklwwCJgtisyRX86lA /0uYnysLB/J4rqNLhFQKUiaZaPM1tlft26x95S2/JF6zuBW44RpF8uth45q9+UpySANy 2dTMwxOD7qfFykJyvAkgXdGQ8oUVQV1WvQ1g7kW3CGw7TnGWUNHCU+8flrOD79G0iLlP 1H9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681741050; x=1684333050; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mjLQZkxTBlX3f7nO48hxD2oULveWu8viYEgFU3xZb9g=; b=BmarRs8zRIK3xlcfHPSiVl/DDa1OUU0YgANvQFQaGRtHjSAFrsQVS6XtZ7Ad8UI8LC aXtYsPqxW0HigHJriGulwRKjUQFL90zr/6eLdVuem7pzpsZbOvrWiVnBTx9tEr+T0w0h XFECL2ZOSYhUWa8I5/GiQtzwY6cyWKd5umQG/2Yed+PLNn9EuoSDv6/cwXWZN4glIVTr akVfuW/4C8c9ezUKfEnSVLmFGeU37ilqmSUlbpecCKBbcpcIl94H/Bw+r0z/Tgt/CsjL UuJR3YWy/zXKaU2u5Wn/iwegrQqeFR+NUhd4p1qt3b6rjKSdknaPJnnrCFbXF0Pni4HS L4fQ== X-Gm-Message-State: AAQBX9fI9HlM2bTjvGtqfgyCPhpfNgSQxJrJpJWMDTHMgr1wnAZzCxfY 0LBWSuAlUGKkoIj1VrkufvTDAQ== X-Google-Smtp-Source: AKy350avq0En6hyn+CrauNxNAjPy1OIlwA9w0VURk4/I8g8MYDsSly0AxL//OId7TWoI3VYYpljnLw== X-Received: by 2002:a17:906:8604:b0:94e:f176:43cc with SMTP id o4-20020a170906860400b0094ef17643ccmr7963783ejx.39.1681741050708; Mon, 17 Apr 2023 07:17:30 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:96aa:60eb:e021:6511? ([2a02:810d:15c0:828:96aa:60eb:e021:6511]) by smtp.gmail.com with ESMTPSA id bn3-20020a170906c0c300b0094e93ec20adsm6657072ejb.106.2023.04.17.07.17.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 07:17:30 -0700 (PDT) Message-ID: Date: Mon, 17 Apr 2023 16:17:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 2/7] dt-bindings: soundwire: qcom: add 16-bit sample interval Content-Language: en-US To: Srinivas Kandagatla , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Vinod Koul , Bard Liao , Pierre-Louis Bossart , Sanyog Kale , Rao Mandadapu , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Cc: Patrick Lai References: <20230403132503.62090-1-krzysztof.kozlowski@linaro.org> <20230403132503.62090-3-krzysztof.kozlowski@linaro.org> <94590a79-cae3-7b88-8f02-0c356adf06b7@linaro.org> <7c7afc80-713f-1949-4feb-f5f2d192569c@linaro.org> <9156affd-7f08-282b-ee65-ae82f4d94cbc@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <9156affd-7f08-282b-ee65-ae82f4d94cbc@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/04/2023 13:12, Srinivas Kandagatla wrote: >>>> + qcom,ports-sinterval: >>>> + $ref: /schemas/types.yaml#/definitions/uint32-array >>> >>> Should this not be ref: /schemas/types.yaml#/definitions/uint16-array ? >> >> Same answer as for Rob: >> >> 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. >> > As per MiPi Specs the sample Interval is an integer in the range 2 to > 65535. I don't see a value in making this u32, other than adding some > confusion by deviating from specs. Hm, in such case I'll make it uint16. Best regards, Krzysztof