Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5764908ybp; Tue, 15 Oct 2019 04:49:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvXjFWeyscehmC/j/smxDFm4UFPQHBoD396xMKpkx6xar3OPn8tHGb1yc89bg1t5spTIlD X-Received: by 2002:a05:6402:14d6:: with SMTP id f22mr33846825edx.148.1571140157247; Tue, 15 Oct 2019 04:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571140157; cv=none; d=google.com; s=arc-20160816; b=vo4DQJhcBqhaR45UrWJButF2upitA24Kz8dmZIgfIbcGqr2g0Qo4NDmxqNGMvGTEAm sr2/8lKQlsHvFWG0euxx3Vnv7gwDJliKhF3Lof2eG3PhetDGvO2BE9pl/W+F563QC1XH I2XPa5tyV9A8sj14AadgYH57aqvCslzNBzOcKldu60AC+FqEg36/wwwAyJwhn6M3zUvs UrDXibjcRkpKt8yXsa6SFy7NaZO8K10M64Hsfo0RMRP1P9+9c3v26qMr+BgNHmDUx4JJ AXr1AnN58WD8coV4Vrvu4ga5iFqQkac5H6rvg5VtbE+7O+ASJALCDWvpoqS2DTpxohx1 1/+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Ai4mhht0PH7n76pMXWWG6LZdyYM/kObigD+g8Ju9UdQ=; b=kIhPWMfjzjP6QEEEc7rF1aIQ/v6m0tVSvAUp4/fDNyj2LXG0y89LsHCkAoaMx7vo5f BbaK5gnSGNJFvSHGtiLZsaX6tY3oab4m3o5PigXe15qiPESNfuGF2CiJMHyQxZdT4tzV ZKSPDoKhyTimi/55Fysm39Wk/JQXn0ywg2zz7xZmD4+pU5dTNJv7S6O5eFcW0q4Ug2vX K6fEj7KQZ45De9jnYTJ4mtgyduno6l3TMOZlJ8LX3fXS6flBd8y0W+7r70XVioWtP8hZ S7EEtNII+q38mrRfJkKCQ5Gz9pCVDx1MtZbWc582f0sg3lG6fj+UHo47/3q7X8cGGwYd qb5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si12626026eji.160.2019.10.15.04.48.54; Tue, 15 Oct 2019 04:49:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731006AbfJOKox (ORCPT + 99 others); Tue, 15 Oct 2019 06:44:53 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:44075 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728214AbfJOKox (ORCPT ); Tue, 15 Oct 2019 06:44:53 -0400 X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 70616C0005; Tue, 15 Oct 2019 10:44:47 +0000 (UTC) From: Jacopo Mondi To: laurent.pinchart@ideasonboard.com, kieran.bingham+renesas@ideasonboard.com, geert@linux-m68k.org, horms@verge.net.au, uli+renesas@fpond.eu, VenkataRajesh.Kalakodima@in.bosch.com Cc: Jacopo Mondi , airlied@linux.ie, daniel@ffwll.ch, koji.matsuoka.xm@renesas.com, muroya@ksk.co.jp, Harsha.ManjulaMallikarjun@in.bosch.com, ezequiel@collabora.com, seanpaul@chromium.org, linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH v5 1/8] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation Date: Tue, 15 Oct 2019 12:46:14 +0200 Message-Id: <20191015104621.62514-2-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191015104621.62514-1-jacopo+renesas@jmondi.org> References: <20191015104621.62514-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings documentation for the Renesas R-Car Display Unit Color Management Module. CMM is the image enhancement module available on each R-Car DU video channel on R-Car Gen2 and Gen3 SoCs (V3H and V3M excluded). Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- .../bindings/display/renesas,cmm.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/renesas,cmm.yaml diff --git a/Documentation/devicetree/bindings/display/renesas,cmm.yaml b/Documentation/devicetree/bindings/display/renesas,cmm.yaml new file mode 100644 index 000000000000..a57037b9e9ba --- /dev/null +++ b/Documentation/devicetree/bindings/display/renesas,cmm.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: GPL-2.0-only +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/renesas,cmm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas R-Car Color Management Module (CMM) + +maintainers: + - Laurent Pinchart + - Kieran Bingham + - Jacopo Mondi + +description: |+ + Renesas R-Car color management module connected to R-Car DU video channels. + It provides image enhancement functions such as 1-D look-up tables (LUT), + 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color + space conversion (CSC). + +properties: + compatible: + oneOf: + - items: + - enum: + - renesas,r8a7795-cmm + - renesas,r8a7796-cmm + - renesas,r8a77965-cmm + - renesas,r8a77990-cmm + - renesas,r8a77995-cmm + - const: renesas,rcar-gen3-cmm + - items: + - const: renesas,rcar-gen2-cmm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - resets + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + + cmm0: cmm@fea40000 { + compatible = "renesas,r8a7796-cmm", + "renesas,rcar-gen3-cmm"; + reg = <0 0xfea40000 0 0x1000>; + power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + clocks = <&cpg CPG_MOD 711>; + resets = <&cpg 711>; + }; -- 2.23.0