From patchwork Wed Oct 27 07:19:24 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: 12586499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8526C433EF for ; Wed, 27 Oct 2021 07:21:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 73AC8610A5 for ; Wed, 27 Oct 2021 07:21:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 73AC8610A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Hf99u+H5imDDdzYHh0zK8jc6A73ViHQ2vc7EYGAvYCY=; b=RCaoSivCosNm/W ReSMSxjRtPbtKtNKLbmAuet8sxWaSZybiyXE2ag7/YjFxtMoLrZij/om6H1537PNNl5XyZrtj7Lh6 KmNPRkMk65ma4qE5CvQKyEMrNX4mrVfVmk4UiteXhHKquxXBltyPKNY4QUF8C+ZEYY44c4mEOIyd0 78XNTDfIH1BRw3HVsnVzVMM/D8IpLxp+lyWcp8lsgnGNoGk38VWQyMd4PaMk5QrfFoNoWA7mV4EyL LyIiKWgbIhwek9hqhuV3UPFGvKb6tez5AyX+rJ0HWfh/EB8jrHXsiqo6HRhBYygnVZfZVDL6A0f+x NCKQhK7zxUzyz4dhKiRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfdDw-0048Ej-Us; Wed, 27 Oct 2021 07:19:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfdDj-0048BK-T1 for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 07:19:46 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C60060F9B; Wed, 27 Oct 2021 07:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635319175; bh=xYwMf51d28hk5TR1VW3DBk886gb6GjjMAgeCIGsfQ/U=; h=From:To:Cc:Subject:Date:From; b=ODLqzzasnDimwgDtWtKNu9hT6dPgeSdJtAKWXvDDAoOv0aVpUiPUxzm3pDoGVv8YW ghr5wmkumyVyxjT9Cte+bQAASoEwIZ4+CJnAoTXZu1lqYtT2SAHscrVG/a34EGfHVC m/sCmvcf4CcRiQBk3RvNhxDv0NvNQ9o9E5QkOL+Jzdlv6H93QIY/YI83quYZiWM+Cs TQfNsWnjZwttz6H2++hW+DTNx8LKvrbrHZZRfAVD/2/uCqxcPAemAMn9KWvEgbd4oD +IreYWS8wEk4Bu10xh0c3+M3ZdYxqCUdXqTCJYl/ghWHrBJN4fZXkvHKVHkr00LCmI EAKk8lYrlp8zA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mfdDg-00CV5I-K6; Wed, 27 Oct 2021 08:19:32 +0100 From: Mauro Carvalho Chehab To: Wei Xu Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/1] DTS support for PCIe on HiKey970 Date: Wed, 27 Oct 2021 08:19:24 +0100 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_001935_992659_F0E4148B X-CRM114-Status: GOOD ( 10.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Xuwei, All drivers needed to support PCIe on HiKey 970 were merged for Kernel 5.16: - The PHY driver went via PHY tree; - The pcie-kirin changes went via PCI-DWC tree; - The dt-bindings documentation went via DT tree. The only missing piece of the puzzle is the DTS file. It follows the documentation at: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml and it is pratically identical[1] to the second example there. [1] The only difference is that, on the example, I had to use a different address to avoid conflicts with the HiKey960 example - as - on both hardware - the pcie is at f4000000. Manivannan Sadhasivam (1): arm64: dts: HiSilicon: Add support for HiKey 970 PCIe controller hardware arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+)