From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Cc: Sudeep Holla , Rajan Vaja , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH v6 04/11] firmware: xilinx: Add query data API To: Jolly Shah , "ard.biesheuvel@linaro.org" , "mingo@kernel.org" , "gregkh@linuxfoundation.org" , "matt@codeblueprint.co.uk" , "hkallweit1@gmail.com" , "keescook@chromium.org" , "dmitry.torokhov@gmail.com" , "mturquette@baylibre.com" , "sboyd@codeaurora.org" , "michal.simek@xilinx.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-clk@vger.kernel.org" References: <1523389127-14243-1-git-send-email-jollys@xilinx.com> <1523389127-14243-5-git-send-email-jollys@xilinx.com> <85f8f8c5-a177-dad8-e095-a9dd1c513e8d@arm.com> From: Sudeep Holla Message-ID: Date: Tue, 15 May 2018 10:34:18 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 List-ID: On 14/05/18 20:16, Jolly Shah wrote: > HI Sudeep, > [...] >> >> Can you give more insight into this ? How will be this used ? How >> this aligns with data we get from DT ? I am just trying to >> understand how is this information split between this API and DT >> for example. >> > > This API is used to get clock information from firmware and register > clocks accordingly in driver. In our case, firmware maintains > database of all clocks available on chip. DT will provide information > for off chip reference clocks only. This is to avoid duplication of > clocks data in DT and firmware both as firmware anyways need clock > data to manage them. > I wanted to understand the difference with example. What kind of information you get from DT and what you get from firmware ? -- Regards, Sudeep