Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3856477ybx; Sat, 9 Nov 2019 04:44:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyTG6WDqbahrCPOSE81eLVNtLET7QdDr1W4YyG5qZx4vJqYwnAu99hVTPdCt9AZtrjSmAKK X-Received: by 2002:a05:6402:78e:: with SMTP id d14mr15700114edy.210.1573303441918; Sat, 09 Nov 2019 04:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573303441; cv=none; d=google.com; s=arc-20160816; b=Ixoc/1lU7S32rErk86O3i/M5ClhjgqHE/fn+DnfQX4zrjdZYL0rd+c8wRe8eDw7h4d GOr88WoADMKwH4wDWEbSBeWV+DgqZ1m05IDYXuAJoni0SfBMdkS1Ql7KAGquyVmu6UcF q2MSvAFevc+UD66AyI36ZG7cWJJKcADIXl8zhZh8Zv7d4awgezXxJfYme0dEEBlCQltM 6VXFZtlxi+3uwDtdp/W+3UkWRTKEw0JW3FXEmvahw+N5cjEmNS+uffp03yefed7BX0Jn sUvzK4ilV2kHJxObbuPHsmxDYKEOG35dkTA6loMOVzVdnccPP3U91h21N8KcF7bkD95A Mc0Q== 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=intVRwc7ELrpQqa6TQoIVUbq/QBJDgPQc9poKTc1xpw=; b=fQF6A+UUTr2FMMjI5S901SO3k/K5VQJRppKeviM9qhes5s2nHFIJ3Ca7FMieofs4RM phJZ5FTTpfLL1ctTDwqJWKOd+FsRmII4S3V2sMAD5yD5OFtUzoC2fN+NRfUfN5h8EKAN hC0SbCxu9Myjn/2DnqNLHpyc9aCMHhZ/J3ArO8cJopgcYHisA6e3YO+uDxryhBxkCS54 iF/5P3tY+EsiFWWQjeYR/stPNLK30uji3G/ldzfKnTQ4e/FVEeaKWnBk4Q/pvEmH6eTW lmFr1jbw7t70at3OkDgduGEqnPmj2hGbDsYCFlYMW1tTTeOILfJuGJbg26bUucWgilsg SYvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iKEBM0GX; 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 z15si5647907eju.310.2019.11.09.04.43.38; Sat, 09 Nov 2019 04:44:01 -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=iKEBM0GX; 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 S1726381AbfKIMnJ (ORCPT + 99 others); Sat, 9 Nov 2019 07:43:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:46008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfKIMnI (ORCPT ); Sat, 9 Nov 2019 07:43:08 -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 ABD5C21019; Sat, 9 Nov 2019 12:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573303388; bh=lfLddIGQZu8yh7JyCypDgx5/iez6bEwoAQmO+JsUsHM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iKEBM0GXOAc+4G624Fx5/UrFhOnzogFtFG+AqARetI+MonQAAGcQcTbFP/rVRnb65 smwY4/Rp2Tk5MjL76tvIUotNH4eheT4KQ/1Hu5Ti5e7qI5rC9Kf1QLGCEITeLcMsud IaUcqUjRkj77/7ggShqYTMw3Whj03WlUxB/j93t8= Date: Sat, 9 Nov 2019 12:43:01 +0000 From: Jonathan Cameron To: Rob Herring Cc: Benjamin GAIGNARD , Benjamin Gaignard , Mark Rutland , "devicetree@vger.kernel.org" , Lars-Peter Clausen , Alexandre TORGUE , Linux PWM List , "linux-iio@vger.kernel.org" , "u.kleine-koenig@pengutronix.de" , Linux Kernel Mailing List , Thierry Reding , Peter Meerwald-Stadler , Hartmut Knaack , Fabrice GASNIER , Lee Jones , "linux-stm32@st-md-mailman.stormreply.com" , Linux ARM Subject: Re: [PATCH 2/4] dt-bindings: iio: timer: Convert stm32 IIO trigger bindings to json-schema Message-ID: <20191109124301.5ffda04b@archlinux> In-Reply-To: References: <20191031123040.26316-1-benjamin.gaignard@st.com> <20191031123040.26316-3-benjamin.gaignard@st.com> <20191103110841.3ad3ecfb@archlinux> <20191106040657.GA5294@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=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Nov 2019 17:35:20 -0600 Rob Herring wrote: > On Wed, Nov 6, 2019 at 1:52 PM Benjamin GAIGNARD > wrote: > > > > > > On 11/6/19 5:06 AM, Rob Herring wrote: =20 > > > On Tue, Nov 05, 2019 at 11:07:16AM +0100, Benjamin Gaignard wrote: =20 > > >> Le dim. 3 nov. 2019 =C3=A0 12:08, Jonathan Cameron a =C3=A9crit : =20 > > >>> On Thu, 31 Oct 2019 13:30:38 +0100 > > >>> Benjamin Gaignard wrote: > > >>> =20 > > >>>> Convert the STM32 IIO trigger binding to DT schema format using js= on-schema > > >>>> > > >>>> Signed-off-by: Benjamin Gaignard =20 > > >>> I'm far from great on these as still haven't taken the time I shoul= d to learn > > >>> the yaml syntax properly. A few comments inline however based most= ly on this > > >>> doesn't quite look like other ones I've seen recently. > > >>> > > >>> Thanks, > > >>> > > >>> Jonathan > > >>> =20 > > >>>> --- > > >>>> .../bindings/iio/timer/st,stm32-timer-trigger.yaml | 44 ++++++++= ++++++++++++++ > > >>>> .../bindings/iio/timer/stm32-timer-trigger.txt | 25 --------= ---- > > >>>> 2 files changed, 44 insertions(+), 25 deletions(-) > > >>>> create mode 100644 Documentation/devicetree/bindings/iio/timer/s= t,stm32-timer-trigger.yaml > > >>>> delete mode 100644 Documentation/devicetree/bindings/iio/timer/s= tm32-timer-trigger.txt > > >>>> > > >>>> diff --git a/Documentation/devicetree/bindings/iio/timer/st,stm32-= timer-trigger.yaml b/Documentation/devicetree/bindings/iio/timer/st,stm32-t= imer-trigger.yaml > > >>>> new file mode 100644 > > >>>> index 000000000000..1c8c8b55e8cd > > >>>> --- /dev/null > > >>>> +++ b/Documentation/devicetree/bindings/iio/timer/st,stm32-timer-t= rigger.yaml > > >>>> @@ -0,0 +1,44 @@ > > >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > >>>> +%YAML 1.2 > > >>>> +--- > > >>>> +$id: http://devicetree.org/schemas/iio/timer/st,stm32-timer-trigg= er.yaml# > > >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# > > >>>> + > > >>>> +title: STMicroelectronics STM32 Timers IIO timer bindings > > >>>> + > > >>>> +maintainers: > > >>>> + - Benjamin Gaignard > > >>>> + - Fabrice Gasnier > > >>>> + > > >>>> +properties: > > >>>> + $nodemane: =20 > > >>> nodename? =20 > > >> That will be in v2 =20 > > > No, $nodename is correct. The '$' signifies something we generate and > > > add in. IOW, not a real property. I guess we could have used 'name' h= ere > > > and stuck with traditional OpenFirmware. =20 > > let's go for $name =20 >=20 > No, $nodename is correct. You don't have a choice. That is what the > tooling generates. Sorry all, I caused confusion here. Was just trying to point out the typo! $node_m_ane :) >=20 > Rob