Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4980117rdb; Tue, 12 Dec 2023 15:29:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6ZrxzQcENEHF0CpEe3/8YvXlxO6Z4YLkiK/T8vqHbGPNFg5B3QtjAhcxzIVUEKsucvLjb X-Received: by 2002:a05:6870:8186:b0:203:1bd2:8f43 with SMTP id k6-20020a056870818600b002031bd28f43mr360204oae.57.1702423747642; Tue, 12 Dec 2023 15:29:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702423747; cv=pass; d=google.com; s=arc-20160816; b=UCDb6JSViHP3W948b9jM7qw1wCaUXkxfzWg5NR/yYzsdxlNft1X9t4GsB7+VJ82xCD 4hnySbEq9eAz6EJ5WMlW3Dum/7Nz9VSilrYTXab8u6aAuyrKXTymwZZV1rivdn304r30 odwtuyHRrMdMLN/Y1DVAXLDVO1jw0c6xAnmU/nxyzKb0sTeMoSEBh+rVHU5IOUa3h9u5 AWa2EMQ4OCkJh/9qfUJ/1w0KPubhnRcNK2pQtdaG3se1DJ/V608/eo3FlQ6wltwVot0U npPbCYL8BFai8kX0hmXcvcgYHTBAdPqc5BcG8T4sISPSrE8OGugVKyXIDOATMxOO6dMV qYZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iPxBrbr9Yc1aDgrnpWdn48nkjZoaWGeaY/1PKHUiXbI=; fh=KUYZKa6CP/MERN+Nevo1argr80DqAiFU5BDNYZzKr90=; b=bjJhlnmv2PP0cy2X2cdKUXy8EhJ9k2PKwicbvqOeOXg5DqCQfP1o83yWSe185inuII AFSu6xV76o23/c6DE0ulWZo8kAIJb/i8NG2+Fv3osnKhRxAHchb32zbk1RMjyw7lsDOx WSnzaaRqLgWJteiyr7HAKgUEMDycvdaVlLwFhcuOmiWePltv8uaEAOxjTzGoOwfrytjA 9nsUkwZARaEomrv4i90xBKG9yXFjuWisnTJeQdNYzaKZ8xgLdph+Jdmg/XT0AG+nuQXU YJtfKsL4WGlOo15zuJSpvHQQsLIgpvB5oQxCZu8yDzJOGIpCiCVhtIdCrFxNS+EYtYRX tIQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BF1k8+qw; 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::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id c37-20020a630d25000000b005c65fe43747si8225698pgl.279.2023.12.12.15.29.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 15:29:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=BF1k8+qw; 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::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 14F1E804C23A; Tue, 12 Dec 2023 15:29:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231701AbjLLX2v (ORCPT + 99 others); Tue, 12 Dec 2023 18:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231664AbjLLX2u (ORCPT ); Tue, 12 Dec 2023 18:28:50 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2076.outbound.protection.outlook.com [40.107.6.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B22E9A; Tue, 12 Dec 2023 15:28:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qo9KXdERokuN7g40RUS71KbJu6D8RF0fgKDWZ1uO7asIOY+OD9S0kt0FsXgvJV48laBR+vWPvXjz2A2qF2M+0Lpm0FJnqs5sdh9hNvXvPh3/e71xughgksrbz92nzqw4T8AVrUZS+dR1DFY+RH7zxUWHrp63DXUpqNd8vqrYSBOOJJde2PqKdSw/O1tfFMwMPPBaV8kXbwOsW+WWy8odXQ7Njizs8c0uQGhLTVIKHaguYZxGI2LdWsKwBp3ONttTd1+GSbAEnWeYFuPxpNCOW8YQpdei7ZrsGg7VFIYs32xHYbktyL6oiB9FJEQ2J+rKMdNGSvmCaNy1oi/o+/MjGw== 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=iPxBrbr9Yc1aDgrnpWdn48nkjZoaWGeaY/1PKHUiXbI=; b=QFFwKpk1WYTwqzVg5aYNXXcKAz0qgmeol2M0Rrvvf+yTXhgW3kvWcFMwJYHcij284Q7MYM+H+FW+75V2FTBGUg/Pj7PJrvXr02Lxsa9IvxGXsiBHyI+9E9e/OZ98uhbK6lkNZMk+5mP9hNXMS7vbSz4CgKNuPykXPbsaA1sXGqzFH0D/eSRd2+7Tay6OHWgGVAXOkp0jRZsNdl/jsuaGcKfYKFB9bgxIXu15cRvhgJ/qaV/R9qX/DCjspOCQ0M5itL8JbFOOSnf7blpXFyG3p7cpD90vUPlBgTWh9TMLCeYc4Vq5uvL/caemkS8YCTzCh2L892ri8jpXhLBqRMQzkw== 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=iPxBrbr9Yc1aDgrnpWdn48nkjZoaWGeaY/1PKHUiXbI=; b=BF1k8+qwVQttnyBmCucQdq9/HN5RBFx7QO2gxFo7OO+rkA1QMfhCRugbGkliws9wVNxdA0kEfwOhxNPtyZczvlrOYd2vZQ94BeX1+PB7O0/FXixlIs2bWGUEPG6l/GKeUFMEWhmYpbn+pAd+i20+9jjaDwUrwy50q/ITGQMJilw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by DUZPR04MB9848.eurprd04.prod.outlook.com (2603:10a6:10:4dd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Tue, 12 Dec 2023 23:28:53 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%6]) with mapi id 15.20.7068.033; Tue, 12 Dec 2023 23:28:53 +0000 Date: Tue, 12 Dec 2023 18:28:43 -0500 From: Frank Li To: Rob Herring Cc: bhelgaas@google.com, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, helgaas@kernel.org, hongxing.zhu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, kw@linux.com, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, manivannan.sadhasivam@linaro.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: Re: [PATCH v3 08/13] dt-bindings: imx6q-pcie: Add imx95 pcie compatible string Message-ID: References: <20231211215842.134823-1-Frank.Li@nxp.com> <20231211215842.134823-9-Frank.Li@nxp.com> <20231212224426.GA2948988-robh@kernel.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212224426.GA2948988-robh@kernel.org> X-ClientProxiedBy: BYAPR08CA0029.namprd08.prod.outlook.com (2603:10b6:a03:100::42) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DUZPR04MB9848:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b174819-107f-4ddc-68cb-08dbfb6a1a59 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: g0WueD8zidrn7MHLIpsQ2/ybN0F1/X6s87O7A1W6kUTouGWn4JQAvL3E7BoM06eajmg5EVMKaW3et2HczUuuAcTJL1mMLGDq5uSqoNT6k2WFgG4209D1DSQrTjQlhDt5o2HshBPXQRJdTx+7sHd9dLRv6WmRye3SgG+pz/epVxeZ0u2cjZlRO7ClzyW+FVDq4Fd7dskfBTVBOWHtHRU/UgrdZO4UMugvpCZ33HbJRUzFXrxFrlptgEYqtP7/SgnNddoLey0A2BJn7xSB8YXaNxU1Jp7h8UwBpdY36WdBkEme7eUtAudYtcpzAG7f0Xgy/m/AA9I8mTC1KiQG9YeXbkqqlxzk+0RhBbBfMlrX98u46AF8iEKSdKYKqfDyK9efs6mgsaPbgti+V76KoQPbEi2/I6lmkQzzryaefaAhF/EmkSBnJLSbbjeusVDeoSTXRRA1VPS2ivED/7BciHCTxE1d1h5FKscg1AlG9gnwVG0PmyKgPaG6xXojNjhLCz4ivDVDJ5S+Cd2bmLixKph8nE4nEypXqGn7ixwmjWQnsk8O46j97L+GuZApiHq2F2LNE/pjPx7YAKIieY7OSBBqEHii4lBhydwMU4t7UCCBxpQGLtyx9wpm3ZcTkd3GPUQjd1govn8vWULXp8lOQFSccQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(136003)(39860400002)(376002)(346002)(366004)(396003)(230922051799003)(186009)(451199024)(1800799012)(64100799003)(83380400001)(52116002)(6512007)(6506007)(9686003)(38100700002)(66946007)(5660300002)(4326008)(8936002)(41300700001)(7416002)(2906002)(6486002)(33716001)(8676002)(478600001)(316002)(6666004)(66476007)(6916009)(86362001)(38350700005)(66556008)(26005)(66899024)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dPl8odxPDjhxMaVIs8uOWcM5HgowgT4xkw3mE/gEAxOxnxOxkTKRPL4vowsv?= =?us-ascii?Q?F3IThEw8Z268+HquyQd4Xej5TjgBGM+9/dEgn5CteMKscioxa/iNCT9SoE5X?= =?us-ascii?Q?XRkiwjdQuUEnqqL32olCPNSR3onMAl8licWC0ozm1Z5h/aRkvKR/od84ut/3?= =?us-ascii?Q?a+Inj83aOY2k0TQKr6ihs4cvguErUln/FSPmBUSEqdS++jObdNJYnyhR07ze?= =?us-ascii?Q?/Zr6JM+KFY/wFSWAno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UX3Uz?= =?us-ascii?Q?5tJ2i1qlhtEacO6Dqy38EAqK3XCqh5NNw7jTxVby7mpoJsTSZMJn4mEcC0PP?= =?us-ascii?Q?3tcsx2C3JIJgB/QKTGRVk3sZb+tptIjXeSO0RqKXbt/LEgfBMSJi8UlBC8jC?= =?us-ascii?Q?ins6bqp5jcIwDgugnorgvG6K8KcPKN0FQvYcJ3Y4DAIyCCEkIunvhwVXqyCL?= =?us-ascii?Q?JEXSI9GXWv1NpyqiKuQa7sJpf0ZGj3Sry1nSt51pc8R84szzO5qJ+qw23bv7?= =?us-ascii?Q?URUO8ctYftFtHeXGHR1VXtqBSFduiqkTjzLbcMjErdEr/CJm0kk+lNiiQ2dK?= =?us-ascii?Q?UrZwcJ97gE6u2HJ0cL95sV0VqLki1FiLKFMm8sgWY4okVtB+k1SnuNvVXgfT?= =?us-ascii?Q?zcKhxWqQffIr8DmpWDPCfndePpahYTAGGQBVfKBttzI0OZ4E9nBWVMPfDf2U?= =?us-ascii?Q?q82yLSuNrj+3QTiLpcUHI1TLBd1OjgW91HM1WaMz?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b174819-107f-4ddc-68cb-08dbfb6a1a59 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2023 23:28:53.1470 (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: NY1Pypbn01ymZX5aR+/iKdbmid5E9vm1cm6bkzN77QNDVmK00rE7gzihj9HOpVK7xS0z8wk3aJgzze6PIjECVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DUZPR04MB9848 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Dec 2023 15:29:05 -0800 (PST) On Tue, Dec 12, 2023 at 04:44:26PM -0600, Rob Herring wrote: > On Mon, Dec 11, 2023 at 04:58:37PM -0500, Frank Li wrote: > > From: Richard Zhu > > > > Add i.MX95 PCIe "fsl,imx95-pcie" compatible string. > > Add "atu" and "serdes" to reg-names. > > > > Signed-off-by: Richard Zhu > > --- > > > > Notes: > > Change from v2 to v3 > > - Remove krzy's ACK tag > > - Add condition check for imx95, which required more reg-names then old > > platform, so need Krzy review again, > > > > Change from v1 to v2 > > - add Krzy's ACK tag > > > > .../bindings/pci/fsl,imx6q-pcie.yaml | 18 ++++++++++++++++++ > > 1 file changed, 18 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > index 81bbb8728f0f9..b8fcf8258f031 100644 > > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml > > @@ -29,6 +29,7 @@ properties: > > - fsl,imx8mq-pcie > > - fsl,imx8mm-pcie > > - fsl,imx8mp-pcie > > + - fsl,imx95-pcie > > > > reg: > > items: > > @@ -90,6 +91,22 @@ required: > > allOf: > > - $ref: /schemas/pci/snps,dw-pcie.yaml# > > - $ref: /schemas/pci/fsl,imx6q-pcie-common.yaml# > > + - if: > > + properties: > > + compatible: > > + enum: > > + - fsl,imx95-pcie > > + then: > > + properties: > > + reg: > > + minItems: 4 > > + reg-names: > > + items: > > + - const: dbi > > + - const: serdes > > Did you test this? It should fail because 'serdes' would need to be > added to snps,dw-pcie.yaml. I run "make dt_binding_check DT_SCHEMA_FILES=/pci/", no error report. And PCIe function can work. > > Is this really not a separate phy block? This is misc block, which included phy and also include some registers about SID for each PCI devices. I plan do it later. > A separate node would be > ideal. If not, there's already a 'phy' name you can use here. We don't > want more random names. Chip reference manual call it as 'serdes'. If there are already similar name, I can reuse it. > > Rob