From: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
To: Moritz Fischer <moritz.fischer@ettus.com>
Cc: michal.simek@xilinx.com, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
galak@codeaurora.org, linux@arm.linux.org.uk,
dinguyen@opensource.altera.com, atull@opensource.altera.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org
Subject: Re: [PATCH 1/3] doc: dt: fpga: Added Documentation for Xilinx Zynq FPGA manager.
Date: Mon, 12 Oct 2015 09:33:41 -0700 [thread overview]
Message-ID: <20151012163341.GK15287@xsjsorenbubuntu> (raw)
In-Reply-To: <1444344307-22509-2-git-send-email-moritz.fischer@ettus.com>
On Fri, 2015-10-09 at 12:45AM +0200, Moritz Fischer wrote:
> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
> ---
> .../bindings/fpga/xilinx-zynq-fpga-mgr.txt | 26 ++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt
>
> diff --git a/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt
> new file mode 100644
> index 0000000..82ffda8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt
> @@ -0,0 +1,26 @@
> +Xilinx Zynq FPGA Manager
> +
> +Required properties:
> +- compatible: should contain "xlnx,zynq-devcfg-1.0"
> +- reg: base address and size for memory mapped io
> +- interrupt parent: interrupt source phandle
> +- interrupts: interrupt for the FPGA manager device
> +- clocks: phandle for clocks required operation
> +- syscon: phandle for access to SLCR registers
> +
> +Optional properties:
> +- clock-names: names for clocks
Is it optional? Currently, there is only one clock input, so a match
without specifying a clock name should work making this optional. But in
your implementation, you do specify a clock name in devm_clk_get(). I'm
not entirely sure, but that call might fail if it doesn't find the
corresponding clock-names property.
I think, either we should make this required and list the required
entries here. Or the implementation probably needs to drop the clock
name when looking up its input clock.
Sören
next prev parent reply other threads:[~2015-10-12 16:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 22:45 [PATCH 0/3] Adding Xilinx Zynq 7000 FPGA Manager driver Moritz Fischer
2015-10-08 22:45 ` [PATCH 1/3] doc: dt: fpga: Added Documentation for Xilinx Zynq FPGA manager Moritz Fischer
2015-10-09 16:04 ` Josh Cartwright
2015-10-12 9:31 ` Michal Simek
2015-10-12 20:41 ` Moritz Fischer
2015-10-12 16:33 ` Sören Brinkmann [this message]
2015-10-12 21:24 ` Moritz Fischer
2015-10-08 22:45 ` [PATCH 2/3] dts: Updated devicetree bindings for Zynq 7000 platform Moritz Fischer
2015-10-12 9:32 ` Michal Simek
2015-10-14 2:50 ` Moritz Fischer
[not found] ` <CAAtXAHfRt-6+Hs=DTUDg1_2vxHo213ut_DWgH8Uq2xMuRp+e_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-14 7:03 ` Michal Simek
[not found] ` <1444344307-22509-3-git-send-email-moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org>
2015-10-12 16:19 ` Sören Brinkmann
2015-10-08 22:45 ` [PATCH 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000 Moritz Fischer
[not found] ` <1444344307-22509-4-git-send-email-moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org>
2015-10-09 16:33 ` Josh Cartwright
2015-10-09 17:17 ` Moritz Fischer
2015-10-12 11:16 ` Michal Simek
2015-10-12 12:22 ` Mike Looijmans
[not found] ` <561BA60C.6010106-Oq418RWZeHk@public.gmane.org>
2015-10-12 12:38 ` Michal Simek
2015-10-13 5:33 ` Mike Looijmans
[not found] ` <561C979B.6040201-Oq418RWZeHk@public.gmane.org>
2015-10-13 12:52 ` Michal Simek
2015-10-09 18:09 ` atull
2015-10-09 18:16 ` Greg KH
2015-10-09 18:23 ` atull
2015-10-12 2:22 ` Moritz Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151012163341.GK15287@xsjsorenbubuntu \
--to=soren.brinkmann@xilinx.com \
--cc=atull@opensource.altera.com \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@opensource.altera.com \
--cc=galak@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=michal.simek@xilinx.com \
--cc=moritz.fischer@ettus.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox