Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp513924imm; Wed, 26 Sep 2018 02:29:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV62uxaZh0ME8KRn+KQmeivoqh6FDJA4SnahzlEvMmp+IpjrextcwJq8oOQmiEoQcXwOHwyly X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11-v6mr5089374plb.1.1537954154327; Wed, 26 Sep 2018 02:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537954154; cv=none; d=google.com; s=arc-20160816; b=sGuBGIn5WAj8/nK1GCboz/JJhHfLmr0Z+n/AxriUgjFgkdcxlklz8xRIZQi2MmXUMQ 7JCDVM0x9KCpmRyMoa9kCVBgdm5nHJTbEdKwvYn9guStWZvuC0UcFFoKhx/rB5ZDBYu2 f1IH023Y2ZntHPrf4g0JNE7oGZ37Kbmoptobj2ZASWZK4ZFaJIeG6ooahW2dj8Df9n9Y aECUX6i6dmK+KJvGSwP45YDDszCPbNZK5mUd+24wp+D5RNHFXDB1UxxU9AjWqrJZEVPu 2vlT1nluU8V8yNtjki2TaZ9SdIUzOMdOLguDFPVcy2t7SZqFj40E/ACg7ivnF1t/lXBq yg1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=i6CBuc9LQcfFFuTb6Z5iD6RQ8Wzt5RdstLNFZTF7SDU=; b=Im0hoKemBkI3xiLr924SHYPIP0bx0d9YFelD81gXm4HNWTeA3OmPatISB4BHQwx5TN GpgqjCYLG/FUiBDn+YXwi3FrrMDs5esRUHn8YJcofaay5D1rr3FtZDKIC1Hxs0ujEta7 1NZG4UAz1Wg/tZLOxFFIP5T0Ws5iZ/xf7MN/ZFeKnmbuyf+e+PAUYp9pzaVu8Gf/jevL scohJIb5gHkHIf+o0cNeXQ7VetGdp1gQZYmaX9kBucHvcUV6ZOHsWopbC5UlVOmwC6Na YYK8kN95Am35s0tcJRXfEWa/IzmDciK6VMzEdgn3lu1kXi1hmu4XuO8SzV7WzQFKJlZb 5tBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=QAa1gpcu; dkim=pass header.i=@codeaurora.org header.s=default header.b=QAa1gpcu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33-v6si4980911pld.180.2018.09.26.02.28.58; Wed, 26 Sep 2018 02:29:14 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=QAa1gpcu; dkim=pass header.i=@codeaurora.org header.s=default header.b=QAa1gpcu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728290AbeIZPjg (ORCPT + 99 others); Wed, 26 Sep 2018 11:39:36 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58330 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727710AbeIZPjf (ORCPT ); Wed, 26 Sep 2018 11:39:35 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E99FF6053C; Wed, 26 Sep 2018 09:27:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537954051; bh=Rf/hJJZymTQAtF02Zpeah0f4KtPkUCZztQit0fg4F5o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=QAa1gpculM19Uqz8uVCQfqTTiKnlTrXs+XeCGwwg8p+mNQvI8RLNrWqHAkTYYQxY4 86ca/ZMJLGEGz5ZH0EilyQxXDTK9xdcSVvNmmnzD9uSV5WpCi/vkNbaCjLljLxLtuc K32dwyhgTP7hWq/dgM/1EQyHKJd+w5h1Ixirk8kI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.110.31.71] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bgoswami@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AA2C16053C; Wed, 26 Sep 2018 09:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1537954051; bh=Rf/hJJZymTQAtF02Zpeah0f4KtPkUCZztQit0fg4F5o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=QAa1gpculM19Uqz8uVCQfqTTiKnlTrXs+XeCGwwg8p+mNQvI8RLNrWqHAkTYYQxY4 86ca/ZMJLGEGz5ZH0EilyQxXDTK9xdcSVvNmmnzD9uSV5WpCi/vkNbaCjLljLxLtuc K32dwyhgTP7hWq/dgM/1EQyHKJd+w5h1Ixirk8kI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AA2C16053C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=bgoswami@codeaurora.org Subject: Re: [PATCH v4 10/14] ASoC: dt-bindings: Add WCD9335 MBHC specific properties To: srinivas.kandagatla@linaro.org, lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org Cc: mark.rutland@arm.com, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, alsa-devel@alsa-project.org References: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> <20180917005727.32728-11-srinivas.kandagatla@linaro.org> From: Banajit Goswami Message-ID: <9802022e-2a1b-66ea-e0c8-8cf28ed9b9ce@codeaurora.org> Date: Wed, 26 Sep 2018 02:27:29 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180917005727.32728-11-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/16/2018 5:57 PM, srinivas.kandagatla@linaro.org wrote: > 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(+) > > 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: > +- qcom,hphl-jack-type-normally-open: > + Usage: Optional, only required if headset button support required. ...only required if headset insertion/removal 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. ...only required if headset insertion/removal 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). Ground pinĀ  may not be present on most of the headset jacks. So we cannot assume the type is NC if not specified in the device tree. > + > - vdd-buck-supply: > Usage: required > Value type: -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project