Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3062138pxk; Mon, 21 Sep 2020 04:25:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkLKQQ0s831sJX8JqvWFMxjtoVhajneCUUgEzyH1pbc5VRi9iQEGV4GL19YZnsTaXUVBq/ X-Received: by 2002:a17:906:8682:: with SMTP id g2mr48930288ejx.110.1600687551616; Mon, 21 Sep 2020 04:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600687551; cv=none; d=google.com; s=arc-20160816; b=R+X6KUkFXENQFx7ffs9XenUAK9TCsb02/t4QFrX6VFTjXuo63Fhmky3jZ1gIi0I/Iz 0NyyRpDn9Y5cvrOm9bSlZvaqmbhUCfgqp/4Cm/IoJd6wdIe8Jo0JrWypQ5zO0JSGgwHi C0cPVPCmM18OsMwpnY4NrJkXZaEu+UIoiM+VosaoH46t+RKMu761Jx/cmeb5jUvbvXHb Rjnzn3jM4da98nIb9dCflGzqp/xpgHLgtbolU4qFtzB7fnOkb7vmzW0sWtxK+Oe9p5nn OQQQQ9fVdTfmcZhXII9xCJtFfnG8SYuO5n/AmCJu5r2p9LSjPsf+zBEpM/izvehOPI/5 R0Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=ZVBGHtDSzOLc1GxJvapSkIMrWP9AXcJF0oZj5LUMkTw=; b=iCTYozMRzCX2gVGnzpbG4D+1mdAu+6PVWtJahMJ8hTHAnTusgGbAM50hqXk1/6nUKc fXPej2Voe6d8wP4ndfRP5SbbvHLvNRm//FlHl7rnXMMzdqHJC5cy2ynq+IHG3vysBr6x t5fUY37UoQMXNcdgqDfqnDM2xWGI0Lk43WG/NW3pcMsmcMWcWz3Tn6yNJQPWO+vs2Vx2 y8sNjvYtaQ4oYTT6Tzg22MduKq5lWakTxjnxwtyRZyfBLGQzlPwiQ4qxYXq/92Rg/MRC YNHtcldzQMheNu1I1ZB+Qv/gDy11U/SxR5mAd8kjZyFdNaxKKTSKVrEaQbyRfVSrUNwr qXww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j26O2IIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si7757522edy.407.2020.09.21.04.25.28; Mon, 21 Sep 2020 04:25:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j26O2IIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726593AbgIULYL (ORCPT + 99 others); Mon, 21 Sep 2020 07:24:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726367AbgIULYL (ORCPT ); Mon, 21 Sep 2020 07:24:11 -0400 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76A22C061755; Mon, 21 Sep 2020 04:24:11 -0700 (PDT) Received: by mail-pj1-x1042.google.com with SMTP id fa1so7307481pjb.0; Mon, 21 Sep 2020 04:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ZVBGHtDSzOLc1GxJvapSkIMrWP9AXcJF0oZj5LUMkTw=; b=j26O2IIKh2BQvZrr7JeDqqW8xJNZZP64H++7Q+AU/9sKx1ipzRSJbPy8Mj/U+t/VQk OhPNVI1BdcFyi99BiKQlh6+nbM0PycvmsE33PCcQFGlsW1EGMJGx0MJs5uD0gfccDrpb LKHa4GUGNX4brKuRbaTd63LYeIpAcARZzOV4jGN7aLWPE6YnXoGgFeDfnzU8/++rxtHB rr8Hj4rTRmtk2TzdPTKsnMoJTC6xQs0b7vrIozNAQ72DHRqDiqWADADCBXiPUfFZxNR8 z7pMtRqhGtr7iLXCFmmEIp6o+egxxYqBd+wjmjCDP9SnvqSNQMixJdybQEl7uD+nhePn jiXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZVBGHtDSzOLc1GxJvapSkIMrWP9AXcJF0oZj5LUMkTw=; b=UYHWomK3cDCg6wabRRjQCdsvB7zmh65Dl5F9Fs3sKhAecJ2kFucAuOLNBEdsmFRaP1 838meWsElid6ZZ/zhRhSJsShturwI+MrXYLIo4dYWU9QL+EmE9o072Uv2FmSBnoawVhL g5XzQLyz3/TSrXLW+UZ1QJjFzv3ToJeRBoK9Fod9t1piVOSy9ROPuqMhnr6RKOo2jjWV svo9hFJnc9Mq5aXRMRbpoORo0Z05AuHoTSqdkx3hhIwSDfKPXTrIsabyC0T8Hy26NNSC JkZya9pfFVFVpQPW7cK5FuzhnZcPb3+qg7XWZaCVXsqLNUOC/HiMQXlK/5lEbbF1YmDi CIdw== X-Gm-Message-State: AOAM532b76+lb5Cwt3QX8w3mpQDqjU+BzV0032noLfPqhvdFPsvdXI47 fZkU9jzcubKWtDjGvuwWpIU= X-Received: by 2002:a17:90a:eb06:: with SMTP id j6mr24377399pjz.46.1600687451102; Mon, 21 Sep 2020 04:24:11 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:56a:8024:8a0d:5d5f:6f8a:a2bd]) by smtp.gmail.com with ESMTPSA id x7sm9978663pjv.16.2020.09.21.04.24.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2020 04:24:10 -0700 (PDT) From: Gene Chen To: jic23@kernel.org, robh+dt@kernel.org, matthias.bgg@gmail.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, gene_chen@richtek.com, Wilma.Wu@mediatek.com, shufan_lee@richtek.com, cy_huang@richtek.com, benjamin.chao@mediatek.com Subject: [PATCH v5 0/3] iio: adc: mt6360: Add ADC driver for MT6360 Date: Mon, 21 Sep 2020 19:23:59 +0800 Message-Id: <1600687442-23658-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add MT6360 ADC support contains driver, testing document and binding document Gene Chen (2) dt-bindings: iio: adc: add bindings doc for MT6360 ADC Documentation: ABI: testing: mt6360: Add ADC sysfs guideline iio: adc: mt6360: Add ADC driver for MT6360 Documentation/ABI/testing/sysfs-bus-iio-adc-mt6360 | 78 ++ Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml | 34 drivers/iio/adc/Kconfig | 11 drivers/iio/adc/Makefile | 1 drivers/iio/adc/mt6360-adc.c | 363 ++++++++++ 5 files changed, 487 insertions(+) changelogs between v1 & v2 - adc: use IIO_CHAN_INFO_PROCESSED only - adc: use devm_iio_triggered_buffer_setup - adc: use use s64 to record timestamp changelogs between v2 & v3 - Rearrange include file order by alphabet - Set line length constraint below 100 - Add Document for testing adc sysfs node guideline - Set compiler 64 bit aligned when handle iio timestamp changelogs between v3 & v4 - Fix sysfs guideline description - Replace iio channel processed by raw/scale/offset - Add comment of read adc flow for special HW design changelogs between v4 & v5 - Rename dt-bindings aligned to file name - Aligned sysfs node name with driver and add VBUSDIVX description - Add ADC channel sysfs node "*_labels"