Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Picard <davepiq@yahoo.fr>
To: buildroot@busybox.net
Subject: [Buildroot] How to use the ft6236 touchscreen driver ?
Date: Thu, 14 Jul 2016 11:26:58 +0200	[thread overview]
Message-ID: <57875AE2.1010908@yahoo.fr> (raw)
In-Reply-To: <20160713171659.GF2139@sapphire.tkos.co.il>

Well, could you please give me some directions ? Like where the dts file 
is, how do I compile it, some reference documentation...

Thanks.

Le 13/07/2016 19:16, Baruch Siach a ?crit :
> Hi David,
>
> On Wed, Jul 13, 2016 at 07:07:43PM +0200, David Picard wrote:
>> I am trying to use the touch capability of Adafruit's PiTFT 2.8" on a RPi2,
>> BR 2016.05. When I modprobe ft6236, nothing happens : no message in dmesg,
>> no device created in /dev/input. i2cdetect detects it at address 38h.
>>
>> I did load i2c_bcm2708, i2c-dev. I2C works (tested with a RTCC).
>>
>> I tried :
>> # echo ft6236 0x38 > /sys/class/i2c-adapter/i2c-1/new_device
>>
>> and I got something in dmesg :
>> ft6236 1-0038: irq is missing
>> ft6236: probe of 1-0038 failed with error -22
>> i2c i2c-1: new_device: Instantiated device ft6236 at 0x38
>>
>> But still no entry in /dev/input.
>>
>> Any idea ?
>
> You most likely need to update your device tree file (.dts), and add your
> PiTFT device as a sub-node of the i2c master.
>
> baruch
>

  reply	other threads:[~2016-07-14  9:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 17:07 [Buildroot] How to use the ft6236 touchscreen driver ? David Picard
2016-07-13 17:16 ` Baruch Siach
2016-07-14  9:26   ` David Picard [this message]
2016-07-14 10:21     ` Thomas Petazzoni
2016-07-14 22:15     ` Peter Seiderer
2016-07-18 20:24       ` David PICARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57875AE2.1010908@yahoo.fr \
    --to=davepiq@yahoo.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox