Message ID | 1402672899-6995-6-git-send-email-denis@eukrea.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Denis, On Fri, Jun 13, 2014 at 12:21 PM, Denis Carikli <denis@eukrea.com> wrote: > Signed-off-by: Denis Carikli <denis@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@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.
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@50030400 { + compatible = "fsl,imx25-tcq"; + reg = <0x50030400 0x60>; + interrupt-parent = <&tscadc>; + interrupts = <0>; + fsl,wires = <4>; + fsl,pen-debounce = <100>; + }; +};
Signed-off-by: Denis Carikli <denis@eukrea.com> --- .../imx25-eukrea-mbimxsd25-baseboard-cmo-qvga.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)