Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2651359imj; Mon, 11 Feb 2019 06:29:38 -0800 (PST) X-Google-Smtp-Source: AHgI3IaxPh1q48bUDNAygr+1DevtP7ve7YNJyEiIywfyYOMF9YOy+5R4lsQOpP3GoDq+DYkdeE6q X-Received: by 2002:a62:178f:: with SMTP id 137mr36531419pfx.226.1549895378528; Mon, 11 Feb 2019 06:29:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895378; cv=none; d=google.com; s=arc-20160816; b=SHdAJPrgua1it3dXMULv1PiZmm4pJ47pklJnp+Ne3xBGtw7UNltA/sqbf7Rcz9Mqt/ u2qpAXA2Ga8byF5Y41E0evh4HPa5UO2zMm89QQr7XZIFwjHv4KB1O/pG6B0tAy+SASem 2757+AjtBCyzqUAvgZgPtJfpIP69o0Rra59RUDpRo/aqv99fZ97QGlbUuM24LDsFX0ZD lAatT1peHmjeXuDMPKgx5ExluLQ7obNZ5DGkz9GTXwhBAV5GEh/CMa1a5PJRWhYiFQut 616Mpi0XWBE3tjabU9NC3hSVAGSa2e6P970blNpLbf1d6Dt8HE866JRnOziJ41yOIXpM kh9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Y+QshMNf+b5bEsIYN7+NbtqlWfLlUb7IPU4CdT29YEY=; b=Ni5LfzZzO1T/5L0jT354pBIKxkE9czQDy/0m3w7+xpWyii6eyokwuGEgHLNVUE7BRI lG7jCA9MKG/nQ5d33QJO29fYu35hUFYG8AcOcIDLOFRAKZcTqlkKT4WepjSZ+v/wN54a YTxnicgQwKSBu6KAHXsb34DnSRr6elN5XReiCS7AYIPn4AoScN5bDRMGuDQ4vpQMVb99 +wwuixNClv4vCue+zEyqUbk6fyIuBZfM2NcvHA1DeqPsgTn/mL2b7z/auH2LsVZNftsV 6mZTbi1yRkCL2Rd+0e7I2z2r9eBvlqi0U1uYrPcw926FMxCudVqMIKEIBU2o3PI7ygbz M1fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Usfx7U6k; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11si10237974plc.383.2019.02.11.06.29.22; Mon, 11 Feb 2019 06:29:38 -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=pass header.i=@kernel.org header.s=default header.b=Usfx7U6k; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729724AbfBKO13 (ORCPT + 99 others); Mon, 11 Feb 2019 09:27:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:33238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729718AbfBKO1Z (ORCPT ); Mon, 11 Feb 2019 09:27:25 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 41E85214DA; Mon, 11 Feb 2019 14:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895244; bh=RS/v4QehnrU5iiy4Zd2DJ5gT3XtONlB/3m2UCNBGyjU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Usfx7U6kx2yxCzOpeFM5jV8usTE+1FeYrvTyvL8R9TgH57mfdIoKVt4XjbW362B7S U992r2342xLF+y40jMlo9reI2PcK3pXBG2GIlvEtebTt561RjWY/bjrl+nca0Ou2Ku Edir3ZX9yxxT9AwDaiJK92vYNQ0ZXoRLIIjfoxpk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andrey Smirnov , Fabio Estevam , Chris Healy , Shawn Guo , Sasha Levin Subject: [PATCH 4.20 140/352] ARM: dts: imx51-zii-rdu1: Do not specify "power-gpio" for hpa1 Date: Mon, 11 Feb 2019 15:16:07 +0100 Message-Id: <20190211141855.429570478@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 79da07dec740a42c70963ebacbd2bf8866af9e20 ] TPA6130A2 SD pin on RDU1 is not really controlled by SoC and instead is only meant to notify the system that audio was "muted" by external actors. To accommodate that, drop "power-gpio" property of hpa1 node as well as specify a name for that GPIO so that userspace can access it. Signed-off-by: Andrey Smirnov Signed-off-by: Fabio Estevam Tested-by: Chris Healy Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx51-zii-rdu1.dts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx51-zii-rdu1.dts b/arch/arm/boot/dts/imx51-zii-rdu1.dts index 69d753cac89a..44985f61c0ba 100644 --- a/arch/arm/boot/dts/imx51-zii-rdu1.dts +++ b/arch/arm/boot/dts/imx51-zii-rdu1.dts @@ -477,6 +477,15 @@ }; &gpio1 { + gpio-line-names = "", "", "", "", + "", "", "", "", + "", "hp-amp-shutdown-b", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", "", + "", "", "", ""; + unused-sd3-wp-gpio { /* * See pinctrl_esdhc1 below for more details on this @@ -495,9 +504,6 @@ hpa1: amp@60 { compatible = "ti,tpa6130a2"; reg = <0x60>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_ampgpio>; - power-gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; Vdd-supply = <®_3p3v>; }; @@ -671,7 +677,10 @@ }; &iomuxc { - pinctrl_ampgpio: ampgpiogrp { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { fsl,pins = < MX51_PAD_GPIO1_9__GPIO1_9 0x5e >; -- 2.19.1