Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3137308pxk; Tue, 15 Sep 2020 10:58:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEcZZFRO2hxvXSUsAO58cOCeLSvT2ieoKKi0SPQIrDbyt9AcxiLX3unZQZ/dkaVj6go/BC X-Received: by 2002:a17:906:4a53:: with SMTP id a19mr22496207ejv.56.1600192718278; Tue, 15 Sep 2020 10:58:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600192718; cv=none; d=google.com; s=arc-20160816; b=ewRBqPU+d7alxC9g3D/E0x07VANdBZJPf0DN2yZ1dMkI+hLsy42Kou6MN9Qf9buxV5 B0DdxknqyZ3AzBOP3ufMausArcJnUlnq/xAvOqasM4oWNefnxVBLdErrGqBHf6js8gMa 2Ovd7HKOdceXPk0oBn3RN9q/JwqG9RZEGAZvZpsdXutwf3g1fVGrgAsUQJhPxT4g8YV4 OQ5TPOrdO5QmuRvEHh3b84YbGoYnrgnNSMoqr7A5vj9okLVQ2O4qNv2aogb7Vgf/ghkg 3aTyYiwCmI0wW6Tfr1+zT92cTCKATUw29jVKv7k5WTyehsH6d+bMAqDzw9Mt1M4kZZcs TtcA== 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; bh=VDlB/vF3yD1AI0j4KncO/S1Qql2ZvV+dkP24BievIWM=; b=OFvVKEL/RivqV8/QQ0L7MGczYAsUVp9FXNmDxcJsxtyv7Wnis/p/QVri1dQHuGJwvk oF5opfawOCkjBeHufTqFTfSzCWmRARbTuIbYlmDT0hkY1ipptPup441DTKOU7faIvcGI MUHDQV4iiVecm+0by9omNpvqwu4MzJUltKheUiJKOt8+M+QgJ2u2MVTNNOZwebDabSLv VYWCj78S3L5gRlqz5/bB1bc+9EGhwi6sbW1JAcO/2NrI0sCYTBnA8E4mLIaJnTyEx4Rg 6ysf08XF7PnYSPelRWSE1kf+atche9rZt5+u4y8dpsEkjo78XMNrFE4chb+6mviK5TXz ob4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZtY7n44Q; 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 de17si10450991edb.89.2020.09.15.10.58.15; Tue, 15 Sep 2020 10:58:38 -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=ZtY7n44Q; 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 S1727411AbgIORxz (ORCPT + 99 others); Tue, 15 Sep 2020 13:53:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727940AbgIORgx (ORCPT ); Tue, 15 Sep 2020 13:36:53 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84088C061351; Tue, 15 Sep 2020 10:36:16 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id bh1so1713620plb.12; Tue, 15 Sep 2020 10:36:16 -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=VDlB/vF3yD1AI0j4KncO/S1Qql2ZvV+dkP24BievIWM=; b=ZtY7n44QRcDMYA5b75t7nFBpPYDlz3xxgeZDAPc/e1/fbeQtk4DWVTdQM5JWSg/lOg AydIOgF5q43uhDoqqrxBBuVB5Bdry9p9lzc9d5L+mKOsIj9RusKPdoOMO+5EbNKdXt38 DaDTg4+2C6vbP+Xm6Wx5nr+hFcrvvX2jkazjSEkrNFrvAPFrLC99thNmCKhNozJI9hV0 xoujK0B0ms9tVj4WbJNmI/NXVuWNRqauB20fMRcxVNFlPz5SeOcBfLVx+9MD3GAx3KjF EHm57JLTMl//yIbsxq5aGbVk4LOZwqZ1j8XTH6nHOuF7sBFObQ4kh95Ss/mGtjw+N96I 9qag== 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=VDlB/vF3yD1AI0j4KncO/S1Qql2ZvV+dkP24BievIWM=; b=HrUACaX65z7pzHeLYVXi5LiLGhIrVV9uaNQoCrQGvbU8BcE6lCEB7rsmb4YRWiF/RR 62nuBhG+yoWYSpNHNnafx1752O/5+tfLY53UTbULoABJrOjOVjtcY22q+xrQQhRc/CN/ kpeXdkchsr9m9V1pQFZKH0BYDbFGa5S6q4xZlQjFAdvtcbi3+u1exJhMeaWNLM2ZaYIi WC72ukLuypU5LZiXbq90FUehGnid3HZ7s2z18gc7zL/V6Ck9t3RaC+9H1GPQtwDjOTZm FSggwhTSbr20aKDOTNYtZ5m9J74EjSTKQ5qKB0g0QmLntXDhOZxe205fqUMNieJYxhiH xKfg== X-Gm-Message-State: AOAM530xD6SyL9kqhik9P8LfejSLIYZDAf3RczxgFSCwN8gv7j9RFNZN b8/3CcXc+rXYZMllp5o4J7g= X-Received: by 2002:a17:90b:1487:: with SMTP id js7mr385729pjb.187.1600191376006; Tue, 15 Sep 2020 10:36:16 -0700 (PDT) Received: from localhost.localdomain ([123.110.251.138]) by smtp.gmail.com with ESMTPSA id x3sm14025926pfq.49.2020.09.15.10.36.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2020 10:36:15 -0700 (PDT) From: Gene Chen To: jic23@kernel.org, matthias.bgg@gmail.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, 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 v4 0/3] iio: adc: mt6360: Add ADC driver for MT6360 Date: Wed, 16 Sep 2020 01:36:06 +0800 Message-Id: <1600191369-28040-1-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org 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 | 83 ++ Documentation/devicetree/bindings/iio/adc/mediatek,mt6360.yaml | 32 drivers/iio/adc/Kconfig | 11 drivers/iio/adc/Makefile | 1 drivers/iio/adc/mt6360-adc.c | 357 ++++++++++ 5 files changed, 484 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