From patchwork Wed Nov 29 22:08:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crt Mori X-Patchwork-Id: 10083743 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 24E256020B for ; Wed, 29 Nov 2017 22:08:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1745429C56 for ; Wed, 29 Nov 2017 22:08:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C27229CBA; Wed, 29 Nov 2017 22:08:34 +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 842E529C56 for ; Wed, 29 Nov 2017 22:08:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752266AbdK2WIc (ORCPT ); Wed, 29 Nov 2017 17:08:32 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:41809 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbdK2WIb (ORCPT ); Wed, 29 Nov 2017 17:08:31 -0500 Received: by mail-wm0-f66.google.com with SMTP id g75so9439179wme.0 for ; Wed, 29 Nov 2017 14:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=from:to:cc:subject:date:message-id; bh=szm5o7CUfLUjOiuf5oEJU1Xfzjm215uunVB0hfjLR9k=; b=jr+HOcLZVS71VrBqtsyQHRgji3wcNvz8Z6fL9jAdaqFSGeKTvNKfL6B7eDLu/gWF5T JdOHZuqrfEg9MbJ1e4Vc5s97Tn80jlZ+MvJaNBNsNDdW7qYU696ai7wti3u0a1LLlpBF JyxZ41nm0kd5jhacDx3v32C50+TmFPHXfNQKg0gtqLCtH0f1jIghUYECSRmf8uC6i6I5 4u3QfJjbhUhdjHcMZ1CMy8+ERhkIHqPASU4EMYPmPTK6JCVXERWwjeNRIHpfqM7yCCPR L6u0ct9b6/7DYBvCGznZRHTAnIJCviyqys2b6PdKJuVw/L3n72igzoKLQvuvSUxPbtiY ZRwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=szm5o7CUfLUjOiuf5oEJU1Xfzjm215uunVB0hfjLR9k=; b=NYdJgSZqheKmQyNsYxIjK5OYimYArUBrJ8i1sSAsifeSUb58+skUeWj0KsxnwzxNzt WqDkG9cRcdsF7GNbvTPKGeyos268JpGWZOyHX1Q5IFnU8QedrYaVCcfZNUuuPy62mnCW he9i9vq1rALtcDDEJTwPvMMmk57wWJFuaUXnqq+HMvwynl4Ds4bVq7+W2HptswB7AqLa 1vGVouFh2zTgeZtvrfLNNd1xeW1R5v+ytfHcfz73TaU4aA1vpypqT9wz11n0846rV0Ym 3uCqL6mZYetOoAQamTAhVY/sXQGGf2JkK4pA88CqeAHQ4RkUU2MxrWEQy8q/SWWoxpir O2VA== X-Gm-Message-State: AJaThX7fJKaHknE6r1oYYcm1kf5aEE7DRDYbzoWJHUhut4Ge1iKMp/Sl tE55uNIzG+Pm6LReL5QIWumKiPny01A= X-Google-Smtp-Source: AGs4zMZuvnTQ3S0NmqnOoHULVd5HrHpfkFDDI3tumRsgOlOqxrZx/UKhnGcD9+RU3SQRPoGOmOk2hQ== X-Received: by 10.80.138.99 with SMTP id i90mr10018881edi.207.1511993310723; Wed, 29 Nov 2017 14:08:30 -0800 (PST) Received: from localhost.localdomain (ptr-4xfub6rwgakpug564fr.18120a2.ip6.access.telenet.be. [2a02:1810:a444:c300:4527:fd81:32c2:e0f7]) by smtp.gmail.com with ESMTPSA id i16sm2241322edj.77.2017.11.29.14.08.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Nov 2017 14:08:29 -0800 (PST) From: Crt Mori To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Crt Mori Subject: [PATCH 2/2] dt-bindings: iio: temperature: add MLX90632 device bindings Date: Wed, 29 Nov 2017 23:08:05 +0100 Message-Id: <20171129220805.11358-1-cmo@melexis.com> X-Mailer: git-send-email 2.15.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree bindings for MLX90632 IR temperature sensor. Signed-off-by: Crt Mori Reviewed-by: Rob Herring --- .../bindings/iio/temperature/mlx90632.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/mlx90632.txt diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt new file mode 100644 index 000000000000..6073a5ccf9a4 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt @@ -0,0 +1,28 @@ +* Melexis MLX90632 contactless Infra Red temperature sensor + +Link to datasheet: https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 + +There are various applications for the Infra Red contactless temperature sensor +and MLX90632 is most suitable for consumer applications where measured object +temperature is in range between -20 to 200 degrees Celsius with relative error +of measurement below 1 degree Celsius in object temperature range for +industrial applications. Since it can operate and measure ambient temperature +in range of -20 to 85 degrees Celsius it is suitable also for outdoor use. + +Be aware that electronics surrounding the sensor can increase ambient +temperature. MLX90632 can be calibrated to reduce the housing effect via +already existing EEPROM parameters. + +Since measured object emissivity effects Infra Red energy emitted, emissivity +should be set before requesting the object temperature. + +Required properties: + - compatible: should be "melexis,mlx90632" + - reg: the I2C address of the sensor (default 0x3a) + +Example: + +mlx90632@02 { + compatible = "melexis,mlx90632"; + reg = <0x3a>; +};