From patchwork Mon May 10 09:12:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 433198 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 49790C433ED for ; Mon, 10 May 2021 09:14:18 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 C4BCB61458 for ; Mon, 10 May 2021 09:14:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4BCB61458 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 866ED169B; Mon, 10 May 2021 11:13:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 866ED169B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1620638054; bh=PpB6yvlvfHEIk9oet0Fgnca6st+MYoEbeGudbBA0x6c=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Z0MUc5jQ1+a65KDJZ6lCKnCl1+01zMLbavNhidfE15ZGD4p8JaIvgcYdCGA7sWXl+ S5k535adnYOCZr2IBBChu4lyy9WCBJgdvy9mxBqO6qBE7kFfd03uAC8ex/vvY7EaDA 2j8turXdb2IHNEpRzmNnyh7ehm8dKhPtj+zC4Ei8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E38FEF800EA; Mon, 10 May 2021 11:13:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7D45BF8026B; Mon, 10 May 2021 11:13:22 +0200 (CEST) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 24BFBF800EA for ; Mon, 10 May 2021 11:13:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 24BFBF800EA Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FaCsxFSS" Received: by mail-wr1-x434.google.com with SMTP id t18so15792347wry.1 for ; Mon, 10 May 2021 02:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ca1hFTYQqONxjpjSelmNqH8WT2mDhiZTvqWqe+QIj8k=; b=FaCsxFSSWlHe8SXp9oxbF6c+80zFYppwPlY7t8w3mo2V+w1doErKIBYW+QSssWIEyd CwWskEtC07nDle7UKodp2GD0iVNqslRhrOm2A+GEfFIlaxnIcMJgUpRp6fj1lg2+6xNK HmgTn8Wtba/gnfvX4+vlSovoPWEuD8fhRZpQpbJeoRvZ3pPw0z4sWXkrQftni6ec5flX UgQd8svUZ41DWDXmG0uWDfnGzlBdwApG2+EQny+zfTfgVbPGcGaHlwUxP37KBJ7Z861H +DdIlKkSMFZ5IKRdyj44PIh4u/muCv7+rw2tCAchjlzUPIHvdNZFd9TU5MNatJ9GawPp j4ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ca1hFTYQqONxjpjSelmNqH8WT2mDhiZTvqWqe+QIj8k=; b=FSRxvCCP7ViK2fDJjhVmggf1iyBXzMg/KFig3kuqQ0xtBPP9n1rDt82hqrVX90VWSz Hq8Yt4Bh1mUlbl9IVSc1XMMz/3VAH+ewDUtIjth+rQHw0LJKbNLt9VwsxRfKk5QPb88x 4T1SjsnsMFhKqGb/qa50ylkOp7EHNrdheuGMf3iQ0rNNU3ek1aaxeYEygi4P55znDqF/ ggI0Z9UkuNmHNXvm7HCZ8OUSrZi3H3JFn0qs3CNEuFkzgwPGS+jzLE1SrszjZt2RH1IE MiQBEFgI6I94fPbh36hD4bLnYq5An6GL3BqxvOMpRkd+NMEZF4DrNDMD3x+RgP1KR2kV CLYg== X-Gm-Message-State: AOAM533HfVPRmyBfxYS1tKOq3hXCXOYo3FcIuoHrApi4/LFKznIW/Gnr k/e9PG5cE4RN6E67iWfhF2s5qA== X-Google-Smtp-Source: ABdhPJyxE+YaeeKknh+YwcJKukDjSKCysy5C/GfuRTuc6XEZcKF/7fAeDY/j3+0C4f7ngDG0uk7b/Q== X-Received: by 2002:a5d:40c9:: with SMTP id b9mr29112647wrq.59.1620637989398; Mon, 10 May 2021 02:13:09 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id s5sm19040575wmh.37.2021.05.10.02.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 02:13:08 -0700 (PDT) From: Srinivas Kandagatla To: lee.jones@linaro.org Subject: [PATCH 0/2] mfd: wcd934x: add mbhc interrupts Date: Mon, 10 May 2021 10:12:37 +0100 Message-Id: <20210510091239.2442-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This patchset adds interrupts required to enable MBHC (Mulit Button Headset Control) support for Jack and headset button detection in WCD938x Codec. Codec side patches are sent in a separate patch set. Tested it on Lenovo Yoga C630. --srini Srinivas Kandagatla (2): mfd: wcd934x: add macro for adding new interrupts mfd: wcd934x: add additional interrupts required for MBHC support drivers/mfd/wcd934x.c | 50 +++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 26 deletions(-)