Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp757127qtx; Mon, 31 Oct 2022 13:08:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4EyrwSejkGKdsYjFEy2FLREbIX8TpImF6KH0mIeJVrGVr3blrnjaa671+EmKOGjrFZSJ0g X-Received: by 2002:a63:ee4f:0:b0:46f:87a8:97ab with SMTP id n15-20020a63ee4f000000b0046f87a897abmr11774532pgk.349.1667246936286; Mon, 31 Oct 2022 13:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667246936; cv=none; d=google.com; s=arc-20160816; b=xy8fwZwxX1HYZE3O3XtquHQvbxjRHxSdgymxzTh4yYdzzM6BPyF7/U6Cp0vucqZTUj g9V3i7F4Kf+KQEg9g974pPOKskDiJlXyKp0/290sVEM9D/YBHUF3xPVGEHaRNF1PO6s+ JRveN3t12vuwth3mkR0gvCWoteINS1kW/h5gj/3cp6692e9QuDOn60UeXeXpzFjuMaNO FFyGDZmH9hQOeC2rOaY7ZcJjhbk0akVkFRbvXbz6rMlWLp5zLfv3AY8hFOSsi++uvnQE t2drEqVytWBYdE/ouPCXM46kmYcmhxM+Yaex6RIBAdPW7RwtDQditeJbC0SL7Hwxfj7p 0NYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kKSwLnbpCyB/18DoJqjZwyB+TKXW0b0/nOG/fNDA0ak=; b=gZVLLbqdiR5InXwGb3rToIYOqPp5yw7STIiIOUijDlh5VL9PzZKSc4gmWwmf//6aaQ CWdd8XoEPzkzIJ+x5PNbl67vh4NfMo90hdVcJq3LaE/11nJ50WjowbaXgR+bnJVAzEj8 imnB9UQCT4bKs4kDopadDSZs+d14/96e4XrjIqeG+ve2Ea0njv/pQIokhnrwoj9DP+rU uyj4vWvwqtQoiu3SZWWfBKfaTZluBT8lpVeegtfEbiSCIHxcCdjLvoKbsjhw8MY26vQX zODNRxl6dDe8tcZwqZZ97kWcfStDRC8qz8f664vWBeHsRMk10n8uNF4j3cKaD22DDE0C w/DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=AU07LhC3; 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 14-20020a63000e000000b0046ee85f1477si10181911pga.712.2022.10.31.13.08.42; Mon, 31 Oct 2022 13:08:56 -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=AU07LhC3; 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 S230086AbiJaTij (ORCPT + 98 others); Mon, 31 Oct 2022 15:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230141AbiJaTiT (ORCPT ); Mon, 31 Oct 2022 15:38:19 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F37F313EBF for ; Mon, 31 Oct 2022 12:38:18 -0700 (PDT) Received: from notapiano (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) 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 11F536602846; Mon, 31 Oct 2022 19:38:14 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667245097; bh=HcD3iJFYh/LzQMrdgMl5U6VmxC4NvEgAIzxRfRabqx8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AU07LhC3To/nN2H7HgWZUnTq5RGaVWJqMPuM/9+0MEfFjKnt5nhmKvxH6gP7SQYNO h1WsKY/8z58bnXIGcqNb8d8XocaFgR9vEKFS8L1/Vzr8YdK3dYd9qSf29nFKhLimOb +hyRjQ0WPXlMS9bB7cAS00TPJux0y2MCGORmlUKC1BXtuwZVGRVKKv9C9rQThjYt4n J7jbIeeo04yV3ol17UUFVwJj2TVXCMjm0e+Vw5qO6eXyUVx7Kuq+TUcw/tUxsNg5nL pYq3dAIsG8E7VZMvFm08LjzdCt6HxlAr5JAK+Jt1/vx8s7l9rZzCR5qRgt/c8BLvbl 05YYDUoi2Amrw== Date: Mon, 31 Oct 2022 15:38:10 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Rob Herring Cc: Mark Brown , Bjorn Andersson , kernel@collabora.com, AngeloGioacchino Del Regno , Jaroslav Kysela , Liam Girdwood , Oder Chiou , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/8] ASoC: rt5682: Support dbvdd and ldo1-in supplies Message-ID: <20221031193810.vdsdndr4ltvhrfel@notapiano> References: <20221028205540.3197304-1-nfraprado@collabora.com> <20221028205540.3197304-7-nfraprado@collabora.com> <20221031163140.h63kjpivwg7xpvs3@notapiano> <20221031190938.GA3264845-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221031190938.GA3264845-robh@kernel.org> 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 On Mon, Oct 31, 2022 at 02:09:38PM -0500, Rob Herring wrote: > On Mon, Oct 31, 2022 at 12:31:40PM -0400, N?colas F. R. A. Prado wrote: > > On Mon, Oct 31, 2022 at 01:09:28PM +0000, Mark Brown wrote: > > > On Fri, Oct 28, 2022 at 04:55:38PM -0400, N?colas F. R. A. Prado wrote: > > > > > > > @@ -35,6 +35,8 @@ const char *rt5682_supply_names[RT5682_NUM_SUPPLIES] = { > > > > "AVDD", > > > > "MICVDD", > > > > "VBAT", > > > > + "dbvdd", > > > > + "ldo1-in", > > > > > > Why are we making these inconsistent in style with the other supplies? > > > > In short because the other supplies already have users while these are new ones. > > My understanding was that new supplies should have lowercase names, following DT > > convention. But I do see the argument on having them all be consistent for a > > single driver/binding. If there are no remarks from Rob or Krzysztof I can > > change it in the next version. > > We want lowercase and consistency... Between the 2, I pick consistency. We could have both if we converted the existing ones to lowercase first, but as I mentioned in [1] this requires using devm_regulator_get_optional() before falling back, which seemed like an abuse of that API and to unnecessarily complicate the code. So leaving the existing ones as they are and just keeping the consistency for the new ones seems like the way forward. [1] https://lore.kernel.org/all/20221028211224.iiphmwrpqqs27jr4@notapiano/ Thanks, N?colas