From patchwork Wed Sep 7 12:33:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Merello X-Patchwork-Id: 9319199 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 56F21601C0 for ; Wed, 7 Sep 2016 12:33:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E5182927A for ; Wed, 7 Sep 2016 12:33:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42D6729280; Wed, 7 Sep 2016 12:33:53 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 D0DEE2927E for ; Wed, 7 Sep 2016 12:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672AbcIGMdu (ORCPT ); Wed, 7 Sep 2016 08:33:50 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35059 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756659AbcIGMdt (ORCPT ); Wed, 7 Sep 2016 08:33:49 -0400 Received: by mail-wm0-f68.google.com with SMTP id a6so2768779wmc.2 for ; Wed, 07 Sep 2016 05:33:49 -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=Ye8qCOSm6+yznAXslgvL7H135RIDxhE2U39OsX848Vlc9BdfUd/9ec6W7F6htaZySY eJq8abiVlCc0tZnYh8CKe77DJiwI/tcBqCoYlt22CVuOMXdfs7dVHG/08E/62xMRkYw+ 8WU/3geLCrJbJxhSy87ZnwOvNfQEVJKCEf2im5l9FW0B32fBi6YC1X54WIN1XiuU8Kwr kORccxddDUEN8u0FHhzmVFipZQafS8GcngSsOWHcuK1JwZJZGG/LfSkRGZHMT7Mr5HZI wcG7kAASsRwsIp8Gx7kl8YICDzxMScaaxx9pcowyZtAFo92T0wSwrdODd3YsqFIR654g lwrQ== 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=lIuUISGtu9m7CuVW3Qp1vScmJZjBDJVTOWR0dUDvLIb9vRkWWvfpRkBbTdaAWMQ31K g6pLJWiCTtiU6u+527w+0w/YpOIp1YlhMarOZooisyzrl/tJvMtfsJsxwDqZG87MY81m PZAFIU/VhEhTWcUdshh99ODzHmC1HZwsAK+FbIaSRNQxFHgLiPTGux2ZptdUBhnudTs2 4lsubuosCsJBBt2p15G4FBIXlTwcDRYlb69VskngaozRFkcjpFU852NQ5OQw0BnZTQli qgQ7dTiCFA3xPE+/NTKxokTqdKCxdsWGwXpMz6jCXmOtro201xobJ+1U949kv1zY7a+P 0mvg== X-Gm-Message-State: AE9vXwNGK+pwWZ2GxV8KdZWF3CEniXE0BS4TVUlfcW9o+zX9e0+Xmf41PaUat3UwqsxtOA== X-Received: by 10.194.87.34 with SMTP id u2mr46688162wjz.118.1473251628122; Wed, 07 Sep 2016 05:33:48 -0700 (PDT) Received: from NewMoon.iit.local ([90.147.180.254]) by smtp.googlemail.com with ESMTPSA id l186sm4057255wmg.20.2016.09.07.05.33.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Sep 2016 05:33:47 -0700 (PDT) From: Andrea Merello To: linux-hwmon@vger.kernel.org Cc: Andrea Merello , Rob Herring , Mark Rutland Subject: [PATCH 2/2] DT: add binding documentation for STTS751 Date: Wed, 7 Sep 2016 14:33:37 +0200 Message-Id: <1473251617-4107-2-git-send-email-andrea.merello@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473251617-4107-1-git-send-email-andrea.merello@gmail.com> References: <1473251617-4107-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; +}