From patchwork Tue Sep 27 12:07:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Merello X-Patchwork-Id: 9351791 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A4BCB6077A for ; Tue, 27 Sep 2016 12:09:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96606291D2 for ; Tue, 27 Sep 2016 12:09:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AE96291D5; Tue, 27 Sep 2016 12:09:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF43D291D2 for ; Tue, 27 Sep 2016 12:09:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933674AbcI0MI5 (ORCPT ); Tue, 27 Sep 2016 08:08:57 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34935 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933233AbcI0MI4 (ORCPT ); Tue, 27 Sep 2016 08:08:56 -0400 Received: by mail-wm0-f66.google.com with SMTP id b4so843621wmb.2 for ; Tue, 27 Sep 2016 05:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KWWMfzGyqX5QEg0bP8jfdyzpi5qhJJHMblvhQX5akCU=; b=sHpyZsWWHKJUMaUG+2mWd8mVm1eVRVi77kwJMsh2U7R53SP3e39Cdn1S95E3DwLNbH WXnQ85jdLqNB7+iv4VDiSHabWoKmrGQnjLXS3IxU0XEvKWVubgHWArrqPRaaonacFE5q yQH7YxUeFaaz1FVKJvZUK9nq30zl1IxDYPXZ0vXPPLGX58ANbrHcWZrs5bMSkFaGr0BY fYFuuuoHflalh2NZsQLnOgQ/TM01LkB3lifHCjSPe0YGTGSmTaPC6bV8KzamlTMCR/9Y il3KtKhATBn33PpKZ51M8bBJEI6C60YxI/M2rfpWKKwadTnfAtcJoHhmII3+NxpLTaHL pbjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KWWMfzGyqX5QEg0bP8jfdyzpi5qhJJHMblvhQX5akCU=; b=S+GO9aOz80EIrdRnQPv4QRzITb78xF7dJzz4i2lmi+J/evGkXEtfl3jXSTsEnoZrnr vuPtOdyH/wUHvacIgiWkTPKsERTs0QZRIIOp/mrWZTXR/L7bgwRrH3E2L6cC1RPIQL9t /QJ5G3pbNIEsP8oBYLmku53ieg0h/lfhHd4Fg9bNT3TPYXAPpcHm+v9ZEc1ivptZ7HrM o6I7VCYoVy/ZPBbBtqEOiJwoLBeIqDFoeRVeLbxJjFpKxfVepBm1Euqb48/fYg0p1KtK ZVhWEaX0Fpr8/bi3C58ZFjbOK+yzTvp9UfqHzS1FD9cgQb9+Oeti80ktq1gMLkfMjsbk W3OQ== X-Gm-Message-State: AA6/9Rk9mXBJNnIqpUZEQHb56VXJfFUvqNiIaDR+VQa8MmMZPlKlvS9rNgHzIKGfbSE3Dg== X-Received: by 10.194.3.45 with SMTP id 13mr22188845wjz.103.1474978123994; Tue, 27 Sep 2016 05:08:43 -0700 (PDT) Received: from NewMoon.iit.local ([90.147.180.254]) by smtp.googlemail.com with ESMTPSA id 190sm2823378wmk.13.2016.09.27.05.08.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Sep 2016 05:08:43 -0700 (PDT) From: Andrea Merello To: linux-hwmon@vger.kernel.org Cc: Andrea Merello , Rob Herring , Mark Rutland Subject: [PATCH v2 1/2] DT: add binding documentation for STTS751 Date: Tue, 27 Sep 2016 14:07:26 +0200 Message-Id: <1474978047-28290-2-git-send-email-andrea.merello@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474978047-28290-1-git-send-email-andrea.merello@gmail.com> References: <1474978047-28290-1-git-send-email-andrea.merello@gmail.com> Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andrea Merello Cc: Rob Herring Cc: Mark Rutland --- Documentation/devicetree/bindings/hwmon/stts751.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/stts751.txt diff --git a/Documentation/devicetree/bindings/hwmon/stts751.txt b/Documentation/devicetree/bindings/hwmon/stts751.txt new file mode 100644 index 0000000..277ad46 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/stts751.txt @@ -0,0 +1,19 @@ +* STTS751 thermometer. + +Required node properties: +- compatible: "stts751" +- reg: I2C bus address of the device + +Optional properties: +- has-therm: specifies that the "therm" pin is wired +- has-event: specifies that the "event" pin is wired +- smbus-timeout-disable: when set, the smbus timeout function will be disabled + +Example stts751 node: + +temp-sensor { + compatible = "stts751"; + reg = <0x48>; + has-therm; + has-event; +}