Jetson TK1: Additional SPI chip selects

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

 



Hi,

I'm running a Jetson TK1 on mainline Linux. To enable userspace SPI, I
modified the device-tree by:

 /* Expansion TS_SPI_* */
 spi@7000d400 {
 	status = "okay";
+ 	spidev@0 {
+		compatible = "spidev";
+		reg = <0>;
+		spi-max-frequency = <25000000>;
+	};
 };

This works fine. Is it possible to use arbitrary GPIOs as additional
chip-selects?

What would I have to do If I'd like to add PU0 or PU1 (sysfs
gpio160/161) as chip-selects?

Anything helps!

Cheers
  Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux