From patchwork Mon Mar 25 18:14:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10869765 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D7245186D for ; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C656F2914C for ; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA9EA2912B; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6144D2907C for ; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729322AbfCYSOE (ORCPT ); Mon, 25 Mar 2019 14:14:04 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:36632 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729238AbfCYSOE (ORCPT ); Mon, 25 Mar 2019 14:14:04 -0400 Received: by mail-lj1-f193.google.com with SMTP id r24so7675121ljg.3 for ; Mon, 25 Mar 2019 11:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=xbcKe6ohImMpIfOTDFLtRSbFzW1wrhJK46C3ePgnp6Q=; b=GgCTEx804Xzx7mJEDW7pMqOX9gdzv+DYmQZSNclUakpnunprxCTJkbcv5BRnV7bQbU jhnURtpVVIxRTyPbDlCf5Q+CJ74Hiilu1ubI80zzXMvxqeUfk1hWRHIU78mD1gN3uvD5 IEsMJLGsHfEE2b1XaEHi9XepAZTZ3qB90K2Fjg4eliUriOP5PGuwHhkuUqK4g4pE8qHp 7maT9FLDtl6x6QYLfIqTboJYunoOs64PRotT+GNt3c+612hygPFZRBU91aaASebb1Uyg /T1D2+CMaEaH1dHRFELQ2t7FUF6IMO520jQA6wk94xnaGQ7UR1F5lly6i8o1aNG9fnCj 1gkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=xbcKe6ohImMpIfOTDFLtRSbFzW1wrhJK46C3ePgnp6Q=; b=lVnJmV/MZzn8jh6Au1gmho7F1iaKI1FXpIZxI5asfz0jFrotWyV7k0ZrwpWsHlNBah KNwM3vG+k0kzEMDlB88hIBH+39MZJsAmZvlYbVk8al9YbuU0xapr2zFiHjmI30TS7Lyg w3GtB9uqBuIeln3OKLGiC+D0sSCyNjIIdgEb3cKcj9yEsnS6IoTOMEUXAzktPYx5+W9e Wicz8+u3n4tptGWasH2x1V6KNK2j5eDSqpEyHd5nYNXPSwJ1NtlpKFb+6vXyUU341euX m/FMYUPwmumQF4LMg8TDaOGmdmBmRvzldcCytdTi6BIiI2IXPLvzg0YTCf43ykY2awja sLRg== X-Gm-Message-State: APjAAAXLn7C41KSrawtM3TOc2y7Xo0VH804Re7ThkJSiIus3N2/NgnI+ Lo1bHpnUesYJedEs5jqYmwlxYg== X-Google-Smtp-Source: APXvYqwe/A9RoVTuAfyd+NlPZM1oWLCyTobfsYiRT9uuE3uOKpv4W8JSg4OlAGkFSlMjWrjAzjA9XQ== X-Received: by 2002:a2e:9d0c:: with SMTP id t12mr2804001lji.163.1553537642273; Mon, 25 Mar 2019 11:14:02 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.129]) by smtp.gmail.com with ESMTPSA id v203sm3481145lfa.82.2019.03.25.11.14.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 11:14:01 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH] dt-bindings: media: Renesas R-Car IMR bindings To: Mauro Carvalho Chehab , Rob Herring , linux-media@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , linux-renesas-soc@vger.kernel.org, Rob Herring Organization: Cogent Embedded Message-ID: Date: Mon, 25 Mar 2019 21:14:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The image renderer (IMR), or the distortion correction engine, is a drawing processor with a simple instruction system capable of referencing video capture data or data in an external memory as the 2D texture data and performing texture mapping and drawing with respect to any shape that is split into triangular objects. Document the device tree bindings for the image renderer light extended 4 (IMR-LX4) found in the R-Car gen3 SoCs... Signed-off-by: Sergei Shtylyov Acked-by: Rob Herring --- This patch is against the 'master' branch of the 'media_tree.git' repo. This patch has been split from the large IMR driver patch (which would need much more work), it fixes checkpatch.pl's warnings on the SoC .dtsi files which have been already merged (the bindings didn't change since v1 of the driver patch). Documentation/devicetree/bindings/media/rcar_imr.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) Index: media_tree/Documentation/devicetree/bindings/media/rcar_imr.txt =================================================================== --- /dev/null +++ media_tree/Documentation/devicetree/bindings/media/rcar_imr.txt @@ -0,0 +1,27 @@ +Renesas R-Car Image Renderer (Distortion Correction Engine) +----------------------------------------------------------- + +The image renderer, or the distortion correction engine, is a drawing processor +with a simple instruction system capable of referencing video capture data or +data in an external memory as 2D texture data and performing texture mapping +and drawing with respect to any shape that is split into triangular objects. + +Required properties: + +- compatible: "renesas,-imr-lx4", "renesas,imr-lx4" as a fallback for + the image renderer light extended 4 (IMR-LX4) found in the R-Car gen3 SoCs, + where the examples with are: + - "renesas,r8a7795-imr-lx4" for R-Car H3, + - "renesas,r8a7796-imr-lx4" for R-Car M3-W. +- reg: offset and length of the register block; +- interrupts: single interrupt specifier; +- clocks: single clock phandle/specifier pair. + +Example: + + imr-lx4@fe860000 { + compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4"; + reg = <0 0xfe860000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 823>; + };