Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp104394ybn; Thu, 3 Oct 2019 02:13:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqw11Wf1w8J2daYyIZZcOLphH2hjrvgeYbwbU1simz+9EWFhLT73JQFkaj6GJdzXjBG84BDe X-Received: by 2002:a50:ed17:: with SMTP id j23mr8287911eds.248.1570094038322; Thu, 03 Oct 2019 02:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570094038; cv=none; d=google.com; s=arc-20160816; b=nRGhmOO8H6Oa+AcBPj4j7gc3w+oVJ+E4/c+q6n7ejETgYpKhxIU/f6sdw3GlB358t9 pwcAoec/8Ok04s8hJP3StXQz5S1fQzVp1ywP83ZghxE8lY5z+lW/3rS+v8QfvCWqiz5u K4ptz8smZB0mrYzx/hDoF+xCI57W9/2W7aUrJAch5nfADmx+wK1RGBbWBPUbHx3g1Eu2 P1qiG2qwYdav/G4FnVfSnpX5AA8AgNVco8vVI1+w3pAAiPAvB9mTjS67O2F5KMyRtrPG wXbq+7ZwirKiWYHXp3anSXefPt7No8egyPNtu4q+QshsJN6pPZ7uYBMyT00k1DVh2c8X 4jSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5t3g1ywK3BXc03Q1bfzUNv8KEPi8agm13pRefqcL/Cc=; b=saTei/HN92CAplQmVFhEdS3PGhx5iTjsgFlfLXYEa8a7CLV26C73C1BxNe+r7TnbvR TnkMAWRHUTZeWlW16NXC4WpWw4tXvDSw0qs4rAnU1+1GIjqjgGXrqa8VYqYjrw9fhmKb qiCr6AUILi7W3d56pCmJe0wXELFNh3qKGksOpxUVo3oy7J2fwsiByd5gAzMVl4X6WkJy gXTtyrKaOzcJE5ElvIvJgEiE3CoiWrYxvvb51z9/hDEmzrd60WJCeXcIw93hPyObCm/8 YTO3bh4sGvyRjpe7qPzVIv+Ub0az2tmTo3uS0m4xpC6D5MMLdgR7t3zMvGntUGie75W/ OEAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z8S71spy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bq16si916125ejb.221.2019.10.03.02.13.34; Thu, 03 Oct 2019 02:13:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z8S71spy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729134AbfJCJKu (ORCPT + 99 others); Thu, 3 Oct 2019 05:10:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:51290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727912AbfJCJKu (ORCPT ); Thu, 3 Oct 2019 05:10:50 -0400 Received: from X250 (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FAA3217D7; Thu, 3 Oct 2019 09:10:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570093849; bh=MMxJEs96BVXDKmKuJCphNcJwHlAfmZsNg6vA8HtDNS0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z8S71spy+Xp8DisodNAuE7wi8wIsa9qQOR+VeMzwJLbpw4Dz2CBl4oDhZUZg7KyCI jKIATNnmJs4DhCYtb3wotBj33BxFRZNeLBIbIBtbocDEhzMwCTQxJd7mBGOpEAFDOG rXAe6mVQ6Y0Su2CLdU80pQ4UTH4eE+qWy+ExCBTc= Date: Thu, 3 Oct 2019 17:10:33 +0800 From: Shawn Guo To: Xiaowei Bao Cc: robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.com, lorenzo.pieralisi@arm.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, bhelgaas@google.com, Hou Zhiqiang Subject: Re: [PATCH v6 3/3] PCI: layerscape: Add LS1028a support Message-ID: <20191003091019.GB22491@X250> References: <20190902034319.14026-1-xiaowei.bao@nxp.com> <20190902034319.14026-3-xiaowei.bao@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190902034319.14026-3-xiaowei.bao@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 02, 2019 at 11:43:19AM +0800, Xiaowei Bao wrote: > Add support for the LS1028a PCIe controller. > > Signed-off-by: Xiaowei Bao > Signed-off-by: Hou Zhiqiang > --- > v2: > - No change. > v3: > - Reuse the ls2088 driver data structurt. > v4: > - No change. > v5: > - No change. > v6: > - No change. > > drivers/pci/controller/dwc/pci-layerscape.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c > index 3a5fa26..f24f79a 100644 > --- a/drivers/pci/controller/dwc/pci-layerscape.c > +++ b/drivers/pci/controller/dwc/pci-layerscape.c > @@ -263,6 +263,7 @@ static const struct ls_pcie_drvdata ls2088_drvdata = { > static const struct of_device_id ls_pcie_of_match[] = { > { .compatible = "fsl,ls1012a-pcie", .data = &ls1046_drvdata }, > { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata }, > + { .compatible = "fsl,ls1028a-pcie", .data = &ls2088_drvdata }, I think you can save this driver change by using "fsl,ls2088a-pcie" as compatible fallback like below. compatible = "fsl,ls1028a-pcie", "fsl,ls2088a-pcie"; Shawn > { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata }, > { .compatible = "fsl,ls1046a-pcie", .data = &ls1046_drvdata }, > { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata }, > -- > 2.9.5 >