Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1027738imm; Fri, 29 Jun 2018 10:06:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd+Num9nIODYnFkwqukCLauaMhEixfJrhbXQLHSBMRZlyK2hOCDsBgDN/RJEdfDqpSNFDWC X-Received: by 2002:a62:c8a:: with SMTP id 10-v6mr15281041pfm.27.1530292010484; Fri, 29 Jun 2018 10:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530292010; cv=none; d=google.com; s=arc-20160816; b=ta+csy3YGXd8nedJokYIGu87JSgiI1b4cZINx/38JzIeoEP4aJnduRwsKRE6dx515w T9xmaYUxhJul2igJAO/tn9cNa3qB2IkbdBn6ExtwSDUHBczGeIp9oQ352VHPLZ8aDDx6 GrrRlbxmrjwTgNANaEaCeRZmnz9h7UmL50Kx0ClPfzxe7ZhBD3SRTsL24Rk901CiFDxn vjtc6v3p/aIBkGyKFXNlwNLqs2h4yum6z+Sp+98jx2qWRsj1rRAnEkuNM4h1UqGkw7vb XmaBkSOjAZA+Uk37Fi0O2ETXBtHOPQ6gCSCeg1XJnr4Cj4ZjkRp/2/bsyRGDtuEHe5zz pdxw== 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=y2lC1U+KnpwC+xIa3o+zKcnuyFgvScMxE7J8vuB67jlvVkh3eRLOjCvGY6/ycJ3ued W7BmUcsoAs3k399yd1ltCbPf8THKm7j/dnm/wtKbp07KEDKknt3yZSjpltv0JyaoSBiF YDL8y8lIaK3nY4P2IdT9xfVbTAf+hBnbOr5g+RzguirjaEpxnBXoj37gJiCDXyBYFld/ 3S9OBZAO0rI6zGCnVKMdi5yKHBP1V8IZdJE6BmlettwsG0aTtujCR1KPz3+x/yFMQvua XfaCcVBld09nEy206J8eivO8NzdwuhAZV/U80kn3RCly5/LSp1qcxXVOyyag4pNe3qSN ktKA== 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 z20-v6si8074256pfj.337.2018.06.29.10.06.35; Fri, 29 Jun 2018 10:06:50 -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 S966289AbeF2PiU (ORCPT + 99 others); Fri, 29 Jun 2018 11:38:20 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:53180 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934054AbeF2PiR (ORCPT ); Fri, 29 Jun 2018 11:38:17 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 41HLQH670Hz1qvTq; Fri, 29 Jun 2018 17:38:15 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 41HLQH54N2z1qqkT; Fri, 29 Jun 2018 17:38:15 +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 cCpRazW9so6g; Fri, 29 Jun 2018 17:38:13 +0200 (CEST) X-Auth-Info: NzK+5+fIYSv3UvHD7Q+k4+ydES9hd5CGYfM5xtB6JDg= 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; Fri, 29 Jun 2018 17:38:13 +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 v2 2/2] iio: light: Add device tree binding for vishay vcnl4035 Date: Fri, 29 Jun 2018 17:38:02 +0200 Message-Id: <20180629153802.1639514-2-pn@denx.de> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180629153802.1639514-1-pn@denx.de> References: <20180628123021.1628338-1-pn@denx.de> <20180629153802.1639514-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