From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ramuthevar, Vadivel MuruganX" Subject: Re: [PATCH v10 1/2] dt-bindings: spi: Add schema for Cadence QSPI Controller driver Date: Wed, 26 Feb 2020 09:32:31 +0800 Message-ID: <98c90f35-297b-a13c-61ad-ce7a7f1d650f@linux.intel.com> References: <20200219022852.28065-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20200219022852.28065-2-vadivel.muruganx.ramuthevar@linux.intel.com> <64b7ab12-0c11-df25-95e7-ee62227ec7ec@linux.intel.com> <85178128-4906-8b1a-e3f1-ab7a36ff8c23@ti.com> <8c329860-84fd-463b-782f-83a788998878@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-spi , Mark Brown , simon.k.r.goldschmidt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Dinh Nguyen , tien.fong.chee-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, =?UTF-8?Q?Marek_Va=c5=a1ut?= , cheol.yong.kim-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, qi-ming.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org To: Vignesh Raghavendra , Rob Herring Return-path: In-Reply-To: <8c329860-84fd-463b-782f-83a788998878-l0cyMroinI0@public.gmane.org> Content-Language: en-US Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi, On 25/2/2020 7:00 PM, Vignesh Raghavendra wrote: > > On 25/02/20 1:08 pm, Ramuthevar, Vadivel MuruganX wrote: >>>>>> + >>>>>> +  cdns,fifo-depth: >>>>>> +    $ref: /schemas/types.yaml#/definitions/uint32 >>>>>> +    description: >>>>>> +      Size of the data FIFO in words. >>>>> A 4GB fifo is valid? Add some constraints. >>>> 128 is valid, will update. >>> Nope, the width of this field is 8bits -> 256 bytes >> correct me if I am wrong, the width of this field is 4bits -> 128 bytes >> (based on QUAD mode) . > This has nothing to do with quad-mode. Its about how much SRAM amount of > SRAM is present to buffer INDAC mode data. For TI platforms this is 256 > bytes. > See CQSPI_REG_SRAMPARTITION definition in your datasheet. Agreed, Thanks! Yes , I have gone through it , Intel and Altera SoC's SRAM(act as FIFO)size is 128 bytes and TI has 256 . BTW old legacy DT binding mentioned size is 128, as per your earlier suggestion you have mention that keep the contents from old dt bindings as it is, so shall I keep 128/256? Regards Vadivel