Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1882043rwr; Fri, 21 Apr 2023 00:34:17 -0700 (PDT) X-Google-Smtp-Source: AKy350YTsqxA4WjAjwwhuthgcHv0ERFG/MMZ/PSahc2BS0ZBueGsMaSAitewPAojo+BvmhPhDpgK X-Received: by 2002:a05:6a20:6a1b:b0:f0:2d4a:8855 with SMTP id p27-20020a056a206a1b00b000f02d4a8855mr5185423pzk.8.1682062457119; Fri, 21 Apr 2023 00:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682062457; cv=none; d=google.com; s=arc-20160816; b=QdMAV+mHmLEMSCHqYFVgJr0pqnniZc1ia+Qb3XUe4nVIIhnSlNF391Jv20K/38pTDc WilBvut8CTiNgcohVHjnSh5+8Eko1HmtfXypRqO/U8WklZHYhtwJRFpDm0RGayW+/a50 mM+59DYGa2Nrmn4cwCuukYbe3mYaf8/GsdlKKk26ltRnKTWJq4PeeWmVzKvgRph+aFDk 5/GqWLCxiX4eC2PfKBK3t73ZO+EC3HeQSCWakhq5OzfBZ6BSwB3iuEDKXw8UIbg5HarD 3J5lm1nomjeDIT3JebU38C1vh1Owcv1vpyyaGAgp9/h/sZziI6KWvl2sYcFDl64P4hIY +35g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mGEgHsyzTPdVkkjqzkWzdo3yeWH//IPGc/46BvOEHkY=; b=EHXpKbDOi7aW7OyCO/fbDfDuzXon6Us5XKN4tdkmD37uTI/qJXeauajc6T9sT1/oJh lYPlqnSxzAGolDxD9LUHg9PM5wU5z+LV5ct8csIYwX039t4yvg26jJzMqJqG+G8ygniI ZATXVsV9Is+WDuCaMQzNsFGc97a4Hju4NsEI+Fludh/GKtDSyTVbmnIeSrGkyMSLH2B4 l1QTlIB8zQNkTaa2OEN/gMq6YjCYYHvaGWGKGvWwOagu1UxxAP3wrwZDNES3EAi0gQuv tD0f+Ai6CUSv6en6VnDYtePijkgbvKCUR8dTuEoSstGOVITxz7ouY5PPS/+LBrTbH+PV og1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hWLX5Jk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020a634749000000b005073e3342eesi3866631pgk.143.2023.04.21.00.34.02; Fri, 21 Apr 2023 00:34:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hWLX5Jk+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbjDUHcN (ORCPT + 99 others); Fri, 21 Apr 2023 03:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjDUHcE (ORCPT ); Fri, 21 Apr 2023 03:32:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E6593F1 for ; Fri, 21 Apr 2023 00:31:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8674264E6A for ; Fri, 21 Apr 2023 07:31:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF791C433EF; Fri, 21 Apr 2023 07:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682062303; bh=C435RP6rIIfcuk/xLuiKYt/3h036gtpK8I8C8kOTcHY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hWLX5Jk+jLdwEvp42IrMWl71t7tW0Dt4r7FvhGhpXK1z9tREys/NzdCz+NVdJB/sE ubKCWm60ZSwzB+nrfvTHlVK/QHLxdL09I+v4fTGYqrcf7Jou0shFkBwPNz1Rmp9Xc3 OqzYOHffYgRuh0AeDIjNc5cIrSN/zgQddGfPfU+bZrWTO5OikEEKpCuAdVcEO6PS4q Zog8/BT4AHhhViXtF0c3ORaSMiXrMDrIHOdZuoAaAAo9ujr5EORqR1mlaP9DYmhkRo RJg6k4zTtm1FazSOwF8x0m28R+FD9nkkv6BFFqD8fLystCk8aGIJ46iE3qsrsYfe9+ C5mZhf1cAsd6Q== Date: Fri, 21 Apr 2023 08:31:37 +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 v10 2/3] mfd: axp20x: Add support for AXP313a PMIC Message-ID: <20230421073137.GM996918@google.com> References: <20230401001850.4988-1-andre.przywara@arm.com> <20230401001850.4988-3-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230401001850.4988-3-andre.przywara@arm.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 01 Apr 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 > 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, thanks. -- Lee Jones [李琼斯]