Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp551813pxb; Thu, 23 Sep 2021 06:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZGi7u8rAE09Xj5+if4sph00jMqP0VXQd/jyHKXyjokC3Y4S82ZkoeOduAI76rRNHNV70/ X-Received: by 2002:a05:6402:719:: with SMTP id w25mr5329199edx.94.1632402336409; Thu, 23 Sep 2021 06:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632402336; cv=none; d=google.com; s=arc-20160816; b=b3GBv5S/WBlnplEYDqktMFsGXDOPjLbz7aAWA4da9hB2rjeiOvdTSD0RbFvuyysXcI +Vb4V0BaZ7mkd1Qe+EXLGu3+3m0j9zA7IJWlvcQ35Gq+hsopVZx8wSiXV3qp0VGKDs0o F2wdbIKTOehCvUMq230nsAnT8rVGv/Wxeg8VEs/780/lN8Kb6Wfh5t/SA0IguLB7+kTb +woPfrpwir2JUUv5isUHKcug5UsvPSNkw9rfCnMZ9XypbFNUy7eeNwwgqCSBskaMlqcQ T1G+1Cg57LN8kKqSK5OHs5yJSwLA7ovNV62QDVN7m4/x9c6Zrm2JApWgjP/qPCm2mbWM YztA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BNJJtWxrHByP8VIB7SGzZdeFzCQVnK2wFUP2CktNq+U=; b=cWpFBBk8XCA/4Usw2PRq9jeVqYt43c8OeaIFqB6P9CHeCMe0lcm89WQ128XX07bqTC Ryfqz7L7/hAriknn+DboZUvjdOZH/uCOAckhOK6bg67nKgzMZXr1Eqc1u3CYnRJXNqjS Z2d978AkjOVFOSaxGU+LJ8AQ+zdbDNnKTmozFCl46AlqtZmR0VVsYJseEUH2LgBZPOlA IYgwtZMjSeBT3BzlET41a5KAJknHwx9XjJV/rIr7utIQYHxczMCaPslVQaYXfbCITthp i6X/dhOG3OXo1072LFYnsMJ7Ecr79FvGkftjY8+frHn+IW34a3s0J/s25rklarsatDks RBLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Tjdwski2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 1si6127634ejg.330.2021.09.23.06.04.59; Thu, 23 Sep 2021 06:05:36 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=Tjdwski2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241195AbhIWNDu (ORCPT + 99 others); Thu, 23 Sep 2021 09:03:50 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33198 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241132AbhIWNDo (ORCPT ); Thu, 23 Sep 2021 09:03:44 -0400 Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2ACDE58B; Thu, 23 Sep 2021 15:02:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1632402131; bh=05rjp5WSR/1Bxv5/2/vCD/16x9TmSWIbQAcYFhs85QA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tjdwski2OSJLN/jQhgWMIgRH5YZB+fUH7DGeS9i2yYEC9zD7gvFPipIIIluhF+t3f 8jyF25BwbY4U9ca5nFzv7s2FpzNWPqg2YzXbujzY9p4lZgRxTk1f+e2LrxD6v8yKqy aVvyu2UNSqG1DJXuJ/chgSgp5htjS9yiJTDlPUgU= From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Geert Uytterhoeven Cc: Kieran Bingham , Geert Uytterhoeven , David Airlie , Daniel Vetter , Rob Herring , dri-devel@lists.freedesktop.org (open list:DRM DRIVERS FOR RENESAS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3.1] dt-bindings: display: renesas,du: Provide bindings for r8a779a0 Date: Thu, 23 Sep 2021 14:01:38 +0100 Message-Id: <20210923130138.67552-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210922234726.3337265-2-kieran.bingham@ideasonboard.com> References: <20210922234726.3337265-2-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kieran Bingham Extend the Renesas DU display bindings to support the r8a779a0 V3U. Reviewed-by: Laurent Pinchart Reviewed-by: Geert Uytterhoeven Signed-off-by: Kieran Bingham --- v2: - Collected Laurent's tag - Remove clock-names requirement - Specify only a single clock v3: - Use clocknames: 'du.0' instead of 'du' to remain consistent v3.1: - Require clock-names - Collect Geert's tag .../bindings/display/renesas,du.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas,du.yaml b/Documentation/devicetree/bindings/display/renesas,du.yaml index e3ca5389c17d..13efea574584 100644 --- a/Documentation/devicetree/bindings/display/renesas,du.yaml +++ b/Documentation/devicetree/bindings/display/renesas,du.yaml @@ -39,6 +39,7 @@ properties: - renesas,du-r8a77980 # for R-Car V3H compatible DU - renesas,du-r8a77990 # for R-Car E3 compatible DU - renesas,du-r8a77995 # for R-Car D3 compatible DU + - renesas,du-r8a779a0 # for R-Car V3U compatible DU reg: maxItems: 1 @@ -773,6 +774,56 @@ allOf: - reset-names - renesas,vsps + - if: + properties: + compatible: + contains: + enum: + - renesas,du-r8a779a0 + then: + properties: + clocks: + items: + - description: Functional clock + + clock-names: + maxItems: 1 + items: + - const: du.0 + + interrupts: + maxItems: 2 + + resets: + maxItems: 1 + + reset-names: + items: + - const: du.0 + + ports: + properties: + port@0: + description: DSI 0 + port@1: + description: DSI 1 + port@2: false + port@3: false + + required: + - port@0 + - port@1 + + renesas,vsps: + minItems: 2 + + required: + - clock-names + - interrupts + - resets + - reset-names + - renesas,vsps + additionalProperties: false examples: -- 2.30.2