Received: by 10.223.185.116 with SMTP id b49csp5579629wrg; Wed, 7 Mar 2018 14:22:51 -0800 (PST) X-Google-Smtp-Source: AG47ELt52Ps+dio9SviWW9eJq9QuRhjz5ufArxbLO/pvLe+XfFN93Seay9Zh8iZa4Sa5YwC4jw13 X-Received: by 10.98.152.205 with SMTP id d74mr24224883pfk.115.1520461371689; Wed, 07 Mar 2018 14:22:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520461371; cv=none; d=google.com; s=arc-20160816; b=RXB3Xz16B8Wy8WW0/6QvhGnsk1wAzNXpLFbhNduzJ+7qDTeDKJCOL3gJ/iEb05+mYq JBvIqimxVSz+sxOGZ/ViKQEiYnLowOIws2StmdHOtSjXA//RXProv0uqWDAWsRc+ELYN Lu9K5jKUoOnrwYhEfXYe+SVdkkeubWGEastprsqWP1HSTdNLbhVnPocZTaXbmBy0frZM Rpv/li+qyFSeFNQHJW9a++1+dtEkjk9RBnAWPjEklnthdPrx10eBWtW22HLXhYnJdyaR 2VujT/5kW/1Nxg6O7D52BKM8j1ng0vnNnwRD8bLOv94oHjWAOf7IFD8wSklwgzu4N19E G5aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=M0RhvbsH9F8pSdIf27NuyDxBpCz8Y9CvSrUmz3KJiH0=; b=vV4XX7ECpQjhzTBulBiWundUESEdcIteWRRoA2iCwABqZ+oj8QiWOcZmynIZq0G436 LpkZVE++2Ijh9avDIrtpHTKLXGuRN5Ui3X87CzUlo0r59jKg/8rhmjb8RN4qgqGX7I4y KBymONEXP/EGY+NA6mZTUXMPNOtphW5LgtQNF7tPJ7WMuTHke2f8Wm8f1sgF6aC4CjEv rryaZNfZCJTOm9S3cJb3CujLfrQGOlB8tpJBHl2MBki9OlLqK3Ft8SBHLtaR6Rw+wCAn mf7ZW5hEgX8jc6sr1y8BNE8UESUGBuyzvSidp03HDBFPyV20nCh3+VcjWbBfgKiaBwWv P1Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si13659773ply.552.2018.03.07.14.22.37; Wed, 07 Mar 2018 14:22:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754900AbeCGWVZ (ORCPT + 99 others); Wed, 7 Mar 2018 17:21:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:45110 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754039AbeCGWVX (ORCPT ); Wed, 7 Mar 2018 17:21:23 -0500 Received: from mail-ua0-f177.google.com (mail-ua0-f177.google.com [209.85.217.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F0E5D2177B; Wed, 7 Mar 2018 22:21:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0E5D2177B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=atull@kernel.org Received: by mail-ua0-f177.google.com with SMTP id m43so2594120uah.1; Wed, 07 Mar 2018 14:21:22 -0800 (PST) X-Gm-Message-State: APf1xPBKluEz/ldokYgnSq4OA782CmVUDlk2xTRLrAZ8s9UC41Ui2q3+ Lr5nEGKfbXtXbaBVmrTrz438PRYY9JDMawLVPkY= X-Received: by 10.159.49.27 with SMTP id m27mr18072463uab.169.1520461282036; Wed, 07 Mar 2018 14:21:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.60.71 with HTTP; Wed, 7 Mar 2018 14:20:41 -0800 (PST) In-Reply-To: <20180307194745.657ewa6rtcta6eqm@rob-hp-laptop> References: <1519949975-13548-1-git-send-email-richard.gong@linux.intel.com> <1519949975-13548-5-git-send-email-richard.gong@linux.intel.com> <20180307194745.657ewa6rtcta6eqm@rob-hp-laptop> From: Alan Tull Date: Wed, 7 Mar 2018 16:20:41 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv2 4/7] dt-bindings: fpga: add Stratix10 SoC FPGA manager binding To: Rob Herring Cc: Richard Gong , catalin.marinas@arm.com, will.deacon@arm.com, Dinh Nguyen , Mark Rutland , Moritz Fischer , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-fpga@vger.kernel.org, Yves Vandervennet Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 7, 2018 at 1:47 PM, Rob Herring wrote: > On Thu, Mar 01, 2018 at 06:19:32PM -0600, richard.gong@linux.intel.com wrote: >> From: Alan Tull >> >> Add a Device Tree binding for the Intel Stratix10 SoC FPGA manager. >> >> Signed-off-by: Alan Tull >> --- >> v2: this patch is added in patch set version 2 >> --- >> .../devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt >> >> diff --git a/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt >> new file mode 100644 >> index 0000000..78de689 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt >> @@ -0,0 +1,10 @@ >> +Intel Stratix10 SoC FPGA Manager >> + >> +Required properties: >> +- compatible : should contain "intel,stratix10-soc-fpga-mgr" >> + >> +Example: >> + >> + fpga_mgr: fpga-mgr@0 { >> + compatible = "intel,stratix10-soc-fpga-mgr"; > > No reg or anything else? Is that because it all goes thru the service > layer firmware? Yes. There will be a few more clients of the service layer: QSPI, Crypto and warm reset. > Just get the service layer driver to instantiate a > device for this driver or get rid of the 2 layers if that's all the > firmware interface does. DT is not a Linux driver instantiation > mechanism. Right, this should be describing hardware. I could add this to the service layer binding: firmware { svc { compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; fpga-mgr { compatible = "intel,stratix10-soc-fpga-mgr"; }; }; }; > > And build your dts files with "W=1" because there's an error in this > example. Ouch. Yes. Warning (unit_address_vs_reg): Node /soc/fpga-mgr@0 has a unit name, but no reg property Thanks for the review, Alan > > Rob