Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4546804imm; Tue, 7 Aug 2018 03:29:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfHk5CPln1F8PNYqUdaAmU80VBs83ctCswY9Y2v41CulWB/IA3ouhVTfvnYeV4ayUOWdcdX X-Received: by 2002:a62:e813:: with SMTP id c19-v6mr21022276pfi.124.1533637799429; Tue, 07 Aug 2018 03:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533637799; cv=none; d=google.com; s=arc-20160816; b=aFx9Piy2aBUQJE4U/XWp9N1I0AX/qk9DqA2U+Ovjty1pYw/gni0u6q28qCQH1JqUEQ aSC1/nQW0Tojqa6TtEZMBW3j4cwFl1pfZPJejEHb8moqVtFrr64wzqPwukA0U3FYZFOU okQSiAaPgXNjfn8kGduBaZwfhrdVsOU6YR0YNp+i9OzMtvezJV4Wo/473hf97zU6atC/ Sygdx3upop3vi2eIp24qnsfGgQKTtc9Qc4jiOMvWCXgprj3YFzwzDc4PwDCtP0lHPqdc hGtTNV6k8sU7Ty7BKCq6Q7VQcWZ70zsa7GKNeQK0VAsybKTTXJ1j8T7VE5vQkeRdui/6 8P4w== 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=xJ6P9ew4qeFBBu3GdrrQWpurNPshlVz43OxuDLkNKEdazB6ECwQDE5h7fVVUjUy5Yr nMi/vQcFqF9El91ktiNHKqDRdROQRC8SNl+2LgmhhWUvTaaydxQ54sPyFSt6PwvML/QY nXx9rqxFLKKYnNHgFvIlnHWGPPpe33CiOnGnS5b+SeQ8YqAoV7sV/IEgimeJhxjDgsCB 7PbkpkPaBc1rqsKWfWAJGCz8VDgJJPnTkYo3hdFwPFIzhn8/sFy8sBNG7zl2sBzjrfUz gWDA8KHoNRNWGAVfE9z32pXMlwvZqLpFytRcCwCpAltRo+m+dECTguWGb27FW5HYn6C5 bQfg== 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 u134-v6si1005600pfc.244.2018.08.07.03.29.44; Tue, 07 Aug 2018 03:29:59 -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 S1733279AbeHGMlH (ORCPT + 99 others); Tue, 7 Aug 2018 08:41:07 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:60474 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbeHGMlH (ORCPT ); Tue, 7 Aug 2018 08:41:07 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 41l9gd5LJYz1qxDq; Tue, 7 Aug 2018 12:27:25 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 41l9gd3g2Wz1qr2M; Tue, 7 Aug 2018 12:27:25 +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 UUlagcrIaCM6; Tue, 7 Aug 2018 12:27:23 +0200 (CEST) X-Auth-Info: rdua+qMeDn4gJeJSMYxtm/FNMSsBhrIluotdRyetvoY= 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; Tue, 7 Aug 2018 12:27:23 +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 v6 2/2] iio: light: Add device tree binding for vishay vcnl4035 Date: Tue, 7 Aug 2018 12:27:04 +0200 Message-Id: <20180807102704.1652656-2-pn@denx.de> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180807102704.1652656-1-pn@denx.de> References: <20180807102704.1652656-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