From mboxrd@z Thu Jan 1 00:00:00 1970 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 6ABF3DF52 for ; Thu, 25 May 2023 11:42:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFA18C433D2; Thu, 25 May 2023 11:42:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685014946; bh=l9nq5SBnZuzxt+PrkHf7uCzl3M1koYayHH2SwJsx0Gk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=czFIhOlwtPQnH9FxcSZXitx3n1y+63xcg/JzZ5nR67Tx+X4Fh+BkEkUKrarcX9E72 7Oo6Ww/odnVlgLVyXbR1tm3sZwn08PsYXVkqzh7FesrbK5n+WjUOuEW7Qe5wzv/Epm sA5K7Hg6o8hYsyUFdlfGdXc3LH7Z3/JrtKgvqPnsEY0u2ubbjJUKwAtpkhEsFRElkE SPlQNmhR/95oQ5VZADaG9ViCGxBnQSUMkTMsKsfjz2tynFCP3UVwsTx8I4zrAkgOvx B43n0JhgBiwUWZaBU6Iw+RAIrQhym7hGWqMp3dU8N+tq5N9DkfnYfV9EbzmLr/0n1A AwlsEB9rhYw9w== Date: Thu, 25 May 2023 12:42:20 +0100 From: Lee Jones To: Andre Przywara Cc: Liam Girdwood , Chen-Yu Tsai , Mark Brown , Martin Botka , martin.botka1@gmail.com, Shengyu Qu , Samuel Holland , Jernej Skrabec , linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v11 1/3] mfd: axp20x: Add support for AXP313a PMIC Message-ID: <20230525114220.GH423913@google.com> References: <20230524000012.15028-1-andre.przywara@arm.com> <20230524000012.15028-2-andre.przywara@arm.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev 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: <20230524000012.15028-2-andre.przywara@arm.com> On Wed, 24 May 2023, Andre Przywara wrote: > From: Martin Botka > > The AXP313a is a PMIC chip produced by X-Powers, it can be connected via > an I2C bus. > The name AXP1530 seems to appear as well, and this is what is used in > the BSP driver. From all we know it's the same chip, just a different > name. However we have only seen AXP313a chips in the wild, so go with > this name. > > Compared to the other AXP PMICs it's a rather simple affair: just three > DCDC converters, three LDOs, and no battery charging support. > > Describe the regmap and the MFD bits, along with the registers exposed > via I2C. Aside from the various regulators, also describe the power key > interrupts, and adjust the shutdown handler routine to use a different > register than the other PMICs. > Eventually advertise the device using the new compatible string. > > Signed-off-by: Martin Botka > Signed-off-by: Andre Przywara > Reviewed-by: Chen-Yu Tsai > Acked-for-MFD-by: Lee Jones > --- > drivers/mfd/axp20x-i2c.c | 2 + > drivers/mfd/axp20x.c | 78 +++++++++++++++++++++++++++++++++++++- > include/linux/mfd/axp20x.h | 32 ++++++++++++++++ > 3 files changed, 111 insertions(+), 1 deletion(-) Applied (pull-request pending - waiting on build tests). -- Lee Jones [李琼斯]