Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5357497rdb; Wed, 13 Dec 2023 06:36:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyn70DaHwXFoLkM0qFOzM7sLvwrDnAQlEWIaJRNp392PRF2b4bQslKqm0ULK00UTv+Ok3F X-Received: by 2002:a17:902:ce8d:b0:1d1:d9d9:1fe6 with SMTP id f13-20020a170902ce8d00b001d1d9d91fe6mr4029298plg.116.1702478190200; Wed, 13 Dec 2023 06:36:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702478190; cv=none; d=google.com; s=arc-20160816; b=JzIsbqeEYQ1/QAiB5Z4+kxY9XnSeNaG7FTCASDGjQ7PJkglaAhisRz5F5z0MbwMAu9 eqo98PDjaCVAlpZdbVbKlMHoHvgQXZgzr+J0y46zdvB5wKO6/Pj27UcS+fHEoS+UfIhY ivwqbKp59ubMqqzkB5Zs9os9Xi/x4dNbCvtDQB5z6xCULmvwrFdhcibsHadLZYNxaYgP WrA2G9v85txmXKZFU9SC1ySMLxC1miS/1Pe6gGWBZDJtZgA8gf8GraYA+UFctolmOMXz Q5IPrMoByjrArOlsmFpIM/LCk9K32hGveuTFfci7A5f67MBv2uIVmrnEG8xe5ArbcfAj pS7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=C+KCX3VeG9RylsCC1YNPXKBKpJf6ejqEflv5vOYcrLY=; fh=PvnHQ4Liy0yiDcxxpZWWTao/4F9dWtJ3yvPjoDfTvxY=; b=yCmZ7akWFKqb0xhtnUlRnMPSFo1Luv6qMIp2I6j6oOtocZ1/Lq29Da3x5eM5ipLxkZ o2cDgb+sIfEoPQdzzxV3PtwNbgJM0h5XV0ZhB4SG1KFuh9tbPHo3v5NDdQjXCbHzfhcq 5akVTKxAAAMpwVAEGn9Heut6c+V7NI9QT3fF6k8c8UKzz59bPL4UqyZOYxZWMiRA0W9T dUJ8IGiexDsqy+4w94ljfyLJuztWN5PyfHwdqnHUNWI46Yeqv4O3Jwy3ymAKG7LBdY3r CyPqQnLHpiEromPZE9BK3lbSa6k0IImb9Rs78dzzeR5m/AQ4hS5HHdA0d3tWA9URJZ1z Cbmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l16-20020a170903245000b001d349240e67si1756948pls.28.2023.12.13.06.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 06:36:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5C1128041EBF; Wed, 13 Dec 2023 06:36:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441981AbjLMOgM (ORCPT + 99 others); Wed, 13 Dec 2023 09:36:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441980AbjLMOgL (ORCPT ); Wed, 13 Dec 2023 09:36:11 -0500 Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5473B9; Wed, 13 Dec 2023 06:36:17 -0800 (PST) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5906eac104bso4109579eaf.2; Wed, 13 Dec 2023 06:36:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702478177; x=1703082977; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=C+KCX3VeG9RylsCC1YNPXKBKpJf6ejqEflv5vOYcrLY=; b=r+/FLdmmzt/1Z6XVbWks0akWA5TDd35FlIEl1ONjBJui+YMxYIvZaLgJM+04J42Yf1 humYKAHsusXK7oo6cHOFF8wq/TeLbBwt6BmVjAqN56df9+nZOyc80BrDvNdD7FanDgCR 1UqTPu6IgGtCZtdwfhf2qdKOuEAuVBi2TIhEcA5c4LJH9sBTNWysLh2hr14vdSR9pYau USl0g4hBgIH6kZBbtAeU25fyCEwnnDt2hfcU1lzDS21vuC/hXz5kcW0lFL1vgGqjEVPn bC7GTccjEMV+bavNNA/sOHDzrZamWT9fSC2CrFBzh0ZcTcS6SndZh3Wo8zKJHh75XGCk OHeQ== X-Gm-Message-State: AOJu0YxcPHZOvQJ+OmovS+cm6EMSJdU+zyLtWFQ0G/rP6bXdqlm5FnJZ WkATmNoojuPmXoRbq/OpUA== X-Received: by 2002:a05:6820:287:b0:590:673c:e284 with SMTP id q7-20020a056820028700b00590673ce284mr3736085ood.10.1702478176998; Wed, 13 Dec 2023 06:36:16 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x8-20020a4a6208000000b0057b6ac3922esm3043883ooc.18.2023.12.13.06.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 06:36:16 -0800 (PST) Received: (nullmailer pid 1097845 invoked by uid 1000); Wed, 13 Dec 2023 14:36:15 -0000 Date: Wed, 13 Dec 2023 08:36:15 -0600 From: Rob Herring To: Frank Li 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: <20231213143615.GA1093782-robh@kernel.org> References: <20231211215842.134823-1-Frank.Li@nxp.com> <20231211215842.134823-9-Frank.Li@nxp.com> <20231212224426.GA2948988-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 06:36:25 -0800 (PST) On Tue, Dec 12, 2023 at 06:28:43PM -0500, Frank Li wrote: > 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. Only because you have no example. What about your actual .dts? > 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. Sounds like it should be a separate node and use the phy binding. Do it correctly from the start, not later. Later is an ABI break. What is SID? Rob