From patchwork Tue Aug 10 09:55:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12428577 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 461C2C43214 for ; Tue, 10 Aug 2021 09:55:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F675610EA for ; Tue, 10 Aug 2021 09:55:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239320AbhHJJ4L (ORCPT ); Tue, 10 Aug 2021 05:56:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:42804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238400AbhHJJ4J (ORCPT ); Tue, 10 Aug 2021 05:56:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7D9361078; Tue, 10 Aug 2021 09:55:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628589348; bh=FNhMa3ARnkUqgywjPKmDLcBbdox5t8J3LGZ7Cu8izcc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aqAmV5T2x8rmna01c+loa1kN4ufHcs42c+6l58cQoxNnaAi7+DrfPWaxHn0I0fjRt zIPZfDUILT7gQE757HJhB9IJhj8bKELMWO/UM+fHnFs22cWJqDwO1Vair5qyj7Le82 ACPbcuV0X0MZWxDZzYjl/UQgHnlaq1TRqy5wUq6RKozNRQenS8i/01EYt23X+Rmxtz /hYUXdweYCmPTMtJzOwoFtQS2f/6a14RzUwigUMxgglxCy+Jgwp4xgr8vNjAor4cPz PkecwvlWE6ln3Ubnkp9mXH9FXYSREb26XzGGZ2hZM1fvI8AJVZlykHL5Sb40Hzi0IY ObCZ1aHKMPUZA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mDOU5-00AcFv-Vo; Tue, 10 Aug 2021 11:55:45 +0200 From: Mauro Carvalho Chehab To: Vinod Koul , Bjorn Helgaas Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , =?utf-8?q?Krzysztof_Wilc?= =?utf-8?q?zy=C5=84ski?= , Binghui Wang , Lorenzo Pieralisi , Rob Herring , Xiaowei Song , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v10 06/11] PCI: kirin: Add Kirin 970 compatible Date: Tue, 10 Aug 2021 11:55:37 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Now that everything is in place, add a compatible for Kirin 970. Signed-off-by: Mauro Carvalho Chehab --- drivers/pci/controller/dwc/pcie-kirin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/pci/controller/dwc/pcie-kirin.c b/drivers/pci/controller/dwc/pcie-kirin.c index 95962983e6f2..306d440e1b62 100644 --- a/drivers/pci/controller/dwc/pcie-kirin.c +++ b/drivers/pci/controller/dwc/pcie-kirin.c @@ -736,6 +736,10 @@ static const struct of_device_id kirin_pcie_match[] = { .compatible = "hisilicon,kirin960-pcie", .data = (void *)PCIE_KIRIN_INTERNAL_PHY }, + { + .compatible = "hisilicon,kirin970-pcie", + .data = (void *)PCIE_KIRIN_EXTERNAL_PHY + }, {}, };