[PATCH 0/3] *** MAX310X ***

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

 



*** With this patch the MAX310X driver can be used with multiple max310x ***
*** its possible to disable gpio with the property no-gpio ***
*** it's possible to set the frequency that will be configured in the max310X ( don't used this property if it's not an external clock: Xin is connected to a clock, and Xout is not connected) ****

Example :

&spi1{
	#address-cells = <1>;
	#size-cells = <0>;

	pinctrl-names = "default";
	pinctrl-0 = <&bb_spi1_pins>;
	status = "okay";
	
	ti,pindir-d0-out-d1-in;
		
	max3107a: max3107a@0 {
		compatible = "maxim,max3107";
		reg = <0>;
        	clock-frequency = <1843200>;
		interrupt-parent = <&gpio1>;
		interrupts =<7 IRQ_TYPE_EDGE_FALLING>;
		gpio-controller;
		spi-max-frequency = <4000000>;
		status = "okay";
	};
	
	max3107b: max3107b@1 {
		compatible = "maxim,max3107";
		reg = <1>;
		clock-frequency = <1843200>;
		interrupt-parent = <&gpio2>;
		interrupts=<5 IRQ_TYPE_EDGE_FALLING>;
		spi-max-frequency = <4000000>;
		status = "okay";
	};
	
};


michael musset (3):
  max310x multi device

 drivers/tty/serial/max310x.c | 236 ++++++++++++++++++++++++++-----------------
 1 file changed, 143 insertions(+), 93 deletions(-)

-- 
1.9.1

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



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux