Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3705780pxk; Tue, 29 Sep 2020 04:19:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp/JO0ishZGVWeRYupNxJFwHvN2NRwoBiJ3pucwRMWhURTXw9EOK/ZFFqsw4m8MAfMWzgd X-Received: by 2002:a17:906:354d:: with SMTP id s13mr1409094eja.322.1601378343094; Tue, 29 Sep 2020 04:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601378343; cv=none; d=google.com; s=arc-20160816; b=JOA5CFi69Bnm9j8I2wm2S65DHLB6J7RBvmRaga3CzOGMju0GEyzVgUNN4GJw/rVnYc 4xfQmoi34kcMb+u/IUDhO1rJ1dDTGcfu3srFnU9TcklsahlBPcWooNYaewZZrK6DdA9a nHzGUSBAQPz5ir+IkvJvMVU4LCbkfbUQHEQ4TZtnLI4wXdmlZx7XoxF1PU2GXMpT0ZC1 Q0hf+ZaFxjR3//jK5KlRdQxphy7UH3Vs4Kk2lpDs9HeoQ1lenvfEo++cuRkkl1QT3ZgN skBGi7PDoOIxjmUGQn8AlOPYjXH8+CWPJWFEf9r1Z3ZIKf/bNS9afA0uBppESvvKH760 4Mmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=h2nc4uzrKPmvTCHQsMgzRXljmPGPRLrWz6idBMWQY8U=; b=v2t4+tE8Xvx9ARotDwGPhxQsKaIi/rXj6ed05kVtzkJ0yj9vURjMMIgzZmL+xt6wyM s96YXHLp90CbaAykNUR5/Ily/QhNtcS+8RFqJ7aSROpXU/SZFMnf9d5PdzigbRFLoIfz IulH8jwb7+1Q6xxrCd22vap81lr6r5HpEq/bxGLySUlt3oPxiJW1V7xyaY2X2+/DJhPR l+T+TCteNX1eQHTNIXdaYRyncoN+otP0f1gSpqOqTWEF47JPiSXsn8oB+h+Y0vSaKn3F QEn4wGnNA/KcjScsKFrRmFYCN4J8xf0RBc15PYzs6+JdI9U8ed82sX0+V5B/0pxYseKU S19g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VRQIaEgv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mb22si2595141ejb.475.2020.09.29.04.18.40; Tue, 29 Sep 2020 04:19:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VRQIaEgv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729653AbgI2LRg (ORCPT + 99 others); Tue, 29 Sep 2020 07:17:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:34212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729301AbgI2LRV (ORCPT ); Tue, 29 Sep 2020 07:17:21 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4F8F8206DB; Tue, 29 Sep 2020 11:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601378241; bh=JhkyNonEfdkzvlR7tiCFHlN7ZQwpU6Pomj+ZQSfG9BQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VRQIaEgvQUpOpJqFaAg95OXj8xDRKtW6SQCB6GPx5BqmdqDLQR0E612XBIeQzHeNq 3rq+etiFWDoTn9Ubvect1cF7LRYpUv2+Zk9f+vxTMwAL3c2UfPBBNeh10zLJx+qoMG WVvN+Uqf9Z7JSWkrJZTyICNaK05HIPlaYesioSYA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonathan Bakker , Krzysztof Kozlowski , Mark Brown , Sasha Levin Subject: [PATCH 4.14 110/166] dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion Date: Tue, 29 Sep 2020 13:00:22 +0200 Message-Id: <20200929105940.694714967@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929105935.184737111@linuxfoundation.org> References: <20200929105935.184737111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski [ Upstream commit 8c149b7d75e53be47648742f40fc90d9fc6fa63a ] The required supplies in bindings were actually not matching implementation making the bindings incorrect and misleading. The Linux kernel driver requires all supplies to be present. Also for wlf,wm8994 uses just DBVDD-supply instead of DBVDDn-supply (n: <1,3>). Reported-by: Jonathan Bakker Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20200501133534.6706-1-krzk@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- .../devicetree/bindings/sound/wm8994.txt | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/wm8994.txt b/Documentation/devicetree/bindings/sound/wm8994.txt index 68c4e8d96bed6..b309de00cd836 100644 --- a/Documentation/devicetree/bindings/sound/wm8994.txt +++ b/Documentation/devicetree/bindings/sound/wm8994.txt @@ -14,9 +14,15 @@ Required properties: - #gpio-cells : Must be 2. The first cell is the pin number and the second cell is used to specify optional parameters (currently unused). - - AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, CPVDD-supply, - SPKVDD1-supply, SPKVDD2-supply : power supplies for the device, as covered - in Documentation/devicetree/bindings/regulator/regulator.txt + - power supplies for the device, as covered in + Documentation/devicetree/bindings/regulator/regulator.txt, depending + on compatible: + - for wlf,wm1811 and wlf,wm8958: + AVDD1-supply, AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, + DCVDD-supply, CPVDD-supply, SPKVDD1-supply, SPKVDD2-supply + - for wlf,wm8994: + AVDD1-supply, AVDD2-supply, DBVDD-supply, DCVDD-supply, CPVDD-supply, + SPKVDD1-supply, SPKVDD2-supply Optional properties: @@ -68,11 +74,11 @@ codec: wm8994@1a { lineout1-se; + AVDD1-supply = <®ulator>; AVDD2-supply = <®ulator>; CPVDD-supply = <®ulator>; - DBVDD1-supply = <®ulator>; - DBVDD2-supply = <®ulator>; - DBVDD3-supply = <®ulator>; + DBVDD-supply = <®ulator>; + DCVDD-supply = <®ulator>; SPKVDD1-supply = <®ulator>; SPKVDD2-supply = <®ulator>; }; -- 2.25.1