From: stillcompiling@gmail.com (Joshua Clayton)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi
Date: Mon, 23 Jan 2017 16:38:39 -0800 [thread overview]
Message-ID: <56ebc91c-18e3-5d55-b8e3-af45ac182a97@gmail.com> (raw)
In-Reply-To: <CAOMZO5AmQhjGOa2NaFn0Az4Xnza8jmK=9gpPJpnkmAvN_zxzeA@mail.gmail.com>
On 01/23/2017 04:00 PM, Fabio Estevam wrote:
> On Mon, Jan 23, 2017 at 8:51 PM, Joshua Clayton
> <stillcompiling@gmail.com> wrote:
>> Add support for Altera cyclone V FPGA connected to an spi port
>> to the evi devicetree file
>>
>> Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
>> ---
>> arch/arm/boot/dts/imx6q-evi.dts | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts
>> index 24fe093..a0cbb2d 100644
>> --- a/arch/arm/boot/dts/imx6q-evi.dts
>> +++ b/arch/arm/boot/dts/imx6q-evi.dts
>> @@ -82,6 +82,15 @@
>> pinctrl-names = "default";
>> pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1cs>;
>> status = "okay";
>> +
>> + fpga_spi: cyclonespi at 0 {
>> + compatible = "altr,fpga-passive-serial";
>> + spi-max-frequency = <20000000>;
>> + reg = <0>;
>> + pinctrl-0 = <&pinctrl_fpgaspi>;
>> + nconfig-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
>> + nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
> Your binding doc says that 'confd-gpios ' is a required property, but
> you did not put it here.
>
> Either it is missing here or you should mention that it is optional in
> the binding doc.
You're right, Fabio.
The barebox driver from which I stole the binding had a confd and no nstat.
I've got an nstat and no confd.
One or the other is needed to know whether the bitstream was loaded.
I can add support for using the confd, but with no way to test it, I forebear.
I guess they should both be optional and a note placed that this driver
currently uses only the nstat.
Will change the doc to reflect that.
prev parent reply other threads:[~2017-01-24 0:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 22:51 [PATCH v8 0/3] Altera Cyclone Passive Serial SPI FPGA Manager Joshua Clayton
2017-01-23 22:51 ` [PATCH v8 1/3] doc: dt: add cyclone-ps-spi binding document Joshua Clayton
2017-01-23 22:51 ` [PATCH v8 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs Joshua Clayton
2017-01-23 22:51 ` [PATCH v8 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi Joshua Clayton
2017-01-24 0:00 ` Fabio Estevam
2017-01-24 0:38 ` Joshua Clayton [this message]
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=56ebc91c-18e3-5d55-b8e3-af45ac182a97@gmail.com \
--to=stillcompiling@gmail.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).