Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6274133pxv; Thu, 29 Jul 2021 10:21:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVpMbQ0bkjE90SxS7yhtroyI0DhlJt1BATjgsnm92fVwMd6R/I2+MDAvMQcCFYaOOC7G7M X-Received: by 2002:a6b:fe06:: with SMTP id x6mr5019377ioh.38.1627579312400; Thu, 29 Jul 2021 10:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627579312; cv=none; d=google.com; s=arc-20160816; b=OjzL2YSjQJektplMuQsR1kbcqY9eKx36h8Nz9eM3DVXzs4CO6/XtusTgO4wDr6zVO6 kRSXM0QXkeNGHCAtYfLU21DXgvUvSo2gad08tV8x3NlyfLJohUFeR1JywnkNyUsxx2Cy R0zdI2ytBuU6+hRPTiBppWs4NEiLNzh3pP8RHoN7DN/WowYwSnVNW3+ZsNmgav1RvTOU PjGSFfCsjs9u0/O0aNXaNxEwQtHeTK45cegk5nEyVq1ASfTuhe2SmRZ53lpLsz0CCaMG duFMOJrQoptiui3SY6pDzRLC33Sd+5sFL9lOd83XtEoi+k2ggipPC1tkPTPOoQN+byJJ jNLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dfmfX80czyi4X6j2lfZ4xujrAdDKeHim77kNp1zznd4=; b=XwmVcnywKmcHe/2xgWyVDTQzLptHLM5sNnMdAjnGIo1XlYfJqgkLQqPnIlLC3bVx5S jj6s8jPSwQLnYU+zl4Q1xaFyxY9KAFSzR8OtCcI91vDyZEAFqQXlZgGNTIdqX6JmlCXJ cnwMQm92zbBTNWC7caXigqrXm15y34xuOPJQWx8LeLB16E+7Lv+MLisFiIrRFTtnOl7r +QmkBKSnbcj8NT22VHuD/rcN4XZ0C7p6BS65qrAJ2RuxELBX1vDRuyayb7grsto1Atu7 QVTlTe8LyzRXvN2GTZ22TU+Da4XPCb67zV+QHecO3i5suPcVjabEFWq1JknXAYz/3Han GqvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bbTDTTZU; 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 x6si4139020jas.60.2021.07.29.10.21.39; Thu, 29 Jul 2021 10:21:52 -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=bbTDTTZU; 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 S231271AbhG2RUz (ORCPT + 99 others); Thu, 29 Jul 2021 13:20:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:38740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbhG2RUy (ORCPT ); Thu, 29 Jul 2021 13:20:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C67E760F42; Thu, 29 Jul 2021 17:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627579250; bh=3u51lRqQafrXq5f6IqvWMxZ1ptNInQdEddFA3TjKAb0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=bbTDTTZUuX1tvZrjspUiyv7DKa8/vf8E/FZBxFhlf4W1jolNX6oBAnUQmJLMA+/HO os+AFaPTyDu57ZXYiK1ZmRz+uv4PsMw0xMU5NsT4xSr2TCKBn4DlXJQPC9aOVprzve OXGhvZsI9KJS8jfurdZYrJmlILa2SrwZumTm2BeTDTueOvNKqD7DpMpMemfTMHwQtP m7OWv5mIHK07aUFQSE73K7t6wqG3gJKYxq8Cv36//b5YyWFrVKc2ohRCANV5aEPjFA js5QvQdGh2cPcaatgPANzygIq1RoxijBd88J8YAo6KIOtXqCmuSd4gLTGtZ0TAwS1H 3ysTC+kA1fsag== Received: by mail-ej1-f48.google.com with SMTP id e19so11929870ejs.9; Thu, 29 Jul 2021 10:20:50 -0700 (PDT) X-Gm-Message-State: AOAM532WgPfHP1QJVQvUosrjizcT70WnF0mKtZUW3IjL7SbnwBIGnPIn vRUygH3UR6wGhX9Vti6hopcJNpJ8dapK/6Dmow== X-Received: by 2002:a17:906:d287:: with SMTP id ay7mr5417811ejb.360.1627579249347; Thu, 29 Jul 2021 10:20:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rob Herring Date: Thu, 29 Jul 2021 11:20:37 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/5] DT schema changes for HiKey970 PCIe hardware to work To: Mauro Carvalho Chehab Cc: Linuxarm , mauro.chehab@huawei.com, Binghui Wang , Gustavo Pimentel , Jingoo Han , Xiaowei Song , devicetree@vger.kernel.org, linux-arm-kernel , "linux-kernel@vger.kernel.org" , PCI , linux-phy@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 29, 2021 at 5:56 AM Mauro Carvalho Chehab wrote: > > 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 This should be fixed now in dtschema master. > Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.example.dt.yaml: pcie@4,0: reset-gpios: [[4294967295, 1, 0]] is too short Your proposed change to pci-bus.yaml is wrong. It's requiring 4 entries. You need 'minItems: 1'. Rob