linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Varnin <fenixk19@mail.ru>
To: linux-input@vger.kernel.org
Subject: qt2160: applying settings
Date: Mon, 24 Nov 2014 20:17:35 +0300	[thread overview]
Message-ID: <5473682F.3060101@mail.ru> (raw)

Hello!
My work task now is related with AT42QT2160 [1] chip, that has qt2160
driver in linux kernel.

There is some settings of this chip, that is required to be set to
registers during initialization or at runtime.

These settings are totally unimplemented in current driver. For example
this are registers 12, 13, 20, 38-53, 54-69.

Registers 38-69 are related to calibration, that is required to be
passed on initialization, and 12 is related to power saving, and need to
be changed at runtime.

Of course, I can just write a hack for my purposes, but I want to solve
it in a rightful (and upstream applicable) way.

I suppose that initialization parameters should be passed in a kinda
platform data and that what is need to be set at runtime should go as a
sysfs node.

Could you please hint me the right way?

[1]
http://www.atmel.com/Images/Atmel-9502-AT42-QTouch-BSW-AT42QT2160_Datasheet.pdf


                 reply	other threads:[~2014-11-24 17:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5473682F.3060101@mail.ru \
    --to=fenixk19@mail.ru \
    --cc=linux-input@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).