Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp377418rwi; Wed, 2 Nov 2022 13:03:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7yV4r8akH5XjgER+CZMZbQVh3Xs6M2ZJ/p7I57zoa/viUpUepl6ZytXmOa5hxcIwNWp7tC X-Received: by 2002:aa7:81cf:0:b0:561:7d72:73ef with SMTP id c15-20020aa781cf000000b005617d7273efmr26795728pfn.16.1667419387930; Wed, 02 Nov 2022 13:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667419387; cv=none; d=google.com; s=arc-20160816; b=OQDQ4/evNQQpR4ztsTrvo55RO5CmXBfxN1fIfz4nGlgx5vNkSMQ3Yk/7Mp0CrU8uB/ 3K/PBDlfC7sA5HpI8Q7tjIMqE+UiXO2m/0wvOzMTWnqNNOioDw1ZhaBVUHOixknlYkHy uMusPLzFK29o5n5ySzG/cMVuE7uYpmWvQaypYDAwUw0P39M0C4qxIW3qw7nGuxWt6LQS EKBQ9sJOzUw37HrX82vJaTOvaj+H8sczbn9zm8pS3NOfPLVBA4lPpbFjw7rbqCqyK20s RJKkwkhiB9f2GvXfpTflxokcZnksv2u+ZFfgBUqr1vdbTzg4nMqXz5XfBSjup9NN6QwI S95w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vBMAYy3nm+SnpMooVzmF+pO1aBcxzam8QLqa/wOlC3c=; b=akm2c3SaCBjpZ5+CnHeUz8fUkfdusZ6lx1UgCBRlgf8MbT0CaZiTqs+YboD+GJvkqs 2km8YThmw4VZpfjZbU5NZ/rVWC7ZucNhDaB2TUw8caTPx5HIu3xGJxS4bjxd2B7N2AiM 2UzOYxceeZX8/zVLt+nlonscsFSVpPQlKchWw+5iW89d/ZPzC5keNtVmhj6MaZbuv4Kx Pk7gOCRCZl6AlyllwPfSuwZAI0FqHL6/pVEtTi2nRAXKB+7Q2BTfc/m2ewrHbr5r8tq2 DWs+6pjSn3hBzKswxQICOo/gMToqxWn/bjmPW46l4t8FscMnoIYg//oRrecZe8YI0Ssc Jg6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LqLVraj7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a17090a868c00b001fe4eebefe5si2702696pjn.135.2022.11.02.13.02.53; Wed, 02 Nov 2022 13:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=LqLVraj7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231491AbiKBSUZ (ORCPT + 98 others); Wed, 2 Nov 2022 14:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231204AbiKBSUO (ORCPT ); Wed, 2 Nov 2022 14:20:14 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33C0E2F02A; Wed, 2 Nov 2022 11:20:14 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [IPv6:2600:4041:5b1a:cd00:524d:e95d:1a9c:492a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id AFC3066028E3; Wed, 2 Nov 2022 18:20:11 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667413213; bh=aHKXHg5yRWCszz4RN5TUFELZQbFWp0LXSet1RHes8lw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LqLVraj7daBs/qNGOyMgszO7PYrOjdyFfjnFJkoiTC/1Jxm/fdHpn0MZNNjV/xUG1 b3Z+YeiUD0HOls+xF1xUB8EfRTcIy/2diBZJonReDRRWGhA0t29hD/yq0j1MYKI4b9 eu/eJZCBtewDSvaKdl0j7KdrJS72+y7SaCc1xlT2boF2tHuejdDD0xlja5TjdcC/ol 1y6pTQcLfzmyYA6AMGsydD7QgHx/yyqfVxIa9rZx24pTRUl/i1MuQ8gZh2ET6VQzFF MNb1qX2O0oXwypUhidFIpRE4syMtSyg6o0s4pUfbFJxnVhvCW0C5V1aav0HiKUUUMh iDE4Mo2/OxTPA== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Chen-Yu Tsai , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Krzysztof Kozlowski , Liam Girdwood , Rob Herring , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/8] ASoC: dt-bindings: rt5682: Add AVDD, MICVDD and VBAT supplies Date: Wed, 2 Nov 2022 14:19:57 -0400 Message-Id: <20221102182002.255282-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221102182002.255282-1-nfraprado@collabora.com> References: <20221102182002.255282-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The rt5682 codec has three supplies - AVDD, MICVDD and VBAT - which are already used by sc7180-trogdor.dtsi. Document them in the binding. Acked-by: Krzysztof Kozlowski Signed-off-by: NĂ­colas F. R. A. Prado --- (no changes since v1) Documentation/devicetree/bindings/sound/rt5682.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt index 6b87db68337c..89e6245b870e 100644 --- a/Documentation/devicetree/bindings/sound/rt5682.txt +++ b/Documentation/devicetree/bindings/sound/rt5682.txt @@ -8,6 +8,15 @@ Required properties: - reg : The I2C address of the device. +- AVDD-supply: phandle to the regulator supplying analog power through the + AVDD pin + +- MICVDD-supply: phandle to the regulator supplying power for the microphone + bias through the MICVDD pin. Either MICVDD or VBAT should be present. + +- VBAT-supply: phandle to the regulator supplying battery power through the + VBAT pin. Either MICVDD or VBAT should be present. + Optional properties: - interrupts : The CODEC's interrupt output. @@ -75,4 +84,7 @@ rt5682 { clocks = <&osc>; clock-names = "mclk"; + + AVDD-supply = <&avdd_reg>; + MICVDD-supply = <&micvdd_reg>; }; -- 2.38.1