Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3494225imu; Mon, 7 Jan 2019 04:32:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN5KcttYmi4tm8snOyvNA5z/0abCkJ7tbt0VyGVa9TGY07fDVD4Zo3ZX3vpULr1DCY1wQ07x X-Received: by 2002:a63:4187:: with SMTP id o129mr10072933pga.370.1546864326335; Mon, 07 Jan 2019 04:32:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546864326; cv=none; d=google.com; s=arc-20160816; b=NGomsQoqxngehW44Nu5uHXOwdbEpTifxqVB/6gvMf/IzMVw0E1GUSErSNUOumCEC/N ZWsUpe4DGhXEjF4lvsrIjcUG5O/xDOoYHF8Au7BJMZu+SVOl2eg6l6nVxdlrkmhlmg8w 5Epo3O2oJxfNhzuYEv9ph/GpmLtAAuVsw3QldCusLwJP49AQRiWTZ3GdVFSVbKtwYdhE NiVjQNZ9cb1ypLNQtK7CAmDZhHWbkKYbYodXNcQYY3dSo+RuHaKURoQ3G6dkoHpFUeEE OUb5EEPPd1c4bxHdq8tw81v/o21L0wO7BXWsoI1K2z0Oy7vOCQ+q2O45pdnfRAERoe7A qVsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=SDa7b9dmQ73qDj1iiHK6aDCEUZBXmn2g7pn2XRH6/9E=; b=tSCp19PdyuBZgwpR98a7FmDrZkQOfn3+DzXCnE2sE8xBHMgG++uzCZalKhEMsCpDXS GRrnUQ9PDTiAIO1CNo2ajLjX0gB3kiJNf1xtbXh9137j4rbmzyGZuaHAaKwH85nNdzDc hBn/0OeH0VCHehumIKJexYlYG9tDPRuF8AgLPZjEf0ni3GMMQZ1Fk+JAdwcBoU9goCPZ FVXoVSju6aof1YX6in8Rp1pJOBDJ1xiCbJtzh3X19OG3WEjEpaTHfvPFJglDj56ZN0pg T15Nfd0JwAlP+0VoP2nLPC0i0BlA7I1TrIlgtsGhREV/wKmWbQy7yTqGlgn6yU2k0fdG 7dqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sZLlf94S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p15si4648168plq.24.2019.01.07.04.31.50; Mon, 07 Jan 2019 04:32:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=sZLlf94S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726911AbfAGMai (ORCPT + 99 others); Mon, 7 Jan 2019 07:30:38 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:38854 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbfAGMag (ORCPT ); Mon, 7 Jan 2019 07:30:36 -0500 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=SDa7b9dmQ73qDj1iiHK6aDCEUZBXmn2g7pn2XRH6/9E=; b=sZLlf94SPzpz pPNfbkEfBMSpuJzaJWL1bKFNLUOwH7EVk1gXG2SnBrECMcd1rlcqLz0sb/SBy9LDhSNkNDaFX15xC al53f1+5KpZUMRNDMUfhuwnyCS1CjHaeCnDzc6HFKro2kdV4E0uTYeCHjY1FsX1g/Ac7tsN3/pawc Lk+5k=; 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 1ggU36-0006jA-8A; Mon, 07 Jan 2019 12:30:32 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id DA2661127490; Mon, 7 Jan 2019 12:30:31 +0000 (GMT) From: Mark Brown To: Peter Ujfalusi Cc: Mark Brown , broonie@kernel.org, lgirdwood@gmail.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, jsarha@ti.com, robh+dt@kernel.org, misael.lopez@ti.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: davinci-mcasp: Document GPIO support" to the asoc tree In-Reply-To: <20190103140552.29809-3-peter.ujfalusi@ti.com> X-Patchwork-Hint: ignore Message-Id: <20190107123031.DA2661127490@debutante.sirena.org.uk> Date: Mon, 7 Jan 2019 12:30:31 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: davinci-mcasp: Document GPIO support 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 4664b94c98b4f9fdd3845da41d5c65288e59c66c Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Thu, 3 Jan 2019 16:05:51 +0200 Subject: [PATCH] ASoC: davinci-mcasp: Document GPIO support McASP pins can be used as GPIO, add optional section to enable GPIO support for McASP. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- .../bindings/sound/davinci-mcasp-audio.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt index b279b6072bd5..a58f79f5345c 100644 --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt @@ -45,6 +45,23 @@ Optional properties: - fck_parent : Should contain a valid clock name which will be used as parent for the McASP fck +Optional GPIO support: +If any McASP pin need to be used as GPIO then the McASP node must have: +... + gpio-controller + #gpio-cells = <2>; +... + +When requesting a GPIO, the first parameter is the PIN index in McASP_P* +registers. +For example to request the AXR2 pin of mcasp8: +function-gpios = <&mcasp8 2 0>; + +Or to request the ACLKR pin of mcasp8: +function-gpios = <&mcasp8 29 0>; + +For generic gpio information, please refer to bindings/gpio/gpio.txt + Example: mcasp0: mcasp0@1d00000 { -- 2.20.1