From patchwork Sun Mar 17 15:47:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angus Ainslie X-Patchwork-Id: 1057509 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="T6fqjNs/"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="caJWXrR/"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44MkHJ1T7wz9s7h for ; Mon, 18 Mar 2019 02:48:11 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727043AbfCQPsL (ORCPT ); Sun, 17 Mar 2019 11:48:11 -0400 Received: from node.akkea.ca ([192.155.83.177]:34200 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbfCQPsK (ORCPT ); Sun, 17 Mar 2019 11:48:10 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 58F314E2050; Sun, 17 Mar 2019 15:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837690; bh=unGjJltg8u9g2EY98mxhLEZEt6mxzTeC2pwjMH5zOvg=; h=From:To:Cc:Subject:Date; b=T6fqjNs/o7KSb9Dk2iIzfCG/fd/rIa0k2d7BIwkNULf8wbqUpgYjCGOQ7hk65E2HU LqFmmGZq8/8JBEfxx0pSBBwWRNPIQyRV/DoTwPWkWLBknzip+XBBFIlXz/swpSDlz+ FPIvPIa2YQKuEMY1eN6XrvO7r3FW4WT9XuCuoU38= 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 LHUApSl3AATF; Sun, 17 Mar 2019 15:48:09 +0000 (UTC) Received: from midas.localdomain (S0106788a2041785e.gv.shawcable.net [70.66.86.75]) by node.akkea.ca (Postfix) with ESMTPSA id 7275B4E204B; Sun, 17 Mar 2019 15:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552837689; bh=unGjJltg8u9g2EY98mxhLEZEt6mxzTeC2pwjMH5zOvg=; h=From:To:Cc:Subject:Date; b=caJWXrR/23zXdrStR9xGz8ZQQAbgBVTPcWGyfaKfY+9uZ2Up0zDqvtFG144tauCb3 HAH2a/ebz4QybTd3w6Q2wqPBP4/k00Wek2zCo0BLASE7ic+dPa57iFeF/WmdmKwYGP MB42eLJLeXGWd9BW8lyXdGQpYE8kF8Oz1YNJEI7E= 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 0/5] Add a VCNL4040 light and proximity driver Date: Sun, 17 Mar 2019 08:47:57 -0700 Message-Id: <20190317154802.15174-1-angus@akkea.ca> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Extend the Vishay VCNL4000/4010/4020/4200 driver to work with the VCNL4040 chip. Changes since V1: Separated byte vs word bug fix. Separated device tree hooks. Separated devicetree binding patches. Angus Ainslie (Purism) (5): iio: light: vcnl4000 use word writes instead of byte writes iio: light: vcnl4000 add devicetree hooks dt-bindings: iio: light: add vcnl4000 devicetree bindings iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor dt-bindings: iio: light: add vcnl4040 devicetree bindings .../bindings/iio/light/vcnl4000.txt | 24 ++++++ drivers/iio/light/vcnl4000.c | 77 ++++++++++++++++--- 2 files changed, 91 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/light/vcnl4000.txt Tested-by: Tomas Novotny