From patchwork Thu Mar 21 15:40:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1060249 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="SLdQZ3mH"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="SLdQZ3mH"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44Q9xc61rWz9sQy for ; Fri, 22 Mar 2019 02:41:24 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728445AbfCUPlS (ORCPT ); Thu, 21 Mar 2019 11:41:18 -0400 Received: from node.akkea.ca ([192.155.83.177]:39228 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728420AbfCUPlE (ORCPT ); Thu, 21 Mar 2019 11:41:04 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 66EC34E205C; Thu, 21 Mar 2019 15:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1553182862; bh=4TFo43pNxPR5bE8qq1l7k0ic0qIUblTF7AASecUk58s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SLdQZ3mHo4S8hRTJBvVh/QZEHHiZa3O0FX2aKsI11eki2yvVzY7Y1BnbNca9+VNBN HliwiZcRLHlQLxlqpYFln9NmZ9PkHZX+AciXQRo97giJ2xvyIO19EOhcd54UK2aeV9 Or9srP7OXbI644PdLj+3aRBgpK8vivjiYJmo69EE= 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 6ZZIeaEe2qqK; Thu, 21 Mar 2019 15:41:02 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 67E5D4E204D; Thu, 21 Mar 2019 15:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1553182862; bh=4TFo43pNxPR5bE8qq1l7k0ic0qIUblTF7AASecUk58s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SLdQZ3mHo4S8hRTJBvVh/QZEHHiZa3O0FX2aKsI11eki2yvVzY7Y1BnbNca9+VNBN HliwiZcRLHlQLxlqpYFln9NmZ9PkHZX+AciXQRo97giJ2xvyIO19EOhcd54UK2aeV9 Or9srP7OXbI644PdLj+3aRBgpK8vivjiYJmo69EE= From: "Angus Ainslie (Purism)" To: jic23@kernel.org 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 v3 3/5] dt-bindings: iio: light: add vcnl4000 devicetree bindings Date: Thu, 21 Mar 2019 08:40:45 -0700 Message-Id: <20190321154047.23236-4-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190321154047.23236-1-angus@akkea.ca> References: <20190321154047.23236-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) Reviewed-by: Rob Herring --- .../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 Thu Mar 21 15:40:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1060248 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="i8iOeqvx"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="i8iOeqvx"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44Q9xM5zTpz9sRH for ; Fri, 22 Mar 2019 02:41:11 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728485AbfCUPlF (ORCPT ); Thu, 21 Mar 2019 11:41:05 -0400 Received: from node.akkea.ca ([192.155.83.177]:39268 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728451AbfCUPlF (ORCPT ); Thu, 21 Mar 2019 11:41:05 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id ECDDE4E2050; Thu, 21 Mar 2019 15:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1553182863; bh=YtdSndT+Zi4H2ytZ+tYpf/nUtlDxjWqNqGUqu3RpO8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=i8iOeqvxT1culvpsNKvETdttqGXoisT5aTDefG1JHYb61mNw3tARgm5RHvsunHVm+ VezKG0tpm0TqZ5aSl4s+Mh2PoCfD++4eegilOlxL/cfaZC9HQeF6SfjrzID8a+OZHR 9mDy6n/tNftctHUUbhmmPq1SvLT19a3ShTlogB04= 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 6JwGBtvwvxIF; Thu, 21 Mar 2019 15:41:03 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 242804E204B; Thu, 21 Mar 2019 15:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1553182863; bh=YtdSndT+Zi4H2ytZ+tYpf/nUtlDxjWqNqGUqu3RpO8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=i8iOeqvxT1culvpsNKvETdttqGXoisT5aTDefG1JHYb61mNw3tARgm5RHvsunHVm+ VezKG0tpm0TqZ5aSl4s+Mh2PoCfD++4eegilOlxL/cfaZC9HQeF6SfjrzID8a+OZHR 9mDy6n/tNftctHUUbhmmPq1SvLT19a3ShTlogB04= From: "Angus Ainslie (Purism)" To: jic23@kernel.org 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 v3 5/5] dt-bindings: iio: light: add vcnl4040 devicetree bindings Date: Thu, 21 Mar 2019 08:40:47 -0700 Message-Id: <20190321154047.23236-6-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190321154047.23236-1-angus@akkea.ca> References: <20190321154047.23236-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) Reviewed-by: Rob Herring --- 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: