Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663AbaJPHYD (ORCPT ); Thu, 16 Oct 2014 03:24:03 -0400 Received: from mail1.bemta14.messagelabs.com ([193.109.254.108]:27422 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbaJPHYB (ORCPT ); Thu, 16 Oct 2014 03:24:01 -0400 X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-3.tower-194.messagelabs.com!1413444237!19546310!1 X-Originating-IP: [80.255.6.145] X-StarScan-Received: X-StarScan-Version: 6.12.3; banners=-,-,- X-VirusChecked: Checked X-PGP-Universal: processed; by keys.men.de on Thu, 16 Oct 2014 09:23:57 +0200 Date: Thu, 16 Oct 2014 10:15:27 +0200 From: Andreas Werner To: CC: , , , , Subject: [PATCH 2/2] Documentation/ABI/testing/men_eeprod: Added sysfs description for men_eeprod Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [192.1.1.171] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the description for the men_eeprod. men_eeprod is a driver for the MEN Board Information EEPROM which exports the data using sysfs entries. Signed-off-by: Andreas Werner --- .../ABI/testing/sysfs-bus-i2c-devices-men_eeprod | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-i2c-devices-men_eeprod diff --git a/Documentation/ABI/testing/sysfs-bus-i2c-devices-men_eeprod b/Documentation/ABI/testing/sysfs-bus-i2c-devices-men_eeprod new file mode 100644 index 0000000..a488d0e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-i2c-devices-men_eeprod @@ -0,0 +1,69 @@ +What: /sys/bus/i2c/devices/i2c-/-/eeprod_id +Date: October 2014 +Contact: Andreas Werner +Description: + Show the identifier of the EEPROM structure. + There are different layouts of the EEPROM with more or less + information. The ID identifies each of the layouts. + + Currently supported structure is EEPROD2 (0x0E) + +What: /sys/bus/i2c/devices/i2c-/-/revision +Date: October 2014 +Contact: Andreas Werner +Description: + Show the revision of the board. + Format of the revision field is XX.XX.XX + +What: /sys/bus/i2c/devices/i2c-/-/serialnr +Date: October 2014 +Contact: Andreas Werner +Description: + Show the serialnumber of the board. The serial number is + a decimal number. + +What: /sys/bus/i2c/devices/i2c-/-/hw_name +Date: October 2014 +Contact: Andreas Werner +Description: + Show the name of the board including the model. + There are boards which have different features such as + different size of RAM, the model identifies the different + types. + + Format of the hw_name is: . + Example: F075P00 where F75P is the hw_name and 00 the model. + +What: /sys/bus/i2c/devices/i2c-/-/prod_date +Date: October 2014 +Contact: Andreas Werner +Description: + Show the board production date. + + Format of the date: YYYY-MM-DD + +What: /sys/bus/i2c/devices/i2c-/-/rep_date +Date: October 2014 +Contact: Andreas Werner +Description: + Show the last repair date. + If the board returns back to the repair department, this field + will be programmed with the current date. + If the board has never returned, the field will be empty and + the read access to this sysfs entry returns -EINVAL. + + Format of the date: YYYY-MM-DD + +What: /sys/bus/i2c/devices/i2c-/-/user_section +Date: October 2014 +Contact: Andreas Werner +Description: + Read or write access to the user section of the EEPROM + This sysfs entry is a binary file where customer can write + there own data to. + The size of this file depends on the EEPROM layout which is + identified by the eeprod_id. + + eeprod_id user_section size + --------------------------------- + 0x0E 232 byte -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/