Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbdHEEYE convert rfc822-to-8bit (ORCPT ); Sat, 5 Aug 2017 00:24:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:49240 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750931AbdHEEYC (ORCPT ); Sat, 5 Aug 2017 00:24:02 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH 0/3] arm64 xilinx zynqmp firmware interface From: Alexander Graf X-Mailer: iPhone Mail (14F89) In-Reply-To: Date: Sat, 5 Aug 2017 06:23:55 +0200 Cc: linux-arm-kernel@lists.infradead.org, Punnaiah Choudary Kalluri , Baoyou Xie , Bharat Kumar Gogada , Lucas Stach , Rob Herring , Nicolas Ferre , Catalin Marinas , Geert Uytterhoeven , yangbo lu , =?utf-8?Q?S=C3=B6ren_Brinkmann?= , Alexandre Belloni , Krzysztof Kozlowski , Will Deacon , devicetree@vger.kernel.org, =?utf-8?Q?Andreas_F=C3=A4rber?= , Moritz Fischer , Michal Simek , Mark Rutland , Shawn Guo , Simon Horman , linux-kernel@vger.kernel.org, Marc Zyngier Content-Transfer-Encoding: 8BIT Message-Id: <34C9E6FB-A8CA-462F-8B10-3E15F9EC87D4@suse.de> References: To: Michal Simek Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1950 Lines: 49 > Am 04.08.2017 um 15:45 schrieb Michal Simek : > > Hi, > > xilinx is using this interface for very long time and we can't merge our > driver changes to Linux because of missing communication layer with > firmware. This interface was developed before scpi and scmi was > available. In connection to power management scpi and scmi are missing > pieces which we already use. There is a separate discussion how to > extend scmi to support all our use cases. > This simply patch is not adding any power management features but only > adding minimum functionality which are needed for drivers. If you're thinking of changing the interface later down the road, wouldn't it make sense to probe EL3 for its existence? You could then expose this interface on today's EL3 and something scpi/scmi based on tomorrow's. Alex > > Thanks, > Michal > > > Michal Simek (1): > soc: xilinx: zynqmp: Add firmware interface > > Soren Brinkmann (2): > dt: xilinx: zynqmp: Add bindings for PM firmware > arm64: zynqmp: dt: Add PM firmware node > > .../bindings/soc/xilinx/xlnx,zynqmp-pm.txt | 19 + > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 7 + > drivers/soc/Kconfig | 1 + > drivers/soc/Makefile | 1 + > drivers/soc/xilinx/Kconfig | 6 + > drivers/soc/xilinx/zynqmp/Makefile | 1 + > drivers/soc/xilinx/zynqmp/firmware.c | 419 +++++++++++++++++++++ > include/linux/soc/xilinx/zynqmp/firmware.h | 246 ++++++++++++ > 8 files changed, 700 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/xilinx/xlnx,zynqmp-pm.txt > create mode 100644 drivers/soc/xilinx/Kconfig > create mode 100644 drivers/soc/xilinx/zynqmp/Makefile > create mode 100644 drivers/soc/xilinx/zynqmp/firmware.c > create mode 100644 include/linux/soc/xilinx/zynqmp/firmware.h > > -- > 1.9.1 >