ARM: ux500: Rename gpio_keys in the Device Tree file
Ensure each button is individually identifiable by using their correct unique given device names. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
		
					parent
					
						
							
								b55ac4ea96
							
						
					
				
			
			
				commit
				
					
						3f3ed40060
					
				
			
		
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -36,28 +36,28 @@
 | 
				
			||||||
			debounce_interval = <50>;
 | 
								debounce_interval = <50>;
 | 
				
			||||||
			wakeup = <1>;
 | 
								wakeup = <1>;
 | 
				
			||||||
			linux,code = <3>;
 | 
								linux,code = <3>;
 | 
				
			||||||
			label = "userpb";
 | 
								label = "extkb1";
 | 
				
			||||||
			gpios = <&gpio4 23 0>;
 | 
								gpios = <&gpio4 23 0>;
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
		button@3 {
 | 
							button@3 {
 | 
				
			||||||
			debounce_interval = <50>;
 | 
								debounce_interval = <50>;
 | 
				
			||||||
			wakeup = <1>;
 | 
								wakeup = <1>;
 | 
				
			||||||
			linux,code = <4>;
 | 
								linux,code = <4>;
 | 
				
			||||||
			label = "userpb";
 | 
								label = "extkb2";
 | 
				
			||||||
			gpios = <&gpio4 24 0>;
 | 
								gpios = <&gpio4 24 0>;
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
		button@4 {
 | 
							button@4 {
 | 
				
			||||||
			debounce_interval = <50>;
 | 
								debounce_interval = <50>;
 | 
				
			||||||
			wakeup = <1>;
 | 
								wakeup = <1>;
 | 
				
			||||||
			linux,code = <5>;
 | 
								linux,code = <5>;
 | 
				
			||||||
			label = "userpb";
 | 
								label = "extkb3";
 | 
				
			||||||
			gpios = <&gpio5 1 0>;
 | 
								gpios = <&gpio5 1 0>;
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
		button@5 {
 | 
							button@5 {
 | 
				
			||||||
			debounce_interval = <50>;
 | 
								debounce_interval = <50>;
 | 
				
			||||||
			wakeup = <1>;
 | 
								wakeup = <1>;
 | 
				
			||||||
			linux,code = <6>;
 | 
								linux,code = <6>;
 | 
				
			||||||
			label = "userpb";
 | 
								label = "extkb4";
 | 
				
			||||||
			gpios = <&gpio5 2 0>;
 | 
								gpios = <&gpio5 2 0>;
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue