Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1925784lqo; Mon, 13 May 2024 02:39:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvi989m80B4Ue7zr1wVVfEG85OqLH+CE3w5zTEKx+W8ydTqJu5XvVsrq8bx9y92zSJs17VJRCGN+pyE3YhFKZhO2O83Fa/kaCkhYiBFA== X-Google-Smtp-Source: AGHT+IHmaprzPtOGjrKIjLuL+FCL6T9nEFP1gsEcCryJAJtdRHUgUMfP05AIszbaem4AjDk7ZJyq X-Received: by 2002:a05:6830:1642:b0:6f0:e6c4:7cb with SMTP id 46e09a7af769-6f0e903d924mr9145259a34.0.1715593159282; Mon, 13 May 2024 02:39:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715593159; cv=pass; d=google.com; s=arc-20160816; b=RYWljW8CJlWJjfSOY0ShieoV68X3d2FcYARIVuhN2VeE2yfHE4kfwWB/8E0OGRYdIw eGtjP6e7GY3a9YGih20nMG8cRKJLKSaHpkzt7Vog+gCWpNEnsY7qSJEJ0+yMIA+91s/0 uRqj35Wc4a6IJaI/7abkS2CYm7FypBURnlKz2qL04DmJyv30O2oX+22xrWvxMF3JutpF 1cnuIOs/l8SXyIeifWg9rjo4zx0mozhhReuN9a7uMtOlpYrnd/d7YzNf2eygG/VaEnbz 0hF9cAfoSDkPOEF9canpTFtZuy1qCvmT7fMPvuTJZUoVVKh4QuSXYJiGLvXRfZOqK3G0 S1Tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:date:subject:cc :to:from:message-id:dkim-signature; bh=yOoU0qGF8uDobyNMrwjpoIP481WO7NtxKZyPw1Z0Tyg=; fh=WK1LEXAc87PLSrne3w6/Ikx0Mvyfd5VuRQd2izHvTAQ=; b=VCZ3w9I5TX9bj5v7zWTYtc0ZzLPtcAXfvPDRkCv6UyBj+x06ziqfxyx2o0gDGma1Nl tWmWu/XC546UgtenToNtGZeuBjhCjs7/ahSacgaKEZERrrrMNfd5l5+EUPmGUemwnIrO +b1FrFUr/ftUxCcRQIi3O6HSDelFzPCc1hwQkDvNjrizt9Ix8hcn37zZO4rp02WDxXLz 36KcnPoHEwdGKDmmpN3w5vR0u1g0erunYqFs9CgWXyCFvJZACF/JBUezxzMkvG8HJrFl juBTAPbsILys/OL59uBTKK1jBwHuNyiPMnJA/aOPw1MyHv+JFVxu8v01D97jbSuUeYYd cOaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PtMF78SF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-634103f6ff0si8787119a12.279.2024.05.13.02.39.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:39:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PtMF78SF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CA2F8281FE9 for ; Mon, 13 May 2024 09:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DD6E1487F4; Mon, 13 May 2024 09:39:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PtMF78SF" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99A8A2F875 for ; Mon, 13 May 2024 09:39:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715593152; cv=none; b=YHk0kNYv20SQ2t7nOANjKQjQGUTm/QhEdwfLjp8eugEvOCJbJo/DeJcHBP5FhPkyarLdL4iX1A0aytiQatRpRCOUjrhqYZsjnyWNI1QUPjqXyBzuzhUhiE878XG2rhbTxwIoUyorslmM7gl3u3JVA9abpeqIw8ASX/Vl6j2bka4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715593152; c=relaxed/simple; bh=RMaVpGtWTDF/EyWq1wtwfA7IKJ8BrYaDxt7v9A3r8z0=; h=Message-ID:From:To:Cc:Subject:Date; b=cA6UqOsROgfHgkq7GFMa8XN56tMioZkO+7T5iSJV/BzrhcgZzU7htmrH9Qdul/jkirkSalleClEKh0vilseAalnXfF7ayALktGoIrtHrvMisGUS2ylCyPOfD/RHQdoL8MrMKwmrZWc/WjKGzNjjYfY6C/2fTiZsoP1Qyykqyd3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PtMF78SF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FE68C113CC; Mon, 13 May 2024 09:39:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715593152; bh=RMaVpGtWTDF/EyWq1wtwfA7IKJ8BrYaDxt7v9A3r8z0=; h=From:To:Cc:Subject:Date:From; b=PtMF78SF7OqWjVe3bp821bf54Bp10rQHjrQTtOTnbPAptL8zLpQ8parXEY0m5gX0i a7gCHJTh5ETqHzgWnrUA628/HN8m70SSGGAXWFWezzdJetZ4iSy4g8Cfzo/L1xiNzR Aoxz5OsfyfCEFSGB7rGnQV4oZY3vxMoXF95ik3gfUVri6O5N1k6zbEauWNtw9Q1X16 SnUvsrkeRUdoEASsZ0ZjbqJ65DoDZJkJzV1LJgwej6i5rADzNyk4foO1hlBKhw5LKQ 8k/63hky6EK6eAvIUm52ewjFp1XzngLQmt+604aCQsehwrPw9tVkLl/mOHFZZF9XGZ bU1OtgIC1SaJA== Message-ID: <969a662f066e8d49507ad947e3d7477a.broonie@kernel.org> From: Mark Brown To: Linus Torvalds Cc: Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] regulator updates for v6.10 Date: Mon, 13 May 2024 10:38:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7: Linux 6.9-rc3 (2024-04-07 13:22:46 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v6.10 for you to fetch changes up to 4e70b26c873dfff317039458a6ea66314bbdce99: regulator: sun20i: Add Allwinner D1 LDOs driver (2024-05-09 17:44:01 +0200) ---------------------------------------------------------------- regulator: Updates for v6.10 There's one API update here, a new API factoring out a common pattern for reference voltage supplies. These are supplies uses as a reference by analogue circuits where the consumer requests and enables the supply, reads the voltage to calibrate the user and then never touches it again. This is factored out into a single operation which just returns the voltage and uses devm_ to manage the request and enable portion. Otherwise this has been a very quiet release, we've got some new device support, some small fixes, housekeeping and cleanup work but nothing substantial. There's also some non-regulator changes in here, a number of users for the new reference voltage API were merged along with it and some MFD changes were pulled in as dependencies for new driver work. Highlights: - Add a new API for single operation handling of reference voltages. - Support for Allwinner AXP717 and D1, and NXP PCA9561A. ---------------------------------------------------------------- Alina Yu (1): regulator: rtq2208: Fix LDO discharge register and add vsel setting Andre Przywara (4): regulator: axp20x: fix typo-ed identifier dt-bindings: mfd: x-powers,axp152: Document AXP717 mfd: axp20x: Add support for AXP717 PMIC regulator: axp20x: add support for the AXP717 Bo Liu (13): regulator: da9121: convert to use maple tree register cache regulator: da9211: convert to use maple tree register cache regulator: isl9305: convert to use maple tree register cache regulator: max8973: convert to use maple tree register cache regulator: mt6311: convert to use maple tree register cache regulator: pca9450: convert to use maple tree register cache regulator: pf8x00: convert to use maple tree register cache regulator: pfuze100: convert to use maple tree register cache regulator: rtmv20: convert to use maple tree register cache regulator: rtq6752: convert to use maple tree register cache regulator: tps51632: convert to use maple tree register cache regulator: tps62360: convert to use maple tree register cache regulator: rpi-panel-attiny: convert to use maple tree register cache David Lechner (8): regulator: devres: add API for reference voltage supplies hwmon: (adc128d818) Use devm_regulator_get_enable_read_voltage() hwmon: (da9052) Use devm_regulator_get_enable_read_voltage() regulator: devres: fix devm_regulator_get_enable_read_voltage() return hwmon: (adc128d818) simplify final return in probe iio: addac: ad74115: Use devm_regulator_get_enable_read_voltage() iio: frequency: admv1013: Use devm_regulator_get_enable_read_voltage() staging: iio: impedance-analyzer: ad5933: Use devm_regulator_get_enable_read_voltage() Joy Zou (2): regulator: dt-bindings: pca9450: add pca9451a support regulator: pca9450: add pca9451a support Luca Weiss (1): dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM7250B compatible Mark Brown (4): add pmic pca9451a support regulator: convert to use maple tree register regulator: Merge axp20x changes regulator: new API for voltage reference supplies Rob Herring (Arm) (1): regulator: dt-bindings: fixed-regulator: Add a preferred node name Samuel Holland (2): regulator: dt-bindings: Add Allwinner D1 system LDOs regulator: sun20i: Add Allwinner D1 LDOs driver Uwe Kleine-König (1): regulator: Mention regulator id in error message about dummy supplies .../devicetree/bindings/mfd/x-powers,axp152.yaml | 2 + .../regulator/allwinner,sun20i-d1-system-ldos.yaml | 37 ++++ .../bindings/regulator/fixed-regulator.yaml | 7 + .../bindings/regulator/nxp,pca9450-regulator.yaml | 1 + .../regulator/qcom,usb-vbus-regulator.yaml | 1 + Documentation/driver-api/driver-model/devres.rst | 1 + drivers/hwmon/adc128d818.c | 57 ++---- drivers/hwmon/da9052-hwmon.c | 38 ++-- drivers/iio/addac/ad74115.c | 40 ++--- drivers/iio/frequency/admv1013.c | 40 ++--- drivers/mfd/axp20x-i2c.c | 2 + drivers/mfd/axp20x-rsb.c | 1 + drivers/mfd/axp20x.c | 90 ++++++++++ drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/axp20x-regulator.c | 94 +++++++++- drivers/regulator/core.c | 4 +- drivers/regulator/da9121-regulator.c | 4 +- drivers/regulator/da9211-regulator.c | 2 +- drivers/regulator/devres.c | 59 +++++++ drivers/regulator/isl9305.c | 2 +- drivers/regulator/max8973-regulator.c | 2 +- drivers/regulator/mt6311-regulator.c | 2 +- drivers/regulator/pca9450-regulator.c | 196 ++++++++++++++++++++- drivers/regulator/pf8x00-regulator.c | 2 +- drivers/regulator/pfuze100-regulator.c | 2 +- drivers/regulator/rpi-panel-attiny-regulator.c | 2 +- drivers/regulator/rtmv20-regulator.c | 2 +- drivers/regulator/rtq2208-regulator.c | 100 +++++++---- drivers/regulator/rtq6752-regulator.c | 2 +- drivers/regulator/sun20i-regulator.c | 157 +++++++++++++++++ drivers/regulator/tps51632-regulator.c | 2 +- drivers/regulator/tps62360-regulator.c | 2 +- drivers/staging/iio/impedance-analyzer/ad5933.c | 26 +-- include/linux/mfd/axp20x.h | 98 ++++++++++- include/linux/regulator/consumer.h | 7 + include/linux/regulator/pca9450.h | 1 + 37 files changed, 879 insertions(+), 215 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/allwinner,sun20i-d1-system-ldos.yaml create mode 100644 drivers/regulator/sun20i-regulator.c