高通Android12增加自定义实体按键

1、设备树增加pinctrl

LA.UM.9.15.2/kernel/msm-4.19/arch/arm64/boot/dts/qcom/sc12x-evk/scuba-pinctrl.dtsi

&soc {
   
  	tlmm: pinctrl@500000 {
   
    	...
       gpio_key_1: gpio_key_1 {
   
        	mux {
   
          	pins = "gpio104";
            function = "gpio";
         };

          config 

你可能感兴趣的:(Android,java,linux,键盘)