Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp159257rwb; Tue, 25 Jul 2023 13:37:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEwSHUrWAGMtEwmu5mCkI/qzFCqZWtk8Ca2eVwcJ5C7nYdnvgQm0MlYlKg0TMc/CaxhDeY5 X-Received: by 2002:a17:902:d4c9:b0:1ae:626b:475f with SMTP id o9-20020a170902d4c900b001ae626b475fmr303653plg.12.1690317461744; Tue, 25 Jul 2023 13:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690317461; cv=none; d=google.com; s=arc-20160816; b=PvF9Xlo9p6Z4U2bDKNnDRACp0x9u+2InGAVwSWobdR/JSAtIyt2hOZDGC0zTgSTCVZ FPR3azc1D/wPT4EwZjeTONBwMIS4pILIE1hp6bAZ4Nf/FgbRMiKu74yWf1eo2zlsfumZ JG7Za5ojfvVHOxeBQyqYRvOt3ZRRSLc3+9kY8A6ig27Svm7TofMHRZoo6zr2yvMAXeJf 3NhpZmWAktUndWLnRoUztYqjznn2IJJHGGRBT6PArmFgd4esqr6d06NOPc0EOnAHJrhG svl04hOkdnd79HzdhE/Q5n1W9JG/USk/vERLzn04YhPVbBAg+hhlDZ/645psDZRGYi3K c+UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=0bzMxQ929O7F3RCW99D4XK66L1+jf2BP9yqJ/FmWc1A=; fh=yJP/VS3o6FCGlDfu254NvT2nY0S5JNTQm6a6n+b3UwA=; b=oP1dMd1wNTt5BFa1e9QY/wjZbFhLmUZRv6E+Xn+7/9uj3A9MjO3Kwx0lzxN+Ops446 bjD4TISRti3SS408NCknDSUIziWmufnDueWasTSC89B+cHJfZyJ6qRFR5xDK8bLkWrNh RR8PrZSWaIxF3/8jXRcle/0qKKWwZEkGO7PLtmismfsicSVymvaykw6i/yu33lixl/EN 6MwnC4zTM22tVTC+BXKiTyNb7t73DfGi3k74fVrbFPHO8Ufce/RR4HtYCkn1IZ9S+qse 8ggN2ZWN99SbJy9WhCEuvhFxsIVXJjIvKLAwsueihR/GgRT3RIP3qJ7ulsXxAj8BDnVq jm/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C2Ky7VZW; 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 b7-20020a1709027e0700b001aaea258805si759683plm.134.2023.07.25.13.37.28; Tue, 25 Jul 2023 13:37:41 -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=C2Ky7VZW; 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 S231167AbjGYUYE (ORCPT + 99 others); Tue, 25 Jul 2023 16:24:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229922AbjGYUX5 (ORCPT ); Tue, 25 Jul 2023 16:23:57 -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 A71C62125 for ; Tue, 25 Jul 2023 13:23:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3638A618C4 for ; Tue, 25 Jul 2023 20:23:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9C4FC433C7; Tue, 25 Jul 2023 20:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690316632; bh=gG72119h7FAYQdi8Nq5wXomT6VcOlyBbkc1rgAkFy68=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=C2Ky7VZWC6qCQV2Qk9xw1LlvMFQ/Ql3XdMJNBfLYSHcqAaU1ySH4EZsT8vbbvIT5E zQBkIMWV2em7L0JxciTgfhNTtkBO00G6EDokN7wWUgIRubXUJggfIB+uOTMRskSmq4 VICv3wbGWzqMTErXJs1GAa9s/kzsedgxFq8655Bz0Ug8UjlFLIptBB9kLoWLCXRGEB JXdiNWJp2ML8aF5Rp/fZFdCmlt4yxOMZm5luft3Sp663BtZQl9SbXEJgzduwfHurF2 tjyg2jxJFFLdQVnxKZSMnj+LihRpWRUFW2e4FyQGQ8Vxa19wfXysrQQKGBYyT/+W7A mYmOo3UqV/37A== From: Mark Brown To: Liam Girdwood , Manivannan Sadhasivam , Cristian Ciocaltea , Matti Vaittinen , Bartosz Golaszewski , Chen-Yu Tsai Cc: David Laight , linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org In-Reply-To: <20230714081408.274567-1-wenst@chromium.org> References: <20230714081408.274567-1-wenst@chromium.org> Subject: Re: [PATCH v3] regulator: Use bitfield values for range selectors Message-Id: <169031663040.1614869.7587282767286947756.b4-ty@kernel.org> Date: Tue, 25 Jul 2023 21:23:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-099c9 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Fri, 14 Jul 2023 16:14:07 +0800, Chen-Yu Tsai wrote: > Right now the regulator helpers expect raw register values for the range > selectors. This is different from the voltage selectors, which are > normalized as bitfield values. This leads to a bit of confusion. Also, > raw values are harder to copy from datasheets or match up with them, > as datasheets will typically have bitfield values. > > Make the helpers expect bitfield values, and convert existing users. The > field in regulator_desc is renamed to |linear_range_selectors_bitfield|. > This is intended to cause drivers added in the same merge window and > out-of-tree drivers using the incorrect variable and values to break, > preventing incorrect values being used on actual hardware and potentially > producing magic smoke. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: Use bitfield values for range selectors commit: 269cb04b601dd8c35bbee180a9800335b93111fb All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark