Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1267587imc; Sun, 17 Mar 2019 08:51:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDOvSwXse/cFMzCqjdok0QPZtnaXiTfPBofqqwfhMHKPZfGwaebVnPrGmHKvJ1x9uVrDQl X-Received: by 2002:a62:1b92:: with SMTP id b140mr14811567pfb.159.1552837893982; Sun, 17 Mar 2019 08:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552837893; cv=none; d=google.com; s=arc-20160816; b=MI3BsxqnxXEUzorzsbE4r9MvP9hhUP3XDts0D4Y+IxEAs09//OYHPeio8Vw8OkV8fc 7j4izeTaxOTrb0kN/3vMd23XTX4kF/ur+iv7LMEGYRBU+y49diiYjbWfEc09GDwuFpDU HwQlHYSev5w/AZnV+M6BIIrzGsRlzUD2hAW4VNC3VFel06cD1iElM6JSibHkUB6hSeSI EdR4WxUJittLtKvX12VxJBUfTXyyacwZ2CTLapRwkC3o8rVoFnqNbFojRohsrfrZL/xT JkO9lqS6Bsq4vzPuQLNRp5+RQuKsiRf3fgHVIXgbo/o/x9P5Va0D/W+GNC5xITdulWpz GzRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=unGjJltg8u9g2EY98mxhLEZEt6mxzTeC2pwjMH5zOvg=; b=UvvJb2Wln7rXz8k/WaVKSsjn/W/lpYBvLSZU9zNbCOhCeXwTrwqwR1B7e/H3+0Fksr XweaH4AuX5l0vnawj6sGfRryYIdPnSJQ+0OgEWpjZXTO51afNw0nUr+Bk/ioSu0A6R6j n+4QZVqrwGCtR4tWub97EPKNbyPYpoeWXqIaNi2zPzIvqh9PNvgUriLaf0hWKRgMseio D8ahel0wMVX1T+uB+2eC8VxNLWpVawmQQ8HH9HvmaNYUySdfK2P4Nz2XMaaIXlG35Lg6 46DE9nN781o2C7cNRZ8HAVX1UDnMnJFjNc0D2soWQ71XCJLMkSvuORYtLifDAE0L+0PR cTeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akkea.ca header.s=mail header.b="T6fqjNs/"; dkim=pass header.i=@akkea.ca header.s=mail header.b="caJWXrR/"; 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 k20si6842329pfk.55.2019.03.17.08.51.19; Sun, 17 Mar 2019 08:51:33 -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; dkim=pass header.i=@akkea.ca header.s=mail header.b="T6fqjNs/"; dkim=pass header.i=@akkea.ca header.s=mail header.b="caJWXrR/"; 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 S1727369AbfCQPsL (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.17.1