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: 10869763 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 D305A139A 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 BBAC72907C for ; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF48D29130; 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=ham 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 3FD751FF14 for ; Mon, 25 Mar 2019 18:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726217AbfCYSOE (ORCPT ); Mon, 25 Mar 2019 14:14:04 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45197 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729322AbfCYSOE (ORCPT ); Mon, 25 Mar 2019 14:14:04 -0400 Received: by mail-lj1-f194.google.com with SMTP id y6so8710707ljd.12 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=U6ewQfkGSDhea/m59ItwgQ1Rp56uiF6B4Cy11gO81mscSNn0o8EGF7fMXS6x8kuQyY fp4255XshhS9KbQwHLboVBgKi4RbXUrRGik8VxOtqcUoDobpJt3fOXKJEWSmkGib5eCd 9G4Vq6EcwhFSz4ZV8eZgvC+05DbPIogQZvzn/Ari/UwcRD8UkLMhS1CW2SRyzDidoIJ2 UYIt9BlERKCIwp9wuYzMydLp2Mcb5Jd6mp5vuZb491CW8/ifg8CiCJidyIDM6XJmUC2r DP4oj/tj2ykPQg2TcIkJEmZVxmwUxC0JT/T25SCZ8pP5jrCy3LCJpcb7fs7BTNKocGX4 kHEw== X-Gm-Message-State: APjAAAXR0hQm5ZcSDh79E5MFJZGLEHcsSxKVEG/7X5FxnRfC6Wqddnmh TLMsp4ljUc719gpyWftG0wmZF7y0PdI= 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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>; + };