[PATCH v2 5/6] ARM: dts: imx25: mbimxsd25: Add touchscreen support.
Fabio Estevam
festevam at gmail.com
Fri Jun 13 10:10:54 PDT 2014
Hi Denis,
On Fri, Jun 13, 2014 at 12:21 PM, Denis Carikli <denis at eukrea.com> wrote:
> Signed-off-by: Denis Carikli <denis at eukrea.com>
> ---
> .../imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts
> index 9797280..047918d 100644
> --- a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts
> +++ b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts
> @@ -70,3 +70,16 @@
> lcd-supply = <®_lcd_3v3>;
> status = "okay";
> };
> +
> +&tscadc {
> + status = "okay";
> +
> + tsc: tcq at 50030400 {
> + compatible = "fsl,imx25-tcq";
> + reg = <0x50030400 0x60>;
> + interrupt-parent = <&tscadc>;
> + interrupts = <0>;
> + fsl,wires = <4>;
> + fsl,pen-debounce = <100>;
What about just keeping only inside the dts:
&tsadc {
status = "okay";
}
Then the rest could go to the imx25.dtsi.
fsl,wires and fsl,pen-debounce could be overwritten by board dts if needed.
More information about the linux-arm-kernel
mailing list