From patchwork Wed Jan 30 07:11:24 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 14351 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E2E6223E57 for ; Wed, 30 Jan 2013 07:20:39 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id 39AD0A1917C for ; Wed, 30 Jan 2013 07:20:39 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id db12so909208veb.20 for ; Tue, 29 Jan 2013 23:20:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=u1MwjDqlG6KtM2kyknB2J2MXFmOvOopuK/6Um6dF2nQ=; b=XazrErhQ0kZxxSvpcaWhBD54xyAkPM8Tg2e5nYbYR6Vqvok8XF06lPBmOmC3yF0EaB MzmnAbMdpXJeao+mWoUXbeKywaWpgc6oXEbjPGPdPe25QPWgatFtJXex6BQgfp/ZTSAj VU+97Nenj2NYuVPuxUTdw9x2bPXZPruJSZnw5mObuqaTH/D8yvzzwir9KBKqSuBBUK+h 50slTHga+Aq6I0ce5ksRdG/MLUhjv9QmyAjG6Dl0SfkAQhjZXVk5Dx36ohe09NNHfAo4 kcZKqzvgBbZE70ITXVhFgyLngvaEqKutY6/DKou7utIVVgDtLhp7p6CqFw8uy7Iu5yp2 CtnQ== X-Received: by 10.52.70.205 with SMTP id o13mr3558162vdu.75.1359530438713; Tue, 29 Jan 2013 23:20:38 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.133.116 with SMTP id pb20csp172342veb; Tue, 29 Jan 2013 23:20:38 -0800 (PST) X-Received: by 10.68.228.34 with SMTP id sf2mr10159588pbc.85.1359530437710; Tue, 29 Jan 2013 23:20:37 -0800 (PST) Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by mx.google.com with ESMTPS id rr6si535163pbc.221.2013.01.29.23.20.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jan 2013 23:20:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.220.42; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.42 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pa0-f42.google.com with SMTP id rl6so919579pac.15 for ; Tue, 29 Jan 2013 23:20:37 -0800 (PST) X-Received: by 10.68.222.232 with SMTP id qp8mr10036882pbc.99.1359530437295; Tue, 29 Jan 2013 23:20:37 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id vo6sm758658pbc.8.2013.01.29.23.20.34 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 23:20:36 -0800 (PST) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org, kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org, Arun Kumar K Subject: [PATCH 1/6] ARM: dts: Update MFC DT binding documentation Date: Wed, 30 Jan 2013 12:41:24 +0530 Message-Id: <1359529889-26318-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1359529889-26318-1-git-send-email-sachin.kamat@linaro.org> References: <1359529889-26318-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQkkwCSaDPvt/+JjuOmd1UW8hxvjLzhUEaB9PEd/eP6aaeE4N2jMoJORy8N0BHlXNvc0lGuU Added an example for bindings for illustration and clarity. Cc: devicetree-discuss@lists.ozlabs.org Cc: Arun Kumar K Signed-off-by: Sachin Kamat --- .../devicetree/bindings/media/s5p-mfc.txt | 21 ++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt index 67ec3d4..bf0182d 100644 --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt @@ -21,3 +21,24 @@ Required properties: - samsung,mfc-l : Base address of the second memory bank used by MFC for DMA contiguous memory allocation and its size. + +Optional properties: + - samsung,power-domain : power-domain property defined with a phandle + to respective power domain. + +Example: +SoC specific DT entry: + +mfc: codec@13400000 { + compatible = "samsung,mfc-v5"; + reg = <0x13400000 0x10000>; + interrupts = <0 94 0>; + samsung,power-domain = <&pd_mfc>; +}; + +Board specific DT entry: + +codec@13400000 { + samsung,mfc-r = <0x43000000 0x800000>; + samsung,mfc-l = <0x51000000 0x800000>; +};