Received: by 10.223.164.202 with SMTP id h10csp646493wrb; Wed, 22 Nov 2017 13:00:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMaYM1Z+hqHCe+WP5TLqWr9bssjKsCImh4vv+wJfeYybHQPfjTODt6oC9WyE8Jh1yq591uiu X-Received: by 10.98.62.17 with SMTP id l17mr20687607pfa.83.1511384438614; Wed, 22 Nov 2017 13:00:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511384438; cv=none; d=google.com; s=arc-20160816; b=XQZuJlSyMo0aCKMsxVLpN6dXrudmYeXUkXaqPgP8zexthLjxCeX2fcNgB+eaZpLHa7 xRc81G9rpHunLnyOwd35oXj0iZZmzQ1gqiNFt965v+hTLo6kOXab9DHPJwxQFy3rrucw 1rJAdj7az/U6oDXn8taehqRs9Xj0QJdDQJ1pqQF0NbUhVOEUX2VKc4shYsFl8iz1XzlO TX5lA+uQn3WP9M1YLbiTP67e4TuUdTEY8oSMyabc4qkTCe7ijeRo3iQGVUZ0eKiC1FRv cIJE/tXQOSsNRS/MFLXw8aty5TuFQmJCBaZ6SdAB4u3uOplxxw7ViN8Qr16fqKUrTuVS 7eVA== 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 :dkim-signature:arc-authentication-results; bh=t0LFvf6xIVAuOrnZxl78XuUpGi8CC+P84ae2Kwcxhy4=; b=T6yFORf3U6DUeatmjh6AhPA+J+jvvesbHrHTQwymgmn2kkOJIuKUGOcnGgQwwN2TF2 sbdIAwCwMA0+bILp/d9AH8hY1RjjeRC7+mhxfQqG7vLMbB9UiTC24eJ/xCvoIj1NRUFD uynpb2k3VFo6domUwujLwGs82S3Up8YYyf7lB21/BRxWDHVuWR8RgW6Q4LEFcga42w8O WQxOgI9vJDN5z9YUNSgUyZaYp3uhISSzJyk9ufdgIL0aO5z++aVXMpT+bhG6BCzsLyMG eydhlWpeEe5lZcGErhpa6SHuhM92lge/zXzEY7gpVoUFFPytl95XsQHGb2jN1Q/IBDWk A5OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WnbaTnDC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si14583941pgc.159.2017.11.22.13.00.26; Wed, 22 Nov 2017 13:00:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WnbaTnDC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873AbdKVU6P (ORCPT + 77 others); Wed, 22 Nov 2017 15:58:15 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:41551 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbdKVU4u (ORCPT ); Wed, 22 Nov 2017 15:56:50 -0500 Received: by mail-io0-f196.google.com with SMTP id g73so24530250ioj.8 for ; Wed, 22 Nov 2017 12:56:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=t0LFvf6xIVAuOrnZxl78XuUpGi8CC+P84ae2Kwcxhy4=; b=WnbaTnDCSsfiXeTYiovwi/yNlZet903h4tKysM5M92e7eDnO+A+luCz9nWnfJTn8aE h5sdKCLUF+QPMsezkqyYyWGPSDZCLsq4HSIDeySaBG047TkQOz60Azg4mkVxjSFaAAXS nULNBrlzsSTnPOxlxAzR22Ky2jCXhrHlBAH5A= 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; bh=t0LFvf6xIVAuOrnZxl78XuUpGi8CC+P84ae2Kwcxhy4=; b=WjXVlhN/j5y+3/P6Qf4v/tlDcCImHTOmMittf8mNiiD2Sooch+4PVV13WR2IXCpw1s pnCMmeS1NEyUXsS6KCriQqUfs+LL/TWjPHwvYM7vRIRh967b2hFuEK/fWflNqe+VTaWX G99lflOQiqYbxxOWjij8s2R9DrX43rCnh68N49pnFcxE43HqpiZO+fzcVvUO0z0j9Cjm IUEdAOH73eVndoHsMKJ+JFtwrmtpcvaEdl733b3dY1p0WicaWSMzU6sR+S0VX5ZWmf9P lTbMBZZ7xjR8ZnFY8XNaOY0vdgVRO3UK8XbDQhee6aFhBva+qnvPc8jmZL64AF3Tly3+ Vvww== X-Gm-Message-State: AJaThX7FlbXcon82sSodn50dVTODX5pbgrJv81EMAGkqz0c5TMO4fNYT Bi7Ok7LkVSMZXoqmwTlR5dgXdESDz6A= X-Received: by 10.107.47.234 with SMTP id v103mr15613837iov.96.1511384209861; Wed, 22 Nov 2017 12:56:49 -0800 (PST) Received: from decatoncale.mtv.corp.google.com ([172.22.112.13]) by smtp.gmail.com with ESMTPSA id p10sm7217546ioe.19.2017.11.22.12.56.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Nov 2017 12:56:49 -0800 (PST) From: Benson Leung To: broonie@kernel.org, linux-kernel@vger.kernel.org Cc: harshapriya.n@intel.com, naveen.m@intel.com, srinivas.kandagatla@linaro.org, cychiang@chromium.org, dgreid@chromium.org, anatol.pomozov@gmail.com, bleung@chromium.org, bleung@google.com Subject: [PATCH 0/5] ASoC: Map BTN_0 for Android Headsets to KEY_PLAYPAUSE Date: Wed, 22 Nov 2017 12:56:38 -0800 Message-Id: <20171122205643.99783-1-bleung@chromium.org> X-Mailer: git-send-email 2.15.0.448.gf294e3d99a-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Android 3.5mm Headset jack specification mentions that BTN_0 should be mapped to KEY_MEDIA, but this is less logical than KEY_PLAYPAUSE, which has much broader userspace support. For example, the Chrome OS userspace now supports KEY_PLAYPAUSE to toggle play/pause of videos and audio, but does not handle KEY_MEDIA. Furthermore, Android itself now supports KEY_PLAYPAUSE equivalently, as the new USB headset spec requires KEY_PLAYPAUSE for BTN_0. https://source.android.com/devices/accessories/headset/usb-headset-spec [PATCH 1/5] ASoC: Intel: kbl_rt5663_rt5514_max98927: Map BTN_0 to [PATCH 2/5] ASoC: Intel: kbl_rt5663_max98927: Map BTN_0 to [PATCH 3/5] ASoC: ts3a227e: Map BTN_0 to KEY_PLAYPAUSE [PATCH 4/5] ASoC: rk3399_gru_sound: Map BTN_0 to KEY_PLAYPAUSE [PATCH 5/5] ASoC: qcom: apq8016-sbc: Map BTN_0 to KEY_PLAYPAUSE From 1585257044325120275@xxx Mon Nov 27 21:42:08 +0000 2017 X-GM-THRID: 1585257044325120275 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread