Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2150083pxy; Mon, 2 Aug 2021 21:40:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5Z0xBMh8N96rVjuFZ/LdmmbPM/oMGlNj5erWn46mDgemwJlME/VB8czyZ5spJblsNim7b X-Received: by 2002:a50:fb18:: with SMTP id d24mr23297617edq.225.1627965656576; Mon, 02 Aug 2021 21:40:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627965656; cv=none; d=google.com; s=arc-20160816; b=glkAGqVJc4HdspN8dPy70T6/ASZ0uOELZadPst+tzxBwS2JUOV0XMg2vwwXnH055Ev iPXBmnNK0gC4Uiv4e43iP/lgOmiSrvwJnlM6zV1ndsyWh1/3rBnZVqHCiXdvBRpix/aK 3ZoW96uHyIUVaBjqCuP90cpX75waUMRY0qqkQJflp9AFjZ69mQ70OExOml/VlpgMvyM/ K05SqxX3I6iKY8rxkke+Wz7yYswv0Z0KQRtUvvx7VTbyb5ip9lXwjiN5m2ql68jQjspi jLqf/czJk0yIwloYB97/Bg1w0ngzVnZ/MxfLyOO6p9hC7Nat3vOtAQ8ztE1GWg+JDqhf rzCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PhZ5sZSZaE4rxABXg6PNs5AVeeguEZDbXiaiNCAYYJQ=; b=Wre+Zn5/c5YYoc+hHyzegXe4oURYwT0Ge6MvgQOa2cpwR0QH8L5HLpEyOsa0BK4F1c 7Sq1BUWU1k2gzu1lbqDR0bnrh7/Itvb084krqrrz+FYV8yzaE0h+Fq4LZRCnzT79G2TZ UnzeBzAXQwFFjhlIACUUh5Wu9DjYySJCLio5z5e4lB59Unrfi3MwNf6z5s8uZq4la1W3 gXsNLVOYDv9q0AA7Tp4Jk1iCYU4vpsjA4cA0w4WYF29q5BAfbslk+73UlYYCqYRDGVux L6XZLwMrJZDDhFchXKSj/OKV+SUWg7Glu0qTsnMOrmbf5oPJkXreVoT1DVid+NqxVUNC BiRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kyj4k5SB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id k9si11899956edq.139.2021.08.02.21.40.33; Mon, 02 Aug 2021 21:40:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kyj4k5SB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S233943AbhHCEjQ (ORCPT + 99 others); Tue, 3 Aug 2021 00:39:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:44786 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233858AbhHCEjO (ORCPT ); Tue, 3 Aug 2021 00:39:14 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B051960F92; Tue, 3 Aug 2021 04:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627965543; bh=HPK28uCi1iOsyLvrqkwrijwn8LbLWGJtlix8oYTZDDo=; h=From:To:Cc:Subject:Date:From; b=Kyj4k5SBhiAKWQEG+JyRR8OhCCgFqaVfhG/apEvyqWEazuD+CBUaCAT/EwzCU+Mbm 71MeZCySfJJRCXqhtrPYC/lJkbJFNBqBtu9QTC7dNKaQxy2DMJT2JqMiH6RDUgWlP3 s8m/0EgAimHcumC/KV69n5JqLNF3UzhlPM62b8M/SHKrKjTzAQ5qfT9YOKhH+N8mVP wn27eqMPRz6w8mnDZBE0ZaaGL/UfRhJ6TxQs43sguM8dZMQRKdFKWl1/88BrTWCiYS KCBDpZ3gfxEP0dGQUG0nTg4Ji2YAdZ1otY+BNeUUzP6YH9Nxe3KU57Ehm2BuEU211N C/7pcf7MJRtOg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mAmCj-00D8KA-EN; Tue, 03 Aug 2021 06:39:01 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Binghui Wang , Gustavo Pimentel , Jingoo Han , Xiaowei Song , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org Subject: [PATCH v3 0/4] DT schema changes for HiKey970 PCIe hardware to work Date: Tue, 3 Aug 2021 06:38:54 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, That's the third version of the DT bindings for Kirin 970 PCIE and its corresponding PHY. It is identical to v2, except by: - pcie@7,0 { // Lane 7: Ethernet + pcie@7,0 { // Lane 6: Ethernet at Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml IMO, the best would be to merge this series via your tree, as it depends on the patch converting the DT bindings for the PCIe DWC driver. v3: - Fixed a comment on patch 3: The Ethernet controller is at lane 6. v2: - removed the DTS file. I'll submit it in separate, once having everything else merged; - it now doesn't produce any warnings with: make DT_SCHEMA_FILES=Documentation/devicetree/bindings/pci/hisilicon,kirin -pcie.yaml DT_CHECKER_FLAGS=-m dt_binding_check - added the upstream node; - the clock enable now uses a new property (hisilicon,clken-gpios); - the reg for the PCI devices are now properly filled; - the pcie@x,y nodes now match the port number from table 4-1 from the datasheet. Mauro Carvalho Chehab (4): dt-bindings: PCI: kirin: Fix compatible string dt-bindings: PCI: kirin: Convert kirin-pcie.txt to yaml dt-bindings: PCI: kirin: Add support for Kirin970 dt-bindings: phy: Add bindings for HiKey 970 PCIe PHY .../bindings/pci/hisilicon,kirin-pcie.yaml | 160 ++++++++++++++++++ .../devicetree/bindings/pci/kirin-pcie.txt | 50 ------ .../devicetree/bindings/pci/snps,dw-pcie.yaml | 2 +- .../phy/hisilicon,phy-hi3670-pcie.yaml | 86 ++++++++++ MAINTAINERS | 2 +- 5 files changed, 248 insertions(+), 52 deletions(-) create mode 100644 Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml delete mode 100644 Documentation/devicetree/bindings/pci/kirin-pcie.txt create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,phy-hi3670-pcie.yaml -- 2.31.1