Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp248672pxj; Tue, 18 May 2021 02:24:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTS6bifyvEUs64p6KWWEHftuTZ+JY77guAp1S4aXwB955M1Y6peqZg855G6e49WUD4MKSh X-Received: by 2002:a92:6f11:: with SMTP id k17mr3463931ilc.200.1621329895528; Tue, 18 May 2021 02:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621329895; cv=none; d=google.com; s=arc-20160816; b=cpWI+k0BZTNo0Uyfz8ZLrfZ1jkKp2erkdJjGQomHUVEeEqLAd3mbUpUq5sBDUHzS5U jKKCJdioiGIVuJgUf9bc8/3xOgqTCvOETN0dLCI+jiXnweoUvNmADTGzXFCByaT+nKDI H+jqzQWLZ9c6JULIJbFqW+K0wfsaAV//Mu423xSNzOem+B0o9hZBrqCmyZ4lx/0xJDos WSuR+GYPHkqtQMvSvk76wKP5VmA0qGhPk6d3hMSCeUPlk8tJFNDr0RsiEAiQyOnzVgOF JKhlI5Svqzd9D2NLxDzl7UuhKMLlN3o6kPp5sr9qMGU9MBtrX3ZFQqpW/8fW+dYn8tBB W97Q== 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=wgp6fQMd94loJyWGxF3f4VnyDBjwS8IyBMlrqutUQy8dZjvAnCkeZFOvDrzAXsw5Uh h14j9Wc3FF0ZfnuGzZD6fbsxs8fQ1uqVYLWp80/tt6DS1+n5bDfUexiJk4qYgudQJImR mLEFNjBUkdfzzQhwHL7qpsFmwLybxxpzbJZdSgrraqL3zKoFvn3OOFaMIEFzkNHuG0Zl cXSJcTLF5yNAhvMNAIkFKFmqhkc44cV74rRu0S7mLgSVyoimBuqIO6OGCbUwv7hglHER SA41/R8cmJdrbG83uqnMTfQmoeusWfdHgsISyUtcXvg0UpCE1GU3dsvTJgitIuCU3FGj SeFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fFKpgfcb; 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 o67si22934785jao.17.2021.05.18.02.24.43; Tue, 18 May 2021 02:24:55 -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=fFKpgfcb; 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 S241111AbhEQPGM (ORCPT + 99 others); Mon, 17 May 2021 11:06:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:49170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242474AbhEQO4p (ORCPT ); Mon, 17 May 2021 10:56:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 552F66147F; Mon, 17 May 2021 14:25:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621261527; bh=ztFUVYCkZNRiIqAVuEpmknBv/d7sXZEZdnw/hveynLQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fFKpgfcbz1DkFq7w/AqTxAGm93/4soGHpZh02RMG7UQhFVdkQJPcRC7FIx7xeEdpH /PHQdftQ953LfUvBY6GyVA0aXBlsnEbINOnTzCx2ncmzGuK8bc7TrdXmbc4MFSHBqO Ovdq6aqkeRpLF9+5pjLBHxmn4J1A4fLkh+6rO+Ms= 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.12 359/363] dt-bindings: PCI: rcar-pci-host: Document missing R-Car H1 support Date: Mon, 17 May 2021 16:03:45 +0200 Message-Id: <20210517140314.736667051@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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