From patchwork Wed Jun 18 16:22:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 4377871 Return-Path: X-Original-To: patchwork-alsa-devel@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 8C99BBEEAA for ; Wed, 18 Jun 2014 16:25:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B2AD42037B for ; Wed, 18 Jun 2014 16:25:13 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7ED3720357 for ; Wed, 18 Jun 2014 16:25:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9AA93261AC3; Wed, 18 Jun 2014 18:25:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D66A9261ABF; Wed, 18 Jun 2014 18:24:53 +0200 (CEST) X-Original-To: alsa-devel-archive@alsa-project.org Delivered-To: alsa-devel-archive@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7C35F261ADE; Wed, 18 Jun 2014 18:24:52 +0200 (CEST) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by alsa0.perex.cz (Postfix) with ESMTP id 15E68262600 for ; Wed, 18 Jun 2014 18:24:08 +0200 (CEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753361AbaFRQYG (ORCPT ); Wed, 18 Jun 2014 12:24:06 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:62758 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753270AbaFRQYE (ORCPT ); Wed, 18 Jun 2014 12:24:04 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7D00M8UHK28M90@mailout4.samsung.com>; Thu, 19 Jun 2014 01:24:02 +0900 (KST) X-AuditID: cbfee61a-b7fef6d00000200b-d4-53a1bd2226bd Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id B2.22.08203.22DB1A35; Thu, 19 Jun 2014 01:24:02 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N7D00JSNHHS8D10@mmp1.samsung.com>; Thu, 19 Jun 2014 01:24:02 +0900 (KST) From: Sylwester Nawrocki Date: Wed, 18 Jun 2014 18:22:31 +0200 Message-id: <1403108551-25058-3-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1403108551-25058-1-git-send-email-s.nawrocki@samsung.com> References: <1403108551-25058-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t9jAV2lvQuDDeat1rM40D6b2WLqwyds FvOPnGO16H+zkNXibNMbdotNj6+xWsw4v4/JYu2Ru+wWS69fZLKYMH0ti8XhN+2sFpvf/WN1 4PFYM28No8flvl4mj02rOtk8Ni+p9+jbsorR4/MmuQC2KC6blNSczLLUIn27BK6Mu7d/shc0 81X8mf6KuYHxEHcXIyeHhICJxIX5rxkhbDGJC/fWs3UxcnEICSxilPi37S8ThNPBJLFsyw1m kCo2AUOJ3qN9YB0iAkYS1759AOtgFljJJPF02T+gBAeHsECUxKp9uiA1LAKqElfOnWQCsXkF 3CROdraxgJRICChIzJlkAxLmFHCX6L61hAXEFgIqeTz3BdsERt4FjAyrGEVTC5ILipPScw31 ihNzi0vz0vWS83M3MYLD8ZnUDsaVDRaHGAU4GJV4eDlyFwQLsSaWFVfmHmKU4GBWEuFdvXxh sBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeA63WgUIC6YklqdmpqQWpRTBZJg5OqQZG62cTrGOe /9gru9uksfYy18pPk60vOta3WEY4zPtlfbhaviGr5/e1hJUO16wWuqr2R+1neZD4rCRsgULx tUnzWiykJ3Hlab/aXic15cnuN6sWLJm+7lFpZEQCn9QWl42nAhpSFyspNx8s8Znus+CW0ufs /5a85dEBx/l3CzyatSzgZ19Kc0SCEktxRqKhFnNRcSIAUAUeVkMCAAA= Precedence: bulk X-Mailing-List: linux-alsa@vger.kernel.org To: alsa-devel@alsa-project.org Cc: mark.rutland@arm.com, linux-samsung-soc@vger.kernel.org, pawel.moll@arm.com, zhen1.chen@samsung.com, kyungmin.park@samsung.com, Sylwester Nawrocki , galak@codeaurora.org, alsa-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com Subject: [alsa-devel] [PATCH V2 2/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Sylwester Nawrocki --- .../bindings/sound/samsung,odroidx2-max98090.txt | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt diff --git a/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt new file mode 100644 index 0000000..9148f72 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt @@ -0,0 +1,35 @@ +Samsung Exynos Odroid X2/U3 audio complex with MAX98090 codec + +Required properties: + - compatible : "samsung,odroidx2-audio" - for Odroid X2 board, + "samsung,odroidu3-audio" - for Odroid U3 board + - samsung,model : the user-visible name of this sound complex + - samsung,i2s-controller : the phandle of the I2S controller + - samsung,audio-codec : the phandle of the MAX98090 audio codec + - samsung,audio-routing : a list of the connections between audio + components; each entry is a pair of strings, the first being the + connection's sink, the second being the connection's source; + valid names for sources and sinks are the MAX98090's pins (as + documented in its binding), and the jacks on the board + For Odroid X2: + * Headphone Jack + * Mic Jack + * DMIC + + For Odroid U3: + * Headphone Jack + * Speakers + +Example: + +sound { + compatible = "samsung,odroidu3-audio"; + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98090>; + samsung,model = "Odroid-X2"; + samsung,audio-routing = + "Headphone Jack", "HPL", + "Headphone Jack", "HPR", + "IN1", "Mic Jack", + "Mic Jack", "MICBIAS"; +};