From patchwork Tue Jan 31 07:29:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 138706 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id EE1EFB6EEE for ; Tue, 31 Jan 2012 18:29:59 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752500Ab2AaH36 (ORCPT ); Tue, 31 Jan 2012 02:29:58 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:41567 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412Ab2AaH36 (ORCPT ); Tue, 31 Jan 2012 02:29:58 -0500 Received: by eaal13 with SMTP id l13so1388554eaa.19 for ; Mon, 30 Jan 2012 23:29:56 -0800 (PST) Received: by 10.213.110.15 with SMTP id l15mr3406046ebp.62.1327994996662; Mon, 30 Jan 2012 23:29:56 -0800 (PST) Received: from localhost.localdomain (bzq-84-109-86-120.red.bezeqint.net. [84.109.86.120]) by mx.google.com with ESMTPS id n56sm82948710eeh.6.2012.01.30.23.29.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Jan 2012 23:29:55 -0800 (PST) From: Leon Romanovsky To: broonie@opensource.wolfsonmicro.com, lrg@ti.com, swarren@nvidia.com, alsa-devel@alsa-project.org, olof@lixom.net, linux-tegra@vger.kernel.org, linux-doc@vger.kernel.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, rdunlap@xenotime.net, devicetree-discuss@lists.ozlabs.org Cc: Leon Romanovsky Subject: [PATCH 2/5] ASoC: ALC5632: Add device tree binding documentation Date: Tue, 31 Jan 2012 09:29:45 +0200 Message-Id: <1327994985-27101-1-git-send-email-leon@leon.nu> X-Mailer: git-send-email 1.7.3.4 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Document the device tree binding for the ALC5632 codec and update vendor specific prefix for the Realtek. Signed-off-by: Leon Romanovsky --- .../devicetree/bindings/sound/alc5632.txt | 24 ++++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 25 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/alc5632.txt diff --git a/Documentation/devicetree/bindings/sound/alc5632.txt b/Documentation/devicetree/bindings/sound/alc5632.txt new file mode 100644 index 0000000..8608f74 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/alc5632.txt @@ -0,0 +1,24 @@ +ALC5632 audio CODEC + +This device supports I2C only. + +Required properties: + + - compatible : "realtek,alc5632" + + - reg : the I2C address of the device. + + - gpio-controller : Indicates this device is a GPIO controller. + + - #gpio-cells : Should be two. The first cell is the pin number and the + second cell is used to specify optional parameters (currently unused). + +Example: + +alc5632: alc5632@1e { + compatible = "realtek,alc5632"; + reg = <0x1a>; + + gpio-controller; + #gpio-cells = <2>; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ecc6a6c..ca8ee14 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -33,6 +33,7 @@ nxp NXP Semiconductors powervr Imagination Technologies qcom Qualcomm, Inc. ramtron Ramtron International +realtek Realtek Semiconductor Corp. samsung Samsung Semiconductor sbs Smart Battery System schindler Schindler