Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 71828C2BB85 for ; Thu, 16 Apr 2020 10:38:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3AF1C21D91 for ; Thu, 16 Apr 2020 10:38:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nru9WSNt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3AF1C21D91 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6S0JRrAwGJS5+42KUPD7endBrKMytnZJo4HhmTSC2aI=; b=nru9WSNtk1dQn6 O1mbzm4jv6VO/WAmk+6OMySWq02ioTrKjSzVU2v/DgNw69v49vo+6GPOC8PgfdivcuERI9qtTHav0 9Nkc6ial4rBvsUmbaO1A/QBnVi9hDvrHyil3oBh0i5XhwnLyFkYoHXIjZuHADGGGvLS33UVEJIHD5 3skhuHRNBgef5Og6e0q14KWauQPDIvH3EvdlrKcY7ggQ+z9sd3HoeOdOM7SzhpbGKL8HRHK57X+NB leOcxAgUa+mYBnQP905mQAWBDzTPyDC5SM0+cTj3RMw6ZKSqP0MpYgPxw0ONb4x9qA0D7Fo/B7KH0 862TTdkTDOjI6Oce8vpg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jP1uO-0000Gf-Ly; Thu, 16 Apr 2020 10:38:12 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jP1uK-0000Ff-Ox for linux-arm-kernel@lists.infradead.org; Thu, 16 Apr 2020 10:38:10 +0000 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 1jP1uG-00044F-53; Thu, 16 Apr 2020 12:38:04 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jP1uF-0002qS-5f; Thu, 16 Apr 2020 12:38:03 +0200 Date: Thu, 16 Apr 2020 12:38:03 +0200 From: Marco Felsch To: Anson Huang Subject: Re: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to json-schema Message-ID: <20200416103803.eifgth77wi44pejc@pengutronix.de> References: <1587019158-12143-1-git-send-email-Anson.Huang@nxp.com> <20200416093932.2mkcyv4rs6v6a24a@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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: 12:35:43 up 153 days, 1:54, 168 users, load average: 0.25, 0.26, 0.19 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-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200416_033808_806554_164AA00B X-CRM114-Status: GOOD ( 13.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "devicetree@vger.kernel.org" , "sboyd@kernel.org" , "festevam@gmail.com" , "mturquette@baylibre.com" , "linux-kernel@vger.kernel.org" , "linux-clk@vger.kernel.org" , "robh+dt@kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 20-04-16 09:48, Anson Huang wrote: > Hi, Marco > > > Subject: Re: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to > > json-schema > > > > 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: > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetr > > ee.org%2Fschemas%2Fclock%2Fimx6q-clock.yaml%23&data=02%7C01% > > 7Canson.huang%40nxp.com%7Ca840fd5be8c94d4d950608d7e1ea16a2%7C6 > > 86ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637226267845578228& > > amp;sdata=Iw1CkVBMqw3m6sox6C3khcMy0BHNCQ9v2k72q3CM6Xs%3D&a > > mp;reserved=0 > > > +$schema: > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdevicetr > > ee.org%2Fmeta-schemas%2Fcore.yaml%23&data=02%7C01%7Canson.hu > > ang%40nxp.com%7Ca840fd5be8c94d4d950608d7e1ea16a2%7C686ea1d3bc2 > > b4c6fa92cd99c5c301635%7C0%7C1%7C637226267845578228&sdata=P > > Be2CEoDdMo9I1m3DHbITCyYxB4GF%2FigP%2FNd7YCopCQ%3D&reserve > > d=0 > > > + > > > +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. > > Actually, those 2 interrupts are NOT necessary for some platforms, such as i.MX platforms > do NOT enable them at all, so is it OK to force them to be '2' here? Why do we list them as required if they are not required? Currently all 5 platforms adding both irqs so this won't break anything here. Regards, Marco > Thanks, > Anson _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel