Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2655077pxb; Sun, 8 Nov 2020 08:25:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUMn02n/52QLQeAvD2PFjFDPOud0GfeTdg9WZ7JmvMH59bSt+uSPL2T4Lu3RnHgMzofOaa X-Received: by 2002:a17:907:c14:: with SMTP id ga20mr11158417ejc.526.1604852739591; Sun, 08 Nov 2020 08:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604852739; cv=none; d=google.com; s=arc-20160816; b=Ho7J+fwCfFJjPudIVYDCuqvJHMJD8b/EsXpqVNyixBahtESqZyDZAGgQjk4dyUQyzU 1L6f3w3YZPd0DgIBClF7MhpMRU7de2yudX8Pt2MqWVFizdbiPu9pkdlyKijViLG0/MCy krMMwkdSFLZd179n6SrdCfgLYVAxYsPmctYcwvfdFwPCxTvXieyYxicDLImHQ7JtrtQT r4GTieb+dbYck0FQn6BwTelNNipEDTLVk7k1mVljIh/vo75v3pCDs7t8S+nh7Zb5HWSq QeH+LLZAUzWTFWG4b9UrtrazslTtl4quUwfuM5SxVl2Xlzc3qL5K+Mweti9ZbRH6LizZ odAg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=lEf5TX2XFXdVt5m+ZwDC/D27y4SuH0Aec2GOrHuLTRI=; b=IOEEAEAId7vMw7wTotjUNxOxvtgwZJBNQcdm9+v+WMcDP5k4u3A4B5y+7ghJvyT2uI htw2f6vYJrgtka7e0HJ20Tvw1bULa8QmTd/9jR58D+Ml35WMNZBvjqAa5/hXdfcJ0dgj pLH3qO3liTUn9VJQqvPDlGNzZsjR3dmMYbxhXT5eJLiw24PVNyhF4lDMCGvvyFJ3F3Jt F44iaMhNm5+CXS15ZtVp1yKPsVFdsYojtf/JnYO+4TPBKWjEMBtWZC+GEZWYIJkOnb7m /cLbmC3Ao/wFNyPSX0xifqwGxAi6MYCRohFuPG7bmo1NCz9uF90U+GpSdR4sF9WPqZzZ qKlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xZeW3GZj; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z6si5107173eje.302.2020.11.08.08.25.15; Sun, 08 Nov 2020 08:25:39 -0800 (PST) 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=@kernel.org header.s=default header.b=xZeW3GZj; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728068AbgKHQX4 (ORCPT + 99 others); Sun, 8 Nov 2020 11:23:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:59708 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbgKHQXz (ORCPT ); Sun, 8 Nov 2020 11:23:55 -0500 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED226208B6; Sun, 8 Nov 2020 16:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604852635; bh=avBVJRnkd7Xw7yPfPzdT/w2Ilk+ZbHTnHDLOiYSuk1M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xZeW3GZjrpTZY/b5Slt348II/ReXiYPkl27WWHfiYzP093VzGFnkMwRCzwW2E3Xl7 2aP/y3w+02WcSNvd4to5ETYmZKZfHPrqVUPFboJRCgswI8ysk5rVbO+RdgmY/sgIM6 eO5MrjojHnkgKsrk7GHVOX+BOdrKMJvUsF6rIvzg= Date: Sun, 8 Nov 2020 16:23:49 +0000 From: Jonathan Cameron To: Gene Chen Cc: robh+dt@kernel.org, matthias.bgg@gmail.com, 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: Re: [PATCH v7 0/3] iio: adc: mt6360: Add ADC driver for MT6360 Message-ID: <20201108162317.598ae8cc@archlinux> In-Reply-To: <20201101154019.39932a2e@archlinux> References: <1603181267-15610-1-git-send-email-gene.chen.richtek@gmail.com> <20201101154019.39932a2e@archlinux> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 1 Nov 2020 15:40:19 +0000 Jonathan Cameron wrote: > On Tue, 20 Oct 2020 16:07:44 +0800 > Gene Chen wrote: > > > In-Reply-To: > > > > This patch series add MT6360 ADC support contains driver, testing document > > and binding document > > > Hi Gene, > > Other than that small edit needed in the dt binding this is stalled on > the label code getting upstreamed into the core. > > I've asked Cristian to repost that so hopefully we can resolve that dependency > and get this merged fairly soon. > > For the dt thing I can just drop the description entirely, but would prefer > if you sent a v8 fixing the tags issue Rob pointed out and also fixing that > description. I've tweaked as described and applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to poke at it more than I do. Thanks, Jonathan > > Thanks, > > Jonathan > > > 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 | 372 ++++++++++ > > 5 files changed, 496 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 > > > > changelogs between v6 & v7 > > - Avoid adc polling infinite loop > > >