From patchwork Fri Aug 16 00:18:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 1972988 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-94075-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WlN245jk3z1yXZ for ; Fri, 16 Aug 2024 10:21:00 +1000 (AEST) 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A04B41C22698 for ; Fri, 16 Aug 2024 00:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6284282FB; Fri, 16 Aug 2024 00:18:43 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A91E29CEF; Fri, 16 Aug 2024 00:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723767523; cv=none; b=OuQvRB0SJ556WyPcK3EhmfwSOKpBmFuXDYVfYonx3PCORAD1MPdkXD9TnktI7DxDYRKVvbtiejYtQFDRSiotZaTUYtXqjZstzRHg6caGu9Ko7BR+95DUXZdymMTGoGj950XJWqTZ+KaAOSYzc6FR82ny3lE+UedyFoQC2dqMFKM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723767523; c=relaxed/simple; bh=pHTFbeiH98+KNvJ6C9XjCRN7soUqfq9CvMzd82mA0H0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=s6cga/xpEpt2D5dYQkD4vb19E7lOzLZwyhiY9i81NiynY5RehzFQ4kwvvu67w/aTfKqUcGxwKaaWq3L4DOdMXAG/GHWvgu8EjdjHdlh4oFAW42XFdbQMITyY6Nzdn49CVSCbAqMln6GZCXhH4sMXukEJhuw9p4CyMEva82edjs8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 56C3F14BF; Thu, 15 Aug 2024 17:19:06 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D08B3F6A8; Thu, 15 Aug 2024 17:18:38 -0700 (PDT) From: Andre Przywara To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Liam Girdwood , Mark Brown Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Chris Morgan , John Watts , Ryan Walklin , Philippe Simons Subject: [PATCH v3 0/3] regulator: Add AXP717 boost support Date: Fri, 16 Aug 2024 01:18:21 +0100 Message-Id: <20240816001824.6028-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.39.4 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This is remainder of the AXP717 fix series, containing support for the boost regulator. This is meant to increase the battery voltage to the 5 volts required to provide the USB VBUS power. It's the usual trinity of DT bindings patch (1/3), the MFD part describing the PMIC registers (2/3) and the final patch to model the regulator (3/3). Compared to v2, this drops the merged patches, and just retains the boost related parts. It also changes the internal name of the register to AXP717_MODULE_EN_CONTROL_2, since there is another control register we will need later for battery support. Please have a look and test! Cheers, Andre Changelog v2 .. v3: - drop already merged fix patches - rename control register name to make room for second control register - rebase on top of v6.11-rc3 - add review tags Andre Przywara (3): dt-bindings: mfd: x-powers,axp152: add boost regulator mfd: axp20x: AXP717: Add support for boost regulator regulator: axp20x: AXP717: Add boost regulator Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 2 +- drivers/mfd/axp20x.c | 2 ++ drivers/regulator/axp20x-regulator.c | 4 ++++ include/linux/mfd/axp20x.h | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) Reviewed-by: Chen-Yu Tsai