Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7827018imm; Thu, 28 Jun 2018 09:50:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7mp8nBeRmLKuGb0gi9MacKkx8LE5BnlSs3xDyQbqYQIViiNINb/STIKdpU/WU2+9ZBe85 X-Received: by 2002:a65:5a8a:: with SMTP id c10-v6mr5619783pgt.389.1530204659043; Thu, 28 Jun 2018 09:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530204659; cv=none; d=google.com; s=arc-20160816; b=f9VFD5tzOJy0U5HJhnxVUdjImRSdiGBVY69rnGkkUXTTjWPgDsXke6Pg01Zz8r7EYX OMqu3zjVgZJIgowTZnY+hrQaVwcT+U3PdBiAy6eLdM44tutTGrJqvCf++E+u7VPqHFFW 6E1pkgVwRUjhOwLwuCBkQLZP5YbifUNVvq5+OrNSwqAOq1p8ZGjqY6Q+23BuJufQW80o O2sAmRd2V8UtrIbv/tO+R/KAvwi7orcFZ92RUdhjfeRa3IWNvGD98C+wHPKw3ZddTuGB THHYu3caYk1Ipt0IxA5nlVXMTguM2gv226jzIenF0mMLpxv+6/5bWCAh65ud6HftIhBw r5uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=bImmxeT+IJ8HNaR5eJguy58OWvzKUg3N0fxAImDTlnQ=; b=0ho5ULnnY2kkh2XRMOfeT8LMrPlgKWUcsj4m5L11pO/23IzDY4PZd2696fSIWgkbIx DAUDRgfpJ1HcAytRF3dpuSHlKjpVIJU2FCL/21PsC+T7bwMkrrDddVVKFpZPej0cCpl9 Ki52hPFlVQhhiVg0Oqf7ekRixytK+P/ho0UCuTY9MCn/RH/rTP0Q1Bab00/lZWQCzxYW FiKU9IJU3wuid0ON/RIo/XHr2P5il+QI/e03ykSM710UGP4NCQg99p/xhuyzUnMbtaMT Bke3w0ora7VhG2wwbTzdPU4g3HwX9mW294B5odjMWBCnI8nSO3IzrONVCMTgN4LtRDIu NL8g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12-v6si7182855pfa.113.2018.06.28.09.50.44; Thu, 28 Jun 2018 09:50:58 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934883AbeF1MbA (ORCPT + 99 others); Thu, 28 Jun 2018 08:31:00 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:44935 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932371AbeF1Ma5 (ORCPT ); Thu, 28 Jun 2018 08:30:57 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 41GfJc0d89z1qx8s; Thu, 28 Jun 2018 14:30:56 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 41GfJb6W3dz1qqkc; Thu, 28 Jun 2018 14:30:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Gflr7UYQKIkS; Thu, 28 Jun 2018 14:30:49 +0200 (CEST) X-Auth-Info: h3NygOKCiPXAqS/WVP84WIJOpwHX3h7Q9bjXXquL3wY= Received: from xpert.denx.de (unknown [62.91.23.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Jun 2018 14:30:49 +0200 (CEST) From: Parthiban Nallathambi To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, matthias.bgg@gmail.com, wd@denx.de, sbabic@denx.de, hs@denx.de, Parthiban Nallathambi Subject: [PATCH 2/2] iio: light: Add device tree binding for vishay vcnl4035 Date: Thu, 28 Jun 2018 14:30:21 +0200 Message-Id: <20180628123021.1628338-2-pn@denx.de> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180628123021.1628338-1-pn@denx.de> References: <20180628123021.1628338-1-pn@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding device tree binding for vcnl4035 and vendor prefix for Vishay Intertechnology Signed-off-by: Parthiban Nallathambi --- .../devicetree/bindings/iio/light/vcnl4035.txt | 19 +++++++++++++++++++ Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/vcnl4035.txt diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4035.txt b/Documentation/devicetree/bindings/iio/light/vcnl4035.txt new file mode 100644 index 000000000000..7ffdc0246300 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vcnl4035.txt @@ -0,0 +1,19 @@ +VISHAY VCNL4035 - Ambient Light and proximity sensor + +Link to datasheet: https://www.vishay.com/docs/84251/vcnl4035x01.pdf + +Required properties: + + -compatible: should be "vishay,vcnl4035" + -reg: I2C address of the sensor, should be 0x60 + - interrupt-parent: should be the phandle for the interrupt controller + - interrupts: interrupt mapping for GPIO IRQ (level active low) + +Example: + +vcnl4035@60 { + compatible = "vishay,vcnl4035"; + reg = <0x60>; + interrupt-parent = <&gpio4>; + interrupts = <11 IRQ_TYPE_LEVEL_LOW>; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 7cad066191ee..3cc46d5735a9 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -395,6 +395,7 @@ v3 V3 Semiconductor variscite Variscite Ltd. via VIA Technologies, Inc. virtio Virtual I/O Device Specification, developed by the OASIS consortium +vishay Vishay Intertechnology, Inc vivante Vivante Corporation vocore VoCore Studio voipac Voipac Technologies s.r.o. -- 2.14.4