Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp663335pxj; Tue, 18 May 2021 11:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRcu9y8VTQKxoZpARki7aUD3mfOrc6w2vkfZsDsPXNxD2jO0LEeyB+xVv7G7SOiH11bsvZ X-Received: by 2002:a50:ed13:: with SMTP id j19mr1773344eds.190.1621361869740; Tue, 18 May 2021 11:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621361869; cv=none; d=google.com; s=arc-20160816; b=LqYjubil3MJ9683uYFTp4hsLvaTBaHJkmlx5nAJ0oVBoEgWZ6oNrc/P1HB/zeSVGLp 25UXnx4+lIgKibLO7lDvark70bKht1h3xfD1o/HB5/on+61OISNPB+raYGkzV7x5U5+h JTifbXuXYofb5xzna9VgeEJ1frE+/5gkSj9Mls9+Url/Y7xe/x/gMHrBx73RVAWp7uDa D+5C7TvBun52AemnZnr3tiyoGqY9Yy9sJVDgSfZdVnzlTicmNkHhocK+ohM/7qsUldc7 yUwKiFfHrIFYRglyHi2+uOCdBEMtPs8fOdTVOybmeBodrhLeCo7GQV9MseuMFlqCDu/v 9Ing== 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=77ibcxnWyI0luZ9ZWs70o1W7PB7D/MtSKbVBTzyy66Y=; b=lN9t6wViUXxN37fzvYkMva607CeTgTOnRm7f2fyk+dbIH/HzHQCHzcbxzBTsmCZXN6 Jm4Kl6Xq/GBsF4cNtQZuGajWTNmlehwUsXtDPUg0OCW9CZhyrB6pKbWA26EW1JXAM4xL qYkcon4EwCl0vE0FhXD10ucn3xkQ05i3s5FQ9jrvJJc9XFI13g+JBJOJVV5sDcN48q+/ E/eo3bEyJ2Gs3tDAyjHjOVrWs3kvX9Nzfbpw5hLXczGvt47bRISVS5tMlmN7aMj4kJRF bKYZkVkY32Q5N+wnyFg8zeYt1pPlsiLHb8HM02KPxFmjb6V8p9dEE8t7UlmCSJVmiONq /gXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ogALzeCc; 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 t17si11443768eju.389.2021.05.18.11.17.26; Tue, 18 May 2021 11:17:49 -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=ogALzeCc; 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 S1345678AbhEQQNw (ORCPT + 99 others); Mon, 17 May 2021 12:13:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:42410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345082AbhEQPuK (ORCPT ); Mon, 17 May 2021 11:50:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 60C4361D4C; Mon, 17 May 2021 14:45:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621262734; bh=JwzO9mCEstcAbAC60jAhHeYtSsfctwpzPlwyw+po5SU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ogALzeCcQek97SU5lGpu0fBjchR+7FgCX8aLAWKydFHMR3BH7xoRRGJzl8pNI0Ap7 cip7uxaSikoRglnEC0bsPg7cHk8RzuOgjFf6C+5Mk5JA+ZzHBKXiPIl5ASSFZemp3N C0u1cWMrpA6U97eTXHiqsWQ57zyDprbf5vzSxFeM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Rob Herring Subject: [PATCH 5.10 284/289] dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1 Date: Mon, 17 May 2021 16:03:29 +0200 Message-Id: <20210517140314.704145134@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140305.140529752@linuxfoundation.org> References: <20210517140305.140529752@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 7935bb56e21b2add81149f4def8e59b4133fe57c upstream. The "resets" property is not present on R-Car Gen1 SoCs. Supporting it would require migrating from renesas,cpg-clocks to renesas,cpg-mssr. Fixes: 905fc6b1bfb4a631 ("dt-bindings: rcar-vin: Convert bindings to json-schema") Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund Link: https://lore.kernel.org/r/217c8197efaee7d803b22d433abb0ea8e33b84c6.1619700314.git.geert+renesas@glider.be Signed-off-by: Rob Herring Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/media/renesas,vin.yaml | 44 +++++++++------ 1 file changed, 28 insertions(+), 16 deletions(-) --- a/Documentation/devicetree/bindings/media/renesas,vin.yaml +++ b/Documentation/devicetree/bindings/media/renesas,vin.yaml @@ -278,23 +278,35 @@ required: - interrupts - clocks - power-domains - - resets -if: - properties: - compatible: - contains: - enum: - - renesas,vin-r8a7778 - - renesas,vin-r8a7779 - - renesas,rcar-gen2-vin -then: - required: - - port -else: - required: - - renesas,id - - ports +allOf: + - if: + not: + properties: + compatible: + contains: + enum: + - renesas,vin-r8a7778 + - renesas,vin-r8a7779 + then: + required: + - resets + + - if: + properties: + compatible: + contains: + enum: + - renesas,vin-r8a7778 + - renesas,vin-r8a7779 + - renesas,rcar-gen2-vin + then: + required: + - port + else: + required: + - renesas,id + - ports additionalProperties: false