Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1108264rwi; Thu, 27 Oct 2022 11:14:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dTbjpBJz7PHTtmVreT1gzokP1/Hx/8CZCniUYoikAcrwuGc4YcUfAWxhpoy9Bmm9Q6ocK X-Received: by 2002:a17:90b:314a:b0:20d:904b:18a8 with SMTP id ip10-20020a17090b314a00b0020d904b18a8mr11878463pjb.96.1666894497099; Thu, 27 Oct 2022 11:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894497; cv=none; d=google.com; s=arc-20160816; b=MCV/cddIKIHX0Ev7GTZtNNy6OodQmzRC3hQjIf0j0JJO0CaF6QDJpXVT+uhDEoxZzK /DNfyeh4Q1YTO32zetbiE9a6esXJPNITzNgAf1cRyeTaHMv/rr3E+LU/qbeXndxji189 weg0VUUO/vLCDqy6VqIeo20Oloohw2E8YL+vGpjec306B1P6S9jHp7ElAEDHTywZ01gE mtteGWvV75eemkD8ydUl6FyIrW90QK+4ZjH8gnp2m4i9dNvzbnt9B0AqD6zzDS8u1bfQ TPnbJy6wsnvBJ8hP3x8BXE2EROKcL6cvAExM+U4+M32wIy2GNrwXtk34/UmuUXfX9GAh 9u/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ghnNel5RKIEKXRcO60Bu3zt02+g/FgjrBbtkb59h7Tg=; b=UEue7DSluqGDjKDEqzuXKcA/PAQRvi+F3duJfHUun8ReFKS/T+5LtUPcc61BBkKr0n 0/YbUGd/SQaZ/qT2rndaKOYRkbMmDmdQpN5MMHUFXW1DB8FJzJd/ZIcYCUuzoLjrhBr0 3IRBqlHCLlIJFY1RGwiFzjd1kg5yej77dnM5VA9q51k+4tjo8iDeZbjgQZ2xisofbs8p NW4DHp0ZjwsRms/gffO1VroFwHhIYobhEn2V/T7jKzibOezpirnUS9H5a+72Iiqqkzzt SdbdgdrHw41mbE/FdczdFKyGWENZ66feUQSvvwlQX5B9Mm9mIeZ4qGdjf1+57q5V/8dU qlXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Nl9cV5hY; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pq2-20020a17090b3d8200b0020038eb8b5asi2433507pjb.21.2022.10.27.11.14.43; Thu, 27 Oct 2022 11:14:57 -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=@chromium.org header.s=google header.b=Nl9cV5hY; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235169AbiJ0SLX (ORCPT + 99 others); Thu, 27 Oct 2022 14:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235822AbiJ0SLV (ORCPT ); Thu, 27 Oct 2022 14:11:21 -0400 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8281AE27 for ; Thu, 27 Oct 2022 11:11:20 -0700 (PDT) Received: by mail-vs1-xe36.google.com with SMTP id l190so2075344vsc.10 for ; Thu, 27 Oct 2022 11:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ghnNel5RKIEKXRcO60Bu3zt02+g/FgjrBbtkb59h7Tg=; b=Nl9cV5hYd2NWV2/as5lCXgG/I8Z11C0iPyKcAP0GszGBIl6USl/ycrM5NQHq9QaKsB lGnxoZfgdTx+oAjyswEeet279YE8dI0Rr3tICwth/e9xjOpgr2VA8dX0qKPYoeGbiqkh SQ3ZDkD8lRd/peA5QVJ0LYpGrxJp/3AcCEsIQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ghnNel5RKIEKXRcO60Bu3zt02+g/FgjrBbtkb59h7Tg=; b=ExDYbf++s00FSCQ8/iarXmuotdQkEVcOkaDVZTU8963bkKq4K9lqQUWyBDuXeIQTBx hi6PIsXzzSzJDH64fGh0P1MjX4qlkL9F26yvkSI8xUkVQ2zmzvI8eEn7tbMe7jn9+CGS 6eSN7PPJs4OZ2P+ArsQy76ZRE5Rue7VuH+NLkNwX8LVdJE62KS8sKqLdYjBiT7TZTBO6 Kh1wCwtSI4vmj0O4hZVCJRpLUIvpmDB4SsXqpRwXVG/Mv6lw4/F5PQ082M+AlXBCza4X LwA53buRsS9T1Rt1MxnFzoNOuO2gZPyQyygzP3OqIbF82Olt+Y95kD76quC4bKsSEl7k s0cA== X-Gm-Message-State: ACrzQf2dxyjWBgn+hxWATFCl5BCol/zLjkUUN+mNl+zjPm/R3oeMDhD/ ylxOYnwvuzNwIb2YhZcZy7BGi7BVbdJgEDuhHBG1kWYlOsQ= X-Received: by 2002:a05:6102:3ed5:b0:386:91a5:a246 with SMTP id n21-20020a0561023ed500b0038691a5a246mr28545900vsv.26.1666894279657; Thu, 27 Oct 2022 11:11:19 -0700 (PDT) MIME-Version: 1.0 References: <20221024220015.1759428-1-nfraprado@collabora.com> <20221024220015.1759428-3-nfraprado@collabora.com> <20221027143627.nbbketezqunkclxh@notapiano> In-Reply-To: From: Chen-Yu Tsai Date: Thu, 27 Oct 2022 11:11:08 -0700 Message-ID: Subject: Re: [PATCH v2 2/4] ASoC: dt-bindings: realtek, rt5682s: Add AVDD and MICVDD supplies To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Krzysztof Kozlowski , Rob Herring , Mark Brown , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Derek Fang , kernel@collabora.com, AngeloGioacchino Del Regno Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 On Thu, Oct 27, 2022 at 10:48 AM Chen-Yu Tsai wrote: > > On Thu, Oct 27, 2022 at 7:36 AM N=C3=ADcolas F. R. A. Prado > wrote: > > > > On Tue, Oct 25, 2022 at 01:12:49PM -0700, Chen-Yu Tsai wrote: > > > On Mon, Oct 24, 2022 at 3:01 PM N=C3=ADcolas F. R. A. Prado > > > wrote: > > > > > > > > The rt5682s codec can have two supplies: AVDD and MICVDD. They are > > > > > > The actual chip also has LDO1_IN (for digital core and charge pump) > > > and DBVDD (for I/O). However in the Chromebook designs these two > > > and AVDD are all provided from the same power rail, through separate > > > filter banks. > > > > What about rt5682 (no s), does that chip also have these same supplies? (Missed this question) The RT5682 has the same supplies, plus the VBAT one. ChenYu > > Also, since you already gave the purpose of these other supplies, could= you also > > tell the purpose of AVDD, MICVDD and (for rt5682) VBAT? That way I coul= d add > > some description for them in the binding. > > As Mark mentioned in his reply, these are quite standard names. > > AVDD is for the analog bits. MICVDD is for the microphone bias. > VBAT is called battery power in the datasheet. The block diagram > shows it going through an internal controllable LDO whose output > then powers MICVDD. This could be used in designs that don't > include a suitable external supply for MICVDD. If MICVDD is provided, > then one would turn the internal LDO off. > > So either VBAT or MICVDD has to be provided. > > ChenYu > > > Thanks, > > N=C3=ADcolas > > > > > > > > Neither does the datasheet specify the ordering of AVDD, DBVDD, and > > > LDO1_IN for power sequencing, just that three should be toggled toget= her. > > > > > > Should we model these? Or wait until some design actually splits thes= e? > > [..]