Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4874191imb; Thu, 7 Mar 2019 02:36:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxzj1kHtxLCY/0IfXwJoowYC8ksODIc5mpJKGGw12JmL3kKNFYQ3jonS3J5VVwV8hx2pzHX X-Received: by 2002:a63:1105:: with SMTP id g5mr10798595pgl.322.1551954968091; Thu, 07 Mar 2019 02:36:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551954968; cv=none; d=google.com; s=arc-20160816; b=TkXheWMf6nhFq21rzaFHDS6wlT26FJSy26DTOVuSx/8LVEWf46Uz8y3E/Oy/Q6YOlF 7QEy4x9bx/aL6+J6j4CNPAhnzRaKUPFCSlGTFRd7LOpDpIm795CWIP+JVXmh1rLoVlWw KzmvTN60hHdr44G47rbM3MC0RcQczeszhnePjuEP6rPftvpy+YpH16KpQvgE4ZJhXL2+ k4ytm/j+58QvtA/fA4GIUzCX54ulLfwD2pJiNmjS5GN7b/DMS/J4kwQYualsjK+zsicl s74c7J2KYlJQH218on76GZ3rN6ARZEFtRIKM0j7Vfm8caloAPToWpylaoTE+BMTXofEB A1/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Nxn/6GjKzJiMcRUTaaJC39yYvCCkOP+Ey4ySxCWrj+Q=; b=y14faFPzVw8Ewk1PBDfofUKdAN/Ydwa1tpLcty5qEdXO4w/0AFeN2YUnc6wI3TxQ61 4oKD/1VxoZbIbJ4jrCF1aFjfqe98Uq6X81u5wcCmOyDWoY3XOUun6o+c+I5V0ZWg/iBS mdjtHfSFUK4GHP4iCr8NTud2rwqeumYkjF+YQs2j29L5POGgC00iwzdk3NUyYaC7cqUt aSu/Q/OhLu98NES2yxClhvQlwGs93LBVcmUeGXsZouz1acbMo+wFSrsLCAmEAB9zvqmC SrwX0NjbpqcfsNZyCiRDazpuDXigLpRR4LN+HLzv+W7XHi9ydyW7kP4RWOub39x4/H0Q 3uNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@essensium-com.20150623.gappssmtp.com header.s=20150623 header.b="gTn/jdtR"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24si3523146pgj.502.2019.03.07.02.35.52; Thu, 07 Mar 2019 02:36:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@essensium-com.20150623.gappssmtp.com header.s=20150623 header.b="gTn/jdtR"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726471AbfCGKeV (ORCPT + 99 others); Thu, 7 Mar 2019 05:34:21 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:39632 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbfCGKeV (ORCPT ); Thu, 7 Mar 2019 05:34:21 -0500 Received: by mail-ed1-f67.google.com with SMTP id p27so12995813edc.6 for ; Thu, 07 Mar 2019 02:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=essensium-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Nxn/6GjKzJiMcRUTaaJC39yYvCCkOP+Ey4ySxCWrj+Q=; b=gTn/jdtR0GIwXMQrtD/8yot5RUp8T+aIcSjlM0ukgB0HbHCoH2wG3cD8gaXVTjgwwF 8u2+zT7Xy/fYVQd8xRpJRlCXbfkQGLUSLtaQl4kRd7jJGbSH6r+LVv46UoQf7H5Bt6iW 2qtIk0bxDAeSHDdq7FTeSS1lUUWh2OzMTPzbKXghZuH7lVmnHQEYZL9A4SIOJtIpF+Id 2U+zcXGOCKl7vZqYavp7lKK5thQjpuUT6ER5FeJXi/Qu7Jz5W942tBChs7BSSyeAACLW R7tDxMh1W2JGcNOkaV3/35bdDm5pnS3gx0RKJgiSRmoiPh9grnhxXUlgOG7hrqXaf0l9 Gi6g== 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:mime-version :content-transfer-encoding; bh=Nxn/6GjKzJiMcRUTaaJC39yYvCCkOP+Ey4ySxCWrj+Q=; b=Sh08ntEcWPnMyT8ysOSznDvEQSemxO0CwvrO0exx8ygqcmyzQBW8HS7dbH8+gr2BEc C80au6LvQzpMJW40uElHjs8Zsd1+jtOlRk82ESRT/bbg1mBtJVVC7/tSwRhH4ja/1AEW vWDJ+IzrcsYh8XvwQEQT3Tb3q5GJb/XSE/I/RnJqsbMX2rM5DiHOGyQtTm5NqpNSq+yO TXBhknPteYwHv2ZI5ms+L/XSPDxf32I2/4vgRuoj8Oi/ukuiM6AjjtcVf4YRsXMptDfN Z80VixcITWApD4CAEyCrFmMyBsGpPvMKrbIPiydwiJRt9OdBh23eIXD51exSC2fMhcoY I+IQ== X-Gm-Message-State: APjAAAXkRWkZ+8/kgeN2yruFzkpqK+NgniVzgnayj5ihMnrZz9gQntm6 KeFCFSWG4ipJCLEzabJfiq20Ew== X-Received: by 2002:aa7:d58e:: with SMTP id r14mr26483112edq.39.1551954859292; Thu, 07 Mar 2019 02:34:19 -0800 (PST) Received: from ph-ThinkPad-E560.local.ess-mail.com (ip-188-118-3-185.reverse.destiny.be. [188.118.3.185]) by smtp.gmail.com with ESMTPSA id h8sm1250998edb.36.2019.03.07.02.34.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 02:34:18 -0800 (PST) From: Patrick Havelange To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , Matt Weber , Paresh Chaudhary , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Patrick Havelange Subject: [PATCH v6 1/4] dt-bindings: iio/temperature: Add thermocouple types Date: Thu, 7 Mar 2019 11:34:06 +0100 Message-Id: <20190307103409.24174-1-patrick.havelange@essensium.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch introduces common thermocouple types used by various temperature sensors. Signed-off-by: Patrick Havelange --- Changes v6 - Add this file --- .../dt-bindings/iio/temperature/thermocouple.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/dt-bindings/iio/temperature/thermocouple.h diff --git a/include/dt-bindings/iio/temperature/thermocouple.h b/include/dt-bindings/iio/temperature/thermocouple.h new file mode 100644 index 000000000000..ce037f5238ac --- /dev/null +++ b/include/dt-bindings/iio/temperature/thermocouple.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _DT_BINDINGS_TEMPERATURE_THERMOCOUPLE_H +#define _DT_BINDINGS_TEMPERATURE_THERMOCOUPLE_H + + +#define THERMOCOUPLE_TYPE_B 0x00 +#define THERMOCOUPLE_TYPE_E 0x01 +#define THERMOCOUPLE_TYPE_J 0x02 +#define THERMOCOUPLE_TYPE_K 0x03 +#define THERMOCOUPLE_TYPE_N 0x04 +#define THERMOCOUPLE_TYPE_R 0x05 +#define THERMOCOUPLE_TYPE_S 0x06 +#define THERMOCOUPLE_TYPE_T 0x07 + +#endif /* _DT_BINDINGS_TEMPERATURE_THERMOCOUPLE_H */ -- 2.19.1