Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1913674imm; Sat, 12 May 2018 02:35:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrfq77jYD4xKS93tJPDYfAq+8ALHgErFUP7DayRLJ2Bstizjulv5e548127sZqd7EPmCyW8 X-Received: by 2002:a63:7b1d:: with SMTP id w29-v6mr2133971pgc.417.1526117713397; Sat, 12 May 2018 02:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526117713; cv=none; d=google.com; s=arc-20160816; b=wXfuhBqbW8Z/5JT+GTOlFcbjZ9YAzQiBu3HWehQp1B+RHEe7jQWimO2nwf903FcfPK 3wVu6bZMqu5DiUbX2bQp5W5OQI9BCkeERfTgkFHOrTe176+57QnR+xGrW8wRFRq5EnDY NBhVxTwgN02gJ9Yc6m0dgqrV/vWwBpXh0Kqp0yj9vtn529Qpo0bbQD4UKFbHWRAs+d8S ASTmbufS3JZZOP73eX+Sl7zZNOevCLlW7ayqoH2XxV0Wko/cqRgf8Q95Wt35yBeU2G9y O1K4VnUQobB0b2SckimRe6z+W/xB/k/SMlcrkUOwI6bl3a2gizKoRzA1kLUtZkfPXK/W 76uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=S7DCABOC5Tn5OeMIt6c17zwqXOtv5bWCiBR+RYl0u48=; b=LG6MEqykxdfAk2Em6jqVT1qqqssI3LBG151KBw/8ouaX0H4v3FnpQoaOqW2XnHWD2/ AlCxqAdFQ4T9AJhf/o+Iq0UxKCPIu/4iNo4t3mJ4YGhPvRY+yvmMrYdRxcN/JbCCjKwE BnMFAjSD6e4ZJZ6vBE3g6P+4gmvZFhqvqs3KcFXHG581Hchlx3F70da3BC6tpZ+xunvN 756tPxc2n9EhrVm63ywv3O25ZYtVC+oBLIubNNhQ6WvydA/smcKKk3a8QCqB800Hq2lN /NjCvpKz+cL4nuUoyLmHisZROASdAyajU8gKPH7utOq+FkSJvgFA2wYsEHIqrN9i6iJA t0yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KuKPkEd1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si256459pgw.227.2018.05.12.02.34.58; Sat, 12 May 2018 02:35:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KuKPkEd1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1751098AbeELJdc (ORCPT + 99 others); Sat, 12 May 2018 05:33:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:37038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbeELJdb (ORCPT ); Sat, 12 May 2018 05:33:31 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 552052184D; Sat, 12 May 2018 09:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526117610; bh=IKyCx4PaKNYmr/EbzNArj5R4AFdeh5x6Az2sGE9mw0Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KuKPkEd1Nlug2FoeKUIz0URJRJFsvvPeqzq2wxywssANrAlxeqn6AQrIkyDhRLrte a23ZGSJ/B/rsrh2CX/GNsv9P0m1cleRB0sh27FAu+RVqethvigSNNsd3lH0kJkRSeH NPx5sNJf5JdBheB9i+fAM0ohXNFIAZrqPz88jQYA= Date: Sat, 12 May 2018 10:33:24 +0100 From: Jonathan Cameron To: Rob Herring Cc: Fabrice Gasnier , alexandre.torgue@st.com, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, lars@metafoo.de, knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, benjamin.gaignard@linaro.org, arnaud.pouliquen@st.com Subject: Re: [PATCH] iio: adc: stm32-dfsdm: Add support for stm32mp1 Message-ID: <20180512103324.5068c893@archlinux> In-Reply-To: <20180507205151.GA25321@rob-hp-laptop> References: <1525266323-4922-1-git-send-email-fabrice.gasnier@st.com> <20180507205151.GA25321@rob-hp-laptop> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 May 2018 15:51:51 -0500 Rob Herring wrote: > On Wed, May 02, 2018 at 03:05:23PM +0200, Fabrice Gasnier wrote: > > Add support for DFSDM (Digital Filter For Sigma Delta Modulators) > > to STM32MP1. This variant is close to STM32H7 DFSDM, it implements > > 6 filter instances. Registers map is also increased. > > > > Signed-off-by: Fabrice Gasnier > > --- > > .../bindings/iio/adc/st,stm32-dfsdm-adc.txt | 7 +++++-- > > drivers/iio/adc/stm32-dfsdm-core.c | 21 +++++++++++++++++++++ > > 2 files changed, 26 insertions(+), 2 deletions(-) > > Reviewed-by: Rob Herring Applied. Whilst doing this I note that I'm getting a few sparse warnings for this driver that would be nice to clean up... CHECK drivers/iio/adc/stm32-dfsdm-adc.c drivers/iio/adc/stm32-dfsdm-adc.c:503:21: warning: expression using sizeof(void) drivers/iio/adc/stm32-dfsdm-adc.c:503:21: warning: expression using sizeof(void) Which is mystifying at first glance... Something deep and dirty in the min macro but I can't see what.. drivers/iio/adc/stm32-dfsdm-adc.c:680:5: warning: symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? drivers/iio/adc/stm32-dfsdm-adc.c:703:5: warning: symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? Are rather more obvious