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: 4377861 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0AC8C9F1C4 for ; Wed, 18 Jun 2014 16:24:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40E042037A for ; Wed, 18 Jun 2014 16:24:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 584C920357 for ; Wed, 18 Jun 2014 16:24:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753411AbaFRQYH (ORCPT ); Wed, 18 Jun 2014 12:24:07 -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 To: devicetree@vger.kernel.org, broonie@kernel.org Cc: pawel.moll@arm.com, mark.rutland@arm.com, galak@codeaurora.org, zhen1.chen@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, alsa-devel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki Subject: [PATCH V2 2/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings 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= 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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"; +};