From patchwork Wed Jul 22 11:23:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mikhail Ulyanov X-Patchwork-Id: 30636 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1ZHs7t-0000KA-Q9; Wed, 22 Jul 2015 13:23:53 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.76/mailfrontend-7) with esmtp id 1ZHs7r-0001ag-2s; Wed, 22 Jul 2015 13:23:53 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964822AbbGVLXr (ORCPT + 1 other); Wed, 22 Jul 2015 07:23:47 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:36849 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934129AbbGVLXn (ORCPT ); Wed, 22 Jul 2015 07:23:43 -0400 Received: by lbbqi7 with SMTP id qi7so54082251lbb.3 for ; Wed, 22 Jul 2015 04:23: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=uj90pmrFD/m6l/Y8i+5xr8XID2h2matsFXpyhAocWNI=; b=I3KUmi4FoQvP7juczBZ/91immN+vM1ItlIQba0dkrSO1VHoIYX7l/f7rOPy3Bu3iOy Ae7FiPipHMW+xYFAbGiMr6YTdU9tmHHIH1QZrBcyFczM/ppykYWDhsZ7vw46msk/52x5 JLOQvpsAlXA5BgOjUSWMISM2mhtJAnDV/w9LFrcXgAkIKX/0w8T+SGdz8vYM6aEDDN5D tKUGMmNx1J65eif08c7DkWTEEQLutvHzAADMa09TaE3UiEwko5R4MDJm9EjExx9s8WD7 X5zmeNjz2p1o9h3vsN2Qyes5whX3VBTyEM1Db9yXhRohDJ6iNr7k/crDJgr+aGSvTuaL nayw== X-Gm-Message-State: ALoCoQl012aoDRZ5uDXkJ587ew/ZATpCWLvwFbzF2m3EfUCXo4ttOkgcqo77fdG8V3FFWUGqPNN9 X-Received: by 10.152.87.13 with SMTP id t13mr1899099laz.66.1437564222355; Wed, 22 Jul 2015 04:23:42 -0700 (PDT) Received: from laptop.dyn.westhome.spb.ru ([109.167.253.116]) by smtp.gmail.com with ESMTPSA id jp6sm238498lab.18.2015.07.22.04.23.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jul 2015 04:23:41 -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: Wed, 22 Jul 2015 14:23:04 +0300 Message-Id: <1437564185-13593-3-git-send-email-mikhail.ulyanov@cogentembedded.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1437564185-13593-1-git-send-email-mikhail.ulyanov@cogentembedded.com> References: <1437564185-13593-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-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.7.22.111517 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1800_1899 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, NO_URI_HTTPS 0, REFERENCES 0, SINGLE_URI_IN_BODY 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_MEDIA_BODY 0, __CP_URI_IN_BODY 0, __DATE_TZ_RU 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __MULTIPLE_RCPTS_TO_X5 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_IN_BODY 0, __URI_NO_WWW 0, __URI_NS , __YOUTUBE_RCVD 0' 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>; + };