Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp612379lqp; Thu, 21 Mar 2024 10:11:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSotoyRYjpOrSTtowEFlFn9CLDYQ4O0jkvBNp9wvCs3wGU6F2w3QddaawEUh04sxce04D1FvLgjXeOK24CKES23654zUn3Z8H8AVbRYg== X-Google-Smtp-Source: AGHT+IH1+n3taOBgvGKwTX0dAh+7DabHxEyIPZ92w8h2RzJ2Q9FlvneBKRejfowia9w1MS0wu5F/ X-Received: by 2002:a05:620a:5e09:b0:789:dd4a:4633 with SMTP id xz9-20020a05620a5e0900b00789dd4a4633mr5624113qkn.72.1711041069901; Thu, 21 Mar 2024 10:11:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711041069; cv=pass; d=google.com; s=arc-20160816; b=gnO73AQq/OHIJPewCHEsAaRFFaUPbeyDDnLt3OOSU2dKMMKfzzMwk24RuPXyNwArx3 QL71FM046CXkSG6YmQ+Sn4DkUft09VDE1WHQ3R/2vMow/jfN+gK4lNngS15o5TflChOA H9Kj184b3qBHifNEVD/DbKBFEmv0KW+ARWTIehedrBc/RS3udk3O2/nG1dI6Ke1ZZRYY o7dKOyTO3xDQOg/+c7nxJASmcFgQrb8q4Rg5Vd4Y8GaGRug8VPqrjkuLSbM1isqo3WRd Pu/s5DSx/iqwieXYBukrgBce7ovrtsCFEHRiaXptz8sKn8QOtJlBZmcUNO5FJbPWa27W KbTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3aQ10I/j76pcQxdBUCleVBpevNzP2qN/cYXc67HLQik=; fh=7UXLvUFq5+11be7CKXFh26eddiOfjshf/evWPc2SUNE=; b=WP98iASaD3LhnnndlLQ0rzzS5UdtYvExXYLXcuRzwwCk/VusyjOz5IhXQ254wKTKoN nSBkFmEd5HtOGlN4Jx0hzDzZs/w0YW30pVCZv4BJOVX8fdueAphYpRXmFDFZCHh+3AkA sX/O5m1pznd/qqvZeyi6Qk2DzhdLziHczWUMlQyn+0bmH/NtMRxpkaf4eZ8ngKNUicpZ RsNnzTLaFd9o8p5kORere8plOf2oX1rFZuFFyjqNbo90ClB01Q9c6uDTkaH6x948kL2u 1KqOACZKvS4Lgnvj0Y4a6FwWzkR+T6h4Go0xr9w5kJS5n84oQkeTVQEnpGbah0RKRTTh 5dYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kVFJRTie; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vv24-20020a05620a563800b00789f337c779si134299qkn.564.2024.03.21.10.11.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 10:11:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kVFJRTie; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110467-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 961391C23043 for ; Thu, 21 Mar 2024 17:11:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98CA817590; Thu, 21 Mar 2024 17:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kVFJRTie" 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 B80BD79C8; Thu, 21 Mar 2024 17:10:53 +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=1711041053; cv=none; b=S41tDKqxnpiw+NnDC/EJ6Xcu7DdW3/PZS76Hvtjp+vvvd7+xVtDvJGD4Qe9tMy4CQM+DoDC+9QtHSeWU4NirRJ3fRRbNe5MTRgGk9wOpHNk2CqWn8CqE7flF9vyYm9GZukja/z//VsnpvPVdKRHOwKK85TWfqKChJAw657mzeIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711041053; c=relaxed/simple; bh=UkRBA9m/bMZZJvffQTihUXbWdPF0Er76xufEfdcCUN4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fl7QCAkxhuC7cXxQe+9CmRWWa0WNHABBQHv/WjZUVmO8ppptN+J/NEDxcHfNolcnGj5lFbBC6Q0XFCfILJTNEEIBlMRtE0V64RPYoRKvwLxrmBxFqWkwWtIUMEujU4cfSq6ykv8jn223nSzJtERHo023cG7BNbsa3NWWTmYpYc4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kVFJRTie; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8816C433F1; Thu, 21 Mar 2024 17:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711041053; bh=UkRBA9m/bMZZJvffQTihUXbWdPF0Er76xufEfdcCUN4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kVFJRTied2TKQUlnrJFstv2V+6Tbgc6Y2xON57K5nFft6DGpzAwHcMVsjE9jPaTp4 eCG6telo3hioMcSp8Gw6j8hRwG18vCJdhvwgbnASXpQt0gmiEQFGoejR2PP1qswSeY dqNtG7NZ48/A60BEBj5BcCpUhOLaTrPGLkPY2E94mRvILvQ+ZFrhIFALdgkgR6/epr n6hG8lElYJxkUCPLWohcz8bA/+jhfTEO+g5GcmQW04rNY0zVr8sAdEYoiduiQTZdh/ xaFxGsEPvw9YWczy+gaG54bS5u8azyVageijosILeHM5elsbNGZD6iFQ10eUeTKpNh 74wCiw4gpn4hA== Date: Thu, 21 Mar 2024 17:10:48 +0000 From: Lee Jones To: Andre Przywara Cc: Liam Girdwood , Mark Brown , Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Samuel Holland , Jernej Skrabec , Chris Morgan , linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 0/4] regulator: Add X-Powers AXP717 PMIC support Message-ID: <20240321171048.GD13211@google.com> References: <20240310010211.28653-1-andre.przywara@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240310010211.28653-1-andre.przywara@arm.com> On Sun, 10 Mar 2024, Andre Przywara wrote: > This patch series adds support for the X-Powers AXP717 PMIC, which is > used recently on new boards with Allwinner SoCs. > Allwinner's BSP code often speaks of the AXP2202, this seems to be the > same chip, at least a boot0 AXP2202 driver happily drove a chip labelled > AXP717. > > Patch 1 fixes a typo in some macro names for the AXP313a PMIC, I just > realised that during some copy&paste action. It's just an identifier > rename, so not a backport candidate, I'd say. > Patch 2 adds the compatible string to the binding document. > Patch 3 is the MFD part, describing the regmap and all the interrupts. > So far we support the regulator and power key devices, the USB and > charging devices will follow later. > Patch 4 adds the voltage regulator rails, this part is crucial to enable > any board using this PMIC, as we depend on those rails even for basic > devices. > > Please note that I could not test this driver myself, but had success > messages from others. It would be good to hear from Ryan and Chris > here on the list, with a Tested-by: tag. > > This series is based on next-20240308 for now. I will send a rebased > update after the merge window, but wanted to start discussion and review > now. > > Please have a look! > > Cheers, > Andre > > 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 > > .../bindings/mfd/x-powers,axp152.yaml | 2 + > drivers/mfd/axp20x-i2c.c | 2 + > drivers/mfd/axp20x-rsb.c | 1 + > drivers/mfd/axp20x.c | 90 +++++++++++++++++ > drivers/regulator/axp20x-regulator.c | 94 +++++++++++++++++- > include/linux/mfd/axp20x.h | 98 ++++++++++++++++++- > 6 files changed, 277 insertions(+), 10 deletions(-) All applied and sent for build testing. If everything works out, I'll send out a pull-request to an immutable branch shortly. -- Lee Jones [李琼斯]