Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1545311pxa; Thu, 6 Aug 2020 09:57:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwknwY2ZSxdo3+tQkdmalgZS3vwLAhy/LHFsqlUliiMOfTBzb8itS9NChn4OQeVX9Bgmb9Q X-Received: by 2002:a17:906:b749:: with SMTP id fx9mr5162536ejb.186.1596733045387; Thu, 06 Aug 2020 09:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596733045; cv=none; d=google.com; s=arc-20160816; b=ulJC4tfzgdID3mPS1fFoR8UOz0mdqQB3rMW77UdsiNOK+NQySGb/6vscFZIslI0B0I 8Zp31/N2421rt2oEkQs/OHNDfHlTTw0YDIaKeORwBzakTRgQ6zOFuOZ2GxS5HxHycptR XNkQZa1e1WfQCD5i4DlGTGsIBQoNM8s+4TtiOMyJvilp0CCtOuyDRslulM+tqndA7KOa vCWz6E4j310yKS4bST6IB0d4338wnXrBxkjxMBLOP3Z/FeUCjGZCkS4WzZUv6R3It1vi v9/a75h/F879Ei1VT4wATvhQ+0ifgDNobSAleIBgKt/yDFSZEwu1aWMBiJX1LdcLrJkh N15w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from; bh=NANxlVB5HfZLu0hTV142QirvFX9VULDnVer6KSE1D3w=; b=Wy83NE6IXq+WQhmLKpuMEQEJJAmMzu/kADjigOkG8Vs3A6I/Slhn3VM6eIlbHd6ccW aqvlE8dnPmokcQBHAmaNQkgX54WZT0fi7ctaIRLrLPk9fG1P0cxMwN1LDYvcs6EN0Irz aNmx9vsTmh/ZI0Tgu4NiZ3WAszMyrUBLiEwxsvhcYNEO+vt9qx+6AoNYwEYGXrHs306q TJHwkA7J/67aqJNx7Cf/LXQNjM1/jQkBa8F4T9yDdRlQ0mqimz2TR7wp1mtz7/ytgG8O LlQ46Z2+nUAEF6nluDVH0Uy2RA+sjYq1Gpqls753c7966UUO2+z9f3GN7oNbjoDO2eVl tYNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si3295754eji.729.2020.08.06.09.57.02; Thu, 06 Aug 2020 09:57:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729584AbgHFQ4j (ORCPT + 99 others); Thu, 6 Aug 2020 12:56:39 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36072 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728912AbgHFQkn (ORCPT ); Thu, 6 Aug 2020 12:40:43 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 11A872005E0; Thu, 6 Aug 2020 13:53:36 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 376DF200869; Thu, 6 Aug 2020 13:53:32 +0200 (CEST) Received: from 10.192.242.69 (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 14A3340252; Thu, 6 Aug 2020 13:53:27 +0200 (CEST) From: Shengjiu Wang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx6sl-evk: Add headphone detection for sound card Date: Thu, 6 Aug 2020 19:48:53 +0800 Message-Id: <1596714533-16350-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Headphone detection is triggered by GPIO, then driver can switch between speaker and headphone. Signed-off-by: Shengjiu Wang --- arch/arm/boot/dts/imx6sl-evk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts index bc86cfaaa9c2..a17d6b784c0d 100644 --- a/arch/arm/boot/dts/imx6sl-evk.dts +++ b/arch/arm/boot/dts/imx6sl-evk.dts @@ -106,6 +106,7 @@ sound { "IN3R", "AMIC"; mux-int-port = <2>; mux-ext-port = <3>; + hp-det-gpio = <&gpio4 19 GPIO_ACTIVE_LOW>; }; panel { @@ -295,6 +296,7 @@ MX6SL_PAD_REF_CLK_32K__GPIO3_IO22 0x17059 MX6SL_PAD_KEY_COL4__GPIO4_IO00 0x80000000 MX6SL_PAD_KEY_COL5__GPIO4_IO02 0x80000000 MX6SL_PAD_AUD_MCLK__AUDIO_CLK_OUT 0x4130b0 + MX6SL_PAD_FEC_RX_ER__GPIO4_IO19 0x1b0b0 >; }; -- 2.27.0