From: Dmitry Torokhov Subject: Re: [PATCH 10/53] Input: atmel_mxt_ts - Add memory access interface via sysfs Date: Wed, 05 Jun 2013 10:57:44 -0700 Message-ID: <7380889.l4hHqCT0mm@dtor-d630.eng.vmware.com> References: <1370453866-16534-1-git-send-email-nick.dyer@itdev.co.uk> <1370453866-16534-11-git-send-email-nick.dyer@itdev.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1370453866-16534-11-git-send-email-nick.dyer@itdev.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: Nick Dyer Cc: Daniel Kurtz , Henrik Rydberg , Joonyoung Shim , Alan.Bowens@atmel.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pmeerw@pmeerw.net, bleung@chromium.org, olofj@chromium.org List-Id: linux-input@vger.kernel.org Hi Nick, On Wednesday, June 05, 2013 06:37:03 PM Nick Dyer wrote: > Atmel maXTouch chips can be addressed via an "Object Based Protocol" which > defines how i2c registers are mapped to different functions within the > chips. This interface exposes the register map and allows user-space > utilities to inspect and alter object configuration, and to view diagnostic > data, while the device is running. I think if the driver was to use regmap then this fucntionality will already be there as regmap exports registers via debugfs. Thanks. -- Dmitry