From patchwork Wed Aug 1 11:19:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 143279 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp738024ljj; Wed, 1 Aug 2018 04:20:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdENtoUgnEW7ZZD8tNxV4aIXQcTA75NbJpy/QdDrcXafX8s2y+eCkrMOA5iwDsJZ4Zi1eo3 X-Received: by 2002:a1c:9550:: with SMTP id x77-v6mr2297042wmd.135.1533122399997; Wed, 01 Aug 2018 04:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533122399; cv=none; d=google.com; s=arc-20160816; b=z2Gk/s5daylbUqmkgEQ+SSFp+6Krur9wRju5+Y0VZZsM5mr+MwRY1bkO9gk7k4xABd A0qg+9vxZulMlYnTDrBxCPvq7F7HJpXYjs+JfFaTMpEo0lbImTpy3Kg3yIW4anMQvABH mcmM2jcmAFD7QTz5DyhnuPf6NpoxcEpwKtJkFJ6dwGn5vnD4xtwdwaydsXacDM4gJ6uQ 14IH1JjMXk+HLvu9n4uqE6Y1hDPY4ZRsyYWPPlVtz8iFSJZ2ElmP09XIAsU3xCz2gV3w OztRk0BEYp6xx3HC2lPmJLTUxqVhmLYrFzIlTOnXv8wdM8GLeyG7v1qyQLCGbN60UhME uhbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=ZBrYDsqbnSYhZwDiicYVXGyZ60yi9kwensJB6k51lkE=; b=GdBljcvFTg8swR6xg2vsqNQWc9QNhsnb2p4aKIwdodrF2v2VuaQOLYnw/Slp12t/OX 3lNzNGUnetxQXjOXtRJcxShzX8poRh1V8VJA3BlCOVDsXJ8EqnwF3nXftFtCwyemLaTf oupoZwO0u4M2ZcJhuM5JSi8q/mz5S9s2nztSYkWsQ1EQuH0FXpvlMgQQnj4g3Gh6tdit MRvRKdVSqdrF+1rex4JW19J18CQUMMmpxHE7PjsTb7urab6Xa8+f9Wro7XzNTLIO1foi ln34MDeaHZbR3UPy9NwUE48rpIv2dUI4nKD0TEVFy5IbeegWngPOJCWORLBLh6SQjZEi Y6/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=HSKsAlpE; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id 89-v6si5391887wrg.386.2018.08.01.04.19.59; Wed, 01 Aug 2018 04:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=HSKsAlpE; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9DFD72677CE; Wed, 1 Aug 2018 13:19:58 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7D04C2677EB; Wed, 1 Aug 2018 13:19:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id D8C3A2676E2 for ; Wed, 1 Aug 2018 13:19:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=LSSw1J9jYukdCRL3VH2J88HZ7pz5kHEjErWPqCgdcWE=; b=HSKsAlpEXlHU alWgP/FvbWxAYHwfN77m1zxoaQUgNh93P4hsrrG/PtqzVACNKtRbDQgC+suVHTO50AJcZ4oBX9SVg E6RZ5O4BzgLKTpn25u14RPf6M/ezn0GcKGeYZb9OFbdGIpOX9jrHjxrnWSOElFMO9u4oPQ8RYjvVb P9scY=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fkpAY-0000op-HR; Wed, 01 Aug 2018 11:19:54 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 4BA8D1124241; Wed, 1 Aug 2018 12:19:54 +0100 (BST) From: Mark Brown To: Rohit kumar In-Reply-To: Message-Id: <20180801111954.4BA8D1124241@debutante.sirena.org.uk> Date: Wed, 1 Aug 2018 12:19:54 +0100 (BST) Cc: alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: qcom: dt-bindings: Add sdm845 machine bindings" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list 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 The patch ASoC: qcom: dt-bindings: Add sdm845 machine bindings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 00bc22e3eea0346b594442331df53d0d1e7104dd Mon Sep 17 00:00:00 2001 From: Rohit kumar Date: Wed, 1 Aug 2018 14:31:06 +0530 Subject: [PATCH] ASoC: qcom: dt-bindings: Add sdm845 machine bindings Add devicetree bindings documentation file for SDM845 sound card. Reviewed-by: Rob Herring Signed-off-by: Rohit kumar Signed-off-by: Mark Brown --- .../devicetree/bindings/sound/qcom,sdm845.txt | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sdm845.txt -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/qcom,sdm845.txt b/Documentation/devicetree/bindings/sound/qcom,sdm845.txt new file mode 100644 index 000000000000..408c4837e6d5 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,sdm845.txt @@ -0,0 +1,80 @@ +* Qualcomm Technologies Inc. SDM845 ASoC sound card driver + +This binding describes the SDM845 sound card, which uses qdsp for audio. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,sdm845-sndcard" + +- audio-routing: + Usage: Optional + Value type: + Definition: 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 could be power supplies, MicBias + of codec and the jacks on the board. + +- model: + Usage: required + Value type: + Definition: The user-visible name of this sound card. + += dailinks +Each subnode of sndcard represents either a dailink, and subnodes of each +dailinks would be cpu/codec/platform dais. + +- link-name: + Usage: required + Value type: + Definition: User friendly name for dai link + += CPU, PLATFORM, CODEC dais subnodes +- cpu: + Usage: required + Value type: + Definition: cpu dai sub-node + +- codec: + Usage: required + Value type: + Definition: codec dai sub-node + +- platform: + Usage: Optional + Value type: + Definition: platform dai sub-node + +- sound-dai: + Usage: required + Value type: + Definition: dai phandle/s and port of CPU/CODEC/PLATFORM node. + +Example: + +audio { + compatible = "qcom,sdm845-sndcard"; + model = "sdm845-snd-card"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pri_mi2s_active &pri_mi2s_ws_active>; + pinctrl-1 = <&pri_mi2s_sleep &pri_mi2s_ws_sleep>; + + mm1-dai-link { + link-name = "MultiMedia1"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + pri-mi2s-dai-link { + link-name = "PRI MI2S Playback"; + cpu { + sound-dai = <&q6afedai PRIMARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6routing>; + }; + }; +};