Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3362641imu; Wed, 7 Nov 2018 09:09:51 -0800 (PST) X-Google-Smtp-Source: AJdET5eWDUCUgymtoka4hVe+scF/E7HE2I7zn98DPgwjtbnLTrlVaiTtdh1+xQlME78uh75yDl+n X-Received: by 2002:a17:902:187:: with SMTP id b7-v6mr1045592plb.150.1541610591215; Wed, 07 Nov 2018 09:09:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541610591; cv=none; d=google.com; s=arc-20160816; b=BXXIZ1LXxm1W8DpL/rJHmlQZfKnf2XYiBJUr+P7rs3uau1S9KJltzms8MkFrbXSBEq RpDIhneB047pnNT/VBhs4bls9/jyTjQ1GEXvGUAKyPmhb2fGazKMndBF6AoQcNtcAmvJ 8L9Dhv1i6bF7QurG1CsakJPVOHdJ1P1pLjLbij0Y+v9MbPqSEOeoX2Q7ObE3ErZvnCFe 21cXqv5AsYb2Dp0xIMNABm9qyR6ITdEy9teCojkLuKMVIOS5fPoCKDYI701FqKOMduPK vXZnkTNWJypsMCtbHHuhx4rq196y2GSDgsbASbq2fxZeO7xW8vFge62msqV+Nmj7VucU 3J5w== 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; bh=5rruz3MmNy/luI1ZrQJOfFAbkfJQwJbuZCYwCJlBu2A=; b=w7uH7T+4SUvW13vDQrjlbvLT2kTUBiyNtBvMpJbNFG9Fmqo16NO5tMnVWyCJHDG6LD zqy7/PJniyTHftyUXnhPD6+DiQ+YvphjT/qj16XOqIPRdzVXpNayGROdH3V1xDF13uXa IY/+MIpGiRYqEjK6kyj++jC0GiPX82q998trU8K6U7dYzXCqFJtCkZsQQC05RhLXJPUp jsNREdffjxl4Ljd26IQk9WhT+ICj0QbL1g5dextmKtgNjLtp+l5UEZEt8UEQw+jY6kLn SUAkCP8KWI9bLDUWz8yYbywep+JLuOj2g+f7zdZGZueN7vxmjFscn+/zbArSDXMRR9FB /D9Q== 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 h65-v6si1256295pfc.62.2018.11.07.09.09.36; Wed, 07 Nov 2018 09:09:51 -0800 (PST) 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 S2387653AbeKHCkK (ORCPT + 99 others); Wed, 7 Nov 2018 21:40:10 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:35321 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbeKHCkJ (ORCPT ); Wed, 7 Nov 2018 21:40:09 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42qtDN2zKNz1qwHy; Wed, 7 Nov 2018 18:08:52 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42qtDN1rW8z1qrn2; Wed, 7 Nov 2018 18:08:52 +0100 (CET) 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 v5qSsqEu69pD; Wed, 7 Nov 2018 18:08:50 +0100 (CET) X-Auth-Info: WiNfnnfLcZ/YXbHQ3H5zm+LZEJbkmGVVh/JbvFi3GsU= 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; Wed, 7 Nov 2018 18:08:50 +0100 (CET) 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, Parthiban Nallathambi Subject: [PATCH v7 2/2] iio: light: Add device tree binding for vishay vcnl4035 Date: Wed, 7 Nov 2018 18:08:21 +0100 Message-Id: <20181107170821.1171886-2-pn@denx.de> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181107170821.1171886-1-pn@denx.de> References: <20181107170821.1171886-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 Reviewed-by: Rob Herring --- Notes: Changelog in v4: - commit message fix - same indexing/space in binding Changelog in v3: - removed interrupt-parent property reference in documentation - renamed vcnl4035 to light-sensor .../devicetree/bindings/iio/light/vcnl4035.txt | 18 ++++++++++++++++++ .../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 4b1a2a8fcc16..3c5e0c6f6cee 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -415,6 +415,7 @@ vamrs Vamrs Ltd. variscite Variscite Ltd. via VIA Technologies, Inc. virtio Virtual I/O Device Specification, developed by the OASIS consortium +vishay Vishay Intertechnology, Inc vitesse Vitesse Semiconductor Corporation vivante Vivante Corporation vocore VoCore Studio -- 2.17.2