Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp737661imm; Fri, 3 Aug 2018 10:38:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeLyGKQWpmAkmqvz0vddbIyBeV81jrH99Ahms3W0XGSQy6Em5TtEwDCpU2eQVMY/J59gTyM X-Received: by 2002:a17:902:e088:: with SMTP id cb8-v6mr4472372plb.189.1533317882286; Fri, 03 Aug 2018 10:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533317882; cv=none; d=google.com; s=arc-20160816; b=dfc+yGPJMZ7G7C+Z+i4iMK8Uv2TOPCfiRJegnor3UBhtu42ksm8CNRgOmqMD6KHfJt yKU5XWSMWAtkpk2nbq52CZZI2ZvHvIugUeCnxlOa8ZAKvg0r8ipNwJxY6gv1JOesaP8d tVEblTCdnuYd/Dx0S1lelGRTN6ZDq/bo2SV44WDYxrcNM85W7Yt9Cqgueft8qxFTf/3n KfBbb5DgPK3tcasfGYqNHof1dX5d0vIRBoh3ZiuOIOdCzySruaF2cay9mjWVkMjBx0ON aICOUBfU20ks76CQTv2rTaCdVChAWaSMZMRmWtaBgAaR//G1RMirTmtn22CCjFDBgaDh 8/Fg== 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=ksl/KNBp8pGn3Dh1eUFOvCV3J2E4dWByGsYCOclAKlc=; b=YusAgFQEb6UariH9BvAQPBFTDCcz2aFfWncZqA4bcMS2nAQUA8BiMUFnBq7PZEBxer Zr07mgq0SM8tsJxioJesqVmBDauXDGLdFcAz80KWg2VpJNQHBYNLM8aoiL21MbCFRbbr Zne3sylmG33XNiakL0zIhS9T2uKTtanWP5udCFjD/n5ztAtHL+yxKD8db3QbR7CrQnmS kOVdOitGD73abfdjx4kzoqnNnRkxZgcQPTwAphcBHxi8NPi0sDG1oGO/vyBOcO4POn+V Lg7XXgmsZr2cErIa2t/z45FvjCCmnXuyyRb2yswlEN4O+tgjvQpLoT5/YMfByu3JRcPr ncXw== 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 d33-v6si4038655pla.292.2018.08.03.10.37.47; Fri, 03 Aug 2018 10:38: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729938AbeHCTeM (ORCPT + 99 others); Fri, 3 Aug 2018 15:34:12 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:33707 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbeHCTeM (ORCPT ); Fri, 3 Aug 2018 15:34:12 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 41hvP24xmcz1qxF4; Fri, 3 Aug 2018 19:36:54 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 41hvP23L4wz20xT0; Fri, 3 Aug 2018 19:36:54 +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 pVRaWRDj36Hp; Fri, 3 Aug 2018 19:36:52 +0200 (CEST) X-Auth-Info: ReNnRhp6NNtNKNA9vruJbTRKDRVfOfcTvDyz857grMo= 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, 3 Aug 2018 19:36:52 +0200 (CEST) From: Parthiban Nallathambi To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, andy.shevchenko@gmail.com 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 v5 2/2] iio: light: Add device tree binding for vishay vcnl4035 Date: Fri, 3 Aug 2018 19:36:36 +0200 Message-Id: <20180803173636.2071442-2-pn@denx.de> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180803173636.2071442-1-pn@denx.de> References: <20180803173636.2071442-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 Changelog in v3: - removed interrupt-parent property reference in documentation - renamed vcnl4035 to light-sensor Changelog in v4: - commit message fix - same indexing/space in binding --- .../devicetree/bindings/iio/light/vcnl4035.txt | 18 ++++++++++++++++++ Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 19 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..c07c7f052556 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vcnl4035.txt @@ -0,0 +1,18 @@ +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 + -interrupts: interrupt mapping for GPIO IRQ (level active low) + +Example: + +light-sensor@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