From patchwork Wed Nov 30 20:36:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Muir X-Patchwork-Id: 9454901 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 BC8F86074E for ; Wed, 30 Nov 2016 20:38:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B18F627570 for ; Wed, 30 Nov 2016 20:38:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A5CE428472; Wed, 30 Nov 2016 20:38:44 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 5863C27570 for ; Wed, 30 Nov 2016 20:38:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754122AbcK3Uin (ORCPT ); Wed, 30 Nov 2016 15:38:43 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:36350 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753112AbcK3Uil (ORCPT ); Wed, 30 Nov 2016 15:38:41 -0500 Received: by mail-pg0-f67.google.com with SMTP id x23so2292966pgx.3 for ; Wed, 30 Nov 2016 12:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jmuir.com; s=jmuirsoft; h=from:to:subject:date:message-id:in-reply-to:references; bh=TvDVsusSWohoBnLI+lFYCfG9GbFdkLpTds1q+IL5fD8=; b=RlT5otTJlVNry0vMGqk0gYmuXJN3b0e9TFQ5phb1GUJ+CtEFu7UILdhbvNTUeLRx4a huklakWNOruHVcz1X6MEi4eGrRSxSJRT7T23Y9Kb0Ftj51KcbEuN6oFQuen16hIrrrmf vmzElicjrUeKJvvP0ailTpfUC49kGe/7BYfa4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=TvDVsusSWohoBnLI+lFYCfG9GbFdkLpTds1q+IL5fD8=; b=Pv7lcFo1eedKfMTp9a8IUJAm7z0PqDPZpiFGvNzSSRBaxHZFFkllI30M6kAqNlO2cT wJLzIDaDxQ0ASf+sUpXShlyNftQTsEHfCeZ/4Epi0hzLFNOk4I4C8p2dBM4oioPWjPVp XklPMerzLRFXLtABdc48jcVE0ZZJAlGnqXe0KdbLxbvJQQuavAlMIpNlGBPAzuyJk1uU 9M8HM1Zfgjy+GG0pkd+UMOr5n8MU3rILG9tTHkxTEjDpIPfWBXb869Jz3+AG69BiYhBV zJ5PbMpq4eYSojBx4CdEGNOaNEitcmCNYCZwugbea2YqOuHga1RjufY2HgKhh1MVyZ++ JD0Q== X-Gm-Message-State: AKaTC027dng8f/UNSns7RrUGa8jWQJ2mlRZMUyOQ14px5Gcs6xrwtEJkxtAinvgr3X5gTA== X-Received: by 10.98.67.89 with SMTP id q86mr35296672pfa.178.1480538320361; Wed, 30 Nov 2016 12:38:40 -0800 (PST) Received: from muirj.mtv.corp.google.com ([100.96.154.70]) by smtp.gmail.com with ESMTPSA id 24sm104927815pfh.41.2016.11.30.12.38.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Nov 2016 12:38:39 -0800 (PST) From: John Muir To: Guenter Roeck , Jean Delvare , Jonathan Corbet , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , Mark Rutland , John Muir , John Muir , Anatol Pomazau Subject: [PATCH 2/2] devicetree: hwmon: Add documentation for TMP108 driver. Date: Wed, 30 Nov 2016 12:36:19 -0800 Message-Id: <1480538179-75901-3-git-send-email-john@jmuir.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1480538179-75901-1-git-send-email-john@jmuir.com> References: <1480209983-65915-1-git-send-email-john@jmuir.com> <1480538179-75901-1-git-send-email-john@jmuir.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 Simple hwmon binding documentation. Signed-off-by: John Muir --- Documentation/devicetree/bindings/hwmon/tmp108.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/tmp108.txt diff --git a/Documentation/devicetree/bindings/hwmon/tmp108.txt b/Documentation/devicetree/bindings/hwmon/tmp108.txt new file mode 100644 index 0000000..7ba08c4 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/tmp108.txt @@ -0,0 +1,24 @@ +TMP108 temperature sensor +------------------------- + +This device supports I2C only. + +Requires node properties: +- compatible : "ti,tmp108" +- reg : the I2C address of the device. This is 0x48, 0x49, 0x4a, or 0x4b. + +Optional node properties: +- ti,thermostat-mode-comparator : (boolean) select the comparator mode for the + thermostat rather than the default interrupt-mode. + +Example: + tmp108@48 { + compatible = "ti,tmp108"; + reg = <0x48>; + ti,thermostat-mode-comparator; + }; + + tmp108@49 { + compatible = "ti,tmp108"; + reg = <0x49>; + };