Re: [PATCH v2 5/6] ARM: dts: imx25: mbimxsd25: Add touchscreen support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Denis,

On Fri, Jun 13, 2014 at 12:21 PM, Denis Carikli <denis@xxxxxxxxxx> wrote:
> Signed-off-by: Denis Carikli <denis@xxxxxxxxxx>
> ---
>  .../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 = <&reg_lcd_3v3>;
>         status = "okay";
>  };
> +
> +&tscadc {
> +       status = "okay";
> +
> +       tsc: tcq@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.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux