Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1498292imc; Mon, 11 Mar 2019 15:27:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6AgU5I/UHp3MCxT23UDrcSXK5h7P9WaPq4y9bFjAprTAitoVVORa2cC9Bquq+3kc3EqHm X-Received: by 2002:a17:902:586:: with SMTP id f6mr6264677plf.68.1552343222534; Mon, 11 Mar 2019 15:27:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552343222; cv=none; d=google.com; s=arc-20160816; b=LpU9mPoU6aKpskFc46TspXuorg2MPMZFFwy1/a05NemQLZ/tTxsTIZZ5DYppwPOPyi qMLRNiwzCP4d/emEZws7CYX1PXFhFZ3npw8JMQrWyXm8qtEY8oVDJmW49mzjLc2OH2S2 6VQFs2LbpFUiV61w2ZCwkgCfGaxmtzfW6D1xydtfVHmtSbduq1VePIRpqk4EfEvqDo+s nORjKszRBoITDyrWX627gMjtOAkYnLNpyQZP88Pq1IaoB8EcdTBCLi8gufV/aFVSdvdc zj71Icbn8PzVV29OJ1QIYFZ02phJ0NPYbv8LjJYr8rfjm/YHWkNVlJp0CKtpezT5QEwf pS6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=aBZLUd4hpubjdvlFEYkQ1ouWUmfNmrO8MxfGM+7n9TY=; b=Ko9B0a49TlMH/LsRE9SzZi4XHJkPhpMWxqoH9o5LilOSK4r+l3XSORWwtuRBa3voLm AR12RPEj+5oOsPTHu7X4GehukyDVscHcihpMqC0nivQRBCJMgVKbZuHyq1CiPAxPVv1b wXgttJ/6K1VLDZWuer5bJmCjU+HATlgy0epzo4Ga5R6FGRMpsXF4870aRGDLUbEXewn5 X4j6BFwE3Lee0m1PIxkafuIkrCGawxzqrbkKkw+lJx5j+hZE5kWsX/zYKBGJFVB5Jxzy j05d5qYvO0JKHK/OeFhbi12Pv1jxxQhEEtyYJuiAhiG4oSDU2j0ifk+6csI6rJTneLkH AdCQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si2798130plr.386.2019.03.11.15.26.46; Mon, 11 Mar 2019 15:27:02 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbfCKW03 (ORCPT + 99 others); Mon, 11 Mar 2019 18:26:29 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33424 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbfCKW02 (ORCPT ); Mon, 11 Mar 2019 18:26:28 -0400 Received: by mail-oi1-f193.google.com with SMTP id z14so489959oid.0; Mon, 11 Mar 2019 15:26:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=aBZLUd4hpubjdvlFEYkQ1ouWUmfNmrO8MxfGM+7n9TY=; b=cGqumrwwrxKPX2RRydn/5VutQ/UzrXf8VOXkkZoKKMQOcS9YxnUHtg1G8zNFvzsxQm LjxVtDaIf2F8ujbX7ymv68iqsrqCFZFVDYI8cBSSFyQXVJ4ht9X/CG/aMFfzp3IMoaqp EfaltRXYo7BT7/SgB9L6+Czi8U0GuOT0IS8leosjij4BAHV0VqWVaS06JokYCrHOWWh1 V8hqNoQTRYun47tnPvE7QJ6fPiIWqnzGUNWfziDj5baLRyIn31B+9FgDv+4fTRgUwolW lbeqAOIFcI+W5kVAnZ6ZbsFrdxnVsIIl8OSMSDDXb2CFKKkLfhMJA17kqnhNDoREz/Gd bgPg== X-Gm-Message-State: APjAAAUEjMIshk/TFIcpKs1FvY1SWfTMbQ1KzIiek54+iIZEt04nC/iF cizESMdOXk4w1x4OtrzCUQ== X-Received: by 2002:aca:360a:: with SMTP id d10mr357468oia.68.1552343187680; Mon, 11 Mar 2019 15:26:27 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id d11sm2739097otp.18.2019.03.11.15.26.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Mar 2019 15:26:27 -0700 (PDT) Date: Mon, 11 Mar 2019 17:26:26 -0500 From: Rob Herring To: Patrick Havelange Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Mark Rutland , Matt Weber , Paresh Chaudhary , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v6 2/4] dt-bindings: iio/temperature: Add doc for thermocouple-type Message-ID: <20190311222626.GA26688@bogus> References: <20190307103409.24174-1-patrick.havelange@essensium.com> <20190307103409.24174-2-patrick.havelange@essensium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190307103409.24174-2-patrick.havelange@essensium.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 07, 2019 at 11:34:07AM +0100, Patrick Havelange wrote: > This explains the new generic property "thermocouple-type" that > can be used with temperature sensors. > > Signed-off-by: Patrick Havelange > --- > Changes v6 > - Add this file > --- > .../bindings/iio/temperature/temperature-bindings.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt > > diff --git a/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt b/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt > new file mode 100644 > index 000000000000..69a6441d8083 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt > @@ -0,0 +1,11 @@ > +If the temperature sensor device can be configured to use some specific > +thermocouple type, you can use the defined types provided in the file > +"include/dt-bindings/iio/temperature/thermocouple.h". You can include patch 1 in this patch. > + > +Optional property: Optional or not is really up to the specific device. > +thermocouple-type: The type of the thermocouple used by the device. What's the type? "A single cell" presumably. > + > +For example: As this is example is incomplete, I'd drop this. > + device { > + thermocouple-type = ; > + }; > -- > 2.19.1 >