mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-30 07:38:52 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										35
									
								
								Documentation/devicetree/bindings/net/nfc/pn544.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								Documentation/devicetree/bindings/net/nfc/pn544.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,35 @@ | |||
| * NXP Semiconductors PN544 NFC Controller | ||||
| 
 | ||||
| Required properties: | ||||
| - compatible: Should be "nxp,pn544-i2c". | ||||
| - clock-frequency: I²C work frequency. | ||||
| - reg: address on the bus | ||||
| - interrupt-parent: phandle for the interrupt gpio controller | ||||
| - interrupts: GPIO interrupt to which the chip is connected | ||||
| - enable-gpios: Output GPIO pin used for enabling/disabling the PN544 | ||||
| - firmware-gpios: Output GPIO pin used to enter firmware download mode | ||||
| 
 | ||||
| Optional SoC Specific Properties: | ||||
| - pinctrl-names: Contains only one value - "default". | ||||
| - pintctrl-0: Specifies the pin control groups used for this controller. | ||||
| 
 | ||||
| Example (for ARM-based BeagleBone with PN544 on I2C2): | ||||
| 
 | ||||
| &i2c2 { | ||||
| 
 | ||||
| 	status = "okay"; | ||||
| 
 | ||||
| 	pn544: pn544@28 { | ||||
| 
 | ||||
| 		compatible = "nxp,pn544-i2c"; | ||||
| 
 | ||||
| 		reg = <0x28>; | ||||
| 		clock-frequency = <400000>; | ||||
| 
 | ||||
| 		interrupt-parent = <&gpio1>; | ||||
| 		interrupts = <17 GPIO_ACTIVE_HIGH>; | ||||
| 
 | ||||
| 		enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; | ||||
| 		firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; | ||||
| 	}; | ||||
| }; | ||||
							
								
								
									
										33
									
								
								Documentation/devicetree/bindings/net/nfc/st21nfca.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Documentation/devicetree/bindings/net/nfc/st21nfca.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| * STMicroelectronics SAS. ST21NFCA NFC Controller | ||||
| 
 | ||||
| Required properties: | ||||
| - compatible: Should be "st,st21nfca_i2c". | ||||
| - clock-frequency: I²C work frequency. | ||||
| - reg: address on the bus | ||||
| - interrupt-parent: phandle for the interrupt gpio controller | ||||
| - interrupts: GPIO interrupt to which the chip is connected | ||||
| - enable-gpios: Output GPIO pin used for enabling/disabling the ST21NFCA | ||||
| 
 | ||||
| Optional SoC Specific Properties: | ||||
| - pinctrl-names: Contains only one value - "default". | ||||
| - pintctrl-0: Specifies the pin control groups used for this controller. | ||||
| 
 | ||||
| Example (for ARM-based BeagleBoard xM with ST21NFCA on I2C2): | ||||
| 
 | ||||
| &i2c2 { | ||||
| 
 | ||||
| 	status = "okay"; | ||||
| 
 | ||||
| 	st21nfca: st21nfca@1 { | ||||
| 
 | ||||
| 		compatible = "st,st21nfca_i2c"; | ||||
| 
 | ||||
| 		reg = <0x01>; | ||||
| 		clock-frequency = <400000>; | ||||
| 
 | ||||
| 		interrupt-parent = <&gpio5>; | ||||
| 		interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | ||||
| 
 | ||||
| 		enable-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; | ||||
| 	}; | ||||
| }; | ||||
							
								
								
									
										33
									
								
								Documentation/devicetree/bindings/net/nfc/st21nfcb.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Documentation/devicetree/bindings/net/nfc/st21nfcb.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| * STMicroelectronics SAS. ST21NFCB NFC Controller | ||||
| 
 | ||||
| Required properties: | ||||
| - compatible: Should be "st,st21nfcb_i2c". | ||||
| - clock-frequency: I²C work frequency. | ||||
| - reg: address on the bus | ||||
| - interrupt-parent: phandle for the interrupt gpio controller | ||||
| - interrupts: GPIO interrupt to which the chip is connected | ||||
| - reset-gpios: Output GPIO pin used to reset the ST21NFCB | ||||
| 
 | ||||
| Optional SoC Specific Properties: | ||||
| - pinctrl-names: Contains only one value - "default". | ||||
| - pintctrl-0: Specifies the pin control groups used for this controller. | ||||
| 
 | ||||
| Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2): | ||||
| 
 | ||||
| &i2c2 { | ||||
| 
 | ||||
| 	status = "okay"; | ||||
| 
 | ||||
| 	st21nfcb: st21nfcb@8 { | ||||
| 
 | ||||
| 		compatible = "st,st21nfcb_i2c"; | ||||
| 
 | ||||
| 		reg = <0x08>; | ||||
| 		clock-frequency = <400000>; | ||||
| 
 | ||||
| 		interrupt-parent = <&gpio5>; | ||||
| 		interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; | ||||
| 
 | ||||
| 		reset-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; | ||||
| 	}; | ||||
| }; | ||||
							
								
								
									
										44
									
								
								Documentation/devicetree/bindings/net/nfc/trf7970a.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								Documentation/devicetree/bindings/net/nfc/trf7970a.txt
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,44 @@ | |||
| * Texas Instruments TRF7970A RFID/NFC/15693 Transceiver | ||||
| 
 | ||||
| Required properties: | ||||
| - compatible: Should be "ti,trf7970a". | ||||
| - spi-max-frequency: Maximum SPI frequency (<= 2000000). | ||||
| - interrupt-parent: phandle of parent interrupt handler. | ||||
| - interrupts: A single interrupt specifier. | ||||
| - ti,enable-gpios: Two GPIO entries used for 'EN' and 'EN2' pins on the | ||||
|   TRF7970A. | ||||
| - vin-supply: Regulator for supply voltage to VIN pin | ||||
| 
 | ||||
| Optional SoC Specific Properties: | ||||
| - pinctrl-names: Contains only one value - "default". | ||||
| - pintctrl-0: Specifies the pin control groups used for this controller. | ||||
| - autosuspend-delay: Specify autosuspend delay in milliseconds. | ||||
| - vin-voltage-override: Specify voltage of VIN pin in microvolts. | ||||
| - irq-status-read-quirk: Specify that the trf7970a being used has the | ||||
|   "IRQ Status Read" erratum. | ||||
| - en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF" | ||||
|   erratum. | ||||
| 
 | ||||
| Example (for ARM-based BeagleBone with TRF7970A on SPI1): | ||||
| 
 | ||||
| &spi1 { | ||||
| 	status = "okay"; | ||||
| 
 | ||||
| 	nfc@0 { | ||||
| 		compatible = "ti,trf7970a"; | ||||
| 		reg = <0>; | ||||
| 		pinctrl-names = "default"; | ||||
| 		pinctrl-0 = <&trf7970a_default>; | ||||
| 		spi-max-frequency = <2000000>; | ||||
| 		interrupt-parent = <&gpio2>; | ||||
| 		interrupts = <14 0>; | ||||
| 		ti,enable-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>, | ||||
| 				  <&gpio2 5 GPIO_ACTIVE_LOW>; | ||||
| 		vin-supply = <&ldo3_reg>; | ||||
| 		vin-voltage-override = <5000000>; | ||||
| 		autosuspend-delay = <30000>; | ||||
| 		irq-status-read-quirk; | ||||
| 		en2-rf-quirk; | ||||
| 		status = "okay"; | ||||
| 	}; | ||||
| }; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228