RE: [PATCH v6 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-05-14 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Thursday, May 10, 2018 7:09 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; &

RE: [PATCH v6 09/11] firmware: xilinx: Add debugfs for clock control APIs

2018-05-14 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Thursday, May 10, 2018 7:31 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; &

RE: [PATCH v6 04/11] firmware: xilinx: Add query data API

2018-05-14 Thread Jolly Shah
HI Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Thursday, May 10, 2018 7:12 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; &

RE: [PATCH v6 02/11] firmware: xilinx: Add Zynqmp firmware driver

2018-05-14 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Thursday, May 10, 2018 7:05 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; &

RE: [PATCH v6 04/11] firmware: xilinx: Add query data API

2018-05-15 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Tuesday, May 15, 2018 2:34 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > hka

RE: [PATCH v6 09/11] firmware: xilinx: Add debugfs for clock control APIs

2018-05-25 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Tuesday, May 15, 2018 1:58 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > hka

RE: [PATCH 1/2] dt-bindings: power: Add ZynqMP power domain bindings

2018-05-18 Thread Jolly Shah
Hi Marek, > -Original Message- > From: Marek Szyprowski [mailto:m.szyprow...@samsung.com] > Sent: Thursday, May 17, 2018 11:31 PM > To: Jolly Shah <jol...@xilinx.com>; Geert Uytterhoeven <geert@linux- > m68k.org>; Rob Herring <r...@kernel.org>

RE: [PATCH 1/2] dt-bindings: power: Add ZynqMP power domain bindings

2018-05-17 Thread Jolly Shah
Hi Marek, > -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Jolly Shah > Sent: Thursday, March 15, 2018 10:47 AM > To: Marek Szyprowski <m.szyprow...@samsung.com>; Geert Uytterhoeven > <

[PATCH v8 10/10] drivers: clk: Add ZynqMP clock driver

2018-06-14 Thread Jolly Shah
From: Jolly Shah This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Shubhrajyoti Datta Signed-off-by: Jolly Shah

[PATCH v8 04/10] firmware: xilinx: Add query data API

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware query data API to query platform specific information(clocks, pins) from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx-zynqmp.h | 20

[PATCH v8 09/10] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++ include/dt-bindings/clock/xlnx,zynqmp-clk.h| 116

[PATCH v8 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-06-14 Thread Jolly Shah
style - split patch into multiple patches - Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (1): drivers: clk: Add ZynqMP clock driver Rajan Vaja (9): dt

[PATCH v8 08/10] firmware: xilinx: Add debugfs for query data API

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to query platform specific data from firmware using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers

[PATCH v8 03/10] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 20 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 22

RE: [PATCH v7 10/10] drivers: clk: Add ZynqMP clock driver

2018-06-14 Thread Jolly Shah
Hi Randy, Thanks for review, > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Wednesday, May 30, 2018 2:18 PM > To: Jolly Shah ; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > su

[PATCH v8 06/10] firmware: xilinx: Add debugfs interface

2018-06-14 Thread Jolly Shah
# cat /sys/.../zynqmp-firmware/pm Refer ug1200 for more information on these APIs: * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf Add basic debugfs file to get API version. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/Kconfig

[PATCH v8 05/10] firmware: xilinx: Add clock APIs

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add clock APIs to control clocks through firmware interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 186 ++- include/linux/firmware/xlnx-zynqmp.h | 30 ++ 2 files changed, 214

[PATCH v8 07/10] firmware: xilinx: Add debugfs for IOCTL API

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to set/get IOCTL using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers

[PATCH v8 02/10] firmware: xilinx: Add Zynqmp firmware driver

2018-06-14 Thread Jolly Shah
-by: Jolly Shah --- arch/arm64/Kconfig.platforms | 1 + drivers/firmware/Kconfig | 1 + drivers/firmware/Makefile| 1 + drivers/firmware/xilinx/Kconfig | 16 ++ drivers/firmware/xilinx/Makefile | 4 + drivers/firmware/xilinx/zynqmp.c | 337

[PATCH v8 01/10] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-06-14 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah

RE: [PATCH v8 03/10] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-06-15 Thread Jolly Shah
Hi Randy, > -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Thursday, June 14, 2018 1:45 PM > To: Jolly Shah ; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > sudeep.ho...@arm.com; hk

[PATCH v7 09/10] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++ include/dt-bindings/clock/xlnx,zynqmp-clk.h| 116

[PATCH v7 10/10] drivers: clk: Add ZynqMP clock driver

2018-05-30 Thread Jolly Shah
From: Jolly Shah This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Shubhrajyoti Datta Signed-off-by: Jolly Shah

[PATCH v7 06/10] firmware: xilinx: Add debugfs interface

2018-05-30 Thread Jolly Shah
# cat /sys/.../zynqmp-firmware/pm Refer ug1200 for more information on these APIs: * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf Add basic debugfs file to get API version. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/Kconfig

[PATCH v7 02/10] firmware: xilinx: Add Zynqmp firmware driver

2018-05-30 Thread Jolly Shah
-by: Jolly Shah --- arch/arm64/Kconfig.platforms | 1 + drivers/firmware/Kconfig | 1 + drivers/firmware/Makefile| 1 + drivers/firmware/xilinx/Kconfig | 16 ++ drivers/firmware/xilinx/Makefile | 4 + drivers/firmware/xilinx/zynqmp.c | 337

[PATCH v7 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-05-30 Thread Jolly Shah
- Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (1): drivers: clk: Add ZynqMP clock driver Rajan Vaja (9): dt-bindings: firmware: Add bindings

[PATCH v7 05/10] firmware: xilinx: Add clock APIs

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add clock APIs to control clocks through firmware interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 186 ++- include/linux/firmware/xlnx-zynqmp.h | 30 ++ 2 files changed, 214

[PATCH v7 07/10] firmware: xilinx: Add debugfs for IOCTL API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to set/get IOCTL using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers

[PATCH v7 03/10] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 20 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 22

[PATCH v7 04/10] firmware: xilinx: Add query data API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware query data API to query platform specific information(clocks, pins) from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx-zynqmp.h | 20

[PATCH v7 08/10] firmware: xilinx: Add debugfs for query data API

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to query platform specific data from firmware using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers

[PATCH v7 01/10] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-05-30 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah

[PATCH v9 10/10] drivers: clk: Add ZynqMP clock driver

2018-06-20 Thread Jolly Shah
From: Jolly Shah This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Shubhrajyoti Datta Signed-off-by: Jolly Shah

[PATCH v9 01/10] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah

[PATCH v9 05/10] firmware: xilinx: Add clock APIs

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add clock APIs to control clocks through firmware interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 186 ++- include/linux/firmware/xlnx-zynqmp.h | 30 ++ 2 files changed, 214

[PATCH v9 09/10] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++ include/dt-bindings/clock/xlnx,zynqmp-clk.h| 116

[PATCH v9 02/10] firmware: xilinx: Add Zynqmp firmware driver

2018-06-20 Thread Jolly Shah
-by: Jolly Shah --- arch/arm64/Kconfig.platforms | 1 + drivers/firmware/Kconfig | 1 + drivers/firmware/Makefile| 1 + drivers/firmware/xilinx/Kconfig | 16 ++ drivers/firmware/xilinx/Makefile | 4 + drivers/firmware/xilinx/zynqmp.c | 337

[PATCH v9 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-06-20 Thread Jolly Shah
-License-Identifier license text style - split patch into multiple patches - Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (1): drivers: clk: Add ZynqMP

[PATCH v9 06/10] firmware: xilinx: Add debugfs interface

2018-06-20 Thread Jolly Shah
# cat /sys/.../zynqmp-firmware/pm Refer ug1200 for more information on these APIs: * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf Add basic debugfs file to get API version. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/Kconfig

[PATCH v9 08/10] firmware: xilinx: Add debugfs for query data API

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to query platform specific data from firmware using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers

[PATCH v9 04/10] firmware: xilinx: Add query data API

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware query data API to query platform specific information(clocks, pins) from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 14 ++ include/linux/firmware/xlnx-zynqmp.h | 20

[PATCH v9 03/10] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 20 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 22

[PATCH v9 07/10] firmware: xilinx: Add debugfs for IOCTL API

2018-06-20 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to set/get IOCTL using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers

[PATCH] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-08 Thread Jolly Shah
-ggs provides read/write interface to global storage registers. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 16 + arch/arm64/Kconfig.platforms |1 + driv

[RFC PATCH] drivers: soc: xilinx: Add ZynqMP PM driver

2018-01-08 Thread Jolly Shah
Add ZynqMP PM driver. PM driver provides power management support for ZynqMP. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- .../bindings/soc/xilinx/xlnx,zynqmp-pm.txt | 15 ++ drivers/soc/Kconfig

[RFC PATCH 2/2] drivers: clk: Add ZynqMP clock driver

2018-01-08 Thread Jolly Shah
This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> Signed-off-by: Teja

[RFC PATCH 0/2] drivers: clk: Add ZynqMP clock driver support

2018-01-08 Thread Jolly Shah
Add clock driver for ZynqMP Jolly Shah (2): drivers: clk: Add clk_get_children support drivers: clk: Add ZynqMP clock driver .../devicetree/bindings/clock/zynq_mpsoc.txt | 163 + drivers/clk/Kconfig| 1 + drivers/clk/Makefile

[RFC PATCH 1/2] drivers: clk: Add clk_get_children support

2018-01-08 Thread Jolly Shah
This API helps to determine the users for any clock. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Tejas Patel <tej...@xilinx.com> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.da...@xilinx.com> --- drivers/clk/clk.c| 28 +

[RFC PATCH] drivers: soc: xilinx: Add ZynqMP power domain driver

2018-01-08 Thread Jolly Shah
The zynqmp-genpd driver communicates the usage requirements for logical power domains / devices to the platform FW. FW is responsible for choosing appropriate power states, taking Linux' usage information into account. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaj

RE: [RFC PATCH 2/2] drivers: clk: Add ZynqMP clock driver

2018-01-10 Thread Jolly Shah
Thanks Philippe for review. Will fix all SPDX tags in next version. > -Original Message- > From: Philippe Ombredanne [mailto:pombreda...@nexb.com] > Sent: Tuesday, January 09, 2018 4:53 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: Michael Turquette <mturque...@bay

RE: [RFC PATCH 2/2] drivers: clk: Add ZynqMP clock driver

2018-01-10 Thread Jolly Shah
Hi Philippe, Thanks for the review. Will fix all SPDX tags in next version. Thanks, Jolly Shah > -Original Message- > From: Philippe Ombredanne [mailto:pombreda...@nexb.com] > Sent: Tuesday, January 09, 2018 4:53 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: Micha

RE: [RFC PATCH] drivers: soc: xilinx: Add ZynqMP PM driver

2018-01-10 Thread Jolly Shah
Thanks Sean for review, > -Original Message- > From: Sean Wang [mailto:sean.w...@mediatek.com] > Sent: Monday, January 08, 2018 7:10 PM > To: Jolly Shah <jol...@xilinx.com> > Cc: matthias@gmail.com; andy.gr...@linaro.org; shawn...@kernel.org; > geert+rene...

RE: [RFC PATCH] drivers: soc: xilinx: Add ZynqMP power domain driver

2018-01-10 Thread Jolly Shah
Thanks Philippe for review, > -Original Message- > From: Philippe Ombredanne [mailto:pombreda...@nexb.com] > Sent: Tuesday, January 09, 2018 4:48 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: Matthias Brugger <matthias@gmail.com>; Andy Gross > <andy.gr

RE: [PATCH] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-10 Thread Jolly Shah
Hi Sudeep, Thanks for the review, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Tuesday, January 09, 2018 6:40 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m..

RE: [PATCH] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-10 Thread Jolly Shah
Thanks Aishwarya for the review, > -Original Message- > From: Aishwarya Pant [mailto:aishp...@gmail.com] > Sent: Tuesday, January 09, 2018 4:19 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org;

RE: [PATCH] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-10 Thread Jolly Shah
Hi Julien, Thanks for the review, > -Original Message- > From: Julien Thierry [mailto:julien.thie...@arm.com] > Sent: Tuesday, January 09, 2018 6:07 AM > To: Jolly Shah <jol...@xilinx.com>; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m..

[PATCH v3 3/4] drivers: firmware: xilinx: Add sysfs interface

2018-01-24 Thread Jolly Shah
Add Firmware-ggs sysfs interface which provides read/write interface to global storage registers. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- .../ABI/stable/sysfs-driver-zynqmp-firmware| 50 drivers/firmware/xilinx/zyn

[PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-01-24 Thread Jolly Shah
Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaj

[PATCH v3 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-24 Thread Jolly Shah
This patch is adding communication layer with firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). All requests go through ATF. Signed-off-by: Jolly Shah <jol...@xilinx.com> Sign

[PATCH v3 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-01-24 Thread Jolly Shah
Firmware-debug provides debugfs interface to all APIs. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- drivers/firmware/xilinx/zynqmp/Kconfig | 7 + drivers/firmware/xilinx/zynqmp/Makefile| 1 + drivers/fir

[PATCH v3 0/4] drivers: firmware: xilinx: Add firmware driver support

2018-01-24 Thread Jolly Shah
- Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (4): dt-bindings: firmware: Add bindings for ZynqMP firmware drivers: firmware: xilinx: Add ZynqMP

RE: [PATCH v2 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-24 Thread Jolly Shah
Thanks for review Greg, > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 23, 2018 12:38 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; m...@codeblueprint.co.uk; > sudee

RE: [PATCH v2 3/4] drivers: firmware: xilinx: Add sysfs interface

2018-01-24 Thread Jolly Shah
Thanks for review Greg, > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 23, 2018 12:38 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; m...@codeblueprint.co.uk; > sudee

[PATCH v2 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-17 Thread Jolly Shah
This patch is adding communication layer with firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). All requests go through ATF. Signed-off-by: Jolly Shah <jol...@xilinx.com> Sign

[PATCH v2 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-01-17 Thread Jolly Shah
Firmware-debug provides debugfs interface to all APIs. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- drivers/firmware/xilinx/zynqmp/Kconfig | 7 + drivers/firmware/xilinx/zynqmp/Makefile| 1 + drivers/fir

[PATCH v2 3/4] drivers: firmware: xilinx: Add sysfs interface

2018-01-17 Thread Jolly Shah
Add Firmware-ggs sysfs interface which provides read/write interface to global storage registers. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- .../ABI/stable/sysfs-driver-zynqmp-firmware| 33 +++ drivers/firmware/xilinx/zyn

[PATCH v2 0/4] drivers: firmware: xilinx: Add firmware driver support

2018-01-17 Thread Jolly Shah
-License-Identifier license text style - split patch into multiple patches - Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (4): dt-bindings: firmware

[PATCH v2 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-01-17 Thread Jolly Shah
Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaj

RE: [PATCH v2 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-01-24 Thread Jolly Shah
Thanks for review Greg, > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 23, 2018 12:41 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; m...@codeblueprint.co.uk; > sudee

RE: [RFC PATCH 0/2] drivers: clk: Add ZynqMP clock driver support

2018-01-12 Thread Jolly Shah
Hi Sudeep, > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Friday, January 12, 2018 3:47 AM > To: Jolly Shah <jol...@xilinx.com>; michal.si...@xilinx.com; linux- > c...@vger.kernel.org > Cc: Sudeep Holla <sudeep.ho...@arm.com>;

RE: [RFC PATCH 0/2] drivers: clk: Add ZynqMP clock driver support

2018-01-11 Thread Jolly Shah
ailbox so it is a posted as a separate series. Thanks, Jolly Shah > -Original Message- > From: Sudeep Holla [mailto:sudeep.ho...@arm.com] > Sent: Thursday, January 11, 2018 2:55 AM > To: Jolly Shah <jol...@xilinx.com>; michal.si...@xilinx.com; linux- > c...

RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-02-02 Thread Jolly Shah
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Thursday, February 01, 2018 2:28 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org; m...@codeblue

RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-01-31 Thread Jolly Shah
Hi Rob, Thanks for the review, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Tuesday, January 30, 2018 9:08 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org;

RE: [PATCH v3 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-31 Thread Jolly Shah
Hi Shubhrajyoti, Thanks for the review, > -Original Message- > From: Shubhrajyoti Datta [mailto:shubhrajyoti.da...@gmail.com] > Sent: Monday, January 29, 2018 9:06 PM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; Greg

RE: [PATCH v3 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-01-31 Thread Jolly Shah
Hi Greg, Thanks for review comments. All will be taken care in next version patch. Thanks, Jolly Shah > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, January 25, 2018 1:31 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.

RE: [PATCH v3 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-02-01 Thread Jolly Shah
Hi Mark, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Thursday, February 01, 2018 2:33 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre...@linuxfoundation.org; m...@codeblue

RE: [PATCH v3 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-01-31 Thread Jolly Shah
Hi Mark, Thanks for the review, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Wednesday, January 31, 2018 10:20 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre..

RE: [PATCH v3 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-01-31 Thread Jolly Shah
Hi Mark, Thanks for the review, > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: Wednesday, January 31, 2018 10:04 AM > To: Jolly Shah <jol...@xilinx.com> > Cc: ard.biesheu...@linaro.org; mi...@kernel.org; > gre..

[PATCH v4 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-02-06 Thread Jolly Shah
This patch is adding communication layer with firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). All requests go through ATF. Signed-off-by: Jolly Shah <jol...@xilinx.com> Sign

[PATCH v4 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-02-06 Thread Jolly Shah
CK_SETDIVIDER * PM_CLOCK_GETDIVIDER * PM_CLOCK_SETRATE * PM_CLOCK_GETRATE * PM_CLOCK_SETPARENT * PM_CLOCK_GETPARENT * PM_QUERY_DATA Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- drivers/firmware/xilinx/zynqmp/

[PATCH v4 3/4] drivers: firmware: xilinx: Add sysfs interface

2018-02-06 Thread Jolly Shah
Add Firmware-ggs sysfs interface which provides read/write interface to global storage registers. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- Documentation/ABI/stable/sysfs-firmware-zynqmp | 50 drivers/firmware/xilinx/zyn

[PATCH v4 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-02-06 Thread Jolly Shah
Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaj

[PATCH v4 0/4] drivers: firmware: xilinx: Add firmware driver support

2018-02-06 Thread Jolly Shah
- split patch into multiple patches - Updated copyrights - Added ABI documentation - incorporated logical review comments from previuos patch. Discussed below: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (4): dt-bindings: firmware: Add bindings for ZynqMP firmware drivers

[PATCH v5 1/4] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-02-20 Thread Jolly Shah
Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaj

[PATCH v5 0/4] drivers: firmware: xilinx: Add firmware driver support

2018-02-20 Thread Jolly Shah
: https://patchwork.kernel.org/patch/10150665/ Jolly Shah (4): dt-bindings: firmware: Add bindings for ZynqMP firmware drivers: firmware: xilinx: Add ZynqMP firmware driver drivers: firmware: xilinx: Add sysfs interface drivers: firmware: xilinx: Add debugfs interface .../ABI/stable/sysfs

[PATCH v5 2/4] drivers: firmware: xilinx: Add ZynqMP firmware driver

2018-02-20 Thread Jolly Shah
This patch is adding communication layer with firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW(Platform Management Unit). All requests go through ATF. Signed-off-by: Jolly Shah <jol...@xilinx.com> Sign

[PATCH v5 4/4] drivers: firmware: xilinx: Add debugfs interface

2018-02-20 Thread Jolly Shah
CK_SETDIVIDER * PM_CLOCK_GETDIVIDER * PM_CLOCK_SETRATE * PM_CLOCK_GETRATE * PM_CLOCK_SETPARENT * PM_CLOCK_GETPARENT * PM_QUERY_DATA Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- drivers/firmware/xilinx/zynqmp/

[PATCH v5 3/4] drivers: firmware: xilinx: Add sysfs interface

2018-02-20 Thread Jolly Shah
Add Firmware-ggs sysfs interface which provides read/write interface to global storage registers. Signed-off-by: Jolly Shah <jol...@xilinx.com> Signed-off-by: Rajan Vaja <raj...@xilinx.com> --- .../ABI/stable/sysfs-driver-zynqmp-firmware| 50 drivers/firmware/xilinx/zyn

[PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add ZynqMP firmware IOCTL API to control and configure devices like PLLs, SD, Gem, etc. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 20 include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 22

[PATCH v11 08/11] firmware: xilinx: Add debugfs for query data API

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to query platform specific data from firmware using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers

[PATCH v11 01/11] dt-bindings: firmware: Add bindings for ZynqMP firmware

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP firmware driver bindings. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to communicate to PMUFW (Platform Management Unit). Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah

[PATCH v11 09/11] dt-bindings: clock: Add bindings for ZynqMP clock driver

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add documentation to describe Xilinx ZynqMP clock driver bindings. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- .../firmware/xilinx/xlnx,zynqmp-firmware.txt | 53 ++ include/dt-bindings/clock/xlnx

RE: [PATCH v9 10/10] drivers: clk: Add ZynqMP clock driver

2018-08-03 Thread Jolly Shah
..@vger.kernel.org; mark.rutl...@arm.com; > m...@codeblueprint.co.uk; mi...@kernel.org; mturque...@baylibre.com; > robh...@kernel.org; sb...@codeaurora.org; sudeep.ho...@arm.com; Jolly > Shah ; Michal Simek > Cc: devicet...@vger.kernel.org; Tejas Patel ; linux- > ker...@vger.kernel.org

RE: [PATCH v10 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-08-03 Thread Jolly Shah
...@gmail.com; gre...@linuxfoundation.org; > hkallwe...@gmail.com; keesc...@chromium.org; linux-...@vger.kernel.org; > mark.rutl...@arm.com; m...@codeblueprint.co.uk; mi...@kernel.org; > mturque...@baylibre.com; robh...@kernel.org; sb...@codeaurora.org; > sudeep.ho...@arm.com; Jolly Shah ;

[PATCH v11 06/11] firmware: xilinx: Add debugfs interface

2018-08-03 Thread Jolly Shah
# cat /sys/.../zynqmp-firmware/pm Refer ug1200 for more information on these APIs: * https://www.xilinx.com/support/documentation/user_guides/ug1200-eemi-api.pdf Add basic debugfs file to get API version. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/Kconfig

[PATCH v11 11/11] firmware: xilinx: Replace init call with probe method

2018-08-03 Thread Jolly Shah
-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 63 1 file changed, 18 insertions(+), 45 deletions(-) diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index 7ccedf0..ce6c746 100644 --- a/drivers/firmware/xilinx/zynqmp.c

[PATCH v11 10/11] drivers: clk: Add ZynqMP clock driver

2018-08-03 Thread Jolly Shah
From: Jolly Shah This patch adds CCF compliant clock driver for ZynqMP. Clock driver queries supported clock information from firmware and regiters pll and output clocks with CCF. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Shubhrajyoti Datta Signed-off-by: Jolly Shah

[PATCH v11 05/11] firmware: xilinx: Add clock APIs

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add clock APIs to control clocks through firmware interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp.c | 186 ++- include/linux/firmware/xlnx-zynqmp.h | 30 ++ 2 files changed, 214

[PATCH v11 02/11] firmware: xilinx: Add Zynqmp firmware driver

2018-08-03 Thread Jolly Shah
-by: Jolly Shah --- arch/arm64/Kconfig.platforms | 1 + drivers/firmware/Kconfig | 1 + drivers/firmware/Makefile| 1 + drivers/firmware/xilinx/Kconfig | 16 ++ drivers/firmware/xilinx/Makefile | 4 + drivers/firmware/xilinx/zynqmp.c | 337

[PATCH v11 07/11] firmware: xilinx: Add debugfs for IOCTL API

2018-08-03 Thread Jolly Shah
From: Rajan Vaja Add debugfs file to set/get IOCTL using debugfs interface. Signed-off-by: Rajan Vaja Signed-off-by: Jolly Shah --- drivers/firmware/xilinx/zynqmp-debug.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/firmware/xilinx/zynqmp-debug.c b/drivers

  1   2   3   >