From patchwork Mon Jul 17 17:39:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 789644 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xB9XG1PcSz9sxR for ; Tue, 18 Jul 2017 03:39:26 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UDYR5e1T"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751372AbdGQRjY (ORCPT ); Mon, 17 Jul 2017 13:39:24 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36417 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbdGQRjW (ORCPT ); Mon, 17 Jul 2017 13:39:22 -0400 Received: by mail-wm0-f67.google.com with SMTP id 15so284255wmm.3; Mon, 17 Jul 2017 10:39:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iQoRRg9p+wBcgCCdh+lU+K+shsnFFVnp0lNcGvaeb2s=; b=UDYR5e1TWCqwWNRLLkFzuMLxdqT0N4sKC63JAuic1WosLajg9L1l4qKWp9Vo4M6WVb iEhtLdbdo99nE3V8n3cTk900ZdJg0ewWN1KR0aqAFSB2zd8AZWg8Zg9Ip9sfuiR+gP1i DglkJlgV46PZD9kZ66+zf+yFhzN9lKkTWzobWCDyxY+fahl+f1scdSqcXJjG2R2eh1Ku oOK08ryI7V5YA6JRPi7ou7GqVO3GlLNuxZGRo1Q7XUs1s4yQTAxNpEAXZg+2CTW+a0q2 CXE8+A9GhDaRZNIM338pZaw20EQ2vw22hBoRBUJiRCXzMHe6qVU17iJhFnDYyemgMThn ksTQ== 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:in-reply-to :references; bh=iQoRRg9p+wBcgCCdh+lU+K+shsnFFVnp0lNcGvaeb2s=; b=fHFwrJHoFN8z/22/Tj3nba5Yevvdnh1xWqJv1lZBCMGCWYMLstRRpjXKq3CPeKk9oA /V3mBoeThVHhp0n3NL+kKSbw82hut+oO2SBxiud5EIqwukfE/+owK0N95VjwbtK5V+6+ o19b5gYcvpJMH33oWtxA7XxvPeu4TnvtTOsinOWMSX8a/UUcOVTZoZLL8YsoGMY18AAc e/ilBCXoF2H3YyNwfBjoPA9oTaOR1zf9776ZWulg+tmsPcWK8wbttyaA709A1FYS3+Sh 9rzJs/+67l9gqmNqhRLuTHTBaSSHnxMB7ZMNU3Mko/6cXSF/uGyxncpjX8fz65ShRJJC QsYg== X-Gm-Message-State: AIVw11320p5hoEkp7zr5ffneRtozbnL102gPSQLBwJb+hAc1sBLaqrP3 N2FnErxrk4McBFjK X-Received: by 10.28.49.3 with SMTP id x3mr3482169wmx.39.1500313161002; Mon, 17 Jul 2017 10:39:21 -0700 (PDT) Received: from localhost.localdomain ([151.66.85.93]) by smtp.gmail.com with ESMTPSA id l8sm402329wmd.15.2017.07.17.10.39.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 10:39:20 -0700 (PDT) From: Lorenzo Bianconi X-Google-Original-From: Lorenzo Bianconi To: jic23@kernel.org Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, lorenzo.bianconi@st.com Subject: [PATCH v2 09/10] dt-bindings: iio: humidity: hts221: support open drain mode Date: Mon, 17 Jul 2017 19:39:04 +0200 Message-Id: <20170717173905.8209-10-lorenzo.bianconi@st.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170717173905.8209-1-lorenzo.bianconi@st.com> References: <20170717173905.8209-1-lorenzo.bianconi@st.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Lorenzo Bianconi Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/humidity/hts221.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/humidity/hts221.txt b/Documentation/devicetree/bindings/iio/humidity/hts221.txt index fca263e13400..10adeb0d703d 100644 --- a/Documentation/devicetree/bindings/iio/humidity/hts221.txt +++ b/Documentation/devicetree/bindings/iio/humidity/hts221.txt @@ -5,6 +5,14 @@ Required properties: - reg: i2c address of the sensor / spi cs line Optional properties: +- drive-open-drain: the interrupt/data ready line will be configured + as open drain, which is useful if several sensors share the same + interrupt line. This is a boolean property. + If the requested interrupt is configured as IRQ_TYPE_LEVEL_HIGH or + IRQ_TYPE_EDGE_RISING a pull-down resistor is needed to drive the line + when it is not active, whereas a pull-up one is needed when interrupt + line is configured as IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_EDGE_FALLING. + Refer to pinctrl/pinctrl-bindings.txt for the property description. - interrupt-parent: should be the phandle for the interrupt controller - interrupts: interrupt mapping for IRQ. It should be configured with flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or