From patchwork Mon Sep 17 00:57:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 146812 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3197029ljw; Sun, 16 Sep 2018 17:58:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZqKxAoVxYE36JKA01zOmSDOIOqG89jAri+JHw0JInJyZ0quHmd25ojM1v742MfOi5FSiBc X-Received: by 2002:a17:902:c8:: with SMTP id a66-v6mr22680685pla.269.1537145900583; Sun, 16 Sep 2018 17:58:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537145900; cv=none; d=google.com; s=arc-20160816; b=J+hR+JI3s7Vr8aMP0QNmDMNxRM9EbDT24+IetG6jbJiubVIbFnn7VUeFn7tvf+Axfw OdOcUEggXZ+jjdxhMZjYAtcoAz8gXJseWHbxYTi7pxeMRp9S22cA3L3fjaPLYknpUtFc CUI+zBGjOEI8iBqnwuOlZg0qjxelK4XQauzKic+QZQBOF1TtEq+fJER3kSDzY015IM4J gsW+zBVwaSXGrc132DfXI77XFEjAxSPu4HF2lXr+BmNzNtML81b6qJvsUSVQ5mJtcelp nbzF1cg3PDWfJm7zgNUzC6exnjK72dzYVvaG4djl0yMswZt5xfY4/JpJ9pvaUJZEEMjx jPJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=zB8Jcp/mlbxi5uhj/a+RaYV9WoQKeS679GNjqNj80tA=; b=GBK4kXKWfNJ+/KbZhkX7KGRfwxCapUaWW8dlVvoYSo/GLI0RbPtpoiyGmuOP08hahq 3fDgcwlFwXf/KIxaAZfUUUOlw8M9bXhOZD/pYfbpz2nP6dl/XI4sV5qag542Wzrby/ym 6LwZGJzizg831AHiMyLGbkJ866Qf01hSD2Jc+A99sdlAYfyESjxn/mGvfLGpsaayWFwf XFY5HmpKVKA6S1OMuXtd+IfNdnl60Rv+NnPKtZYvLhG8iAzksv7mX72aqi3yzkP78e1H KVxHe9QbtrSXV9nFUD+5WtHsibu69HRIg1oYeeivMbypvTiXZhN8pXtVPJCLycqu3Sth u6wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gB36B9li; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6-v6si14285097pfc.298.2018.09.16.17.58.20; Sun, 16 Sep 2018 17:58:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=gB36B9li; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728415AbeIQGXK (ORCPT + 6 others); Mon, 17 Sep 2018 02:23:10 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:52128 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728376AbeIQGXI (ORCPT ); Mon, 17 Sep 2018 02:23:08 -0400 Received: by mail-it0-f68.google.com with SMTP id e14-v6so9072707itf.1 for ; Sun, 16 Sep 2018 17:58:15 -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:in-reply-to:references; bh=zB8Jcp/mlbxi5uhj/a+RaYV9WoQKeS679GNjqNj80tA=; b=gB36B9li12NczVqQHD5LYzfwpoA4QMXRVwKdn6xYF6raTMsU56f54FX9mIstzlYK8I w3Zi6OLHTiyPf/5nPZq7dwGygmeFaVDF2toPBGxevzYCeCRYDTj4yvuKI1pINrod0ygc 7duoPq19MXWEqXlwXYeBXny4ZM/150P2oQw24= 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:in-reply-to :references; bh=zB8Jcp/mlbxi5uhj/a+RaYV9WoQKeS679GNjqNj80tA=; b=pC+oPsbQw71W3pznxaizZHsYGWEIvQlEBImcgyn6DORgKlD2mFH+Ci9QX8oTG22Vvo heD74w6imSsy4yLeKRm1E1gDmnx+Gk+GGWgsfR/L06NnDgYMQMRgrT1sTASd4PcPu3Fi NzMUsihQwdP1B5CcaI8Hawn2lN0nBaBrafVdHDUFdNLNpQOdDRgPaV1LdIxdhIYiT+5L 7suqNy8S3qxL/blPz0c1zyvs0jXp3Dinc1Ao+6k2ujoCtqbs6CwCNTRRUBWX+LtuUfWg PNuFV9xCUgEO2FmqVFJ8nobjVEB+sPlcHeWxNXcCT2fbcHj58EhVn2urH7TPVwHJST6a RILA== X-Gm-Message-State: APzg51DSfirnXVPkyilnqouYgpasNceZgGCdpXDj/iSIsIh1XoTVtSQn PpJSassYkCqEMX6BbsEg2tja7w== X-Received: by 2002:a02:4306:: with SMTP id s6-v6mr20655931jab.140.1537145895018; Sun, 16 Sep 2018 17:58:15 -0700 (PDT) Received: from localhost.localdomain ([209.82.80.116]) by smtp.gmail.com with ESMTPSA id f64-v6sm829972ite.4.2018.09.16.17.58.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Sep 2018 17:58:14 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org Cc: mark.rutland@arm.com, lgirdwood@gmail.com, bgoswami@codeaurora.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla Subject: [PATCH v4 10/14] ASoC: dt-bindings: Add WCD9335 MBHC specific properties Date: Sun, 16 Sep 2018 17:57:23 -0700 Message-Id: <20180917005727.32728-11-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> References: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Srinivas Kandagatla This patch add new bindings required to support MBHC (Multi Button Headset Control) block in the codec. This block is used for jack insert/removal detection, headset type detection and 8 button press/release events. All these properties are very much specific to board. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,wcd9335.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.9.3 diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt index 5d6ea66..a95a8b4 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt +++ b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt @@ -55,6 +55,26 @@ Required properties with SLIMbus Interface: Value type: Definition: Must contain "mclk", "mclk2" and "slimbus" strings. +- qcom,mbhc-vthreshold-millivolt: + Usage: Optional, only required if headset button support required. + Value type: + Definition: Must contain an array of 8 threshold voltages in mV for + 8 buttons detection on headset. + +- qcom,hphl-jack-type-normally-open: + Usage: Optional, only required if headset button support required. + Value type: + Definition: present if hphl pin on jack is a NO (Normally Open). + If not specified, then its assumed that hphl pin on jack + is NC (Normally Closed). + +- qcom,gnd-jack-type-normally-open: + Usage: Optional, only required if headset button support required. + Value type: + Definition: present if gnd pin on jack is NO (Normally Open). + If not specified, then its assumed that gnd pin on + jack is NC (Normally Closed). + - vdd-buck-supply: Usage: required Value type: