Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1007392pxy; Wed, 28 Apr 2021 20:07:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLpCccHxIBY5WPfIEfoF6fdUd2TlSv4hX72DfNNeUcrJk8RGYzpN/QQb9RtCR6Lu9wjyiy X-Received: by 2002:aa7:9837:0:b029:264:b19e:acce with SMTP id q23-20020aa798370000b0290264b19eaccemr30970611pfl.79.1619665641313; Wed, 28 Apr 2021 20:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619665641; cv=none; d=google.com; s=arc-20160816; b=lDgILB21OnuhatDKnOJiMRK9+hxYJqsOq/iokVy7uHx2/lau/w3yHKER1sfvq2c7bA qG28vEIcxWhu+j4Lgd9sVH5CjwiHF5SCKU9xshRw7X5u+E5heX0I4l83i1l+trzA+3HP okhnpylZqykB4YwCYF8fmjEQGJ1ur6uq2eUnVBjSbRVQI/lb0CjWwJ/UfNgFqOsi4skz ZXdPp08sFXHqqqX52zOTfHMt0LiUFpFkwW7PN19ciZs0mSGOwhMU6Q+S1XfQ1rS8CoDA 8S+8ffzTuDOkB9qbEQVtngPGhsbo28aeO+pLx+ezC82+ZwgisMo4XIm7tmdVVWYDCtbL zibw== 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=Lvx/QdXekOBJ5oDRQAiSmSEyLOX+Uzxwlaq1/QIVoxQ=; b=HzjepsQIvF50TeCm1ilqdcVc/ucz6aYHzMzSmy2DQAP2dNxv2NeUqrTnYit/QgX6tU 0YPeS5u/LU2ny1X6lZy10ySpvMRjlk+d9Lve9O7JnpZDppb/eZQicpi/5tYyMx7YlS4l sbbc7QVRnz1bd116jC9KOla/NE/gwNP+EsRPrwN8cBZ8o38JqWRrGHTvn779LV5n3+9y DmVBYAcFLrjXAhEHTBKBA3fsDzAOnJU+e/i0FhVx/hXD7AawyyoeEZf6LOTHtSBoSR2O ObQUitDw5cMPUZWCqiyWqV9Ju5JrSPj2Fx0lHlKtBuKr+szvtkNABRRxW3XgYj3+7b2U skpg== 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 l14si1598882pgm.597.2021.04.28.20.07.07; Wed, 28 Apr 2021 20:07:21 -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 S236837AbhD2DHC (ORCPT + 99 others); Wed, 28 Apr 2021 23:07:02 -0400 Received: from inva020.nxp.com ([92.121.34.13]:56292 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbhD2DG7 (ORCPT ); Wed, 28 Apr 2021 23:06:59 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 24DBE1A047E; Thu, 29 Apr 2021 05:06:13 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BEBDF1A11E2; Thu, 29 Apr 2021 05:06:08 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0986F402D2; Thu, 29 Apr 2021 05:06:02 +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 2/2] ARM: dts: imx6qdl-sabresd: Configure the gpio for hp detect Date: Thu, 29 Apr 2021 10:50:27 +0800 Message-Id: <1619664627-12470-2-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1619664627-12470-1-git-send-email-shengjiu.wang@nxp.com> References: <1619664627-12470-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 --- 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..4728dc612912 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 0x80000000 + MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x80000000 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1 -- 2.27.0