From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F9AAC433ED for ; Fri, 2 Apr 2021 17:17:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 28EBB6113E for ; Fri, 2 Apr 2021 17:17:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 28EBB6113E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/8DjUJRUjISANi39yarMQ9KNOOrIP84FySCi2pqUOwc=; b=kaRhPiyBaq67U9ERDWTdSyca9 7TFwvnwVp4cRtG14IcbygfUwJgiKtTSEjrY6OYK1ObIJtGWatNrg4GKybZsZQhNtqmxweydfpkhhU HBsQ7xXiRyZhHFbhhxdnc3xDh4071z9aEd/9GViwBwLEzvcyir7Ucf9kD7/YgvI0Hhz+5nuTyvcEY 8XQoHDAVt3uQVWuUaU4Vz4ST7Maux9XBxFACVKaj2Lnt2aILydglimY0B5SmSpu53DBNIA1W3cAwM dvVQLKb8SRHLSL2VpojSTap08zyCXkvZVSvMc3jkE1tyU8tjnkjEH/1Mq3Ml87guw5c28lKureHIG 4wxLHNM3w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lSNOg-00DU1E-KM; Fri, 02 Apr 2021 17:15:50 +0000 Received: from mail-pj1-f46.google.com ([209.85.216.46]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lSNOb-00DU0N-Ol for linux-arm-kernel@lists.infradead.org; Fri, 02 Apr 2021 17:15:47 +0000 Received: by mail-pj1-f46.google.com with SMTP id kr3-20020a17090b4903b02900c096fc01deso2838370pjb.4 for ; Fri, 02 Apr 2021 10:15:40 -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; bh=UvIP879InQBCjMJDIitep6BsYoi5bmmOhvQA8lKUHK0=; b=qM0HNwoqPcv7L3d2ChP0mISu/o1XswwIR8ht5Uh3EDvzGmszHBPWyUC0rG4Ecu4V+a RF51rXSS2A+q5StnEmLzN1uqjGDtDw5126qfcw7X7pjehKXns33gY4jVUxVmjhh0ogsX SpdKElciVpMYuMMXVQu+Ba7dys7CDjHuwL+5baQul2J9gT0jEN8Cbv6NLoQtb2d9SYQh GvcpQeBQZlG6HcFaTfFjwjO+6zqD3+IlsPd02rEPbGrwsZrFJOEIt2rq1I+InBnbVO7a mqF9LwED5NO9Ow4SOg2oOMtriJc7ARWf7DqhbmE2z10T0x1aBdAsmoDpv2X5zu/maydS 8juw== X-Gm-Message-State: AOAM530z/rCq/XeZJ8Sf9yhiLWbNoYWMCxnUvQtRjN/4kONAXEJ2tQdc vLkQZ1mBb7UixvYBX+HqJv23SbPDpKs= X-Google-Smtp-Source: ABdhPJx+Hj0T3OLrIl0onRUSaCk9IlLMmDj6Vf6tZMxy/WkPxEEeOYtG2tzKgL5NnRcVVqiZhZ4hDg== X-Received: by 2002:a17:90a:bb07:: with SMTP id u7mr14846496pjr.49.1617383739652; Fri, 02 Apr 2021 10:15:39 -0700 (PDT) Received: from localhost ([2601:647:5b00:1161:a4cc:eef9:fbc0:2781]) by smtp.gmail.com with ESMTPSA id q22sm7915406pfk.2.2021.04.02.10.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 10:15:38 -0700 (PDT) Date: Fri, 2 Apr 2021 10:15:38 -0700 From: Moritz Fischer To: Nava kishore Manne Cc: mdf@kernel.org, trix@redhat.com, robh+dt@kernel.org, michal.simek@xilinx.com, linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, git@xilinx.com Subject: Re: [PATCH 2/3] fpga: region: Add fpga-region property 'power-domains' Message-ID: References: <20210402092049.479-1-nava.manne@xilinx.com> <20210402092049.479-3-nava.manne@xilinx.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210402092049.479-3-nava.manne@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210402_181545_946912_B4E6DEED X-CRM114-Status: GOOD ( 17.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 02, 2021 at 02:50:48PM +0530, Nava kishore Manne wrote: > Add fpga-region property 'power-domains' to allow to handle > the FPGA/PL power domins. > > dt-bindings: fpga: Enable PM generic domain support > > Signed-off-by: Nava kishore Manne > --- > .../devicetree/bindings/fpga/fpga-region.txt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/Documentation/devicetree/bindings/fpga/fpga-region.txt b/Documentation/devicetree/bindings/fpga/fpga-region.txt > index e811cf825019..969ca53bb65e 100644 > --- a/Documentation/devicetree/bindings/fpga/fpga-region.txt > +++ b/Documentation/devicetree/bindings/fpga/fpga-region.txt > @@ -196,6 +196,20 @@ Optional properties: > - config-complete-timeout-us : The maximum time in microseconds time for the > FPGA to go to operating mode after the region has been programmed. > - child nodes : devices in the FPGA after programming. > +- power-domains : A phandle and PM domain specifier as defined by bindings of > + the power controller specified by phandle. > +Example: > + fpga_full: fpga-full { > + compatible = "fpga-region"; > + fpga-mgr = <&zynqmp_pcap>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + power-domains = <&zynqmp_firmware PL_PD>; > + }; > + > + The PL_PD power domain will be turned on before loading the bitstream > +and turned off while removing/unloading the bitstream using overlays. Can multiple regions share a power-domain or is this specific to full fpga reconfiguration? - Moritz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel