From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754186AbbCLMmy (ORCPT ); Thu, 12 Mar 2015 08:42:54 -0400 Received: from sauhun.de ([89.238.76.85]:48418 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754179AbbCLMmr (ORCPT ); Thu, 12 Mar 2015 08:42:47 -0400 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm , Simon Horman , Laurent Pinchart , Geert Uytterhoeven , Wolfram Sang , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Andrey Danin , Marc Dietrich , Debora Grosse , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] i2c: slave: add documentation for i2c-slave-eeprom Date: Thu, 12 Mar 2015 13:42:03 +0100 Message-Id: <1426164123-8853-4-git-send-email-wsa@the-dreams.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1426164123-8853-1-git-send-email-wsa@the-dreams.de> References: <1426164123-8853-1-git-send-email-wsa@the-dreams.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wolfram Sang Signed-off-by: Wolfram Sang --- Documentation/i2c/slave-eeprom-backend | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/i2c/slave-eeprom-backend diff --git a/Documentation/i2c/slave-eeprom-backend b/Documentation/i2c/slave-eeprom-backend new file mode 100644 index 00000000000000..c8444ef82acfa3 --- /dev/null +++ b/Documentation/i2c/slave-eeprom-backend @@ -0,0 +1,14 @@ +Linux I2C slave eeprom backend +============================== + +by Wolfram Sang in 2014-15 + +This is a proof-of-concept backend which acts like an EEPROM on the connected +I2C bus. The memory contents can be modified from userspace via this file +located in sysfs: + + /sys/bus/i2c/devices//slave-eeprom + +As of 2015, Linux doesn't support poll on binary sysfs files, so there is no +notfication when another master changed the content. + -- 2.1.4