Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BCE8C7618A for ; Thu, 16 Mar 2023 11:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230040AbjCPLFp (ORCPT ); Thu, 16 Mar 2023 07:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230023AbjCPLFn (ORCPT ); Thu, 16 Mar 2023 07:05:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA1C76C884; Thu, 16 Mar 2023 04:05:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1A11A61FDB; Thu, 16 Mar 2023 11:05:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B8E6C433A0; Thu, 16 Mar 2023 11:05:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678964733; bh=jwdsqFj42Pawn1NF91CaXMc12zQ2/CQZq6KOHz+TFDk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AOvS2dgIC9QgqUFLjiIKRrVFOe987AJjXYAqBEzcaczX3b9qM1h505TNB8EK3PpEZ aHI49DbigXKkh+7n+9NBHP4PffBoOZvLHKe6r994l6kwB5gASJpP/K4L6mn1zf8QAo SFl+jX3sqpHD3IMOFrRSbFyTA2xuOsvhosCQ+udQwC1YwEh1815+j0pcEMuEjPhcen th63Onh11g+ZA6l8b2cGUviZgUxJgSi9tapL7TXBRRS5CL0yIcGK9oCZ+bt2EgncEf fO1EnwZgLYy0YQLFzmoriiW0KlGZxVudHk2wui9bf47bIPTE7b0nD2NLZa7Z1yiHxY +hnKqaTAmNmRg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pclRS-0004wx-Gp; Thu, 16 Mar 2023 12:06:42 +0100 Date: Thu, 16 Mar 2023 12:06:42 +0100 From: Johan Hovold To: Steev Klimaszewski , Bjorn Andersson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Sven Peter , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, Mark Pearson Subject: Re: [PATCH v6 4/4] arm64: dts: qcom: sc8280xp-x13s: Add bluetooth Message-ID: References: <20230316034759.73489-1-steev@kali.org> <20230316034759.73489-5-steev@kali.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Thu, Mar 16, 2023 at 11:26:12AM +0100, Johan Hovold wrote: > On Wed, Mar 15, 2023 at 10:47:58PM -0500, Steev Klimaszewski wrote: > > The Lenovo Thinkpad X13s has a WCN6855 Bluetooth controller on uart2, > > add this. > > > > Signed-off-by: Steev Klimaszewski > > --- > > + vreg_s1c: smps1 { > > + regulator-name = "vreg_s1c"; > > + regulator-min-microvolt = <1880000>; > > + regulator-max-microvolt = <1900000>; > > + regulator-initial-mode = ; > > + regulator-allowed-modes = , > > + ; > > + regulator-allow-set-load; > > So this does not look quite right still as you're specifying an initial > mode which is not listed as allowed. > > Also there are no other in-tree users of RPMH_REGULATOR_MODE_RET and > AUTO is used to switch mode automatically which seems odd to use with > allow-set-load. > > This regulator is in fact also used by the wifi part of the chip and as > that driver does not set any loads so we may end up with a regulator in > retention mode while wifi is in use. > > Perhaps Bjorn can enlighten us, but my guess is that this should just be > "intial-mode = AUTO" (or even HPM, but I have no idea where this came > from originally). This one probably also needs to be marked as always-on as we don't currently describe the fact that the wifi part also uses s1c. Johan