From patchwork Thu Mar 7 10:34:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Havelange X-Patchwork-Id: 10842661 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 103BD14E1 for ; Thu, 7 Mar 2019 10:34:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F16592C831 for ; Thu, 7 Mar 2019 10:34:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E563F2E482; Thu, 7 Mar 2019 10:34:50 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 BEF302C831 for ; Thu, 7 Mar 2019 10:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbfCGKeV (ORCPT ); Thu, 7 Mar 2019 05:34:21 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:35077 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfCGKeV (ORCPT ); Thu, 7 Mar 2019 05:34:21 -0500 Received: by mail-ed1-f67.google.com with SMTP id g19so13021405edp.2 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=TltJ0euehl2DxRIbKLIwMU0PkhFgF/veITZ+7QgREDLiiOR8EWSazdGrZbzLXYekwj /9zi0OA03fJWJtZW/Ojk8aKg2EdYKu6jl8yY7UU14qVbvUtt48pS8zHgtO7c3whBXS3d tEA9YOk77gP293Rjd8vo4fy4RfBKW7oDNhGsQD2fDSS6ZZxe+FghQvxJpC9fwlfsx/Lx GYm4cTmDjATKJwwgnNfZO+wtOaPNZUlzGQlvQjMwXprCdJu+EmplGVe5w6nABNTy3cYU qZ8X89yK5A8cTdJFkzOuSarwoXYTz4sFb2WD+Q/Ayb1cize16COpjahPjSljlD4sa4J5 mayw== X-Gm-Message-State: APjAAAXfbQhUa7wb2RWfx5t8W4VFKu+gr+6Fs2nlCKEjbfrZlB2leYTT jf94Pkbpoc27YRwlpasHw7eCOw== X-Google-Smtp-Source: APXvYqxX+S6M2yMqFmfdBIvhdMCoJ5LPsHNEn2w+VR7HvMlMx62zH9X4xxd0dF/I1P3A0FipRAmWuA== 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 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 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 */