From patchwork Tue Aug 19 12:50:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Ulyanov X-Patchwork-Id: 4742681 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 36B9A9F375 for ; Tue, 19 Aug 2014 12:53:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54CD4200F4 for ; Tue, 19 Aug 2014 12:53:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6273C2015A for ; Tue, 19 Aug 2014 12:53:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753094AbaHSMx0 (ORCPT ); Tue, 19 Aug 2014 08:53:26 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:64934 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753012AbaHSMxK (ORCPT ); Tue, 19 Aug 2014 08:53:10 -0400 Received: by mail-lb0-f180.google.com with SMTP id v6so5359641lbi.39 for ; Tue, 19 Aug 2014 05:53:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6LKCxR/nVZ5iYfSUYDi+tE1dUD/kwsAaOIoVxv6Fnrk=; b=k6ABzZT3qPBAr25znET5uDn9eVf5ADTHMduq0+bhgBR1MS9D5VejNOj/fBQsnwGAp2 aJKr55BNsnDmjcMM7MNjkSYS/Ie9cIr8bTq5pJGHRkrDyIV9QO9poAW98r61r/0Fqnfo osytcjm3g/ek3YFsEWPyoggjIGCkcRT4hg2wbYbEhu9gK1cev8Ix8ZYk9WzuQuLnxmde E8GKJt5hhObwbuUYG3RvtHkqfNyL8heFjWNH0o2kbzJQbg/jqnX/RfM05ZskPg+ae84O QzAL3bepnpW3LzaUoKhTG6Y/LpRbf1Z8zGJPZtrzV+ERGCHRAbtyJcOCmuzIdEfebRx8 r7cA== X-Gm-Message-State: ALoCoQmgwziFxABUfwu83dCgRSATuOU2BVOWexUF7zGmbAx1nFLiTjKVTDcBtzy6hE4pukl7zWpz X-Received: by 10.152.3.199 with SMTP id e7mr36388541lae.35.1408452789170; Tue, 19 Aug 2014 05:53:09 -0700 (PDT) Received: from localhost.localdomain (178-16-155-142.obit.ru. [178.16.155.142]) by mx.google.com with ESMTPSA id m9sm32023870lbd.28.2014.08.19.05.53.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Aug 2014 05:53:08 -0700 (PDT) From: Mikhail Ulyanov To: m.chehab@samsung.com, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com Cc: laurent.pinchart@ideasonboard.com, linux-sh@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Mikhail Ulyanov Subject: [PATCH 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit. Date: Tue, 19 Aug 2014 16:50:53 +0400 Message-Id: <1408452653-14067-7-git-send-email-mikhail.ulyanov@cogentembedded.com> X-Mailer: git-send-email 2.1.0.rc1 In-Reply-To: <1408452653-14067-1-git-send-email-mikhail.ulyanov@cogentembedded.com> References: <1408452653-14067-1-git-send-email-mikhail.ulyanov@cogentembedded.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Mikhail Ulyanov --- .../devicetree/bindings/media/renesas,jpu.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/renesas,jpu.txt diff --git a/Documentation/devicetree/bindings/media/renesas,jpu.txt b/Documentation/devicetree/bindings/media/renesas,jpu.txt new file mode 100644 index 0000000..44b07df --- /dev/null +++ b/Documentation/devicetree/bindings/media/renesas,jpu.txt @@ -0,0 +1,23 @@ +* Renesas VSP1 Video Processing Engine + +The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding +and decoding function conforming to the JPEG baseline process, so that the JPU +can encode image data and decode JPEG data quickly. +It can be found in the Renesas R-Car first and second generation SoCs. + +Required properties: + - compatible: should containg one of the following: + - "renesas,jpu-r8a7790" for R-Car H2 + - "renesas,jpu-r8a7791" for R-Car M2 + + - reg: Base address and length of the registers block for the JPU. + - interrupts: JPU interrupt specifier. + - clocks: A phandle + clock-specifier pair for the JPU functional clock. + +Example: R8A7790 (R-Car H2) JPU node + jpeg-codec@fe980000 { + compatible = "renesas,jpu-r8a7790"; + reg = <0 0xfe980000 0 0x10300>; + interrupts = <0 272 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp1_clks R8A7790_CLK_JPU>; + };