Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp522262ybh; Wed, 15 Jul 2020 08:11:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQxr+KexxCcfsX1kehuxT6QKc80hb0LFPrwh0ndn5zuHNECSN5Vi5/f4VeuVM6sz7U+nvQ X-Received: by 2002:a50:a9c2:: with SMTP id n60mr94378edc.234.1594825885618; Wed, 15 Jul 2020 08:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594825885; cv=none; d=google.com; s=arc-20160816; b=r6oA46VymnLqy6SL+ji/L9RMT/1VZozxUeJfZGOhznHoiF8AJ/E8PzUHmsyn0Xj2vt NzC39SAmrD9P7A9dfQcfXmUirnn3xzBuxJ1sVWma67IjW+H+ZkErrjqUHf6mTCAOQuHS bZ7oFQrDrdMPpCM0Ep9x4TRBRN8WuqP7/v8FTomlOyP1nDQZPJ22z9nM2C1PehMFCXAb 7sTUG+KZ57/YrYO6Pz5utV0r+XlrzgsJThSa5FexeGFaYUQe1rycNrv5Tk6VxyIj0F3k a0K2bhYINiRd+EeWCSvbIDq+2nu+I78S79867/m97hMSIkvJ3V4oF2Scd9SgZl97HB10 oexQ== 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:cc:to:from; bh=EvgwTQO/UAnDMYoSreziAdUyRyHQSDls/MxznbCidzE=; b=FptNuSMtfWHPRh+44lH+I2a7Z6+5BaQC238lJyVTR1ESreqzMpbhNkDXcWT3pj53gG /4iN3QntkpWr3kzVV5MD7gRcSS4dTuIt7r2+0lxF0GHbG30W6JMkTB9jBWbMeh1IGKZo F8S9YmKD2cE13IhqV8vgA7ncXh+Nbj0TU06ZBe474LFSHnT7zpK5IhznIAL5PGKCX6+7 2N64lkGVRmTEhXbjBKhJ1ia98xPwcBAcL82rkDh4T+myhHw+a2dKFnpErL4pmNWAzj+j OkYQYhexVLXO569dLy+MtfwjZtXeGzp72b91+f2Vy9MJ4yIN0kxxg5SI6W6aJl803TIM c46A== 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 di16si1406820edb.397.2020.07.15.08.11.00; Wed, 15 Jul 2020 08:11: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 S1727080AbgGOONv (ORCPT + 99 others); Wed, 15 Jul 2020 10:13:51 -0400 Received: from inva020.nxp.com ([92.121.34.13]:49468 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbgGOONu (ORCPT ); Wed, 15 Jul 2020 10:13:50 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F20651A0467; Wed, 15 Jul 2020 16:13:48 +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 AE3491A01F3; Wed, 15 Jul 2020 16:13:43 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id E5028402DF; Wed, 15 Jul 2020 22:13:36 +0800 (SGT) From: Shengjiu Wang To: perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 0/3] ASoC: fsl-asoc-card: Support hp and mic detection Date: Wed, 15 Jul 2020 22:09:36 +0800 Message-Id: <1594822179-1849-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 Support hp and mic detection. Add a parameter for asoc_simple_init_jack. Shengjiu Wang (3): ASoC: simple-card-utils: Support configure pin_name for asoc_simple_init_jack ASoC: bindings: fsl-asoc-card: Support hp-det-gpio and mic-det-gpio ASoC: fsl-asoc-card: Support Headphone and Microphone Jack detection changes in v2: - Add more comments in third commit - Add Acked-by Nicolin. .../bindings/sound/fsl-asoc-card.txt | 3 + include/sound/simple_card_utils.h | 6 +- sound/soc/fsl/Kconfig | 1 + sound/soc/fsl/fsl-asoc-card.c | 77 ++++++++++++++++++- sound/soc/generic/simple-card-utils.c | 7 +- 5 files changed, 86 insertions(+), 8 deletions(-) -- 2.27.0