[PATCH] input: stmpe-ts: Add DT support for stmpe touchscreen

Lee Jones lee.jones at linaro.org
Fri Nov 23 21:46:20 EST 2012


> +++ b/Documentation/devicetree/bindings/input/touchscreen/stmpe.txt
> @@ -0,0 +1,43 @@
> +STMPE Touchscreen
> +----------------
> +
> +Required properties:
> + - compatible: "st,stmpe-ts"

You shouldn't be specifying a compatible string in the DT.

> +Example:
> +
> +	stmpe_touchscreen {
> +		compatible = "st,stmpe-ts";

This needs to be removed.

> +		st,sample-time = <4>;
> +		st,mod-12b = <1>;
> +		st,ref-sel = <0>;
> +		st,adc-freq = <1>;
> +		st,ave-ctrl = <1>;
> +		st,touch-det-delay = <2>;
> +		st,settling = <2>;
> +		st,fraction-z = <7>;
> +		st,i-drive = <1>;
> +	};

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the devicetree-discuss mailing list