diff --git a/bindings/qbt_handler/qbt_handler.txt b/bindings/qbt_handler/qbt_handler.txt new file mode 100644 index 00000000..755911fe --- /dev/null +++ b/bindings/qbt_handler/qbt_handler.txt @@ -0,0 +1,33 @@ +Qualcomm Technologies, Inc. QBT_HANDLER Specific Bindings + +QBT is a fingerprint sensor ASIC capable of performing fingerprint image scans +and detecting finger presence on the sensor using programmable firmware. + +======================= +Required Node Structure +======================= + +- compatible + Usage: required + Value type: + Definition: "qcom,qbt-handler". + +- qcom,ipc-gpio + Usage: required + Value type: + Definition: phandle for GPIO to be used for IPC. + +- qcom,finger-detect-gpio + Usage: required + Value type: + Definition: phandle for GPIO to be used for finger detect. + +======= +Example +======= + +qcom,qbt_handler { + compatible = "qcom,qbt-handler"; + qcom,ipc-gpio = <&tlmm 38 0>; + qcom,finger-detect-gpio = <&tlmm 39 0>; +}; diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index 8fc34788..852dd143 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -69,6 +69,11 @@ panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video &dsi_sw43404_amoled_fhd_plus_cmd>; }; + qcom,qbt_handler { + compatible = "qcom,qbt-handler"; + qcom,ipc-gpio = <&tlmm 38 0>; + qcom,finger-detect-gpio = <&tlmm 39 0>; + }; }; &sdhc_2 { diff --git a/qcom/lahaina-mtp.dtsi b/qcom/lahaina-mtp.dtsi index 0c4ec8d8..433c595a 100644 --- a/qcom/lahaina-mtp.dtsi +++ b/qcom/lahaina-mtp.dtsi @@ -71,6 +71,11 @@ panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video &dsi_sw43404_amoled_fhd_plus_cmd>; }; + qcom,qbt_handler { + compatible = "qcom,qbt-handler"; + qcom,ipc-gpio = <&tlmm 38 0>; + qcom,finger-detect-gpio = <&tlmm 39 0>; + }; }; &sdhc_2 { diff --git a/qcom/lahaina-qrd-common.dtsi b/qcom/lahaina-qrd-common.dtsi index 3a866967..d694a2cf 100644 --- a/qcom/lahaina-qrd-common.dtsi +++ b/qcom/lahaina-qrd-common.dtsi @@ -33,6 +33,11 @@ linux,can-disable; }; }; + qcom,qbt_handler { + compatible = "qcom,qbt-handler"; + qcom,ipc-gpio = <&tlmm 38 0>; + qcom,finger-detect-gpio = <&tlmm 39 0>; + }; }; &pm8350c_switch0 { diff --git a/qcom/lahaina-rumi.dtsi b/qcom/lahaina-rumi.dtsi index 160aad03..c5cfb872 100644 --- a/qcom/lahaina-rumi.dtsi +++ b/qcom/lahaina-rumi.dtsi @@ -85,6 +85,11 @@ 0x10060 0x3c 0x0 0x4>; }; + qcom,qbt_handler { + compatible = "qcom,qbt-handler"; + qcom,ipc-gpio = <&tlmm 38 0>; + qcom,finger-detect-gpio = <&tlmm 39 0>; + }; }; &usb2_phy0 {