From patchwork Sun Mar 17 15:48:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1057511 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="M8023vFK"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="oZ56cnsy"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44MkHb54RGz9s7h for ; Mon, 18 Mar 2019 02:48:27 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbfCQPs1 (ORCPT ); Sun, 17 Mar 2019 11:48:27 -0400 Received: from node.akkea.ca ([192.155.83.177]:34276 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727390AbfCQPsO (ORCPT ); Sun, 17 Mar 2019 11:48:14 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 143864E205C; Sun, 17 Mar 2019 15:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837692; bh=4TFo43pNxPR5bE8qq1l7k0ic0qIUblTF7AASecUk58s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=M8023vFKaw/b0KMgCrSJkoEtuoUPgdX4pO8wgDLM5TMh6wU8ZySeIk8ZusT2mKCYg Nj2XxqEkiIvXQjH7/o3Fl2xq02OSNR4UJ7qktDZfDb/HM+05TJ3NvRy386kQh4/l2W KLE3yzLwVYtJCHh1aZhowsqS/YUqcbixRqQldgVM= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WgsHLtUOjcEQ; Sun, 17 Mar 2019 15:48:11 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 3DACC4E204D; Sun, 17 Mar 2019 15:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837691; bh=4TFo43pNxPR5bE8qq1l7k0ic0qIUblTF7AASecUk58s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=oZ56cnsy1qQ7tkGM25cMmHE7ntOk27CDMmIUY+jazE9wzVJs1qhrd4u6eZPwktHnv pOXMnU1NVuT6XYhppyvheGPJg7Unfp86vj6GtZ5NACdyX5c17wZbis9RWfncO8JrdP TSQgL7u4rE+46cRXA2l1onEFXX5IMmg3SMCdR97c= From: "Angus Ainslie (Purism)" To: Jonathan Cameron Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , "Angus Ainslie (Purism)" , Tomas Novotny , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/5] dt-bindings: iio: light: add vcnl4000 devicetree bindings Date: Sun, 17 Mar 2019 08:48:00 -0700 Message-Id: <20190317154802.15174-4-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190317154802.15174-1-angus@akkea.ca> References: <20190317154802.15174-1-angus@akkea.ca> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the vishay VCNL4000 devicetree bindings. Signed-off-by: Angus Ainslie (Purism) --- .../bindings/iio/light/vcnl4000.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/vcnl4000.txt diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt new file mode 100644 index 000000000000..4a9d558a412a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt @@ -0,0 +1,22 @@ +VISHAY VCNL4000 - Ambient Light and proximity sensor + +This driver supports the VCNL4000/10/20 and VCNL4200 chips + +Required properties: + + -compatible: must be one of : + vishay,vcnl4000 + vishay,vcnl4010 + vishay,vcnl4020 + vishay,vcnl4200 + + -reg: I2C address of the sensor, should be one from below based on the model: + 0x13 + 0x51 + +Example: + +light-sensor@51 { + compatible = "vishay,vcnl4200"; + reg = <0x51>; +}; From patchwork Sun Mar 17 15:48:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1057510 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="WXT5Y5ee"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="WXT5Y5ee"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44MkHX5Chdz9sD4 for ; Mon, 18 Mar 2019 02:48:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727421AbfCQPsS (ORCPT ); Sun, 17 Mar 2019 11:48:18 -0400 Received: from node.akkea.ca ([192.155.83.177]:34300 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727400AbfCQPsP (ORCPT ); Sun, 17 Mar 2019 11:48:15 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 5C8E84E204E; Sun, 17 Mar 2019 15:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837693; bh=YtdSndT+Zi4H2ytZ+tYpf/nUtlDxjWqNqGUqu3RpO8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WXT5Y5eeTyc94+vTc0/e37cDBh224BQxoN7p9x9PnbPeRbt8H41sFu/IkjzHPuEym GarIvKTRJcwrA1YbjoAXtsajd6LEqXzhUf5Poe9qrE+Mpc7gA2zuk10g52+1ZA787x 7gg3Y7bB5WotLxXnQysjN3PGLYJwNmHVforpDq1c= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYlyr1HGZOkk; Sun, 17 Mar 2019 15:48:13 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 7C1714E204D; Sun, 17 Mar 2019 15:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837693; bh=YtdSndT+Zi4H2ytZ+tYpf/nUtlDxjWqNqGUqu3RpO8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WXT5Y5eeTyc94+vTc0/e37cDBh224BQxoN7p9x9PnbPeRbt8H41sFu/IkjzHPuEym GarIvKTRJcwrA1YbjoAXtsajd6LEqXzhUf5Poe9qrE+Mpc7gA2zuk10g52+1ZA787x 7gg3Y7bB5WotLxXnQysjN3PGLYJwNmHVforpDq1c= From: "Angus Ainslie (Purism)" To: Jonathan Cameron Cc: Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Mark Rutland , "Angus Ainslie (Purism)" , Tomas Novotny , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] dt-bindings: iio: light: add vcnl4040 devicetree bindings Date: Sun, 17 Mar 2019 08:48:02 -0700 Message-Id: <20190317154802.15174-6-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190317154802.15174-1-angus@akkea.ca> References: <20190317154802.15174-1-angus@akkea.ca> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the vishay VCNL4040 devicetree bindings. Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/iio/light/vcnl4000.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt index 4a9d558a412a..955af4555c90 100644 --- a/Documentation/devicetree/bindings/iio/light/vcnl4000.txt +++ b/Documentation/devicetree/bindings/iio/light/vcnl4000.txt @@ -1,6 +1,6 @@ VISHAY VCNL4000 - Ambient Light and proximity sensor -This driver supports the VCNL4000/10/20 and VCNL4200 chips +This driver supports the VCNL4000/10/20/40 and VCNL4200 chips Required properties: @@ -8,11 +8,13 @@ Required properties: vishay,vcnl4000 vishay,vcnl4010 vishay,vcnl4020 + vishay,vcnl4040 vishay,vcnl4200 -reg: I2C address of the sensor, should be one from below based on the model: 0x13 0x51 + 0x60 Example: