Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp174630rwe; Wed, 31 Aug 2022 00:11:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6KlK02bLnTAK6vRK/fvNQoGp+tFHU/haPhuLj7c0JGHtY+dip/jtxHC2Q1XgX4wbytD3k3 X-Received: by 2002:a17:907:8a14:b0:731:2198:627b with SMTP id sc20-20020a1709078a1400b007312198627bmr19590887ejc.635.1661929915901; Wed, 31 Aug 2022 00:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661929915; cv=none; d=google.com; s=arc-20160816; b=iQCAm0W/6MwDxd2MHGawxQZ186/5heR30S6eyKp7+VHQ78IhlLdhDBNr7XOAfvwdYW cMrKjDTHCBR/xedyoNj4idfdMTqkOW0Dk49zXVSrGJkNuoz1qJyn9lrLE72536WGeZcd 7rQtWTiU1Lv6cXYAIAlPFJdWWVohMUEoW3mMFToU4feG+33zrKTKr4lnrfAJX1SLWLJb Qj9xAGAgxEjZ706ZOQ2jEhB7xXK+KZ8+GtMbw9z9lb09RPpjNDbMmiaAE89CJ9H79/Ov llOyh9i1whymT6k5vWTtdOjVEj5OOqK/Jw4sQCiZzB7eaF94ZWySszHuWxHrLxHI5I1/ Sv1A== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fkjPxLnO4Wz1knNlhpPfqgIhKkuIFF8wZlmLWDaJ9GU=; b=LiUHPwGQE9e6ZQvRPu/4TErWto34nFXP/qjCxlCCUVvUXHPVcx9OCVP5YKK0P8FUFj Z6kpImnet/U77J2U6k2UVl2RYQon4PaOxUtTwR8i3MJydUU42Z0eKmttvirbZtL1eSgz Q7RyqvYQqbmQ0lqeXM93dFGSG6TAzsRkNUr/UPD1yXgQyX3WFFBKi2Xh/3raQJY45d8H 2GJQig4JONozE7irOysX0VhLqqZoPNl21hA3LA28TcuMbTtSDGyODNBsbEohED8VFAuW hwj8MgWZECPyk5hWuY8D492YddYRTqSwWZvhiC9OX41eyibQ9prTRrSklho2RRc7dlSX OTwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NOfhrR8P; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v22-20020a509556000000b00447978abf00si9512082eda.226.2022.08.31.00.11.18; Wed, 31 Aug 2022 00:11:55 -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=@kernel.org header.s=k20201202 header.b=NOfhrR8P; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbiHaGrx (ORCPT + 99 others); Wed, 31 Aug 2022 02:47:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbiHaGrv (ORCPT ); Wed, 31 Aug 2022 02:47:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2B222A414; Tue, 30 Aug 2022 23:47:50 -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 7FBBE617B7; Wed, 31 Aug 2022 06:47:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D57E5C433C1; Wed, 31 Aug 2022 06:47:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661928469; bh=HZIF+ZpDbGsuUfg0vvXTrqAXedY4CM7K9UO0N25BY0w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NOfhrR8PP9pKn5SL/u5aF4CK8VJX+734bfqaYFkg1XnZYnhuQ/M20BciLdqNVLFKq jp6uCkk/yYS5HlvZgepLtO7S0Y685wB78jPVjQRWCX1hO3YO0DaZ9qBh1mFwBIJ5Lm FO8+HJCViDLpyr3fzAdigfHjLG1iuEywlGvumfdLONhw7bRJC27CIZe3yNu49hUfIo EBcP5aTuuQW9xoubzcCHeclYyjDX/0mHN/iKEszCH3+7fG7xWUsZjNbgxggX2QFajN Ej3Jm0aFOndZlVgsUYl75eqLAZP5a+iQp0zWkCemwsHE9wsPCOlj2LmrGJa0cNy0Bd Yy4Ar7B4Pqddg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oTHVr-0006GG-98; Wed, 31 Aug 2022 08:47:47 +0200 Date: Wed, 31 Aug 2022 08:47:47 +0200 From: Johan Hovold To: Douglas Anderson Cc: Bjorn Andersson , Andrew Halaney , Mark Brown , Andy Gross , AngeloGioacchino Del Regno , Bhupesh Sharma , Johan Hovold , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] arm64: dts: qcom: Fix broken regulator spec on RPMH boards Message-ID: References: <20220829164952.2672848-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220829164952.2672848-1-dianders@chromium.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, Aug 29, 2022 at 09:49:46AM -0700, Douglas Anderson wrote: > Prior to commit efb0cb50c427 ("regulator: qcom-rpmh: Implement > get_optimum_mode(), not set_load()") several boards were able to > change their regulator mode even though they had nothing listed in > "regulator-allowed-modes". After that commit (and fixes [1]) we'll be > stuck at the initial mode. Discussion of this (again, see [1]) has > resulted in the decision that the old dts files were wrong and should > be fixed to fully restore old functionality. > > This series attempts to fix everyone. I've kept each board in a > separate patch to make stable / backports work easier. Should you also update the bindings so that this can be caught during devicetree validation? That is, to always require "regulator-allowed-modes" when "regulator-allow-set-load" is specified. Perhaps at least for RPMh as it seemed you found some cases were this wasn't currently needed (even if that sounded like an Linux-specific implementation detail). Johan