From patchwork Thu Feb 7 16:57:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 10801653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DD05F6C2 for ; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C728D2DCDE for ; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BBACB2DCE7; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A4422DCB6 for ; Thu, 7 Feb 2019 17:36:21 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3EA50267486; Thu, 7 Feb 2019 17:58:46 +0100 (CET) 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 E237326747F; Thu, 7 Feb 2019 17:58:43 +0100 (CET) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by alsa0.perex.cz (Postfix) with ESMTP id 7AD9326747F for ; Thu, 7 Feb 2019 17:58:41 +0100 (CET) Received: by mail-lj1-f196.google.com with SMTP id v15-v6so436121ljh.13 for ; Thu, 07 Feb 2019 08:58:41 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=FliQqFtnS1E4x64NUItgNgFUPTbrV6CBgmMP0IcTLO8=; b=qAOxQ3U+mEHI8I5alVuez8uupn6RJmHHBdDT5+EKVjlituI7r94X8u0RDfUVD4wPKC ZGl2EegWREtI00VD9AhqIMP3c8gwfWARE/b+KeEs/LpyuG9mN8UCzvfyiD2ialevG0DN 9R11Rf39Z3mVQ6TMseq4uCat4SiuX08w2aRsETh/3aDfNJZWcahANShExwHVkDHjPUeL GF/lhEdgPr6zK8oRfD6glz9DGlLKPVp6xEzJIAXOJU0ESsciT3rDB/izk1TURnJlkLQo G0SMjzaeabRAosdcbvgxbf/p8ScsbbzQklReF7y2e9i+2gQPczdY9JyB6yy7RlHsFdkJ p4Kg== X-Gm-Message-State: AHQUAubwhQPXZkbu/ZwuCysQZu8J9ASKlySsM40fWGxx6pVIAd5t4x0M G4yKQ9Q5s0jLKEYTn+cDCsA= X-Google-Smtp-Source: AHgI3IbSuEZC7B9Lwuq6j2dgQE4wQ8Jnr4zgljOdme1cHRMVuwxYI/qhqgxRDreI2Q4U6p1+u1SRRw== X-Received: by 2002:a2e:9c87:: with SMTP id x7-v6mr10267580lji.196.1549558720691; Thu, 07 Feb 2019 08:58:40 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id d137sm2670136lfd.38.2019.02.07.08.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 08:58:39 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1grn0Y-0000Pt-5a; Thu, 07 Feb 2019 17:58:38 +0100 From: Johan Hovold To: Mark Brown Date: Thu, 7 Feb 2019 17:57:53 +0100 Message-Id: <20190207165755.1548-2-johan@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207165755.1548-1-johan@kernel.org> References: <20190207165755.1548-1-johan@kernel.org> MIME-Version: 1.0 Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Johan Hovold Subject: [alsa-devel] [PATCH 1/3] ASoC: msm8916-wcd-analog: add missing license information 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add the missing license and copyright information which never made it into the analog driver when the original driver was split in two as part of the review process. Link: https://lkml.kernel.org/r/1465582725-30183-3-git-send-email-srinivas.kandagatla@linaro.org Fixes: 585e881e5b9e ("ASoC: codecs: Add msm8916-wcd analog codec") Cc: Srinivas Kandagatla Signed-off-by: Johan Hovold --- sound/soc/codecs/msm8916-wcd-analog.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/codecs/msm8916-wcd-analog.c b/sound/soc/codecs/msm8916-wcd-analog.c index b7cf7cce95fe..1261ddff75eb 100644 --- a/sound/soc/codecs/msm8916-wcd-analog.c +++ b/sound/soc/codecs/msm8916-wcd-analog.c @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2016, The Linux Foundation. All rights reserved. + */ + #include #include #include From patchwork Thu Feb 7 16:57:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 10801655 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 984B714E1 for ; Thu, 7 Feb 2019 17:36:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 839A02D7F0 for ; Thu, 7 Feb 2019 17:36:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77EEA2DCD1; Thu, 7 Feb 2019 17:36:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69CE42D7F0 for ; Thu, 7 Feb 2019 17:36:21 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 93CB82679C9; Thu, 7 Feb 2019 17:58:47 +0100 (CET) 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 B18602674EC; Thu, 7 Feb 2019 17:58:44 +0100 (CET) Received: from mail-lf1-f68.google.com (mail-lf1-f68.google.com [209.85.167.68]) by alsa0.perex.cz (Postfix) with ESMTP id E9847267486 for ; Thu, 7 Feb 2019 17:58:42 +0100 (CET) Received: by mail-lf1-f68.google.com with SMTP id q11so431015lfd.3 for ; Thu, 07 Feb 2019 08:58:42 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=MHIO03FFxcWAKfGcLX7T/jlqXz8Gs8V5XO/qdL8floE=; b=IE3wR2ejdsWx/YRUHbqVx0AL1mDodS/5c4fXk0INlGX+mzF6C3cdOBRXxmtvKnTHPV q5rEtV89OtSrAlO1Qby/KWGNVsNIQAN8nKMx3j9WcZUlkiq5n7XDhLLGmnsTHwX48XGH 2TvJ6h9Msj7XHXqAcfm7r1KUjuucnzqIGMV68j7rwBfkyR1zWaNWm2Qo1y5h24UZnLxS KIRkEg1hAwckI326/NKwgULzBK09SbhtuTE0iOrmUabkhzZZZCw6+kunaI6bJ43EeWmo RQyR/4zmoMufIYK4UEaFiz7Yrd59oy4ls2d3uMaE7jKXCxzHA8xb7obHN0ASRzEQ0PNd a82A== X-Gm-Message-State: AHQUAuZhgOTqa45uEuHEN+0mAGv5NdiaHwk89nxjtuYCZi4jJnbO77R0 DK9QNYE1Ns8Gek7hCuckXlw= X-Google-Smtp-Source: AHgI3IbfUQEa8oX3YIXlIGFQ/8h89bkinalyN/xlJic7Zk4qbLUjPEsjKgCa4WTpw4V+DxJnVb+XTg== X-Received: by 2002:ac2:55b3:: with SMTP id y19mr11189848lfg.28.1549558721890; Thu, 07 Feb 2019 08:58:41 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id b20sm4953747lfj.61.2019.02.07.08.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 08:58:39 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1grn0Y-0000Py-8n; Thu, 07 Feb 2019 17:58:38 +0100 From: Johan Hovold To: Mark Brown Date: Thu, 7 Feb 2019 17:57:54 +0100 Message-Id: <20190207165755.1548-3-johan@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207165755.1548-1-johan@kernel.org> References: <20190207165755.1548-1-johan@kernel.org> MIME-Version: 1.0 Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Johan Hovold Subject: [alsa-devel] [PATCH 2/3] ASoC: msm8916-wcd-digital: convert license header to SPDX 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Convert the GPLv2-only license header to SPDX. Signed-off-by: Johan Hovold --- sound/soc/codecs/msm8916-wcd-digital.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c index 3063dedd21cf..5273996b40d5 100644 --- a/sound/soc/codecs/msm8916-wcd-digital.c +++ b/sound/soc/codecs/msm8916-wcd-digital.c @@ -1,13 +1,6 @@ -/* Copyright (c) 2016, The Linux Foundation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 and - * only version 2 as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2016, The Linux Foundation. All rights reserved. */ #include From patchwork Thu Feb 7 16:57:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 10801649 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8964814E1 for ; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 755E92DCD1 for ; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68CBD2DCE4; Thu, 7 Feb 2019 17:36:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F03D2DCD1 for ; Thu, 7 Feb 2019 17:36:21 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DE7E52679D9; Thu, 7 Feb 2019 17:58:48 +0100 (CET) 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 3B5612674A5; Thu, 7 Feb 2019 17:58:45 +0100 (CET) Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by alsa0.perex.cz (Postfix) with ESMTP id 8155626747F for ; Thu, 7 Feb 2019 17:58:43 +0100 (CET) Received: by mail-lj1-f196.google.com with SMTP id s5-v6so441480ljd.12 for ; Thu, 07 Feb 2019 08:58:43 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=/q//UD4ZstOt2/eUQlKTEObO/VkWoke0sh9vogELpAU=; b=QyYjVoyvHApSSukpJ4fVXeJ5q1K9N23og2JsbZmKw0MxsD1Dv5obiCIT1ADX66gIxe w93cs7dCO7S3vvNHzUGfzzoeQtQvuEyg+jBQRvvgc4XY0k8ETYQ9fYklqqQHJeUGC0g0 eDVKiAjS0fLpr7GeXb6/d6u2HJJyHxE6lS8YQwJxepmSgArVzfgphjpj5V55vnmeKEpS DD8OMdyJFoFISm+fi2NJk/R/GTlxY0nSOUJ4Vc0ifo1CchN9jJvYM0FvzqhRPjZKrUeK GRBa4cIKeLYAAP5gEEH/Gz1hz8+vGvuSmI9pheeA6QVc4s8PjDX9ULjWW3bkEtdJU+Tg LjUA== X-Gm-Message-State: AHQUAuaZne2qac3XaHNglq21CF6Vm9OnhpH2CclaobtOzffOwrxfOiSl /4T0fZdh1eSjjaNB4ZSSTcY= X-Google-Smtp-Source: AHgI3IY79s7TXwqI/1J3CRQFstVHvw1rhDp4dA93l2zdfrU5APjpUU4xfa2cn6l3S9YyeowF1lUrnw== X-Received: by 2002:a2e:8546:: with SMTP id u6-v6mr10671522ljj.95.1549558722831; Thu, 07 Feb 2019 08:58:42 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id z18sm1110005lfb.36.2019.02.07.08.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Feb 2019 08:58:40 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1grn0Y-0000Q3-Bt; Thu, 07 Feb 2019 17:58:38 +0100 From: Johan Hovold To: Mark Brown Date: Thu, 7 Feb 2019 17:57:55 +0100 Message-Id: <20190207165755.1548-4-johan@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207165755.1548-1-johan@kernel.org> References: <20190207165755.1548-1-johan@kernel.org> MIME-Version: 1.0 Cc: Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Rob Herring , Srinivas Kandagatla , Johan Hovold Subject: [alsa-devel] [PATCH 3/3] dt-bindings: sound: msm8916-wcd-analog: fix example regulator names 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Fix upper-case regulator names in the binding example which do not match the corresponding required properties. While at it, add a blank line after the required-properties section to improve readability. Signed-off-by: Johan Hovold --- .../devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt b/Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt index fdcea3d12ee5..e7d17dda55db 100644 --- a/Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt +++ b/Documentation/devicetree/bindings/sound/qcom,msm8916-wcd-analog.txt @@ -30,6 +30,7 @@ Required properties - vdd-cdc-io-supply: phandle to VDD_CDC_IO regulator DT node. - vdd-cdc-tx-rx-cx-supply: phandle to VDD_CDC_TX/RX/CX regulator DT node. - vdd-micbias-supply: phandle of VDD_MICBIAS supply's regulator DT node. + Optional Properties: - qcom,mbhc-vthreshold-low: Array of 5 threshold voltages in mV for 5 buttons detection on headset when the mbhc is powered up @@ -92,9 +93,9 @@ spmi_bus { "cdc_ear_cnp_int", "cdc_hphr_cnp_int", "cdc_hphl_cnp_int"; - VDD-CDC-IO-supply = <&pm8916_l5>; - VDD-CDC-TX-RX-CX-supply = <&pm8916_l5>; - VDD-MICBIAS-supply = <&pm8916_l13>; + vdd-cdc-io-supply = <&pm8916_l5>; + vdd-cdc-tx-rx-cx-supply = <&pm8916_l5>; + vdd-micbias-supply = <&pm8916_l13>; #sound-dai-cells = <1>; }; };