Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3931833yba; Mon, 29 Apr 2019 10:50:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4HI247IiTkQzwTwlBdt78dmrAUs55pIkx2k8nJEN9Avg/AzHVINwVcaQz1qhZsLtyHRT2 X-Received: by 2002:a63:6ac1:: with SMTP id f184mr61772043pgc.25.1556560254076; Mon, 29 Apr 2019 10:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556560254; cv=none; d=google.com; s=arc-20160816; b=b1hXaDjgRuf8OzEhNIEBjzVsUVgoMsNCwduRH+R+DooZanBkwzOBsM7G+rYx8Lzr+g QZxeOEtVvrjHvMAX5TxKjYLpGXM4jryVcw+G52lnZ7ajwHtrWA0SNK2e6CLmHE+Ga4QU CJ13Oo27orggPukoAtX3FRsBZn76BpClo6VHQSBvisLKvWOgKDN+tb0D/zvdw2U9XgDa adDjscsrP1aKlpmTliS24d6V5cbFtehgKx4/67rPafblUO8jVM1VxnchnSTpffR8oSQK fWjbSTH4KxrWsJ9BpkVsqelQ9YwHkuvfhdu6geZ/s1MY5LTgc/Lsfdbf1LApWT2NKguT oNig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eZFE5rOYc7aUDrk0hdPVUsnyCLMzSmYtEJdwfTLpnBA=; b=GlHevcJGMAusAaTGfECsnSZXkzdyJI6WFogC4UsqoeJ5vJWGawLYm4Zi9r/LwdMBWt GGRk5shu7zqwlXKOILkpnk+mr4WjFKMi/xVCoZJSluS33Rnhi6bbbWssvuk5mHIA//1P /YMgt9SnfEOSlhBpfvuCornhRGJ6tl62sF1unb545cDfYHymhqeUhycSTsW69543cNJx mE8iG9hKSJ0gji/yb5jvllfvf4MK6xolnp3kV0HkisE+uFOX9VE/REuV+pGob/XTCFAM /CTzMswEHNJwqeF6Q64KPW6QzV1pWzalnnaSB9XFl7qJ8aEuqrrsDzORGuM81amXSxes UKnw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si6610242plc.106.2019.04.29.10.50.37; Mon, 29 Apr 2019 10:50:54 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728908AbfD2RsX (ORCPT + 99 others); Mon, 29 Apr 2019 13:48:23 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:39078 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728748AbfD2RsX (ORCPT ); Mon, 29 Apr 2019 13:48:23 -0400 Received: by mail-ot1-f66.google.com with SMTP id o39so9438726ota.6; Mon, 29 Apr 2019 10:48:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=eZFE5rOYc7aUDrk0hdPVUsnyCLMzSmYtEJdwfTLpnBA=; b=YWCeHmIVWTl/QvwU4N8KLYWfQckvznEHYecOBLbmTObdq8p4TOiKvTrZJ23P5RN689 Si0EFXy+D6oeXcEJSaBtvJutwk/UAfu5AT8+DQxwGVtAUoMf5vhjRplYikEscdRcTQ+V MsVlxf/w/svYJepjIAyI/tCDCvCANk8Zf1vviZ+dE58w+DVeTZ6VIFS/TO5u5u6+l1BB yOtnJ1BlhYpqQfUL9m6iAOI7Y0S6BJciE6ps7JnrtKrCRZEwwPcvkiTFwuYRW12zX0J6 pP8e3FDfT9MNrWbp745LCDJCCbw46pB8CjjuhKDigUJOsdaYVmxqEEY2XpFdV1hoaZDo ItmA== X-Gm-Message-State: APjAAAWiH6i5r5aLGzjxlM0NAScZ/mF14+QN7YOT1pV8TBI3ePiTx47B jKyDiH/9TxSe3rNsHr8RYQ== X-Received: by 2002:a9d:68c6:: with SMTP id i6mr15444685oto.330.1556560102605; Mon, 29 Apr 2019 10:48:22 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w5sm7766257oib.6.2019.04.29.10.48.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 10:48:21 -0700 (PDT) Date: Mon, 29 Apr 2019 12:48:21 -0500 From: Rob Herring To: richard.gong@linux.intel.com Cc: gregkh@linuxfoundation.org, mark.rutland@arm.com, dinguyen@kernel.org, atull@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Richard Gong Subject: Re: [PATCHv1 2/6] dt-bindings, firmware: add Intel Stratix10 remote system update binding Message-ID: <20190429174821.GA22717@bogus> References: <1554835562-25056-1-git-send-email-richard.gong@linux.intel.com> <1554835562-25056-3-git-send-email-richard.gong@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554835562-25056-3-git-send-email-richard.gong@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 09, 2019 at 01:45:58PM -0500, richard.gong@linux.intel.com wrote: > From: Richard Gong > > Add a device tree binding for the Intel Stratix10 remote system > update (RSU) driver > > Signed-off-by: Richard Gong > Reviewed-by: Alan Tull > --- > .../bindings/firmware/intel,stratix10-rsu.txt | 31 ++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 Documentation/devicetree/bindings/firmware/intel,stratix10-rsu.txt > > diff --git a/Documentation/devicetree/bindings/firmware/intel,stratix10-rsu.txt b/Documentation/devicetree/bindings/firmware/intel,stratix10-rsu.txt > new file mode 100644 > index 0000000..b6250eb > --- /dev/null > +++ b/Documentation/devicetree/bindings/firmware/intel,stratix10-rsu.txt > @@ -0,0 +1,31 @@ > +Intel Remote System Update Driver for Stratix10 SoC > +============================================ > +The Intel Remote System Update (RSU) driver exposes interfaces > +accessed through the Intel Service Layer to user space via sysfs > +interface. The RSU interfaces report and control some of the optional > +RSU features on Intel Stratix 10 SoC. > + > +The RSU feature provides a way for customers to update the boot > +configuration of a Intel Stratix 10 SoC device with significantly reduced > +risk of corrupting the bitstream storage and bricking the system. > + > +Required properties: > +------------------- > +The rsu node has the following mandatory properties, must be located under > +the firmware/svc node. > + > +- compatible: "intel,stratix10-rsu" > + > +Example: > +------- > + firmware { > + svc { > + compatible = "intel,stratix10-svc"; > + method = "smc"; > + memory-region = <&service_reserved>; > + > + rsu: rsu { > + compatible = "intel,stratix10-rsu"; There's no DT resources, so why does this need to be in DT. Just make the driver for the parent instantiate the driver for this. Rob