Re: [PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Wolfram Sang
On Thu, Mar 03, 2011 at 10:16:45AM +0100, Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de --- Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Jean Delvare
Hi Wolfram, On Thu, 3 Mar 2011 12:51:51 +0100, Wolfram Sang wrote: On Thu, Mar 03, 2011 at 10:16:45AM +0100, Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de --- Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++ 1 files changed, 15 insertions(+), 0

[PATCH V12 1/4] ptp: Added a brand new class driver for ptp clocks.

2011-03-03 Thread Richard Cochran
This patch adds an infrastructure for hardware clocks that implement IEEE 1588, the Precision Time Protocol (PTP). A class driver offers a registration method to particular hardware clock drivers. Each clock is presented as a standard POSIX clock. The ancillary clock features are exposed in two

[PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- Documentation/devicetree/bindings/i2c/ads1015.txt | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/ads1015.txt diff --git

[PATCH v2] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Dirk Eibach
Signed-off-by: Dirk Eibach eib...@gdsys.de --- Changes since v1: - removed sysfs from description - explain channels Documentation/devicetree/bindings/i2c/ads1015.txt | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Grant Likely
On Thu, Mar 03, 2011 at 02:25:49PM +0100, Wolfram Sang wrote: Hmm, device tree bindings should be OS-neutral, sysfs is not. Why do we document this in the Linux kernel tree then? To describe which bindings Linux supports. with the active channels. Then again, what is the drawback

Re: [PATCH v4] hwmon: Add support for Texas Instruments ADS1015

2011-03-03 Thread Grant Likely
[cc'ing Kay and Greg regarding sysfs stuff; please make sure my comments are accurate. :-) ] On Thu, Mar 03, 2011 at 08:45:43AM +0100, Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de Patch is missing description. --- Changes since v1: - fixed/extended Documentation - removed

Re: [PATCH v2] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Grant Likely
On Thu, Mar 03, 2011 at 01:19:17PM +0100, Dirk Eibach wrote: Signed-off-by: Dirk Eibach eib...@gdsys.de --- Changes since v1: - removed sysfs from description - explain channels Documentation/devicetree/bindings/i2c/ads1015.txt | 29 + 1 files changed, 29

Re: [PATCH v4] hwmon: Add support for Texas Instruments ADS1015

2011-03-03 Thread Greg KH
On Thu, Mar 03, 2011 at 10:50:50AM -0700, Grant Likely wrote: + i2c_set_clientdata(client, data); + mutex_init(data-update_lock); + + /* build sysfs attribute group */ + data-attr_group.attrs = data-attr_table; + exported_channels = ads1015_get_exported_channels(client); +

Re: [PATCH v4] hwmon: Add support for Texas Instruments ADS1015

2011-03-03 Thread Wolfram Sang
--- Changes since v1: - fixed/extended Documentation - removed unused register definitions - hardcoded PGA fullscale table size - made sure patch applies against v2.6.38-rc4 - reordered functions to avoid forward declaration - results from i2c_smbus_read_word_data() are handled

Re: [PATCH] hwmon: (ads1015) Add devicetree documentation

2011-03-03 Thread Grant Likely
On Thu, Mar 3, 2011 at 3:02 PM, Jean Delvare kh...@linux-fr.org wrote: On Thu, 3 Mar 2011 10:26:53 -0700, Grant Likely wrote: On Thu, Mar 03, 2011 at 02:25:49PM +0100, Wolfram Sang wrote: OK. The thing is you can't map platform_data 1:1 to bindings, because most are very specific to the