From patchwork Tue Jul 21 02:00:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Ulyanov X-Patchwork-Id: 6831861 X-Patchwork-Delegate: geert@linux-m68k.org 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8D2C39F358 for ; Tue, 21 Jul 2015 02:01:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A70DD2064E for ; Tue, 21 Jul 2015 02:01:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CBE2720502 for ; Tue, 21 Jul 2015 02:01:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757653AbbGUCBg (ORCPT ); Mon, 20 Jul 2015 22:01:36 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:33193 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757646AbbGUCBe (ORCPT ); Mon, 20 Jul 2015 22:01:34 -0400 Received: by lbbyj8 with SMTP id yj8so106270933lbb.0 for ; Mon, 20 Jul 2015 19:01:32 -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=uj90pmrFD/m6l/Y8i+5xr8XID2h2matsFXpyhAocWNI=; b=Ls6uZdlZLpmVHp5Yyd00GURXhI9rnkA9VLRoTsSKseb+HHHVjcYMGo5vl7Dta/cX6M L+mKteDswQFnguFE8RS9cb0fhM/3QqpybRUmF50ZqSFQRbUDbKurWxUg61l4tjb5G9jx rb0/pYFewqci54h9My1kxiseshniH5bBgFXRZIsx4anZDkKmusMCTfHfGDPpfZW0Q3/s RVIOCAf6pWMy45YURGKmuK+5w+TXjmyXcR5YFijZt6wOXj6Amfc+m9enJYjM7B5QXm6L zNXrQr3HSl+nd2PJAKocxZKq+WG2QjNoJvF5lnCj1kbhhI1DuZKQcVuAGvlHraDAwRoq 8TfA== X-Gm-Message-State: ALoCoQmWQqjJ2Tp1AS7v6ffsN4BvmPIgPoU0YerzjZ/N98cpgzrkFfmzP90SSsaHiLScwlmeH5lX X-Received: by 10.152.10.97 with SMTP id h1mr30738063lab.45.1437444092038; Mon, 20 Jul 2015 19:01:32 -0700 (PDT) Received: from laptop.dyn.westhome.spb.ru ([109.167.253.116]) by smtp.gmail.com with ESMTPSA id a9sm5663525laf.12.2015.07.20.19.01.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jul 2015 19:01:31 -0700 (PDT) From: Mikhail Ulyanov To: hverkuil@xs4all.nl, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, mchehab@osg.samsung.com Cc: laurent.pinchart@ideasonboard.com, j.anaszewski@samsung.com, kamil@wypas.org, sergei.shtylyov@cogentembedded.com, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, Mikhail Ulyanov Subject: [PATCH v3 2/3] devicetree: bindings: Document Renesas R-Car JPEG Processing Unit Date: Tue, 21 Jul 2015 05:00:21 +0300 Message-Id: <1437444022-28916-3-git-send-email-mikhail.ulyanov@cogentembedded.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437444022-28916-1-git-send-email-mikhail.ulyanov@cogentembedded.com> References: <1437444022-28916-1-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=-8.1 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 Add Renesas R-Car JPEG processing unit driver device tree bindings documentation. Signed-off-by: Mikhail Ulyanov --- Changes since v2: - remove generic "renesas,jpu-gen2" descriptor Changes since v1: - Fix typos .../devicetree/bindings/media/renesas,jpu.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 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..0cb9420 --- /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. + +Required properties: + - compatible: should containg one of the following: + - "renesas,jpu-r8a7790" for R-Car H2 + - "renesas,jpu-r8a7791" for R-Car M2-W + - "renesas,jpu-r8a7792" for R-Car V2H + - "renesas,jpu-r8a7793" for R-Car M2-N + + - 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>; + };