From patchwork Wed Dec 4 10:03:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Denis, Tomislav AVL DiTEST" X-Patchwork-Id: 11272691 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 65524138C for ; Wed, 4 Dec 2019 10:12:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 41160205ED for ; Wed, 4 Dec 2019 10:12:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=avl.com header.i=@avl.com header.b="I0s59Pxo" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727420AbfLDKMN (ORCPT ); Wed, 4 Dec 2019 05:12:13 -0500 Received: from mx07-002cda01.pphosted.com ([185.132.180.122]:16188 "EHLO mx07-002cda01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727351AbfLDKMN (ORCPT ); Wed, 4 Dec 2019 05:12:13 -0500 Received: from pps.filterd (m0135535.ppops.net [127.0.0.1]) by mx07-002cda01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB4A292L015151; Wed, 4 Dec 2019 10:03:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=avl.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=08102019; bh=K5tNEdnBxAlxUCd+/rv0lf5SXzwX97+D5pqy1mjYJDs=; b=I0s59Pxoa8ms+y6D2pvwsb4oNNZgyKidLJ6ejlnL2v3QRyEGR0YH+PDbVk1OwYen8PZ+ ohDm3SypCMfpmr3RFQwdz/vpN7rPtNVJW8j8g1hhJGdhUwKcOu57Fe/W9ySkJwkPbqj4 SLJykGd14xtXRde5xlqyxXSgrHe8MftsW9Xlfv7dpApJ/VQdv+NPz3lsWXVDBFQgZFdf F96b5f6mg7gAVjl+xL9mFb1nYTNqjJYu89Tg9Szidg921pBK2IsfXsTEaJnwW1mg501B 4JGvc8l1cGfJCG8IsbaUZRgZRGlZ1lZc7/nreChdd/ib+vOL0//bc3bghTUuQppPZdTn BA== Received: from atgrzso2833.avl01.avlcorp.lan ([192.102.17.76]) by mx07-002cda01.pphosted.com with ESMTP id 2wnja3thf1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Dec 2019 10:03:56 +0000 Received: from pps.filterd (atgrzso2833.avl01.avlcorp.lan [127.0.0.1]) by atgrzso2833.avl01.avlcorp.lan (8.16.0.27/8.16.0.27) with SMTP id xB49xhBu028880; Wed, 4 Dec 2019 11:03:56 +0100 Received: from atgrzsw1696.avl01.avlcorp.lan ([10.13.100.86]) by atgrzso2833.avl01.avlcorp.lan with ESMTP id 2wkh0psxe6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 04 Dec 2019 11:03:55 +0100 Received: from atgrzsw3272.avl01.avlcorp.lan (10.12.65.158) by atgrzsw1696.avl01.avlcorp.lan (10.12.64.164) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Dec 2019 11:03:55 +0100 Received: from atgrzsw1696.avl01.avlcorp.lan (10.12.64.164) by atgrzsw3272.avl01.avlcorp.lan (10.12.65.158) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Dec 2019 11:03:55 +0100 Received: from ATGRZWN210214.avl01.avlcorp.lan (10.12.100.12) by atgrzsw1696.avl01.avlcorp.lan (10.12.64.164) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 4 Dec 2019 11:03:55 +0100 From: To: CC: , , Subject: [PATCH v3 3/3] bindings: iio: pressure: Add dlh-i2c documentation Date: Wed, 4 Dec 2019 11:03:54 +0100 Message-ID: <20191204100354.16652-4-tomislav.denis@avl.com> X-Mailer: git-send-email 2.10.1.windows.1 In-Reply-To: <20191204100354.16652-1-tomislav.denis@avl.com> References: <20191204100354.16652-1-tomislav.denis@avl.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: f9e74532-fb7d-4806-8539-2b9574eafa9a X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-12-04_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=778 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912040077 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-04_03:2019-12-04,2019-12-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=1 malwarescore=0 mlxlogscore=838 adultscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 clxscore=1015 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912040077 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Tomislav Denis Add a device tree binding documentation for DLH series pressure sensors. Signed-off-by: Tomislav Denis --- .../bindings/iio/pressure/asc,dlh-i2c.yaml | 51 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/pressure/asc,dlh-i2c.yaml diff --git a/Documentation/devicetree/bindings/iio/pressure/asc,dlh-i2c.yaml b/Documentation/devicetree/bindings/iio/pressure/asc,dlh-i2c.yaml new file mode 100644 index 0000000..5de2277 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/asc,dlh-i2c.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/dlh-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: All Sensors DLH series low voltage digital pressure sensors + +maintainers: + - Tomislav Denis + +description: | + Bindings for the All Sensors DLH series pressure sensors. + + Specifications about the sensors can be found at: + http://www.allsensors.com/cad/DS-0355_Rev_B.PDF + +properties: + compatible: + enum: + - asc,dlhl60d + - asc,dlhl60g + + reg: + description: I2C device address + maxItems: 1 + + interrupts: + description: interrupt mapping for EOC(data ready) pin + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + #include + + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + pressure@29 { + compatible = "asc,dlhl60d"; + reg = <0x29>; + interrupt-parent = <&gpio0>; + interrupts = <10 IRQ_TYPE_EDGE_RISING>; + }; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index 39d6f0f..8f0eab0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -674,6 +674,7 @@ W: http://www.allsensors.com/ S: Maintained L: linux-iio@vger.kernel.org F: drivers/iio/pressure/dlh-i2c.c +F: Documentation/devicetree/bindings/iio/pressure/dlh-i2c.yaml ALLEGRO DVT VIDEO IP CORE DRIVER M: Michael Tretter