Message ID | 20240220-descriptors-regulators-v1-0-097f608694be@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp264998dyc; Tue, 20 Feb 2024 00:36:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXeflwuAMAXDZibeZfcqQIsHH+joCoEktzaGxFyHNdvSwVsxlzLP05R1hAV2hZxPLSa076WsNPkgIIXimtOWVULQwkWAw== X-Google-Smtp-Source: AGHT+IHe2ATJF+PMInSawM4NYU9M2wVt7dG6hRZ18Gx1U9O2C6aG3L8kgLULpfxjpMZL95Xp4AjN X-Received: by 2002:a17:907:1704:b0:a3e:b0b4:d51d with SMTP id le4-20020a170907170400b00a3eb0b4d51dmr3342082ejc.41.1708418206647; Tue, 20 Feb 2024 00:36:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708418206; cv=pass; d=google.com; s=arc-20160816; b=O9D5jsjFSVE341dIwhI1qabtsj6FYnpPVs5zf+6+8l8Q/WCovsd3PVc4j2m0qP8Gll 0RrIS0+xQfoNujkr3g8ZvLrItXkw2QCSTp7didY+69uOgerLbH3M6GtxjjMAMY1fE7n5 EQ6lgAXDnQsv9I4aB6hCu2wbQ7qJyIx4Xvt+e+lLokGA2NvdBjBMgXbB/X0IerJWgPP3 lKYzNW09ZrJugCSsHjAsGCcIZttfWVdDQAxXYNjhoceTkJ4/IyHZRmCuiGniW90r3VU+ H2uTreQtMu8umBayqGxL5J4Ku+m9+pmi6G4xGp4xUCQ4YEbpWdzS6cIZdcKXiO/Bf7nC Ab9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=PP8e/pyjEKAyyMTaxmA+nBEckgmQt3u+Vn8QnKT04mQ=; fh=j1yS28tmtQOJHnBdCDYBJgx1/yVVBS1Kot++6x+bjk8=; b=WFyPcYqnUZwL07R7lat45OTZAmCHyrjIR+XBU8p5U8R3VD/30kXZTkMCmd8GKqnDYO cKwTzcNqrUyj9MIl/HEvVvaP458Yu1+64+O+deu0glttDKGEVvrzq/nDBeBAR18pEwCe YK62CmiqwSboATYP+ZZAFuOh1EAPT8IhuaKNKlP4YIf4em+z1+2Lrtp74OfLaJNEAWVt u28EdDeJxX4pjYkmG7r2y9fPACLWN3kMwxH9AxFQByUFk6t4Ae3Q4R6d9Gwh/7kQbGwV jaZo3sXTmSOuxD3rIMGhkYXiL72NU0HFKtUnVhewUK8VW8qP9LDBKzSldYFRTVbh72Cg t5aQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bwaIdTol; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qb30-20020a1709077e9e00b00a3e6edb96c9si2187091ejc.849.2024.02.20.00.36.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:36:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bwaIdTol; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72568-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 45EE01F21D13 for <ouuuleilei@gmail.com>; Tue, 20 Feb 2024 08:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A27D5D49D; Tue, 20 Feb 2024 08:36:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bwaIdTol" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0D9F5C60A for <linux-kernel@vger.kernel.org>; Tue, 20 Feb 2024 08:36:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708418188; cv=none; b=SVAJKPYxD2iTYAnFwCJbhSoG9hc6IiogCpBOItpIUQjtg8GKgMjBXitNNL8ZlrWjtUmAnl/ao0TJXcbeUdEylW7y0VSxXKW/FacvB1cgikllDfkj1VD8X4QHek7wIrFWWoGV33dW2ENl7A3ukYZNDVSpjgmEUiLpy/ZR+zD7jHY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708418188; c=relaxed/simple; bh=zsRWoJ/SB8XyCzsGf6M04J3EaKCb+bbpgCXgW9+Q7BI=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=IqO+uOHOJR6u/7NFy/UabSl3+QsR1Mcko6SOqZwXDSUEWVENbeqEmpVPyqvB5fRhaODp4moEN5vl7KE8wBDHiUu7ffVOBoN0lnLhzJXWqDaxgJKRw7k6USoIfiNXl9Ug0lRKgMWhrnNuDcGDkFz/9A2nl4q4FJcZzV/AXQotxo0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=bwaIdTol; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d24a727f78so3814621fa.0 for <linux-kernel@vger.kernel.org>; Tue, 20 Feb 2024 00:36:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708418185; x=1709022985; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=PP8e/pyjEKAyyMTaxmA+nBEckgmQt3u+Vn8QnKT04mQ=; b=bwaIdTolZNxbHAPv+QOGwGbwDJygDIHtiFsCfQlXWBxti3SXoFuqNPqWiHD7JXflKd aORGnpucFXmWZ8lCdzSc1XYuAwP3EqujsHi/xa2Imyk02OMuWUuO3ak6jVSvpCRO9Mg1 mbD644n0zY+ZhLZJEV5+Bs8dGq7udUAquojH0fMhAUNgGT73G7r/JB4qvbS0d2+uCjSl Rlc1iTCXukcQOHIBNGy1+3z0V4AatS5KDZce9Zq/PPP9IkzDyBZl7PLU4OeERDMwPuH7 QfArQXFWtwibnFFHZDMDq4jlAHWgV6yDGFbJWWo5b5GA8a86S6XMn0E+/0QLC0g1uplW cJdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708418185; x=1709022985; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PP8e/pyjEKAyyMTaxmA+nBEckgmQt3u+Vn8QnKT04mQ=; b=ZWH20Ml6+C+AhmmBWBQy7mzo8AVn8EE0brhW7rdLeATXUFl6dJxlbGSgv/qCAa3o/T OuIWdC4wGoJdvDn3Vy/ARuora5zTWGLbLNtUOmJPy6Cq3Ogy9sjxe0hJU9hfqpsT0NJt jL9LMIe0KVH0RwY4oReZ71mkg6ZMz1nppJ9/S++axzmEnH3WDi7yNxrq6yPqbDkAZwyu zNRMnzjnCrdhBhyZOYLkS6HNtBBk2NROniXFd/b2/3JeY8abbSYt2FN06sDfdLlctyad u6YCC/62Nke214X+UR/98vTFKLgyLdZtoE1d1o2158PUPbm7MBAMaw5MkqTa3VUw0jUt 1Dqw== X-Gm-Message-State: AOJu0YyRMaWfDe04uggmQ+du11W8WrFPtQ3IO+X68cC2pHwHbsRSEyih EVQF8HngwWpTXu0QS1SXbXk8TpA3cw7ST+wQOspfwVNuo7eTKUb5jJngNGPg0aY= X-Received: by 2002:a2e:9c94:0:b0:2d2:3902:5bcd with SMTP id x20-20020a2e9c94000000b002d239025bcdmr4848992lji.34.1708418185093; Tue, 20 Feb 2024 00:36:25 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id k1-20020a2e2401000000b002d2468d3bacsm195317ljk.9.2024.02.20.00.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 00:36:24 -0800 (PST) From: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 0/5] Convert some regulator drivers to GPIO descriptors Date: Tue, 20 Feb 2024 09:36:23 +0100 Message-Id: <20240220-descriptors-regulators-v1-0-097f608694be@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAIdk1GUC/x2MMQqAMAwAvyKZLbRFB/2KOEhMa0BsSVQE8e+Wb nfD3QtKwqQwNi8I3aycjiKubQC35YhkeC0O3vrOeufNSorC+UyiRihe+1IxdH2PGKxzA0KJs1D gp46n+ft+maw952gAAAA= To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Support Opensource <support.opensource@diasemi.com>, Lee Jones <lee@kernel.org> Cc: linux-kernel@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791406329337391084 X-GMAIL-MSGID: 1791406329337391084 |
Series |
Convert some regulator drivers to GPIO descriptors
|
|
Message
Linus Walleij
Feb. 20, 2024, 8:36 a.m. UTC
Despite the work to convert the regulator core to GPIO
descriptors, there are some outliers that use legacy GPIO
numbers in various ways. Convert them all over.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
Linus Walleij (5):
regulator: max8973: Finalize switch to GPIO descriptors
regulator: da9055: Fully convert to GPIO descriptors
regulator: lp8788-buck: Fully convert to GPIO descriptors
regulator: max8997: Convert to GPIO descriptors
regulator: max8998: Convert to GPIO descriptors
drivers/regulator/da9055-regulator.c | 48 ++++-----
drivers/regulator/lp8788-buck.c | 64 +++++-------
drivers/regulator/max8973-regulator.c | 36 +++----
drivers/regulator/max8997-regulator.c | 85 +++++-----------
drivers/regulator/max8998.c | 150 ++++++++++------------------
include/linux/mfd/da9055/pdata.h | 13 ---
include/linux/mfd/lp8788.h | 9 +-
include/linux/mfd/max8997.h | 1 -
include/linux/mfd/max8998.h | 6 --
include/linux/regulator/max8973-regulator.h | 6 --
10 files changed, 143 insertions(+), 275 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240212-descriptors-regulators-f455ccf0119c
Best regards,
Comments
On Tue, 20 Feb 2024, Linus Walleij wrote: > Despite the work to convert the regulator core to GPIO > descriptors, there are some outliers that use legacy GPIO > numbers in various ways. Convert them all over. > > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> > --- > Linus Walleij (5): > regulator: max8973: Finalize switch to GPIO descriptors > regulator: da9055: Fully convert to GPIO descriptors > regulator: lp8788-buck: Fully convert to GPIO descriptors > regulator: max8997: Convert to GPIO descriptors > regulator: max8998: Convert to GPIO descriptors > > drivers/regulator/da9055-regulator.c | 48 ++++----- > drivers/regulator/lp8788-buck.c | 64 +++++------- > drivers/regulator/max8973-regulator.c | 36 +++---- > drivers/regulator/max8997-regulator.c | 85 +++++----------- > drivers/regulator/max8998.c | 150 ++++++++++------------------ > include/linux/mfd/da9055/pdata.h | 13 --- > include/linux/mfd/lp8788.h | 9 +- > include/linux/mfd/max8997.h | 1 - > include/linux/mfd/max8998.h | 6 -- Acked-by: Lee Jones <lee@kernel.org> > include/linux/regulator/max8973-regulator.h | 6 -- > 10 files changed, 143 insertions(+), 275 deletions(-) > --- > base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d > change-id: 20240212-descriptors-regulators-f455ccf0119c > > Best regards, > -- > Linus Walleij <linus.walleij@linaro.org> >
On Tue, 20 Feb 2024 09:36:23 +0100, Linus Walleij wrote: > Despite the work to convert the regulator core to GPIO > descriptors, there are some outliers that use legacy GPIO > numbers in various ways. Convert them all over. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/5] regulator: max8973: Finalize switch to GPIO descriptors commit: 4d52f575e258c6f93f4180c21afda8634b0d2af5 [2/5] regulator: da9055: Fully convert to GPIO descriptors commit: e450a2b3a335332d4a51fe10c9fff8150c6e2364 [3/5] regulator: lp8788-buck: Fully convert to GPIO descriptors commit: 95daa868f22b509ad641bf003d9d441d6a2fa505 [4/5] regulator: max8997: Convert to GPIO descriptors commit: 84618d5e31cfd01fc3f53a8c2ebb68bc43d8b760 [5/5] regulator: max8998: Convert to GPIO descriptors commit: f25828a1eae1ee1a9257e2818b237b8208bd383e 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