Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp916962ybl; Wed, 29 Jan 2020 11:57:19 -0800 (PST) X-Google-Smtp-Source: APXvYqydTYZ1AdzeBmYI+VsDKRUxw5qDFeXXpE1iZrf3gQnMczJnbR6aBFAVHHjG4NgfGVWLCj54 X-Received: by 2002:a9d:6b17:: with SMTP id g23mr751522otp.139.1580327839135; Wed, 29 Jan 2020 11:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580327839; cv=none; d=google.com; s=arc-20160816; b=v7YCDTAM3TzileCL1EaeDGz/rOUyX4il6Oik6I2o5BWW6PD8ovotRBBajlc2TZZwPp 0dBbsnrMVoe3zAIQfMvD1Xr4plh6PvqvINt60kmQzQ7kdCvSLHxTwQD1gngQ1AuBlInO CxqbjwcKpGihBQNPyekNBkT0fL9nfM8PiMV2B0r0iNzx4F5CpWcTxmYQskdcv9JPHjc+ ePEMsf0WRPunBrC8Ljt3kLgXZAmmRlveXPPhG3eyWyzRtSeK6w7TQ14Zhcw93ydYOJbI gPxjD1mx/QnBqXuqGlHRse3pTt7Uysy10kkwNsnKQHPNEt9txyvI9MBq9SVQ5vY0e1JJ GzPw== 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; bh=WzjwQemJWwUd/eNMZcPitybljva7DVw6HHP9qA3O4sM=; b=1J10A1kxJGFPSO7CIFE/brA1HNxprNK2BkVkrOKbpDN1eo9hW47KGVyRgNMJt/keKM ya2VRvDWt0EFyVzunNBHuv/hV80PKS6pUNQnu5anU1+5x+2QnRiQSv7IfOMdrAXbGMFl 8UvIFWuPD0t/DrIVo2WOAjKj/5BDTcwHoGPH3FDGmpACglGpmsW8ZHjDVfv9ebWyp79Z qRfGRticMEwaNPD8X4F0Let6jXiQyOAL+FMq3cyZ+cvFhp8HokUoW/sUVqW6sqrZ9MqA Ze2zOkn3SMtL35Y+qk/+9yLGVPg/2BmHJpFvI0UjlhS0jksozxF6RC+oIu5lVH0dIn+q x6Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NKAFWRMX; 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 64si1711577otx.50.2020.01.29.11.57.07; Wed, 29 Jan 2020 11:57:19 -0800 (PST) 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=NKAFWRMX; 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 S1727734AbgA2Tzm (ORCPT + 99 others); Wed, 29 Jan 2020 14:55:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:41456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727727AbgA2Tzl (ORCPT ); Wed, 29 Jan 2020 14:55:41 -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 A37912071E; Wed, 29 Jan 2020 19:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580327740; bh=fwWGUU+gCrYf5nvq9LL1bXiyrYuy3gLMO1C6gOKMELw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NKAFWRMXC5sFkVi9wSEqhp4wSayQhd4uCHnel0IrA3KHEABvPqvWs2Ey8MtKgKCqa aLuwMBtpyNXQpdgFqhEB8MENWERbBoZYRvEVoYzSOV1I3SCpPXz2VV9FLKcFVsv7Zx AxVfYAHuqsnLp/AhkYSTeZryoQamIpGe5OMTbuWM= Date: Wed, 29 Jan 2020 19:55:34 +0000 From: Jonathan Cameron To: Rob Herring Cc: Fabrice Gasnier , robh+dt@kernel.org, alexandre.torgue@st.com, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, lars@metafoo.de, knaack.h@gmx.de, pmeerw@pmeerw.net, olivier.moysan@st.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema Message-ID: <20200129195534.63a20b21@archlinux> In-Reply-To: <20200121231309.GA17359@bogus> References: <1579095941-18648-1-git-send-email-fabrice.gasnier@st.com> <20200121231309.GA17359@bogus> X-Mailer: Claws Mail 3.17.4 (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 Tue, 21 Jan 2020 17:13:09 -0600 Rob Herring wrote: > On Wed, 15 Jan 2020 14:45:41 +0100, Fabrice Gasnier wrote: > > Convert the STM32 ADC binding to DT schema format using json-schema > > > > Signed-off-by: Fabrice Gasnier > > --- > > Changes in V3: > > - Fix minimum and maximum syntax for uint32-array properties as pointed > > out by Rob. > > - update example to better show this syntax e.g. st,adc-channels = <0 1>; > > > > Changes in V2: > > - Take almost all of Rob suggestions (removed reg generic description, > > added minItems, maxItems, st,max-clk-rate-hz range, drop some pipes, > > simplify clock-names, remove unneeded allOfs) > > - For now, keep all in one file despite there are lots of if/thens in the > > bindings > > --- > > .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 149 ------- > > .../devicetree/bindings/iio/adc/st,stm32-adc.yaml | 458 +++++++++++++++++++++ > > 2 files changed, 458 insertions(+), 149 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > > create mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > > > > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan