Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1154345ybz; Thu, 16 Apr 2020 04:03:16 -0700 (PDT) X-Google-Smtp-Source: APiQypIBtWHF3sVEKpaqCUJkdLwlN6DvT1Egj5ipfa7IBUUB2UW4eVuYiutEMzw8Q6bkkOEd3fdu X-Received: by 2002:a50:fa87:: with SMTP id w7mr6422484edr.0.1587034996304; Thu, 16 Apr 2020 04:03:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1587034996; cv=pass; d=google.com; s=arc-20160816; b=0IQ9p1+y0gbvIuNa6zYrdjatoE+aNVUmAjQulq7bF+zhRTdtMx3dxIiDeC/OtokjpC k6NCMwbzo812ExSGEja9rVLowd2azHdPdivMKj7QVoIgrj7IF0g228uNBYnSmfK1bGXL ixc+kFRipXR3HL8N/XSfdWCOJwBIbjfWIcvE0I2L7/9ONctXiFEEv/wTOH2E8qQL7EKE uEC4ebtVgmMIM89WMMdn4x62ZQcIsyvgvWGavDwl02uET+SDtC5m47K8PONAlIUFVPwe YYOY32F+1QpoY0j8zujUWvSKboX7tLItpp/MmXRRieueHLIx7pONdadCZkPYc69oVU/c IC4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=DvZ3UqyB84w50xqC6DmjHMedefp1hAc+hk2HOry1Lj4=; b=xOkgfbUKV/azrE0Y2AbTLWtwsjGLhEMKsAsuR4XzNjOqeqOPQpWRg1Ah2oyjkaEEq6 YfFdt6Ekep4yKEgTP+MqK7G1aXGXMmRb5xARHYSL5ZXAJrdl4z+RsEXa2Z7/bJkvUXgY 45KB5O+124iqf02Ed2SNQzlN0hkSmp+2n2FKy5b733TwnvtMr0Pa13xE9c+wTXG06n7b yV3y5753MIkZgh+WgSeHnS5+SISjwdGEbyvW2CUp40e6w3BLRcNc4/TzfHlXQfO/q9NO j3/fZh28JBb8b64CNCUlgbHsDErRwIvhYK5+fqqEWSE+/2+PXhrr2m3DvEuqdg1hmPuZ l2Vg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="MblH+6m/"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz15si4439483ejb.24.2020.04.16.04.02.51; Thu, 16 Apr 2020 04:03:16 -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; dkim=pass header.i=@nxp.com header.s=selector2 header.b="MblH+6m/"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505500AbgDPK7x (ORCPT + 99 others); Thu, 16 Apr 2020 06:59:53 -0400 Received: from mail-vi1eur05on2075.outbound.protection.outlook.com ([40.107.21.75]:6037 "EHLO EUR05-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2505897AbgDPK7c (ORCPT ); Thu, 16 Apr 2020 06:59:32 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XvoDWYg4XxEueYcVKvrcCgmI6Z6O3+cP1l6AsWuHtjqg4S2TTsfMw11HhfB8IvG+0g22tL5y2SbnBUa4BrFquw6eKIyvYxQlZAVGArt/wCntc6rBaH7HQBZbuHoezdfI+pwYwD4OAuFTuEtsWobvRaHk95h+90pJsmdI/szkchW3BzzMoCp5VjAhd3YM3Q4Yv5xKnZs8s0l/0HRbWUUc0dwdylM2Yyz7gdhe3L+rKCHpED0iO92z30+ajHS8GCG/zdu+0aiy1imKriAkvsXbbWlTA62c4cyXYMHB/s+jy2bl7/DXvph/PLQsPNytkEsKMqkoUWReYJzNY1zK+DbaUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DvZ3UqyB84w50xqC6DmjHMedefp1hAc+hk2HOry1Lj4=; b=Lc4uQv4yUpSDhATE4TdUwpibtIQH98yISnssHs+2sBYwpN+K4cd+193J/7W26FQ/UMsq+rlJt50E+XwFmzTN+LTyaz0UOpYLwJKIhHGxSuL6+3G/x4a2/bif7DoZdegn9hLUBAdyt2tLHRHl6neaYY+ScbrjAliMKy41p/Lq18to67TkAa4N4DJYngacv9gU53TfGpVttI71USSptmTlCrEXVMxyDaucXifZDlOvNkykKbbTGEeCtsio73vetxcj8VGetWT22IuB1FzpOAu1xvrqdddTEdiZrmPaXZjecPQ6wJBohbXaF52Y6N6j19wQBXXoLrVPnuQBnS2sWfGdqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DvZ3UqyB84w50xqC6DmjHMedefp1hAc+hk2HOry1Lj4=; b=MblH+6m/R8ImZpZOKmx0lRznK7ngROCG9vs1J7zn7WamE+Ujn1TTEvRt7ERQmFobMqeH4SpyQoglqNzbFjMhE60P46c9rVW1wbBwdTUvbHzNNZdCTjkxK9xOu42LgNDjsxNX51wsawXpK8xkvbcs4Xbyu20V9SaBuhU56j2WEWQ= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB3PR0402MB3785.eurprd04.prod.outlook.com (2603:10a6:8:f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Thu, 16 Apr 2020 10:41:10 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::3143:c46:62e4:8a8b]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::3143:c46:62e4:8a8b%7]) with mapi id 15.20.2900.028; Thu, 16 Apr 2020 10:41:10 +0000 From: Anson Huang To: Marco Felsch 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" , dl-linux-imx Subject: RE: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to json-schema Thread-Topic: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to json-schema Thread-Index: AQHWE7rnIXhaMxmp60Ko8ImmCqNkpah7fmcAgAABvHCAAA6dgIAAAKhA Date: Thu, 16 Apr 2020 10:41:10 +0000 Message-ID: References: <1587019158-12143-1-git-send-email-Anson.Huang@nxp.com> <20200416093932.2mkcyv4rs6v6a24a@pengutronix.de> <20200416103803.eifgth77wi44pejc@pengutronix.de> In-Reply-To: <20200416103803.eifgth77wi44pejc@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [183.192.13.100] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 98f7f9fe-e233-4e91-4945-08d7e1f2ad51 x-ms-traffictypediagnostic: DB3PR0402MB3785:|DB3PR0402MB3785: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(366004)(396003)(966005)(7696005)(316002)(44832011)(478600001)(83080400001)(53546011)(26005)(6506007)(2906002)(71200400001)(7416002)(86362001)(33656002)(186003)(81156014)(8936002)(8676002)(54906003)(9686003)(64756008)(52536014)(76116006)(66556008)(66476007)(6916009)(66946007)(55016002)(4326008)(5660300002)(66446008)(45080400002);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WyRlFdgpdl+Mjbh4h7wm/t20x+DQmyRlm08bII2E8/BkVrS0amSlRyZ/gkoiFo8bAxcOgms0XqZeJYS1zX6oA03CRXIbe8/y6YFkyYDGRRD8AJ+u8R1cRT7qFvZBPJqIUlgwfIjccITdwX2NdD3hYoCzj+n9xD+QgTtnipVy/jOwRg/EFA2PMxbjdcc6FVlZLjvFlzzqmOPzQkmPX6J7jv8jtYAlBzorCTVWJ0aWVqQUkya0hY76QMiDCnnU0m7ewus2quez/7bM1njE+SXxDj3YeJs5rG9WgKvXvVn0AQpskVvh0p23nQH0N353DG+/IVBUb/weNvlwK1mO5TjNpx7UktFZf9WFLtvY1aXEe3ShIAWVgfqG5fBolz76LTMqRShSkgQ52ynswI0BjipgF4qPna4oORjwNOf/C1LKIenPxrfzMhim2sJCRdrOhDWOqi/BMCz+0zWgl4UWFwjqergoKFv05AAipeJjR3mNC+XELNgTnAuYeVBVeFareeLavOci0UrFWt2mxSBOfSjblA== x-ms-exchange-antispam-messagedata: /MBGvdcXpNWPkTllpIMPLWTmknw1v/8+l7O84lE+TYP7DTypBOocnT/1zfHQiDl6Q/3WyaxINNFArqzZ/TggaAnZgOr9O8n8rw6EswB0jxwQWA46mKFyMuVSMjwAiKFxZliN1LvomTQflJ+9x5V4GA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98f7f9fe-e233-4e91-4945-08d7e1f2ad51 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 10:41:10.1715 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: UN+NDisR/hkdZHwsyaO26j/u0sM0NhuJeodsrxj6suHIzgWYwHRmzlmi8Hy53d6DRPFP34jo2HEtCbLOwWEwnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3785 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Subject: Re: [PATCH V2 1/5] dt-bindings: clock: Convert i.MX6Q clock to > json-schema >=20 > 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=3Dhttp%3A%2F%2Fde= v > > > icetr > > > > ee.org%2Fschemas%2Fclock%2Fimx6q-clock.yaml%23&data=3D02%7C01% > > > > 7Canson.huang%40nxp.com%7Ca840fd5be8c94d4d950608d7e1ea16a2%7C6 > > > > 86ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637226267845578228& > > > > amp;sdata=3DIw1CkVBMqw3m6sox6C3khcMy0BHNCQ9v2k72q3CM6Xs%3D&a > > > mp;reserved=3D0 > > > > +$schema: > > > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fde= v > > > icetr > > > > ee.org%2Fmeta-schemas%2Fcore.yaml%23&data=3D02%7C01%7Canson.hu > > > > ang%40nxp.com%7Ca840fd5be8c94d4d950608d7e1ea16a2%7C686ea1d3bc2 > > > > b4c6fa92cd99c5c301635%7C0%7C1%7C637226267845578228&sdata=3DP > > > > Be2CEoDdMo9I1m3DHbITCyYxB4GF%2FigP%2FNd7YCopCQ%3D&reserve > > > d=3D0 > > > > + > > > > +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? >=20 > 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. OK, I will make the minItem/maxItem to 2 in next version. Thanks, Anson