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: 4377901 Return-Path: X-Original-To: patchwork-linux-arm@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 3DD969F1C4 for ; Wed, 18 Jun 2014 16:26:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65E3A20379 for ; Wed, 18 Jun 2014 16:26:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7FEE5202EB for ; Wed, 18 Jun 2014 16:26:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WxIez-0003HJ-6S; Wed, 18 Jun 2014 16:24:29 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WxIev-00037k-6h for linux-arm-kernel@lists.infradead.org; Wed, 18 Jun 2014 16:24:25 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140618_092425_410806_C93ABD18 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) 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 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, 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"; +};