Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1009863pxy; Wed, 5 May 2021 21:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgBFR8ZRPPUxDMlG6gduHppPkS8bTko58E0mcI5i0Iom66jMvHICeCPPM/YdS4UyjczH3i X-Received: by 2002:a05:6402:515:: with SMTP id m21mr2602039edv.117.1620273837828; Wed, 05 May 2021 21:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620273837; cv=none; d=google.com; s=arc-20160816; b=r9ZtNLlkcU4GbyfTzWKrvOLgWLiJVntFfQDVizZlnBMVUn1wcgZIE65B3F7vGBFmwc FstPLVGBpmu8abUSSdcFjI1CoPzA72VF1/ibsy9fCjN6KpYZEMQds2PJDvRMsjddE01/ gPfbuV+BYI5/FSki4MwtfPvK6JQt417A6pq0B4d2OZCITAW/8U+/L8NFv6WSSeUPHgUL /SW98GMCdYc+6Tv55Ie/OHLAFqcueEUnc3MAYw73D2BJYoKA4MNcaoiffFa9gXm6adCQ +YpkRvw3OCcfyZ6PD9BPiYXx/qR13K7ogm7ynOKyDU299YPU15U6CpiG48cOO5VWsNcD Agfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :to:from; bh=vSyO8t5hqJbruJviLU01XqUUCy5BWWWIFIztt7hmz48=; b=aAfOsSA5lbQqkI0mStQvvfsD2M7i6LUJsrKrj7ktep3ztAFs+ak1GrZX5thql+jQKv HiLUsgxlLVWQGGaf6w957XXSMiVGpkEvTZy1RUwGCmV9QtjFYPnlZt0Ge7snDAyGjlPS 4wDBxPzBOkXlRZtWkIbGEtpXsAraPnxjKtWhTfmyG3sbIoGdPMGuwoL1bzrZ2yVdrcqE gi11k898TAqs8gp/dg2C12tmbwixaWcqkPwvI69QnN85qoJidvWogQj0vuGTPqFXjSUr dLCChQXqmvva64Fg2jpCndaXnqF1D00ETF2l6OMkrFOsKjZyc0Te87Le3e4y/CeOSjKC z83Q== 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 z11si1220790edd.228.2021.05.05.21.03.34; Wed, 05 May 2021 21:03:57 -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 S231377AbhEFD6e (ORCPT + 99 others); Wed, 5 May 2021 23:58:34 -0400 Received: from inva021.nxp.com ([92.121.34.21]:38766 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbhEFD6e (ORCPT ); Wed, 5 May 2021 23:58:34 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F41BE20313D; Thu, 6 May 2021 05:57:35 +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 EB5A320071E; Thu, 6 May 2021 05:57:31 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id D89D84029F; Thu, 6 May 2021 05:57:22 +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, shengjiu.wang@gmail.com Subject: [PATCH v2 2/2] ARM: dts: imx6qdl-sabresd: Configure the gpio for hp detect Date: Thu, 6 May 2021 11:41:19 +0800 Message-Id: <1620272479-1219-2-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1620272479-1219-1-git-send-email-shengjiu.wang@nxp.com> References: <1620272479-1219-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Configure the gpio for hp detect for wm8962 sound card Signed-off-by: Shengjiu Wang --- changes in v2: - update PAD_CTL value arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index d20eaac6c5d6..0c0105468a2f 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -97,6 +97,8 @@ sound { compatible = "fsl,imx6q-sabresd-wm8962", "fsl,imx-audio-wm8962"; model = "wm8962-audio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hp>; ssi-controller = <&ssi2>; audio-codec = <&codec>; audio-asrc = <&asrc>; @@ -546,6 +548,13 @@ MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0 >; }; + pinctrl_hp: hpgrp { + fsl,pins = < + MX6QDL_PAD_SD3_RST__GPIO7_IO08 0x1b0b0 + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 -- 2.27.0