From patchwork Mon Aug 25 12:35:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Ulyanov X-Patchwork-Id: 4774441 Return-Path: X-Original-To: patchwork-linux-sh@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 E7F529F2A9 for ; Mon, 25 Aug 2014 12:35:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBE0320109 for ; Mon, 25 Aug 2014 12:35:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 107D12010B for ; Mon, 25 Aug 2014 12:35:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932112AbaHYMfp (ORCPT ); Mon, 25 Aug 2014 08:35:45 -0400 Received: from mail-lb0-f176.google.com ([209.85.217.176]:38815 "EHLO mail-lb0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755550AbaHYMfn (ORCPT ); Mon, 25 Aug 2014 08:35:43 -0400 Received: by mail-lb0-f176.google.com with SMTP id u10so12260653lbd.35 for ; Mon, 25 Aug 2014 05:35:42 -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=xIANv5pbFLHAyFjZQcy+Vk1O8B2QY38+adbciPYjLKo=; b=CGRGXZJZAjUITzPYAywUwdXGUOn48R8jizlMtQCmP1GVX+J4ZbPRv1DzQVyNfVe+NZ BNyxYhTdWvyutxaDi7lm0Sspbu3y/HU0UvQVjbQMVRJcKKSlbJ1mnDcXsYgZyIb1WTwd 0HAO8DIZpxTzeCavTXHgSdqoIPxVGg3NgltRqSn8+zdX/iuwMwMSbjMgkmHBInflznEt mmhAixwR4LJ0p2xXwYZ8lWyVXP9EecjqHNibxgNHXe8IwvUnvaH/DxZj4oVcuBzDDhoM cE0L3do/BV5OX3LH6aRncjIr2C5/Ng6xwm324aJgplItXkR3P8VJ02iDsZUF41rL17nV eaaw== X-Gm-Message-State: ALoCoQm+5ArD3rScvS/ptYr+juXOq61oWktsZttcpiKyfFNjBD2rjN1kAVIib9nIzJjL4c5sQVUu X-Received: by 10.152.5.42 with SMTP id p10mr2968202lap.82.1408970142523; Mon, 25 Aug 2014 05:35:42 -0700 (PDT) Received: from localhost.localdomain (178-16-155-142.obit.ru. [178.16.155.142]) by mx.google.com with ESMTPSA id ap2sm19712616lac.22.2014.08.25.05.35.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 05:35:41 -0700 (PDT) From: Mikhail Ulyanov To: horms@verge.net.au, magnus.damm@gmail.com, m.chehab@samsung.com, robh+dt@kernel.org, grant.likely@linaro.org, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk Cc: laurent.pinchart@ideasonboard.com, hans.verkuil@cisco.com, linux-sh@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, Mikhail Ulyanov Subject: [PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit. Date: Mon, 25 Aug 2014 16:35:32 +0400 Message-Id: <1408970132-6690-1-git-send-email-mikhail.ulyanov@cogentembedded.com> X-Mailer: git-send-email 2.1.0.rc1 In-Reply-To: <1408452653-14067-7-git-send-email-mikhail.ulyanov@cogentembedded.com> References: <1408452653-14067-7-git-send-email-mikhail.ulyanov@cogentembedded.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 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 Documentation for Renesas JPU devicetree node. Changes since v1: - First line typo fixed - "renesas,jpu-gen2" compatability option added 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,24 @@ +* Renesas JPEG processing unit. + +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 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 + - "renesas,jpu-gen2" for R-Car second generation + + - 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>; + };