Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6033479pxv; Thu, 29 Jul 2021 04:59:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnGQi485EE3EivQxr4wCUF55j9TLzNp32UJaBJ2/gT5dngCgm0zW0Vm8TbRaCljSkNqmgw X-Received: by 2002:a17:906:4ad9:: with SMTP id u25mr4329679ejt.106.1627559952273; Thu, 29 Jul 2021 04:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627559952; cv=none; d=google.com; s=arc-20160816; b=mASjnATA28BwITjKOQaGok9804+zZ+XTF74j8d9gbz13S3O7wxZ7tjE3BOFwBHoQAP e8OZWpXXNRwuBxHLm6IZ3b3OOU0xP+ugkVAtuImvj2dm2sbJsWrUe+QKVZV8mOqCu0F/ ENsFVRzP0Ad8BU8+UroIlaRUJHhbarQH6Ljo8RqENJsN0y6D0lUVBN9mXBAQPdbssTTQ k/8kU4zopuYOR3hd6Epg0zCIvpGdHwPOccUp4M69w+le9RY0nAoz+8Vq/uU7OiLEL9+V X9t5q35AkR6b75DRXeWAwRszEn33LwSpJ1QksRQX02VRMxDuOwZT5I/LkeIZQus1UB6G ffmw== 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=4CdP/LWJjnnSRLMU/AUdbFiP7xAFJtnn2pSFNENbvZg=; b=NMf0Glt+WXFBAVtV1JHcPEqwnpody4WAn3UNp/hKGiSqTGdfzROYBb/TNO8Z6UTQh7 C7trlvNSujvpCjxPahuepxFXOzeIyycw8SywGnaCwz6lNFh7mU0JkhspePieKjLfnrM+ uvOrUQvCnA4YHSRKPXUHqFcUOKBaVaMBgzDgMdJ33qdGgY11k/C9UoPG+9MjEWnc1p70 Mu//oTsPL8RuDGSXF6BHGQXn1fVEVEtgJGITTG95ZbXDB0h7I3bIbv9lNHKrA2BzDT5/ 1e+5hoiQqmt0UIBEL86UFe9q1wcvXc4TSmTJpRnEC6OFpImnWAc6O+oeVzfqktHfE8iq Y5IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fLPd42EV; 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 b24si2611840ejg.403.2021.07.29.04.58.49; Thu, 29 Jul 2021 04:59:12 -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=fLPd42EV; 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 S236876AbhG2L4r (ORCPT + 99 others); Thu, 29 Jul 2021 07:56:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:46362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234975AbhG2L4g (ORCPT ); Thu, 29 Jul 2021 07:56:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6D5B060F22; Thu, 29 Jul 2021 11:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627559793; bh=rncMA8vl1pvuHqou4S/RmnWLK3jVEoJLkOEd1M5JIhI=; h=From:To:Cc:Subject:Date:From; b=fLPd42EVOWcLWnoiOJqYIqiQrdQpBsRkPih7KHw2/dYfSsCL/ex6Yw6Ei1ZE4olea qvTcvRh7tHWtGa0rTNg7u1dZ043YkXofUH797NYyzPftgyWuiurqMjsMfOtf7CDiz0 JW3TFrrUD2hVu+Z9ip58s2iQlmOTuGbY7EzlBMER6r3L6vZFd3X+p9zvUpvsmCgzPa Yf+vDpTMG8wYIANpPG9mPD1jZCnt+HrcjXfIVYjIR+Y80z74g/Ylz+oLhPHTEOC5Vw D+vV3WWYfd3cp7yjlsGbcwYuaRQ+3BZtJz0M0N0BDdmjLPa7qjWXCG3WCRTTStSUSj bhaXOB0bWulRw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1m94eN-004d1p-6f; Thu, 29 Jul 2021 13:56:31 +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 , Rob Herring , Xiaowei Song , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org Subject: [PATCH 0/5] DT schema changes for HiKey970 PCIe hardware to work Date: Thu, 29 Jul 2021 13:56:23 +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, After our discussions, I'm opting to submit first the DT bindings for the Kirin 970 PCIe support. Patch 1 is there just because patch 2 needs. You already acked on it. Patch 5 is also there just as an example of the entire stuff added to the DTS file. The core of this series are patches 2 to 4. They contain the conversion of the kirin-pcie.txt file to the DT schema, and adds the needed bindings. Currently, it generates some warnings: Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@f5000000: pcie@4,0:compatible: None of ['pciclass,0604'] are valid under the given schema From schema: Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@4,0: reset-gpios: [[4294967295, 1, 0]] is too short Not sure how/where to fix those. Perhaps at the pci-bus.yaml? Please review. Thanks! Mauro Manivannan Sadhasivam (1): arm64: dts: HiSilicon: Add support for HiKey 970 PCIe controller hardware 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 | 145 ++++++++++++++++++ .../devicetree/bindings/pci/kirin-pcie.txt | 50 ------ .../devicetree/bindings/pci/snps,dw-pcie.yaml | 2 +- .../phy/hisilicon,phy-hi3670-pcie.yaml | 86 +++++++++++ MAINTAINERS | 2 +- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 99 ++++++++++++ 6 files changed, 332 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