From patchwork Wed Dec 16 13:55:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcOlbnMgUnVsbGfDpXJk?= X-Patchwork-Id: 557474 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CBA341402BC for ; Thu, 17 Dec 2015 00:55:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754452AbbLPNzY (ORCPT ); Wed, 16 Dec 2015 08:55:24 -0500 Received: from unicorn.mansr.com ([81.2.72.234]:43111 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754166AbbLPNzY (ORCPT ); Wed, 16 Dec 2015 08:55:24 -0500 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 6142E1538A; Wed, 16 Dec 2015 13:55:23 +0000 (GMT) From: Mans Rullgard To: broonie@kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] devicetree: sound: add binding for WM8974 codec Date: Wed, 16 Dec 2015 13:55:13 +0000 Message-Id: <1450274114-20145-1-git-send-email-mans@mansr.com> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1450270975-17955-1-git-send-email-mans@mansr.com> References: <1450270975-17955-1-git-send-email-mans@mansr.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds a binding for the Wolfson WM8974 mono audio codec. Signed-off-by: Mans Rullgard Acked-by: Rob Herring --- Sending this patch again, this time including Mark Brown. --- Documentation/devicetree/bindings/sound/wlf,wm8974.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8974.txt diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8974.txt b/Documentation/devicetree/bindings/sound/wlf,wm8974.txt new file mode 100644 index 0000000..01d3a7c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/wlf,wm8974.txt @@ -0,0 +1,15 @@ +WM8974 audio CODEC + +This device supports both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + - compatible: "wlf,wm8974" + - reg: the I2C address or SPI chip select number of the device + +Examples: + +codec: wm8974@1a { + compatible = "wlf,wm8974"; + reg = <0x1a>; +};