Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4405052pxk; Wed, 30 Sep 2020 01:55:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ8lN05gcFDx6TzZb1dq2tVvt7EHu7XQIRa5aNPbrbu/4vF4zqHB0F6sVA4Srbpx2ZT/2T X-Received: by 2002:a17:906:e103:: with SMTP id gj3mr1665980ejb.130.1601456149191; Wed, 30 Sep 2020 01:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601456149; cv=none; d=google.com; s=arc-20160816; b=vFtCtNk+aWRPkU2oyN5FYp1EbEtOggatXzkbkXW7/GLVR7Xzz5QYMSUht6/3Z5/VaE m+/+bTsZMJe/zGVnCfD2JG/QLsNmgdZ8TYpPK4uyvlXFC4OmKD881XyIYe+N9HMlTy6F G8RcWrIEP9dJhR3md4eypllfUwocipGIkgEyv3Gq/OL38TqDNeQLDfF4CugqcK56MeVM /IaPYROu9YVzzG2qlwZYxhWA3d0lqx5OHT8KrcrFEadTf19a8sDvHpxFk5rRD7slaw8K l6FEPDDS29352S7iHq05XBOrowMGodwhJRwUxNjImtCDtXPVHRrQa/0MOlJzrYC18qJl bMog== 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=J6RVC1dwGGEOXZfj110V4hRsQlR6vCt8ihvodpQ2OqQ=; b=A4iPW2dcvA2Z6vQKXrw7pMIM7nLsHWbZfRODYisSEgTD05DXDQ7CQTPC4c/YZMFBC1 goqHrcvGoxHlg33yomrGlAhlJl05xyICwiaqbnfZDihypzdRrlyNgYkNOA6uL2tcOx6u CG1Erm37q/AtSiQDkM5UhhBR+ZBzIElI1zQj1C4XAVxU0b7o6BDDyC8vGNQ1hbH8dy4d 6f7OB7QBW14RmcbPiY2sMJioU/JwVHSZ3AI7dOBMBXKgRNb7H3/nsLRaae7gsJ+jObFK iKPFDTR4f3TP/wKZYlmpR/ISVT/F2mKOP9+nwBmZPOk9fYW1GucKAWm0tPdLMusQ1DKU yoKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="LjOi/8Jx"; 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 r9si698160eju.84.2020.09.30.01.55.26; Wed, 30 Sep 2020 01:55:49 -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="LjOi/8Jx"; 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 S1728702AbgI3IyY (ORCPT + 99 others); Wed, 30 Sep 2020 04:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbgI3IyY (ORCPT ); Wed, 30 Sep 2020 04:54:24 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE946C061755; Wed, 30 Sep 2020 01:54:22 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id o20so701500pfp.11; Wed, 30 Sep 2020 01:54:22 -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=J6RVC1dwGGEOXZfj110V4hRsQlR6vCt8ihvodpQ2OqQ=; b=LjOi/8Jxe2hrdsoqFaxgmps0JYdDEHl11LyUCXUhFoy1FJqMhayq4ijKiJdm7O8/fL XbtvTRNfD4qI/yhcTSNk1eCgTGzXJ8lpUmskcilKcs7PhmeX9fMX5neAkvRR1inTbYiw JRcMlF9ehNqCOV+pNbQ7YWpR/XRajE1By7hbSjgGiC1XSWmpLc1A1txoTBwCbMRqQlaQ QZLjySTY2fATayWwDlsZAU8Z2JxrtjWt1OHr+eSWw3GUPvIRf7DSoUFasc1oyWhbESN3 dEzwjTlVU5zA+mV53Y5uXCMuLlJGKELd0ACuVcBlkwVTikm1F2w4RHKJlBsibEvfBTdB FmDQ== 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=J6RVC1dwGGEOXZfj110V4hRsQlR6vCt8ihvodpQ2OqQ=; b=bcYGexSo/68hZD808GjGqay+f2xnd/PAn2PSHaAZkvMH1/QnpNCC3cSkpCqvJLdgre jUQPpmc2sKJM47j53QzPAmXh0xa7nwHshbHe+x/KypWhoCcZz4AOg1i9ZFLvmIvobEX8 94KHi+hu+r/Mw0vj56bMhl2aoHnGVbhR5j6TtOea2oqiVQrG4qmr4RsupzpX1+DtahzM W0HcnYpatorjAjofdR2cq3d7409vtgj3XjOYKPJh6acBnMoZXEB+fjY9ItOMCuHgp9Kw Fo+xSFXmvG+/2E6IwJbyY6WzIPmzMfQyelbCpoRz+V0VChS2k5g6rfdIPMDuU6Xu13PT VydA== X-Gm-Message-State: AOAM530BtEYNGDjeqIps6ykKaE9KYomzkAxPOW9GAc0ItiLnQLP4t/cg GhG8YoPQirSmbJphTOge5P8= X-Received: by 2002:a62:52d3:0:b029:142:2501:35ee with SMTP id g202-20020a6252d30000b0290142250135eemr1698574pfb.78.1601456062506; Wed, 30 Sep 2020 01:54:22 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:56b:d17:8c76:3dc4:5429:d7e4]) by smtp.gmail.com with ESMTPSA id x13sm1513938pff.152.2020.09.30.01.54.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2020 01:54:22 -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 v6 0/3] iio: adc: mt6360: Add ADC driver for MT6360 Date: Thu, 1 Oct 2020 16:54:05 +0800 Message-Id: <1601542448-7433-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 | 362 ++++++++++ 5 files changed, 486 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" changelogs between v5 & v6 - Memset aligned adc data - Remove strong casting void pointer