From patchwork Thu Apr 29 02:50:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 12230353 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A699C433B4 for ; Thu, 29 Apr 2021 03:09:12 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BBE9961448 for ; Thu, 29 Apr 2021 03:09:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBE9961448 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ykRQxKVZdM5WW5wuxi7yUzoORlGPUvEqjgLfSLwFI/k=; b=NHf1MUFEqlspeip281A56butXG wxwxZsAJbUbH7uZv4DkyX7+DBsnn3kKdlPiZl1s37TbRmD7wrtAll+LT3FK8YfKT1zj/elut4f5MG kgN5J6GCDeouZYQ+o5a04SMb9ikuRsotyU6gzL72CN8IHVucj0gLE31fJAzUUcALbQP3s/0QXedxX g8/JgDIaUPD4y9DxjCdTKykbm6nwC6FJnc//HCmCJQrsvKPGcmcCjkiF7974bWUvzuAF4ei7Mv+Qv Zac8gUyXmkR2ZPlhM0UZs6NRRCyNOeNjtrf2NFMvj6Gx4O5k2rQkxzV9uFeRmk4CDsJDmdsHpPdaB EFiJkGRg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lbx0Y-004jeb-Ss; Thu, 29 Apr 2021 03:06:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbx0P-004jdE-KW for linux-arm-kernel@desiato.infradead.org; Thu, 29 Apr 2021 03:06:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Lvx/QdXekOBJ5oDRQAiSmSEyLOX+Uzxwlaq1/QIVoxQ=; b=Zcqq/gjbaXpzTLF6FX4ABVMpWp agbKAKVanpbifiQBU6c1GzUBXHSRAxqOXM+2foFbU2+azG+WvP3pkSjcaHn/1nq5hcboSEUcwDvGW UwTbEFcYveqkOKeQ7Mp8WpwS2LfZ02d5AtGijjgdmzUzGgTigBZu/tW5glYIpX1gQ8AyhLvw5gket Ev4/NKbblWHucxr4e7aQe6UuD+3TpSeJPEmBF5hK4oAPKkVaYZfN8W1tFLKbXVSvPUqg99bN0BB6i IagiHXJAD37q87b6rB2XvaoAfogDv/hA2lQft2m4SA6qCAPBidbuKpr02HMldaLvnZUqYjHcGVyZW HMCykC9Q==; Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lbx0L-000Kmi-Jh for linux-arm-kernel@lists.infradead.org; Thu, 29 Apr 2021 03:06:19 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210428_200617_802778_E7FEE2B6 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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