From mboxrd@z Thu Jan 1 00:00:00 1970 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 E0099C4332F for ; Fri, 23 Dec 2022 13:08:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236052AbiLWNIZ (ORCPT ); Fri, 23 Dec 2022 08:08:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbiLWNIW (ORCPT ); Fri, 23 Dec 2022 08:08:22 -0500 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF0613FBA for ; Fri, 23 Dec 2022 05:08:18 -0800 (PST) Received: from SoMainline.org (D57D4C6E.static.ziggozakelijk.nl [213.125.76.110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id D5DB63EF10; Fri, 23 Dec 2022 14:08:15 +0100 (CET) Date: Fri, 23 Dec 2022 14:08:13 +0100 From: Marijn Suijten To: Konrad Dybcio Cc: phone-devel@vger.kernel.org, Bjorn Andersson , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , Andy Gross , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] arm64: dts: qcom: sm6125-seine: Provide regulators to SDHCI 1 Message-ID: <20221223130813.qk7thawdueugb5z4@SoMainline.org> References: <20221222203636.250190-1-marijn.suijten@somainline.org> <20221222203636.250190-4-marijn.suijten@somainline.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-kernel@vger.kernel.org On 2022-12-23 13:00:18, Konrad Dybcio wrote: > > > On 22.12.2022 21:36, Marijn Suijten wrote: > > While SDHCI 1 appears to work out of the box, we cannot rely on the > > bootloader-enabled regulators nor expect them to remain enabled (e.g. > > when finally dropping pd_ignore_unused). > > Unrelated, unused-yet-enabled (as far as Linux is concerned, anyway, > it doesn't know the state of smd rpm regulators unless you add > regulator-boot-on) regulators get swept by "regulator cleanup". That's exactly the point made here: at least this way Linux knows that these regulators should remain enabled. Even if it doesn't know about many others and would fall flat on its face regardless when disabling others as part of regulator cleanup. Unless you meant something different? - Marijn