Re: [PATCH v2 2/2] fpga manager: Add Xilinx slave serial SPI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 21 Feb 2017 16:27:34 +0100
Michal Simek michal.simek@xxxxxxxxxx wrote:
...
>ok. That means only dout (din fpga) and clk out (fpga clk in) and gpio
>handling for others signals.

yes, exactly.

...
>> Usage example for full FPGA configuration:
>> 
>> fpga-region0 {
>> 	compatible = "fpga-region";
>> 	fpga-mgr = <&fpga_mgr_spi>;
>> 	#address-cells = <0x1>;
>> 	#size-cells = <0x1>;
>> };
>> 
>> &spi1 {
>> 	status = "okay";
>> 
>> 	fpga_mgr_spi: fpga-mgr@0 {
>> 		compatible = "xlnx,fpga-slave-serial";
>> 		reg = <0>;
>> 		spi-max-frequency = <60000000>;
>> 		spi-cpha;
>> 		done-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
>> 		prog_b-gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
>> 	};
>> };   
>
>Right I would even replace &spi1 with full node to see content but this
>is also good.

Okay, will add in patch v3.

Thanks,
Anatolij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux