Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp597784pxj; Tue, 18 May 2021 09:58:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztzedpXVPBlQNJtaP/geKBuXK2SkXC5bqftwfQBwsf8kLXCl40jYzUCPKeS4qLyUimJ4ec X-Received: by 2002:a50:eb47:: with SMTP id z7mr8404353edp.68.1621357091264; Tue, 18 May 2021 09:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621357091; cv=none; d=google.com; s=arc-20160816; b=WAyvj4VfY7wcjJ7LNoLWN7Mj7ADA8FrfS/StGqjKFfxhc6fZd8pXnxOMPPujovU0QL KiwdGKjRe3Mkyh13xTbFrWaqho7AXR0M8f1DcuazTCJaMGo71l2/gOYRDZi9LIGtk31n kCiZbIaujDF73+/kifNSWF0umA+rUK+a2tdBA8lrk0rmHIvCUys7zJ+WtA0QGaV84aal 92ddqV07lhIX9o8iPEGPTlLmdpqfSdzyTS2nXqzJgvfv0QHY1OQVsdiCIHR3RKnHM64O I/weDiT1sg/Ti/eYIlJaPirWHp8cWxayf5PGEcfQs7E6hMaiPTASIpDjPa2HLAhw00hf Wknw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=XbKK8TyarQ1HZw5xa7XjAAU4ReufpfnTMa+IquoiGQQ=; b=Ay+GRMZ1QHZZK74xLvnPIobBvUokbE431aIp9CpVVnNqnZadSkNutpDZOWLNx71xPV lXch+sA8zLYjbztboPUeL5ZSWlZrWPObx0hTfSbFwtas18FdCoeV2YvC6UTS5/a4riuh 2wYqj4jMBO0AcFxuHCKJhDHHEIPCIbN/usB2KNKf7+Bp1PisPoLxyZSNLxJMrD3mki7i sKA8d9SvzMMpCmPuu0U3V8LLPjb1BUW5cM/1+F646WoIcra1whPrRPzgjYXm5+YzkXCc MaW7c+B63adMO28sQyJQL/nmwuComUchkstYb/qEQr6yfbKPxR+FgDFXVJWk5iqvuMAw uMHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=vYdh3C2s; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si17605742ejm.343.2021.05.18.09.57.31; Tue, 18 May 2021 09:58:11 -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=@linuxfoundation.org header.s=korg header.b=vYdh3C2s; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346183AbhEQQEv (ORCPT + 99 others); Mon, 17 May 2021 12:04:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:52064 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243775AbhEQPoB (ORCPT ); Mon, 17 May 2021 11:44:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CF0216134F; Mon, 17 May 2021 14:43:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262582; bh=ztFUVYCkZNRiIqAVuEpmknBv/d7sXZEZdnw/hveynLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vYdh3C2sXEhBGcjXYqbagJa6azzhUW56NEdY20urbg3xrHZGgVWaOJq8vWOdWtb/K GBC5oCReAWIfFGpddFYSJYG4BqAbwWO5fNff7p58LGN3FmkkoKNZPj+snC0iudEjL5 Wx3jeKE9BisziVb2GDnwIXzMo/rbVilhmMksTNoE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Rob Herring Subject: [PATCH 5.11 325/329] dt-bindings: PCI: rcar-pci-host: Document missing R-Car H1 support Date: Mon, 17 May 2021 16:03:56 +0200 Message-Id: <20210517140313.067876615@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.043055203@linuxfoundation.org> References: <20210517140302.043055203@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven commit 62b3b3660aff66433d71f142ab6ed2baaea25025 upstream. scripts/checkpatch.pl -f drivers/pci/controller/pcie-rcar-host.c: WARNING: DT compatible string "renesas,pcie-r8a7779" appears un-documented -- check ./Documentation/devicetree/bindings/ #853: FILE: drivers/pci/controller/pcie-rcar-host.c:853: + { .compatible = "renesas,pcie-r8a7779", Re-add the compatible value for R-Car H1, which was lost during the json-schema conversion. Make the "resets" property optional on R-Car H1, as it is not present yet on R-Car Gen1 SoCs. Fixes: 0d69ce3c2c63d4db ("dt-bindings: PCI: rcar-pci-host: Convert bindings to json-schema") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/fb0bb969cd0e5872ab5eac70e070242c0d8a5b81.1619700202.git.geert+renesas@glider.be Signed-off-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/pci/rcar-pci-host.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) --- a/Documentation/devicetree/bindings/pci/rcar-pci-host.yaml +++ b/Documentation/devicetree/bindings/pci/rcar-pci-host.yaml @@ -17,6 +17,7 @@ allOf: properties: compatible: oneOf: + - const: renesas,pcie-r8a7779 # R-Car H1 - items: - enum: - renesas,pcie-r8a7742 # RZ/G1H @@ -74,7 +75,16 @@ required: - clocks - clock-names - power-domains - - resets + +if: + not: + properties: + compatible: + contains: + const: renesas,pcie-r8a7779 +then: + required: + - resets unevaluatedProperties: false