Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f40d4b9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: SSC SPI device for fingerprint sensor for MSM8996"

parents cbd16188 c4538423
Loading
Loading
Loading
Loading
+48 −13
Original line number Diff line number Diff line
* QBT1000 (Qualcomm Technologies Inc Ultra-Sonic Fingerprint Sensor)

1) Main node

   Required properties:
   - compatible : Should be "qcom,qbt1000"

2) Child nodes

   The main node must have one of the two possible child nodes which describes the
   properties of sensor connection.

   a) Sensor connected to SPI port :
   Node name - qcom,fingerprint-sensor-spi-conn

   Required properties:
   - clock-names : List of clock names that need to be voted on/off
   - clocks : Property pair that represents the clock controller and the clock
              id. This in combimination with the clock-name is used to obtain
              the handle for the clock that needs to be voted on/off
   - clock-frequency : Frequency of clock in Hz

Example:
   b) Sensor connected to SSC SPI port :
   Node name - qcom,fingerprint-sensor-ssc-spi-conn

   Required properties:
   - qcom,spi-port-id : SPI port id sensor is connected to
   - qcom,spi-port-slave-index : SPI port slave index
   - qcom,tz-subsys-id : TZ subsystem-id for SCM calls
   - qcom,ssc-subsys-id : SSC subsystem-id for SCM calls
   - clock-frequency : Frequency of clock in Hz

Examples:
        qcom,qbt1000 {
                compatible = "qcom,qbt1000";
                qcom,fingerprint-sensor-spi-conn {
                        clock-names = "spi_clk", "ahb_clk";
                        clocks = <&clock_gcc clk_gcc_blsp1_qup5_spi_apps_clk>,
                        <&clock_gcc clk_gcc_blsp1_ahb_clk>;
                        clock-frequency = <15000000>;
                };
        };

        qcom,qbt1000 {
                compatible = "qcom,qbt1000";
                qcom,fingerprint-sensor-ssc-spi-conn {
                        qcom,spi-port-id = <13>;
                        qcom,spi-port-slave-index = <0>;
                        qcom,tz-subsys-id = <1>;
                        qcom,ssc-subsys-id = <5>;
                        clock-frequency = <15000000>;
                };
        };
+7 −4
Original line number Diff line number Diff line
@@ -2352,11 +2352,14 @@

	qcom,qbt1000 {
		compatible = "qcom,qbt1000";
		clock-names = "spi_clk", "ahb_clk";
		clocks = <&clock_gcc clk_gcc_blsp1_qup5_spi_apps_clk>,
			 <&clock_gcc clk_gcc_blsp1_ahb_clk>;
		qcom,fingerprint-sensor-ssc-spi-conn {
			qcom,spi-port-id = <2>;
			qcom,spi-port-slave-index = <0>;
			qcom,tz-subsys-id = <1>;
			qcom,ssc-subsys-id = <5>;
			clock-frequency = <15000000>;
		};
	};

	qcom,sensor-information {
		compatible = "qcom,sensor-information";
+756 −92

File changed.

Preview size limit exceeded, changes collapsed.