Message ID | 20230308090219.12710-1-clamor95@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp222015wrd; Wed, 8 Mar 2023 01:08:47 -0800 (PST) X-Google-Smtp-Source: AK7set/8Ka25ZMxrW433FW4SMUCibTuh6HAxqvn2AuXPl3aGTpvnL+yKS0hpnMOA9BxHEKNcQ3cJ X-Received: by 2002:a05:6a00:a81:b0:5a8:aa5e:4bc3 with SMTP id b1-20020a056a000a8100b005a8aa5e4bc3mr23878906pfl.1.1678266527287; Wed, 08 Mar 2023 01:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678266527; cv=none; d=google.com; s=arc-20160816; b=Gj1j0ui9NuKfAscuKINuFGjSYr4weOj9/NB8nW4NU3L5Yg2BX52qKB1mQ9VBPdXqW9 xAebUsry2QkA8jFyghaHo+MqORe4ZjV+2iE8YmZUeCoTg/XOAP/qFMvtR6QkUsuo5ARX cor1o+YEbddALBu5mhSwONbimarudxfPDeNBe8izaYTq6PVe8/mZ7My14/DqOuhItNii oItQyPWSgu5/RsGz3BavYclp4wwjlxHW3UUNqiUGMmdk2WJRYRuF+U0kP7UbC2CmhMqH It5XN4xx56cVoOG1C+ZQi4vCIJSKrvQVpm/Qj7l0rDCgQnq5z2Lt66lyltoWvjZpNi6J owxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aj1XRnsx5td4L/az9hbccvez6mU5pRCf3IxlJcNxtSI=; b=LBMX1iK2p0Ilw76pg9sMDBHmyqNblGcLQnbd6XmZITk7X4UwzkhTAM0F7eyWyo5tVw nFa1E8XP5V0/RgVx9CdTc3+kusc6+Zkwmb4Uc9MNobfLJCGhAcl4Dgko7ohmyu7/wcM2 0xvTFLleC90ds207qGni4vLe7Vor97sQa6GlJvKIrswcQamLrQy2ygq8jlhMLn3gbRfs omxArD1iwFRcLGm7Qfupgh4/+5yI8zVR4XaWaq2L+mKDB61AYpsFA9UgYxgQeV45iA0B /3MvE+CU9MaeN3E9X5tXxKMAKk0CJwYrDjskkxZYg/5ZV2z4Q6btT+59ZdhMKZdGfn6s 6p+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dD6mHp0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i184-20020a626dc1000000b005a8851e7559si13627520pfc.256.2023.03.08.01.08.34; Wed, 08 Mar 2023 01:08:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dD6mHp0q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230041AbjCHJCd (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 8 Mar 2023 04:02:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjCHJCa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Mar 2023 04:02:30 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB8A195E10; Wed, 8 Mar 2023 01:02:28 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id i34so62763172eda.7; Wed, 08 Mar 2023 01:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678266147; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aj1XRnsx5td4L/az9hbccvez6mU5pRCf3IxlJcNxtSI=; b=dD6mHp0qpzP0N5Ndo4+CjRXH54SkATN9d3jOe6O05zPWarFK2IrEa0oYZuxnZUXBIY X7Fi6qePGRWH5RctNbtNaBG5h8A4id1CwELR15BgqK3qxsR1+uOvDb9DA9qXY14qwOef 9VL9DHmUssMf4jxdMfi0Ab72SlTqPyB4+/RSfvSN8QOmIH/pd6Jl1+DUlP+77FJorcpU e8vjmpR/0DJWPqvJRqfy28HGQ00fhOMWP6Mv8iT0mecHdR9cgGDITnPx73uyW+9MwzMm QmEM6nOqgFk8r7n27l04WNSB87oRx8o1hE7ISsTr1xxruvElv8d2eQPv1LzHnuL4pTK8 rJpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678266147; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aj1XRnsx5td4L/az9hbccvez6mU5pRCf3IxlJcNxtSI=; b=vEBylpfej2UuwC4HMOt18l47aydZP65QKYIcp6smt6yVPLEmHMb7uNcQXe6LcYzeEJ 8Ynico1Mfyb4MuOrZ35sd03AoFzHsbrxh2MIn5KG9Yccw+JYk01dWmfAOhg9rKbz1/zS Rf1+Bd/jjLq9EwbE00q6OEqGSOXRhIuGOlz6b90TqN9xzu2muNgciNz4kdMc5wd7b8BA /arXTcO1dF0+nLtdD9dRy+Sw4LSNAnP/0baybfIXb6gtKuSlJKy5czKt1cZbyPz5ceMe R/+SPaED7qZ2eUMkOKQ7S8AgjZv5rmApMLCVsDWGNu0le7sIyzZFuFqcs0rhu4+sOCLV 89hw== X-Gm-Message-State: AO0yUKX+B/8tQpEcnp+QH4bLBLoaoq7DWFpmk/7r/JRNvZh4D7P9Y75i rveE3M9dCjNfyhMIUju32sM= X-Received: by 2002:a17:906:4f94:b0:8f7:3488:fd78 with SMTP id o20-20020a1709064f9400b008f73488fd78mr17548184eju.0.1678266147429; Wed, 08 Mar 2023 01:02:27 -0800 (PST) Received: from xeon.. ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id j7-20020a17090643c700b008caaae1f1e1sm7153709ejn.110.2023.03.08.01.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 01:02:27 -0800 (PST) From: Svyatoslav Ryhel <clamor95@gmail.com> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Derek Kiernan <derek.kiernan@xilinx.com>, Dragan Cvetic <dragan.cvetic@xilinx.com>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Svyatoslav Ryhel <clamor95@gmail.com>, Dmitry Osipenko <dmitry.osipenko@collabora.com> Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/4] Update APDS990x ALS to support IIO Date: Wed, 8 Mar 2023 11:02:15 +0200 Message-Id: <20230308090219.12710-1-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759790002239840057?= X-GMAIL-MSGID: =?utf-8?q?1759790002239840057?= |
Series |
Update APDS990x ALS to support IIO
|
|
Message
Svyatoslav Ryhel
March 8, 2023, 9:02 a.m. UTC
Add apds990x binding scheme, convert it to get basic data from dts and use common IIO API. Since it works with IIO now, move from /misc to /iio. Svyatoslav Ryhel (4): dt-bindings: iio: light: add apds990x binding misc: adps990x: convert to OF misc: apds990x: convert to IIO iio: light: move apds990x into proper place .../bindings/iio/light/avago,apds990x.yaml | 76 ++ drivers/iio/light/Kconfig | 10 + drivers/iio/light/Makefile | 1 + drivers/{misc => iio/light}/apds990x.c | 802 +++++++++--------- drivers/misc/Kconfig | 10 - drivers/misc/Makefile | 1 - 6 files changed, 509 insertions(+), 391 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds990x.yaml rename drivers/{misc => iio/light}/apds990x.c (67%)
Comments
On Wed, Mar 08, 2023 at 11:02:15AM +0200, Svyatoslav Ryhel wrote: > Add apds990x binding scheme, convert it to get basic data from > dts and use common IIO API. Since it works with IIO now, move from > /misc to /iio. > > Svyatoslav Ryhel (4): > dt-bindings: iio: light: add apds990x binding > misc: adps990x: convert to OF > misc: apds990x: convert to IIO > iio: light: move apds990x into proper place > > .../bindings/iio/light/avago,apds990x.yaml | 76 ++ > drivers/iio/light/Kconfig | 10 + > drivers/iio/light/Makefile | 1 + > drivers/{misc => iio/light}/apds990x.c | 802 +++++++++--------- > drivers/misc/Kconfig | 10 - > drivers/misc/Makefile | 1 - > 6 files changed, 509 insertions(+), 391 deletions(-) > create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds990x.yaml > rename drivers/{misc => iio/light}/apds990x.c (67%) > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>