Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1091005ybz; Thu, 16 Apr 2020 02:41:35 -0700 (PDT) X-Google-Smtp-Source: APiQypLOXyI+0KHoHA4zDwmU9c8yZJI0CPXyN9/h04vARbpdXyogdMCCXtZKhxmJVYRR97E2jroK X-Received: by 2002:a50:f617:: with SMTP id c23mr1579303edn.60.1587030095006; Thu, 16 Apr 2020 02:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587030095; cv=none; d=google.com; s=arc-20160816; b=koeK8Ab/XfJAeXbsAucYXL7Z6rl5nmK8E49wobVFkY05SBPOkwC+vLXSKG0BmizN9+ CMOkIbysxJtt8/hSHDmV73yqXFI4UeqNgvRs2qwBe/NrQRlybQfF87hA5TlgkEkPSnO1 SbX8YVUcIHyg4DV9rLAHcKbjVOAkrOwvdf17ID3UC3rYAQCtF7318HqoWswekFaEFFYR yzCoBNAaa+QLTJ7BTamcqWjucm7uopKgtc21x7dBCkZFHDHHw1xu9RYRzXm5RVW9uazK G6pxztdidePxAfAvh/v3n5jmSN/OGIl6ouTVlPq5j80UylL2V2cqqFPtr9qoidkvOTJf e1WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MgIbsEl7MATW+4b7qVIkc++LtZwBj62+dM7tXYuugIY=; b=SY/mGqPbms8pX8TboHakt7POQH51N5bZgMPtP3iFP/EQdyl786ZQUJQXhXPpfEco17 1k28J9w8tl7jcL0HNh7zKjPYqsWNXGM6rdh2TVtg8dRlLBT/+tj99yqHWMD3JTN/ZMyw 4PAb90YWHRugrxyhn936VcOOxAThm6y2DBI3QC3wg56NQgKHxe1DA6c2c8bALcu2G9bZ X+TFLX5rGAwG9wbSwVSegJNXRrm4JviHk6rLf+L2s/IbeE1EElXooZzVOVUQtzqMUT0a pd8muPJQdX0TJeU+pdB1DS+AhFveC3qqCeK4JU+/mZtWPm4Lulmz8cjx+UXX8tYhs7Xb 5Q2A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u24si1791754edb.250.2020.04.16.02.41.12; Thu, 16 Apr 2020 02:41:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503851AbgDPJkB (ORCPT + 99 others); Thu, 16 Apr 2020 05:40:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2503645AbgDPJjm (ORCPT ); Thu, 16 Apr 2020 05:39:42 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EBEFC061A41 for ; Thu, 16 Apr 2020 02:39:42 -0700 (PDT) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jP0zd-0002ad-L6; Thu, 16 Apr 2020 11:39:33 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jP0zc-0008A1-NM; Thu, 16 Apr 2020 11:39:32 +0200 Date: Thu, 16 Apr 2020 11:39:32 +0200 From: Marco Felsch To: Anson Huang Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to json-schema Message-ID: <20200416093932.2mkcyv4rs6v6a24a@pengutronix.de> References: <1587019158-12143-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1587019158-12143-1-git-send-email-Anson.Huang@nxp.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 11:37:20 up 153 days, 55 min, 168 users, load average: 0.00, 0.06, 0.07 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Anson, On 20-04-16 14:39, Anson Huang wrote: ... > diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.yaml b/Documentation/devicetree/bindings/clock/imx6q-clock.yaml > new file mode 100644 > index 0000000..1c6e600 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/imx6q-clock.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: GPL-2.0 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/imx6q-clock.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Clock bindings for Freescale i.MX6 Quad > + > +maintainers: > + - Anson Huang > + > +properties: > + compatible: > + const: fsl,imx6q-ccm > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 2 IMHO I would force them to have exactly two so we need minItems: 2 too here. Regards, Marco