Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp265782pxb; Wed, 22 Sep 2021 01:27:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz49gfpJ3stdIJKh9QLHLDj12Pl500NDmlkd4Ixt2dG6PLERqGvMxKBK+FjpplMYl9DhRI5 X-Received: by 2002:a05:6402:34c:: with SMTP id r12mr40967622edw.390.1632299227221; Wed, 22 Sep 2021 01:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632299227; cv=pass; d=google.com; s=arc-20160816; b=e5jK+ceYf8p9NxUJL8waZgRzFHAESzOstnxZ5uJvnismR7nE+asO2ZKkiWiIGGGWUU K2cqXrYIL8xdsP6PoP/TibTaik2uqiHFcUG2PqyFblWsab5GAh2rnwYUXj+1lF1/Kev2 a+n85lsw4LhCT5mWypOxIXm/fRQLFRGwMWzPRXUAbkUFQXI95O1Oo3WaJs0fouaEEyY9 2BB1sMkAXWLehPVkXpT4TO5COl8ei04yvRtBPCJBEjSpOyaJRrrtVmhijQ+jwOR64Tu1 KV+sMOrwzGc/L1jZmGE2YPkk/bEJ1z3yDNdXZsQeqIiKN0VDzpUMVj8nfo28MqrrCi6h wcEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=4Ub/QkMPhTRTOVfiEoL9rLrv3y0uBo3yJpqaYKHvCY0=; b=WQjvE6EDHTcBN/0pCJWBuCjR2L/30mzZVpXSTEwomD6gunoo1N5gkHKSK/ocMpkMiU 3r53OQ/O3xtnE4Q2D6dUmW+f8H6Tl4b7UojUaWE4GMg3egmx9tJOx7Tfk38KNWGafe9S o/q8g+pPr9jaa/ZkcYHBUuge9xjy385TMGJGWI69xEz6Zec2Ro4gwVK0E7d6JAWpGJkj rpx+PLqCiW8JlrF0FCM6n6aZuWqa82Lqjw3nTDPhDsvGoI4g3yao1xKtu4TjJr2zOBgX FcXHPS8Hu+IBZJWiMcFjZ7qz9phYxgUP/3fCqAwdEbuuuGuY3u8PvfZsG5Ke2yiTTlwL oCrQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="ZI/NnNKM"; 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 s7si2243217edi.502.2021.09.22.01.26.43; Wed, 22 Sep 2021 01:27:07 -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="ZI/NnNKM"; 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 S233783AbhIVIZp (ORCPT + 99 others); Wed, 22 Sep 2021 04:25:45 -0400 Received: from mail-eopbgr150058.outbound.protection.outlook.com ([40.107.15.58]:56453 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233349AbhIVIZo (ORCPT ); Wed, 22 Sep 2021 04:25:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MnG+HbP5sBobDdefEQrIYWFcmL0pRJ3yCwCyVWSETIHdrNQSldg00VUFi8SCSw2FVaznIgKW4Ge45U8IOmRzz75noiIvW5Vw0dm8wWIVsOMoHj+szIxKc0sbrT2FFzH4gMciNnLOpu6zRl4jXgZOrWGVycsDGfJbSaMXEOMHvaqJvTpIRB8Rr/rCkAkJmgxow0aMEhvSdEctnaov84fQAFnpV9XNnegnvCLZUUWBh7AA5h16BXC7kkqt85g4TmRrl8HesZ9TYKryR1nrDxBkSp+DLeVStEroGr3CzMvElVIE4ovo3/nBzAZWQdHOxkYZzqFMLugiSZn0KN9xaqgzGQ== 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; bh=4Ub/QkMPhTRTOVfiEoL9rLrv3y0uBo3yJpqaYKHvCY0=; b=dM/UWvo22AtglILBUv30qLoFSQhEyc+vkXp9AZ21rmEw3fRCQx4wS8kDC6DHv2DWAUJs9gALgBd35z5g1SVQfgud+T8aZKFTiia9rYaoOK7CzRtjBTcw2FzynKZsBUuDQbHn/p3FWIb77zCmZ7dTCnHUW2eA6ZExUjI8o4pG/nThhVYWSaH9uwocCI0dUf35jpZe6NyI8o5z3wxyfcOqbQu7261pTMkJV2w0EyGrgYBRsVH87TyeREbLROKlR6RNzpdCKgr9H89heZ0aqPpZPoHpWUCn8gY3BVw7gwHAVeQkA/FsEp8D9b7tBWx4kumMRBsI14ZjHxFJD9NBcggVYA== 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=4Ub/QkMPhTRTOVfiEoL9rLrv3y0uBo3yJpqaYKHvCY0=; b=ZI/NnNKM7utzWPPQhyL6/0uqnmkMHHXGc8h1OH83BCjAT5n4RrZvMraKbIK5NrzTQ5vRxp8lZbG/VJoi2u46Crw2oJFbL+bkZftVVIVwEjSP/ZgM9hXOT2Xe6FU/3LVb3XeAYMpNyrZGh1j+aL9CS4xa/y1L6IRwT88BgWk46+Q= Received: from AS8PR04MB8676.eurprd04.prod.outlook.com (2603:10a6:20b:42b::10) by AS8PR04MB8963.eurprd04.prod.outlook.com (2603:10a6:20b:42e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Wed, 22 Sep 2021 08:24:13 +0000 Received: from AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::c5ef:f538:c3e0:c4c2]) by AS8PR04MB8676.eurprd04.prod.outlook.com ([fe80::c5ef:f538:c3e0:c4c2%9]) with mapi id 15.20.4544.013; Wed, 22 Sep 2021 08:24:12 +0000 From: Richard Zhu To: Rob Herring CC: dl-linux-imx , "linux-phy@lists.infradead.org" , "l.stach@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , "kernel@pengutronix.de" , "kishon@ti.com" , "linux-kernel@vger.kernel.org" , "vkoul@kernel.org" , "shawnguo@kernel.org" , "devicetree@vger.kernel.org" , "galak@kernel.crashing.org" Subject: RE: [PATCH 2/4] dt-bindings: phy: add imx8 pcie phy driver support Thread-Topic: [PATCH 2/4] dt-bindings: phy: add imx8 pcie phy driver support Thread-Index: AQHXq29WYi5TvLUXCEy2ibvpD6GB8auoozgAgAcWY/A= Date: Wed, 22 Sep 2021 08:24:12 +0000 Message-ID: References: <1631845863-24249-1-git-send-email-hongxing.zhu@nxp.com> <1631845863-24249-3-git-send-email-hongxing.zhu@nxp.com> <1631908134.299718.2025325.nullmailer@robh.at.kernel.org> In-Reply-To: <1631908134.299718.2025325.nullmailer@robh.at.kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3299fae6-5846-432c-806f-08d97da25be0 x-ms-traffictypediagnostic: AS8PR04MB8963: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mycO+GVy/2oUfY6NBTjZm6GDcy2rraIMpzsr6dORgQZp+us2Vc8W68u5V/+cnE1DppIozrcRz7iIVuWuEy1ZAvPQIACJZ4cEVqFQNMV6o+VdLKr0BHkGgacEPbqfVUCUnEI6VLp9T2vyJe7VUqpUjWN2v63MfHchV6xxQbi4ihsd8vFuIrAdqrs8ed/0VJ+ZI+gfd6KGYqGs4rkHMSoHv/vvtoDJWFV4Bu9Q9zbD28kYf265fJ7KkrZK15XNUtLSeydTnBivkMx3ypZx80J+KCLQtktmfDybw+Kp0iwXP7Bdbxb0SKN+j/hpNARflLrXz/4nQXU6oXxNB/wKjT+o+dAi0jnfnKpcPtqRXXsLYdTxLm/YefnAC6Ovq0p4r6xy2dQnL0bK8h7vCpvJyxrkehe49ZaukqaYfrnCV62QpY0VIQSiarXL+IdmoarXL6u6d/k0zZ1fFojOLJPdhc9/nAGIVuFXSwGvOBUrSzaizssXYsUIHU91ni9JwZnOOnABDcV5TcvvpRJDc6QTwIg2cyFdAeeW2GW8FZyKdHaigyAMwtNn5fB9PKyjHGyDkiMkKy3n/dudOzQhUMMTAPPrrOoeXKiCSAALgLni08WB5pBpjrId1E3KMoi9HOhxR0Fud7tVR0Fi9U93JzQX3v/VeITb0zy/OvB7eNST6BM0CWKSqD+WHDQzo7a/zwUfBidFt6LMc9Fp8XYWMeY+RVUChBmNYNesye+uFSnF4P/jzAgxg7bedqG1ub0gf0cLYnilhM855oY0qjGIF/b+mSq6Sm7PAS+IhTpMx+h/lLjLlMBCBfHs/pOcs2eAO8FTngaB2ttaIK8rsP+I+i1okorPlQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8676.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(33656002)(55016002)(186003)(66476007)(5660300002)(66556008)(122000001)(9686003)(53546011)(86362001)(6506007)(2906002)(966005)(64756008)(52536014)(8676002)(6916009)(66946007)(38100700002)(66446008)(71200400001)(8936002)(83380400001)(7696005)(7416002)(54906003)(508600001)(38070700005)(26005)(4326008)(45080400002)(316002)(76116006);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?4kEcWQ4djeEP8QPJ4x/Ys2pGIKJotDwKwHS6D+sKfYOR7UPfduFVEIed76OQ?= =?us-ascii?Q?44cfH4caSG/UzgpZE/wCljjuvI8dKpiRaF50pQnfrbCSlWU8QShi73GBUn7M?= =?us-ascii?Q?TqUgaLlT0b7OaQjxJb+LRil16itOto5dorPktW8/Cl0UvkYHZSwjWKDFJA3d?= =?us-ascii?Q?IrxNw8UKxK4/KAB32IQ63j5g6bSRn8YNS7q7vlSdB86QZIXbj/nwPF5VZqRP?= =?us-ascii?Q?IwuBLnsn0nr3LQJqrgZKtqseDkWhXRB+SSZrM4oWWafcq6krZCRLxdIJxb64?= =?us-ascii?Q?iXMV6BD7XifbVRYAbUbQHDAc/ayYLzBnb8zytZ3gsL+eg1tHHwvU1cvpCGIH?= =?us-ascii?Q?W5GO+eHPlY2PbfwSbw5hC6aBsuCllAp9amo3OnYOnP52E1E8LG9v8wjMNwIP?= =?us-ascii?Q?YifNN4m+rorNFGaos3dfCto7ggOf5dO6hJlsAsHK+bF1Yiqxd1A6X41llf8s?= =?us-ascii?Q?pV7RJr6B697yIDVa/zh/MxzzQqHXWZWz/G7A+wj4ynDn/pe9OwjwsbTFUnoB?= =?us-ascii?Q?Vp1T91VMXS0Lc7vw7+33h2e5DORbJnatAvvKbYOK3RO7woHZPSbdo4smo3Js?= =?us-ascii?Q?eFF6YMv4jP9W0jn/38kPBpYICnDZlZIW8LlOLc6ZRc8mwYgF7A18eh56YNOq?= =?us-ascii?Q?dpJPeeEAYpV3IX3OKhQ+/w8aJRdXl4HxZgvO0NLZkU6kokrotQIxNjOpvY5a?= =?us-ascii?Q?u1NY0CheZ6sABhS1DSnDS5cfn3OTXszDiAhJpLCSs8iMYcFMBPYB8UYIx31i?= =?us-ascii?Q?/O/SgbB7LL4NgSK+atFeI4Iw2ov4m7pzZqHEuiZIZuQzapJdqgjqwQr8aW4n?= =?us-ascii?Q?JN68ByFD47ayYa+RJkeG6ig62ib3Nf6kxSFAQQDAU/OiWk7Rx/Ho+LJGUDj+?= =?us-ascii?Q?XdXzXhIks2SJaSeYgcCW1vl32PkeMsZtihnA3+Lynzn581q8mjCAcKJXxItG?= =?us-ascii?Q?rDpJ83FVNOLBwsDqerLI0dN1YkpQEz3OXpquO6LKXWd9UI+Z9OedHrezrrLS?= =?us-ascii?Q?U4I7f2JQrSmK6LfaQjStKAhExROQAo+2Fprq/MAdpjjCivE76ls0bkcVt7Gx?= =?us-ascii?Q?lxsxois44Zitkuy+1xLYn8m7DHu8DnyObXrt3A3N0xeEtDOW/jnHwJ/HLkmm?= =?us-ascii?Q?7Qzq+v9lMQYMsF3KBCTaykb7jHgGtt+DVI/D9u5Mn1c9U6omf97Wa8HtGOvu?= =?us-ascii?Q?U2lMN56KxhQx40GzcOFj97ue3vfbUZGU75vMXMMB6WiuLlBb5c+fKPdXyvKO?= =?us-ascii?Q?7XlCKNtgRfqcOC5k69jL7vMJjofOFq0tQY9ZvygDw8c2MJhYWna+TlVeHkqO?= =?us-ascii?Q?Cxe7W5nk99U7RinTO3O25eUa?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8676.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3299fae6-5846-432c-806f-08d97da25be0 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2021 08:24:12.7905 (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: GZn1BczSdT42ykzH3bwdpq1ZYaI11ch/OEbHi/xZQ39gTMOfNf28yWhrG9LJh8IbvzlqCXSCfCHfLrTRRhbzvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8963 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Rob Herring > Sent: Saturday, September 18, 2021 3:49 AM > To: Richard Zhu > Cc: dl-linux-imx ; linux-phy@lists.infradead.org; > l.stach@pengutronix.de; linux-arm-kernel@lists.infradead.org; > kernel@pengutronix.de; kishon@ti.com; linux-kernel@vger.kernel.org; > vkoul@kernel.org; shawnguo@kernel.org; devicetree@vger.kernel.org; > galak@kernel.crashing.org > Subject: Re: [PATCH 2/4] dt-bindings: phy: add imx8 pcie phy driver suppo= rt >=20 > On Fri, 17 Sep 2021 10:31:01 +0800, Richard Zhu wrote: > > Add dt-binding for the standalone i.MX8 PCIe PHY driver. > > > > Signed-off-by: Richard Zhu > > --- > > .../bindings/phy/fsl,imx8-pcie-phy.yaml | 66 +++++++++++++++++++ > > 1 file changed, 66 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml > > >=20 > My bot found errors running 'make DT_CHECKER_FLAGS=3D-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): >=20 Thanks for your comments. The errors are fixed by adding "$ref" below. Refer include/dt-bindings/phy/phy-imx8-pcie.h for the constants to be used. + $ref: /schemas/types.yaml#/definitions/uint32 enum: [ 0, 1, 2 ] Best Regards Richard Zhu > yamllint warnings/errors: >=20 > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/= fsl,i > mx8-pcie-phy.yaml: properties:fsl,refclk-pad-mode: 'oneOf' conditional fa= iled, > one must be fixed: > 'type' is a required property > hint: A vendor boolean property can use "type: boolean" > Additional properties are not allowed ('enum' was unexpected) > hint: A vendor boolean property can use "type: boolean" > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/ph > y/fsl,imx8-pcie-phy.yaml: properties:fsl,refclk-pad-mode: 'oneOf' conditi= onal > failed, one must be fixed: > '$ref' is a required property > 'allOf' is a required property > hint: A vendor property needs a $ref to types.yaml > from schema $id: > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fdevice= tree > .org%2Fmeta-schemas%2Fvendor-props.yaml%23&data=3D04%7C01%7Chon > gxing.zhu%40nxp.com%7Cfacb5eafa5eb4fe72a1908d97a1430c0%7C686ea1d3 > bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637675049421428781%7CUnkno > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha > WwiLCJXVCI6Mn0%3D%7C1000&sdata=3DlOkPSEyYhyhHPHQBi916FgdPeqK > GWi1yCC1KyhlsUCU%3D&reserved=3D0 > 0 is not of type 'string' > hint: A vendor string property with exact values has an implicit type > 1 is not of type 'string' > hint: A vendor string property with exact values has an implicit type > 2 is not of type 'string' > hint: A vendor string property with exact values has an implicit type > hint: Vendor specific properties must have a type and description unless > they have a defined, common suffix. > from schema $id: > https://eur01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fdevice= tree > .org%2Fmeta-schemas%2Fvendor-props.yaml%23&data=3D04%7C01%7Chon > gxing.zhu%40nxp.com%7Cfacb5eafa5eb4fe72a1908d97a1430c0%7C686ea1d3 > bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637675049421428781%7CUnkno > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha > WwiLCJXVCI6Mn0%3D%7C1000&sdata=3DlOkPSEyYhyhHPHQBi916FgdPeqK > GWi1yCC1KyhlsUCU%3D&reserved=3D0 > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/= fsl,i > mx8-pcie-phy.yaml: ignoring, error in schema: properties: fsl,refclk-pad-= mode > warning: no schema found in > file: ./Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.yaml > Documentation/devicetree/bindings/phy/fsl,imx8-pcie-phy.example.dt.yaml:0= :0: > /example-0/pcie-phy@32f00000: failed to match any schema with compatible: > ['fsl,imx8mm-pcie-phy'] >=20 > doc reference errors (make refcheckdocs): >=20 > See > https://eur01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fpatch= wor > k.ozlabs.org%2Fpatch%2F1529140&data=3D04%7C01%7Chongxing.zhu%40 > nxp.com%7Cfacb5eafa5eb4fe72a1908d97a1430c0%7C686ea1d3bc2b4c6fa92c > d99c5c301635%7C0%7C0%7C637675049421428781%7CUnknown%7CTWFpb > GZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6 > Mn0%3D%7C1000&sdata=3DqePjUlHV6abE0GeKxqqoddS8%2Bc28wRGOoLB > NyDPpDc8%3D&reserved=3D0 >=20 > This check can fail if there are any dependencies. The base for a patch s= eries is > generally the most recent rc1. >=20 > If you already ran 'make dt_binding_check' and didn't see the above error= (s), > then make sure 'yamllint' is installed and dt-schema is up to > date: >=20 > pip3 install dtschema --upgrade >=20 > Please check and re-submit.