Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2834806rwi; Fri, 21 Oct 2022 08:25:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6fyijuZw1rWgysY8Y0iog+UhNpzZ6rguGHmkeD0AzrlOKAWuPIN1q8lnU1BzgUX31QRcnm X-Received: by 2002:a65:56c4:0:b0:458:85e:9e65 with SMTP id w4-20020a6556c4000000b00458085e9e65mr17013771pgs.358.1666365947085; Fri, 21 Oct 2022 08:25:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666365947; cv=pass; d=google.com; s=arc-20160816; b=P8srBvL88eFU8ik1J/+oERDXcwwmKSJ3zZOBsNytLrmLCQdM9LlzbLmMTx/1ZzBPVf M17568J5tXNTj+WvdV4k4dX3Po8EucdIEissdgDuZc7EXre+Me9jGOxK0H7H40k+iKGr I5RES88N4+jBZwGcidQ9f1UZ6x3zukxEHtV0RwdREOU7t1gbPQ9HJqgVEUCqmp0oQkRg 4gImTqsrdMUGZ3CQ63NHGuDNN+d+R1mUN8S81urDkWC4wUIjA+JlEw3m3vAsOVw2qX/F LqLN1CmpuMEYkY+ckxX2SaSssi2Rg43TdpIbK2tnlMM9m3+wwSd8sGqBh0/nX/5Nb76F GQiA== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=PMq2cFtffgeAEB7d4sp5cnME/H+CS6UlsvsGk+PLiJQ=; b=f19gz/dDTW4aOe9jH4RU4hJphrAs4uUnjRD77RKDbLUnc/c6BWOwsoA7sNSTNAp6KF gzwA4uNjnH1aYdq+sE0hNwbIOwzIrq8WZkflIVBcrfq+3WaNW1GhA4W9ML0mPgn+HEwK ESAdAV06oinPWNjKv/Op4tlPHnMftKHjsFxtDdNTXCccV4mii3VIWN9fHN1uacdb23zw b1L3HydGVHrhmc/r4oblu1O7SdgVjuc//h0TRyGVyLNSoGWvP0vEgHTnchdtY1WJj+A/ FKwjKBAg7ytv1kES9HUZG9y1m6n/UcEPnFVLfZG85MuEFUUNnKsRL4vTHxgV/+GzB8c2 51qQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=oTHjRCb0; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f23-20020a63dc57000000b004197e33daf5si24134049pgj.863.2022.10.21.08.25.31; Fri, 21 Oct 2022 08:25:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=oTHjRCb0; 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 2620:137:e000::1:20 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 S230040AbiJUObJ (ORCPT + 99 others); Fri, 21 Oct 2022 10:31:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbiJUObH (ORCPT ); Fri, 21 Oct 2022 10:31:07 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BE97186796; Fri, 21 Oct 2022 07:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EiAvaq8+V+Gc+e/UVqzLDrd00/YYd3qGsnl0cZ751pShfL4/4bmrt3pLho+AdSHxHBBNtr6pycoVOwYNiwd4F5egImy7nOdXWb5bMlptGKDUl0c1Kfs70efvKNGEm2DIXNYHDXiooPE/lltdC7/Jo4OArdVj1/+Cf8ugB1YU/XbX95+jblMec6Hy+abzna4dpeWO1DWjKmrVEFyRHewK6G6aBogfenRKoodpOmrU/l/iZNwRcVQPsnuYvkyCN/3dPVHnllQJ3kxzZsGs8mROY3d02MuJdBnsRmKE7o01FePz4uAt0z0VrvBzYDNCiM8PKmFkeDb3Ss+3pqIkbWewzA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PMq2cFtffgeAEB7d4sp5cnME/H+CS6UlsvsGk+PLiJQ=; b=RdJCoTT0P36MMGdtZhvo3o6y7PGwCBg5t3lDquHUXsURED+ADIwskC0SiZVGKiF3AyTYx3fEV5z/mX+KLy70wUo6M2Rny9sEIGZnDJCb/mHZW+L2Vcj+MOYIuwQN+UHbMikTXWpoApiLLL0KWeH1Jmt9nHX1xajbx5kjCz3yIek6D2P/oyPd4ubQu350zN2gLClPfc7rr+C7lAgO0w+DdXT3WfazJkZDhfNX4cIq/tLAJ3iX+XS7ikUNVD8fHjfSkhfb+DagsJzZvzqf5S0/jSGHgY4xKAPPIDd8Stnu9tReFQLb6Fw65q68kdAKwhzd6EYwZdJvbYasBpl5+440Ag== 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=PMq2cFtffgeAEB7d4sp5cnME/H+CS6UlsvsGk+PLiJQ=; b=oTHjRCb0iNi2GQU4UW1VPuxUpy2L7w1QuhGHfuD8ElBdYNC26+mXSpUvgPY7P7RexGA1ptfo/md34wxgBm1J5uWjPeV15l7nEloIax0SLegjCRX3TFxdm/BL4Zfj2Q8nzNgOoMbjHG5QBvGLgwFCWcg9VE1VbxqwL6ygJK0dqEY= Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AS8PR04MB8136.eurprd04.prod.outlook.com (2603:10a6:20b:3f7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.29; Fri, 21 Oct 2022 14:30:59 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::a67a:849c:aeff:cad1]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::a67a:849c:aeff:cad1%7]) with mapi id 15.20.5723.035; Fri, 21 Oct 2022 14:30:59 +0000 From: Vladimir Oltean To: Maxime Chevallier CC: "davem@davemloft.net" , Rob Herring , Krzysztof Kozlowski , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , "linux-arm-kernel@lists.infradead.org" , Luka Perkov , Robert Marko Subject: Re: [PATCH net-next v5 1/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet controller Thread-Topic: [PATCH net-next v5 1/5] net: dt-bindings: Introduce the Qualcomm IPQESS Ethernet controller Thread-Index: AQHY5UsVP18kioT6hUa4h8fI414WPq4Y6OIA Date: Fri, 21 Oct 2022 14:30:59 +0000 Message-ID: <20221021143058.fg5vet5or4qcnet2@skbuf> References: <20221021124556.100445-1-maxime.chevallier@bootlin.com> <20221021124556.100445-2-maxime.chevallier@bootlin.com> In-Reply-To: <20221021124556.100445-2-maxime.chevallier@bootlin.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: VI1PR04MB5136:EE_|AS8PR04MB8136:EE_ x-ms-office365-filtering-correlation-id: 21d747e3-91bf-4d0f-db48-08dab370df7e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1yNpG5YO4swBTrITmQkKLMOA0aYr/NyxAU62lHgqysOEUJS85Ip9kU3z1pSZ7EVqbeU3ZYf0p0uimEmcovlXVd3C8xJt2L6FZYGMI0BFvT2w8ZG4IW9Wyw6iAlXFI/Dh6RKV7mGg1h9mrD3oC9ch0UmEcUe+4TYisk8Mom4yGg3eK81OntB8ZwD5HaGY68flsazWMoEK6h1VaMyuIxHbjkXrEqjyqfPWmTEIjCbxaDrAwFGs+QUbqH/wHpLdF38pshL7P/k3HjxDQYtE7TEqZx/VGvsuhwJXrC83WCNJl2oY/q0cdnrwdgJiXLn1NZeHDVAP7Tqjo5wUY19C/q8MgD7q/PQhaTcwx/HJvXcGNjpJO6HOhHRRBBOJtauB4rpVPwo62F2vfkIZeSWXeejT64HVpipwIBkbCNaWXzIkhSoOl3rvINVsdFoEiMO1FhZhsnGryuzE1EXnvpIwItkaHh2kLhwmOmILY5kQ0blKe8IgWQ94EhRa+hKtghOTbDkhStQe91806ygr648HiWwR8lxmaLYE4E/CO/s50jQZyHPlMI+MxPgcbq+4ayRD5k2mBAkwR4YfzT1Yxv9hdFvUJjMqDf90NxuOhCGStJnE1HjGQSijOeR1gPI2CANK/9pZ79gHWAIbWv4dCjVJM6D3+55ydqG31aim9mINUQkHed37UDN/68l9jpbYgEosnptZCoUE8mNZJTzy1YAz/jgVS+GtmpJiFG9hyu+06cRgox9WdaqqUBzUCCTAeOVKFZI7EK8/YnGQ3U72N/PMp3y/TQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(7916004)(4636009)(396003)(136003)(376002)(39860400002)(346002)(366004)(451199015)(83380400001)(186003)(1076003)(2906002)(316002)(38100700002)(9686003)(41300700001)(86362001)(54906003)(6916009)(33716001)(4326008)(44832011)(478600001)(122000001)(6512007)(6506007)(66556008)(26005)(38070700005)(66476007)(8936002)(5660300002)(64756008)(66446008)(76116006)(7416002)(8676002)(71200400001)(66946007)(6486002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?B+Onru/PwlfHLKDHY1vJtc3TaiJSGQLsoxdrN+MNcadmWEaM82gWVDFcmX/5?= =?us-ascii?Q?D2OoITJ4G3HD/O+jQtlA9ZRnhzSI4W3P7rkI0Dmz/6TE12obJWrYJJ66rIA7?= =?us-ascii?Q?cNnu/U+9wYSVoDiGNzGvBB8y1NdTUKfnvgYfF6GHA8+m6t2Y19gPINef/E2b?= =?us-ascii?Q?qOQNc61awIyRsXpLx96C5aWCto+7EdCqVbdrbXdm7nWeCxWdzwt70pmp8po0?= =?us-ascii?Q?khyWeEIBZP4NCRy2UT0JUSyQY1Q9ZCnCKuWmfcA0QbrESGPWu0NZU/U9IG4f?= =?us-ascii?Q?y135abCxykoLLt0m4hmdz36G823uE0R+JLC5PVuJAkR1P2AxaNp6ObrQcK2M?= =?us-ascii?Q?tlmFH2nkxZguxcH5XIrxs5qeM852n4AA3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x7zdewMLemhefcH8xsHLMLSZiGhWrTjEeE4e6V8q8BtNrohDS6EnK6q+ivP?= =?us-ascii?Q?38QFPz7s6wONf8oidJmF4rpuuBTnJgjcV0UvaZ/wXYxPKQhyqywf+eVkUV1v?= =?us-ascii?Q?DDeDTt9YEbqbV37L0qhK2LML3z0PVLrrjoLOO4+jiGFDHZGYUw6CW4/R4lNn?= =?us-ascii?Q?c6TvSghFjvjpzzpe30XBrcqGq22py4fsaZ24DKMCcUgiiDFs/mx/+jyt4DlN?= =?us-ascii?Q?8jGraEZ3krIIihyAeiphM/h0Nk7vEIAdF6BplSbDRW8t38GuvrbiUbmNRruA?= =?us-ascii?Q?lb824VYgNcz+TWUUoZ3BbEbNCNM+WLQuX/+wADLYVS+sHGnbW8H1wM8aerrM?= =?us-ascii?Q?wA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21d747e3-91bf-4d0f-db48-08dab370df7e X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2022 14:30:59.3532 (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: MEY6m0MrPTQo/8da2KR+9tQ0Fci1D7MCXmIIlvFrKSzkU5UDAbujLrHMPU+7nCo+9O9wrfUQGrWXZJtPH+tN5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8136 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 21, 2022 at 02:45:52PM +0200, Maxime Chevallier wrote: > + interrupts: > + minItems: 2 > + maxItems: 32 > + description: One interrupt per tx and rx queue, with up to 16 queues= . What does the binding require in terms of ordering, exactly? Whose interrupt is the 7th one (GIC_SPI 71 in your example)? RX/TX of which queue? > + > + clocks: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + - resets > + - phy-mode > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + gmac: ethernet@c080000 { > + compatible =3D "qcom,ipq4019-ess-edma"; > + reg =3D <0xc080000 0x8000>; > + resets =3D <&gcc ESS_RESET>; > + clocks =3D <&gcc GCC_ESS_CLK>; > + interrupts =3D , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + > + phy-mode =3D "internal"; I think empty lines are typically added between properties and nodes (and between nodes on the same hierarchy), rather than between 2 properties. > + fixed-link { > + speed =3D <1000>; > + full-duplex; > + pause; > + asym-pause; Any particular reason for "asym-pause"? Looking at the comment above linkmode_resolve_pause(), I don't think it makes any difference to the flow control resolution (link partner AsmDir is "don't care" when we have MAC_SYM_PAUSE in mac_capabilities and the "fixed-link" node - effectively the link partner - also has "pause"). > + }; > + }; > + > +... > --=20 > 2.37.3 >=