From patchwork Fri May 22 22:09:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Reid X-Patchwork-Id: 6469101 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8F631C0020 for ; Fri, 22 May 2015 22:11:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2E2520531 for ; Fri, 22 May 2015 22:11:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 697AD2052D for ; Fri, 22 May 2015 22:11:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A670E2605D2; Sat, 23 May 2015 00:11:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 9BAD1260426; Sat, 23 May 2015 00:11:04 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id F035B2604BE; Sat, 23 May 2015 00:11:02 +0200 (CEST) Received: from mail-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by alsa0.perex.cz (Postfix) with ESMTP id B7BA4260425 for ; Sat, 23 May 2015 00:10:55 +0200 (CEST) Received: by igdh15 with SMTP id h15so100964igd.0 for ; Fri, 22 May 2015 15:10:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V9SOEiUTW6ih00xgiwbwYjnrVAyk9xcUnX3/lMtD0TM=; b=Hq3Uf4M9hMT6mnMab1JusdjvqQDRwN+NrwOsze17ZblrJjodl7jrDpVjE5JfXifgi3 xkNxyCj+eUfAEcpCddOxH4eUJyDfbe0KOJZReaQm4SfMRBZP9OMNe634Y2AbNqxBz1Ei jSpWd8ZyCmIW6o3WrjSEGnr+6tyCx60lTPzEptsyqXBFUJAIAUP2Oge+TGCey049Z3hI BrlWx3HbyH1xW92BPYSIseX3/spkcYPAJ58nRbmzBj8N0XjG5WdRVfWZ6vceanDJcVed MRvloPSpK8tOs7HWiVMRhrHQwaQwdhWPOl8EGJImCAj84kbuk/3RCG5lTlpMDx2zGLmi 7Opw== X-Gm-Message-State: ALoCoQnqnjMSR0hEjRgewqqoTmRL/RBMi+iIfAkAiQFUdEG+LqVMXb0r0uV34BnNcDnEi04+b7OiRT2JDfI4Y3Df10fD95RpG/9fJfLEmDTYdJJXhHkWDGqDhx0uyL9dBTLCAsb6H3JLiGpVyJcwQIes4LR7/45YFguVSQqVtrO3HUSo8zkA40KJ5CcY2vW7MBbi+6WXFrcp X-Received: by 10.50.13.97 with SMTP id g1mr7635689igc.13.1432332654701; Fri, 22 May 2015 15:10:54 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id f100si176016yhp.7.2015.05.22.15.10.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 May 2015 15:10:54 -0700 (PDT) Received: from hojo20.mtv.corp.google.com ([172.22.65.103]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id Nho9FjRY.1; Fri, 22 May 2015 15:10:54 -0700 Received: by hojo20.mtv.corp.google.com (Postfix, from userid 123195) id A44E51C3C06; Fri, 22 May 2015 15:10:53 -0700 (PDT) From: Dylan Reid To: alsa-devel@alsa-project.org Date: Fri, 22 May 2015 15:09:19 -0700 Message-Id: <1432332563-15447-2-git-send-email-dgreid@chromium.org> X-Mailer: git-send-email 2.2.1.62.g3f15098 In-Reply-To: <1432332563-15447-1-git-send-email-dgreid@chromium.org> References: <1432332563-15447-1-git-send-email-dgreid@chromium.org> Cc: lars@metafoo.de, zhengxing@rock-chips.com, tiwai@suse.de, lgirdwood@gmail.com, broonie@kernel.org, Dylan Reid Subject: [alsa-devel] [RFC 1/5] ALSA: Add jack types to dt-bindings X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Adding the jack type to the dt-bindings directory will allow for device tree files to specify the type of audio jacks that are present for a board. Signed-off-by: Dylan Reid --- include/dt-bindings/sound/audio-jack-events.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/dt-bindings/sound/audio-jack-events.h diff --git a/include/dt-bindings/sound/audio-jack-events.h b/include/dt-bindings/sound/audio-jack-events.h new file mode 100644 index 0000000..378349f --- /dev/null +++ b/include/dt-bindings/sound/audio-jack-events.h @@ -0,0 +1,9 @@ +#ifndef __AUDIO_JACK_EVENTS_H +#define __AUDIO_JACK_EVENTS_H + +#define JACK_HEADPHONE 1 +#define JACK_MICROPHONE 2 +#define JACK_LINEOUT 3 +#define JACK_LINEIN 4 + +#endif /* __AUDIO_JACK_EVENTS_H */