Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp309224pxf; Thu, 1 Apr 2021 01:31:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3BtRAQhm4wThchwyA2bfI3MxcbFPV37xhhfm/74lP483jO3ko3v9few/caHjJLWQVgt0z X-Received: by 2002:aa7:d54c:: with SMTP id u12mr8842462edr.234.1617265868657; Thu, 01 Apr 2021 01:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617265868; cv=none; d=google.com; s=arc-20160816; b=rCLtmo1sAfLX1oB9S5UofPOEBmSx6ioSH3F2Pj990BHSUpNit3SrX/StrTnCB1rE92 sid3Y6jmwP3E+92LsFfRXCugS3u7Fe6AkMi9FZWqdDzvI3RjfpeB+ek+5VCHl6mRiqHG z5t0sCJbUF9ESqSdbBImrV+69uB16pWNirQ2rS8niRTf2+qtGoyzvgBTAlWm9OhLDYPR JVqMkVCbmaFnXolfWrnlqcgUuXGKPrjhLNzVSp3+y07nae3WQFXLlZqqSW2/oed1wxKX NfE9GXjyJ86ZkZu+KPuHIgxlcqUtLtOqov5A0ovhr8IVvpmUEZML6hcjUtyA76J+vBEN hAUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=1YbiXVCeEYFqsRtESxaT0By+IL1CKNL6H/j7+kTcZyk=; b=BcG7v1l4JcdTF45AQVaoRVVloHnFl7migbcbs/mIVnV968rvY17Wuz5rnMw90KMEsV +AH29KNfpUo/IlTgB9ukvDY4a7/LiwEKgAQgifjQolIsVshm23ShF8ECeDD4a9U3O5Dw AuFCuiE0gWZTawZsFgESDaXu5OEvznWMfqsyPrP3OSUGyRdiLX6jdBHz4X5SkMaHEOWo xOOJRmllRao10QvJyrW9DH/Iew7dwBI7AiR0jV9XCcVHG+vLpFNJ6Cmu3MiWSHuWFHx3 IYr1+TesIqRajLskLn1XKjccoUY2RuAjZA1xqYNqu71IfgNLQw+lq4obs5n4EWhHpJbi 75Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=L0Lznd6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si4133030ejg.244.2021.04.01.01.30.45; Thu, 01 Apr 2021 01:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=L0Lznd6N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233509AbhDAI20 (ORCPT + 99 others); Thu, 1 Apr 2021 04:28:26 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:40816 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233195AbhDAI2B (ORCPT ); Thu, 1 Apr 2021 04:28:01 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1318RrkV054419; Thu, 1 Apr 2021 03:27:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1617265673; bh=1YbiXVCeEYFqsRtESxaT0By+IL1CKNL6H/j7+kTcZyk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=L0Lznd6Nv9f/Z0NB+E8jDqYi+x+tyoEOdC7YxCHYpPCgFPC8PIy4nthm6uo1ZqdGt p9/3/mdUREekCtiDMZPYYQkIXBLlgg0Sm251mpSVqZoN8nMdlnXrfiRX5lWdCtEi8v vdhdE2Kn0yzhMWFgzOKCy2XABLCbRAL7xFC62atg= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1318Rrfg094811 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Apr 2021 03:27:53 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 1 Apr 2021 03:27:53 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Thu, 1 Apr 2021 03:27:53 -0500 Received: from [10.250.234.120] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1318RnZ2101922; Thu, 1 Apr 2021 03:27:50 -0500 Subject: Re: [PATCH 4/4] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml To: Pratyush Yadav , Rob Herring CC: Mark Brown , Nishanth Menon , Tero Kristo , , , , References: <20210326130034.15231-1-p.yadav@ti.com> <20210326130034.15231-5-p.yadav@ti.com> <20210327183628.GA345487@robh.at.kernel.org> <20210329182256.q4zhss6lezj3s44a@ti.com> From: Vignesh Raghavendra Message-ID: <1161dc3b-c889-c5d7-f7c8-baf5b7b79505@ti.com> Date: Thu, 1 Apr 2021 13:57:49 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210329182256.q4zhss6lezj3s44a@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/21 11:52 PM, Pratyush Yadav wrote: >>> + cdns,fifo-depth: >>> + description: >>> + Size of the data FIFO in words. >>> + $ref: "/schemas/types.yaml#/definitions/uint32" >>> + enum: [ 128, 256 ] >>> + default: 128 >>> + >>> + cdns,fifo-width: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: >>> + Bus width of the data FIFO in bytes. >>> + default: 4 >> I assume there's some constraints on this? > IIUC this is a matter of how the peripheral is implemented and there are > no clear constraints. Different implementations can use different bus > widths for the SRAM bus but I don't see any mention of minimum or > maximum values. FWIW, all users in the kernel use a 4 byte bus. > IMO a safe constraint would be to set a range of 1 to 4 (8/16/24/32 bit wide) given this represents SRAM bus width. Binding can always be updated if there exists an implementation with higher SRAM bus width/fifo-width (although that's highly unlikely given there are no such examples today). But leaving it open ended with range of 0 to UINT_MAX sounds incorrect to me. >> With that, >> >> Reviewed-by: Rob Herring > Thanks. >