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

Commit fb23f95c authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge f3418f2a on remote branch

Change-Id: If163749b57243e8df21222ba41aa72a6559367eb
parents 77d1acf4 f3418f2a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ Qualcomm Technologies, Inc. Graphics Clock & Reset Controller Binding

Required properties :
- compatible: shall contain one of the following:
		"qcom,gpucc-kona"
		"qcom,gpucc-kona",
		"qcom,gpucc-kona-v2",
		"qcom,lito-gpucc".
		"qcom,bengal-gpucc"
		"qcom,lagoon-gpucc".
+5 −0
Original line number Diff line number Diff line
@@ -23,8 +23,13 @@ Only for qcom,devfreq-fw:
			  table.
			- "perf-base": address of register to request a
			  frequency.
			Optional register region:
			- "pstate-base": address of register to request
			  for current performance state (Mandatory if
			  qcom,support-panic-notifier property is added).
Optional properties:
- qcom,ftbl-row-size:    Size of the LUT row size.
- qcom,support-panic-notifier:	Support for panic notifier for l3-domain.

Example:

+68 −0
Original line number Diff line number Diff line
FocalTech touch controller

The focaltech controller is connected to host processor via i2c. The controller generates interrupts when the user touches the panel. The host controller is expected to read the touch coordinates over i2c and pass the coordinates to the rest of the system.

Required properties:
 - compatible		: should be "focaltech,fts_ts"
 - reg			: i2c slave address of the device, should be <0x38>; For spi interface, means cs number, always be 0
 - interrupt-parent	: parent of interrupt
 - interrupts		: irq gpio, "0x02" stands for that the irq triggered by falling edge.
 - focaltech,irq-gpio	: irq gpio, same as "interrupts" node.
 - focaltech,reset-gpio	: reset gpio
 - focaltech,num-max-touches	: maximum number of touches support
 - focaltech,display-coords 	: display resolution in pixels. A four tuple consisting of minX, minY, maxX and maxY.

Optional properties:
 - focaltech,have-key		: specify if virtual keys are supported
 - focaltech,key-number		: number of keys
 - focaltech,keys		: virtual key codes mapping to the coords
 - focaltech,key-x-coords	: constant x coordinates of keys, depends on the x resolution
 - focaltech,key-y-coords	: constant y coordinates of keys, depends on the y resolution

Example:
I2C Interface:
	i2c@f9927000 {
		focaltech@38{
			compatible = "focaltech,fts_ts";
			reg = <0x38>;
			interrupt-parent = <&msm_gpio>;
			interrupts = <13 0x02>;
			focaltech,reset-gpio = <&msm_gpio 12 0x01>;
			focaltech,irq-gpio = <&msm_gpio 13 0x02>;
			focaltech,max-touch-number = <10>;
			focaltech,display-coords =  <0 0 1080 1920>;

			pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
			pinctrl-0 = <&ts_int_active &ts_reset_active>;
			pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
			pinctrl-2 = <&ts_release>;

			/*
			focaltech,have-key;
			focaltech,key-number = <3>;
			focaltech,keys = <139 102 158>;
			focaltech,key-x-coords = <200 600 800>;
			focaltech,key-y-coords = <2000 2000 2000>;
			*/
		};
	};

SPI Interface:
	spi@78b9000 {
		focaltech@0 {
			compatible = "focaltech,fts_ts";
			reg = <0x0>;
			spi-max-frequency = <6000000>;
			interrupt-parent = <&msm_gpio>;
			interrupts = <13 0x2>;
			focaltech,reset-gpio = <&msm_gpio 12 0x01>;
			focaltech,irq-gpio = <&msm_gpio 13 0x02>;
			focaltech,max-touch-number = <10>;
			focaltech,display-coords =  <0 0 1080 1920>;

			pinctrl-names = "pmx_ts_active","pmx_ts_suspend","pmx_ts_release";
			pinctrl-0 = <&ts_int_active &ts_reset_active>;
			pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
			pinctrl-2 = <&ts_release>;
		};
	};
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
@@ -155,6 +155,13 @@ conditions.
		  option can be used to specify the testbus version to support testbus interface.
		  Type is <u32>.

- qcom,iommu-geometry:
          Allow clients to extend the available IOVA space by setting the
          DOMAIN_ATTR_GEOMETRY domain attribute. The new IOVA space created
          will be a superset of the IOVA range which was created through the
          create mapping call. The DOMAIN_ATTR_GEOMETRY domain attribute can
          only be set before attaching.

- clocks        : List of clocks to be used during SMMU register access. See
                  Documentation/devicetree/bindings/clock/clock-bindings.txt
                  for information about the format. For each clock specified
+85 −0
Original line number Diff line number Diff line
Fingerprint Cards AB. Fpc1028 driver

The fpc1028 fingerprint sensor is connected to the host processor via SPI.
The sensor will generates interrupts when the user touches the sensor.
The host controller is expected to read data over SPI and pass the data to
the rest of the system.

This binding document describes the properties for this module.

Properties:

- compatible
  Usage:      required
  Value type: <string>
  Definition: It must be "fpc,fpc1020"

- interrupts
  Usage:      required
  Value type: <prop-encoded-array>
  Definition: Peripheral interrupt specifier.

- interrupt-parent
  Usage:      required
  Value type: <phandle>
  Definition: phandle of the interrupt controller which services the
  summary interrupt.

- fpc,gpio_rst
  Usage:      required
  Value type: <prop-encoded-array>
  Definition: GPIO which connecting to the reset pin of fpc1028

- fpc,gpio_irq
  Usage:      required
  Value type: <prop-encoded-array>
  Definition: Specifies the GPIO which connecting to the irq pin of fpc1028.

- vcc_spi-supply
  Usage:      optional
  Value type: <phandle>
  Definition: The phandle of the regulator which supplies fpc1028 spi bus core.

- vcc_io-supply
  Usage:      optional
  Value type: <phandle>
  Definition: The phandle of the regulator which supplies fpc1028 io pins.

- vcc_ana-supply
  Usage:      optional
  Value type: <phandle>
  Definition: The phandle of the regulator which supplies fpc1028 analog circuit.

- pinctrl-names:
  Usage:      required
  Value type: <string>
  Definition: Pinctrl state names for each pin group configuration.
  eg:"fpc1020_reset_reset", "fpc1020_reset_active", "fpc1020_irq_active".
  refer to "Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt"

- pinctrl-n:
  Usage:      required
  Value type: <string>
  Definition: pinctrl state for each pin group
  refer to "Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt"


Example:

	fpc1020 {
		compatible = "fpc,fpc1020";
		interrupt-parent = <&tlmm>;
		interrupts = <48 0>;
		fpc,gpio_rst = <&tlmm 124 0x0>;
		fpc,gpio_irq = <&tlmm 48 0>;
		vcc_spi-supply = <&pm8953_l5>;
		vdd_io-supply  = <&pm8953_l5>;
		vdd_ana-supply = <&pm8953_l5>;
		fpc,enable-on-boot;
		pinctrl-names = "fpc1020_reset_reset",
				"fpc1020_reset_active",
				"fpc1020_irq_active";
		pinctrl-0 = <&msm_gpio_124>;
		pinctrl-1 = <&msm_gpio_124_output_high>;
		pinctrl-2 = <&msm_gpio_48>;
	};
Loading