From patchwork Mon Aug 19 10:58:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaik Ameer Basha X-Patchwork-Id: 2846453 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5D910BF546 for ; Mon, 19 Aug 2013 10:56:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 61742201C0 for ; Mon, 19 Aug 2013 10:56:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C701201B9 for ; Mon, 19 Aug 2013 10:55:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751180Ab3HSKzd (ORCPT ); Mon, 19 Aug 2013 06:55:33 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:39220 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751087Ab3HSKzb (ORCPT ); Mon, 19 Aug 2013 06:55:31 -0400 Received: by mail-pa0-f51.google.com with SMTP id lf1so4436239pab.38 for ; Mon, 19 Aug 2013 03:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=i6Qi9dpTwbN+ckPIMdQsL+uPzzkH9OWvmveZp02Q7nA=; b=OmwcN0DB/qd5qLEezaBXB5DjVYkGeh/SUVgswd8c/bRYd/Dhta2nWOwrghqgPFmGf2 LLsGHM1QJUhedcIS2oTVA0ED8nWu+ibZxz1WDCfAHjGr0er+bom9Y8KMf0MGvE1thvY9 2hY1Dju7GNLu7g0kPkROiNoKcPsJiSnKBSs+OxW9ZtKzrCPL/lijO/4SYBFQcwp6JBYZ jXNl7DRIbcFuPsP4D6R1v91Yo9azn8oHpoy7VP3AD5vP0TKaJhE1n66y+zLColgwOJrD pNWyb9BwwA9WnqsXzOGbxGJ8BzQbR4eizpRHJp4d6CHKK6QfxcQByBdLYu9/bkwNaH2B emhQ== X-Received: by 10.66.157.165 with SMTP id wn5mr1115674pab.169.1376909731299; Mon, 19 Aug 2013 03:55:31 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id t9sm14396656pba.46.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 03:55:30 -0700 (PDT) From: Shaik Ameer Basha To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: s.nawrocki@samsung.com, posciak@google.com, arun.kk@samsung.com, shaik.ameer@samsung.com Subject: [PATCH v2 4/5] [media] exynos-mscl: Add DT bindings for M-Scaler driver Date: Mon, 19 Aug 2013 16:28:51 +0530 Message-Id: <1376909932-23644-5-git-send-email-shaik.ameer@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376909932-23644-1-git-send-email-shaik.ameer@samsung.com> References: <1376909932-23644-1-git-send-email-shaik.ameer@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 This patch adds the DT binding documentation for the exynos5 based M-Scaler device driver. Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/media/exynos5-mscl.txt | 34 ++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/exynos5-mscl.txt diff --git a/Documentation/devicetree/bindings/media/exynos5-mscl.txt b/Documentation/devicetree/bindings/media/exynos5-mscl.txt new file mode 100644 index 0000000..5c9d1b1 --- /dev/null +++ b/Documentation/devicetree/bindings/media/exynos5-mscl.txt @@ -0,0 +1,34 @@ +* Samsung Exynos5 M-Scaler device + +M-Scaler is used for scaling, blending, color fill and color space +conversion on EXYNOS5 SoCs. + +Required properties: +- compatible: should be "samsung,exynos5-mscl" +- reg: should contain M-Scaler physical address location and length. +- interrupts: should contain M-Scaler interrupt number +- clocks: should contain the clock number according to CCF +- clock-names: should be "mscl" + +Example: + + mscl_0: mscl@0x12800000 { + compatible = "samsung,exynos5-mscl"; + reg = <0x12800000 0x1000>; + interrupts = <0 220 0>; + clocks = <&clock 381>; + clock-names = "mscl"; + }; + +Aliases: +Each M-Scaler node should have a numbered alias in the aliases node, +in the form of msclN, N = 0...2. M-Scaler driver uses these aliases +to retrieve the device IDs using "of_alias_get_id()" call. + +Example: + +aliases { + mscl0 =&mscl_0; + mscl1 =&mscl_1; + mscl2 =&mscl_2; +};