From patchwork Thu Feb 6 03:17:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tzung-Bi Shih X-Patchwork-Id: 11367607 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D531D1395 for ; Thu, 6 Feb 2020 03:18:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B338C20674 for ; Thu, 6 Feb 2020 03:18:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kwf7fOyr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="kQipj1HO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B338C20674 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:Mime-Version:Message-Id :Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XG5+skuBEdUs1aWxhs567/zp0u79aRa4+f+n9nSVkRE=; b=Kwf7fOyryckqx9 cPkY6lF5R2yArmHnizJAiIFnVrZBfJBpyjI6EzEfvHQhGh+Bg4R2nxY6dm4ZRWSakZzEB6w/f03jC OoQ5GiLk6UQlg4J6qxBbFeyBlRuMGTPsPUBCnjUFFDekMTvWHpC9tOpyE3ybN4PV/3rXzDyfSvkhf 46rqsm15KFVcVB1W5sGMmXXh7Y1mSyqlc3kZwgtsuZ2Au6ALXhXz6TlrA5K4CmSiCmz/mOyTqq13N LSHct1MGVzXVkkQXRV5I8uXfw+s/anUCdHGhDshNfe3zTd3k66mpI37khzzvszeOTg1VOvONJiGJe qaOyOtciMytytOFRHRXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1izXgF-0003lT-8J; Thu, 06 Feb 2020 03:18:15 +0000 Received: from mail-pj1-x104a.google.com ([2607:f8b0:4864:20::104a]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1izXgC-0003kB-SF for linux-arm-kernel@lists.infradead.org; Thu, 06 Feb 2020 03:18:14 +0000 Received: by mail-pj1-x104a.google.com with SMTP id c67so2518452pje.4 for ; Wed, 05 Feb 2020 19:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=uzNslwih52mut38yu2zPYARWSPgX7/Fj9tEkbUQiLCY=; b=kQipj1HOw6H9RjfqtABkLQr6XZs45QySHOuXfNbVYLTKTbVR6lJvlWXrJJqmXEvNHv 7KYy3ZYtw0T7EMWkG267WNwwf4j5dBwiBhQN/aWL6NT+/nrNvt+BqaLm69DMvYP1KeMz 533QlILj02oeM4k42xqA5qS3IicNO2AP9Y6p0MiBG1SswCLxhpani/zASYBossTXapj7 xCOIY45RzAA3+a98PuK+kRfWpAFwI10l/MgT8hrB85mslJA+g8whCZVdw4+dXVcmGT90 G6nhcNyzFXY1D15PmKFR/A1K2wIyT/Vaz5RxYW4oxehV7MFgH2WlXGb26+pAoO8+LBRG Lrtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=uzNslwih52mut38yu2zPYARWSPgX7/Fj9tEkbUQiLCY=; b=AgHvkqSyrSn+ki7vSc/YXqhsukR2wSHOOYVsXFRtJh8bIwfUqKW5Vjp2Vjo52iv4lO mco31JDx8UM7hGE2nMpIbPXfyVkgzLDVr4kdGO0ni+YAJ/8zqCdRwkNr0mzLUog6LHtD PnuHndEwibnQt4vddU2c7zXRkWtErucLi1Fpr7hxgTWrHeNz2jj6+tN6luWPBTkzNUhW Ft/KXEFWcBtJkvYvXldlXww3c9YpzFh+RAcgUw0cqDdNXbY8UNklyh5AWKS7lsAz9tCb oPfwvpRdEp1c2ewxTMd6h9UPWZ0sowAZiYDxdG/gITwwHy0Lar9c2L6na70rNwiP1Pxm wk3g== X-Gm-Message-State: APjAAAWMhuYHgtRD8emjw3KbMC56Yygd+n4mGzk6UZBN9fM8A24/Qu+R XTcQLXsqVemnB2aeUv3QYVA0dfca/tcx X-Google-Smtp-Source: APXvYqxvANnV5oSf4Bvv4neQ0kGoZkwLa+xHXPicON44dm/8skMS0QJiNuOflobRRu27n/GdR45z8/gaqNb5 X-Received: by 2002:a63:2bc3:: with SMTP id r186mr1296081pgr.294.1580959090963; Wed, 05 Feb 2020 19:18:10 -0800 (PST) Date: Thu, 6 Feb 2020 11:17:49 +0800 Message-Id: <20200206031752.193298-1-tzungbi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog Subject: [PATCH v2 0/3] ASoC: mediatek: mt8173-rt5650: HDMI jack reporting From: Tzung-Bi Shih To: broonie@kernel.org, airlied@linux.ie, daniel@ffwll.ch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200205_191812_915597_B383458F X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_MED DKIMwl.org - Medium sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, cychiang@google.com, tzungbi@google.com, dri-devel@lists.freedesktop.org, ck.hu@mediatek.com, linux-mediatek@lists.infradead.org, p.zabel@pengutronix.de, matthias.bgg@gmail.com, dgreid@google.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The series supports HDMI jack reporting to mt8173-rt5650. The 1st patch is less related. It stops running in probe() if failed to register audio driver. The 2nd patch supports jack reporting in DRM driver. The 3rd patch supports jack reporting in mt8173-rt5650 ASoC machine driver. Changes from v1: - refactor the 2nd patch to simplify the code Tzung-Bi Shih (3): drm/mediatek: exit earlier if failed to register audio driver drm/mediatek: support HDMI jack status reporting ASoC: mediatek: mt8173-rt5650: support HDMI jack reporting drivers/gpu/drm/mediatek/mtk_hdmi.c | 45 ++++++++++++++++++++--- sound/soc/mediatek/mt8173/mt8173-rt5650.c | 17 ++++++++- 2 files changed, 55 insertions(+), 7 deletions(-)