Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp901266rwr; Wed, 26 Apr 2023 07:45:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6G+9wGGb1XprLrEA0nmgFxnQu7zSfDuip9ywunSHsAwG+yXHRRTjUfvWmR3ThlXz07iNls X-Received: by 2002:a05:6a00:2e92:b0:63b:54e4:871b with SMTP id fd18-20020a056a002e9200b0063b54e4871bmr3224421pfb.8.1682520337278; Wed, 26 Apr 2023 07:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682520337; cv=none; d=google.com; s=arc-20160816; b=YKPGPEYbqw3/yXiHu1mUh+IYtSHXpNiHLGnJ0Vqd4Jnu1RDX5V0CRMIE8aZm43eTpG +YeT5hbYcDeewHoeTY97azDe/JGQMFrJ45I+p7ToLyPdXJ/frsgP3PLw1Rr6g8Ck3UtI 0E9nsDJtDKOa8PQobebWHP+DTq8JyUdRc3Hugc2zQ+rS8rRJfQrRam4R2AgOB9DfLGoS F98xr+dyGdwBTPF53H/P/cf2i81PWiHjbfMHaAltfUzNRSZ/RlcNrLZiZ6uPoHXUmudY K6baxkiIljybRc/PcBivHjuDnhOp2v2biu3FFMo5toc/EBBwQ///2xrVFYvulXIqknto fnlQ== 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=GY13uFIxXuUsHyKZxMETBqfJaJlTlCRPAWqaiat6dto=; b=Byq249O5MHx1ae7ihpCOlfy7AOpqwxNh5H0Peq7xNO1bUGJNq4PanCsHPCWEdOhD0G CN2B1M5s4p2TEyyplCbOWHRoNnM6e5SU98WsFBerP7djGjfDyM6vQXcc/418tp/hn8FR xGf6dK2cw3CTpUiPcLgl1OI5t5m2mihfIOESnj4br1vE528UodKL4+lfDK/p/1ga8Cah t5T2KscnDaUp2IBtkY5dZmbAhvKo7WlXwT4qNT73kv1a/atXoRP+UPn11jYevoOFgPiS +WFMYZV2DNvgm2xltLuEQdk0J1+BcYNU7m/QMtKYz+ZcH5otye2w9gor4Fi1pE4h9T4z V4dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OgyUIf8J; 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 205-20020a6219d6000000b0063b84263ee3si16306618pfz.295.2023.04.26.07.45.23; Wed, 26 Apr 2023 07:45:37 -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=OgyUIf8J; 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 S240591AbjDZO1u (ORCPT + 99 others); Wed, 26 Apr 2023 10:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241368AbjDZO1s (ORCPT ); Wed, 26 Apr 2023 10:27:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88ED57286; Wed, 26 Apr 2023 07:27:46 -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 052CB62DDF; Wed, 26 Apr 2023 14:27:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 765A3C433D2; Wed, 26 Apr 2023 14:27:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682519265; bh=Tl4ahZpkXgA0RLxXwHHiJ4Q1ElnebSYGSLsHuGHWOpI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OgyUIf8Jg5Vrio4F/n6rOGUZO05RRGYSSrKLrqhzzClCIkRqrA7jEdk7/7KkbYEv7 SOGggQb9aryRD/28pH6NzyJQqRYvDx76Yb8U2yNR/0ocgBBjdK9x56DCZHq3kOd9Dy sB9iaE1g21iRJergm/PuKhr+/p8iZeUK4u/XqjVamzIN6PJDGHunznvaTneskG9Ykf JNexncDHELPyj/RQ5Dxg2YnqZrkFnNwjkjuSBjNCc3moiRY4P44yt3PaFMX/o58Xdw 3lEWKx/dzaO/WxBxoGdpqum2Ru4mjPrxD/7T643j2XZpcEe65v/aYs0KLKhJIk1LJP olYxUanBe5LNg== Date: Wed, 26 Apr 2023 15:27:40 +0100 From: Lee Jones To: Shengyu Qu Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, lgirdwood@gmail.com, broonie@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, andre.przywara@arm.com, conor.dooley@microchip.com Subject: Re: [PATCH v3 2/3] mfd: axp20x: Add support for AXP15060 PMIC Message-ID: <20230426142740.GN50521@google.com> References: <20230421150816.10513-1-wiagn233@outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, 21 Apr 2023, Shengyu Qu wrote: > The AXP15060 is a PMIC chip produced by X-Powers, and could be connected > via an I2C bus. > > Describe the regmap and the MFD bits, along with the registers exposed > via I2C. Eventually advertise the device using a new compatible string > and add support for power off the system. > > The driver would disable PEK function if IRQ is not configured in device > tree, since some boards (For example, Starfive Visionfive 2) didn't > connect IRQ line of PMIC to SOC. > > GPIO function isn't enabled in this commit, since its configuration > operation is different from any existing AXP PMICs and needs > logic modification on existing driver. GPIO support might come in later > patches. > > --- You must not use these above the tags or Git will drop them. > Changes since v2: > - Rebase to AXP313a series v10 [1] + newest (20230420) -next branch > - Add axp_regulator_only_cells rather than directly using axp806_cells > for cases that IRQ line isn't connected. > > Changes since v1: > - Nothing > > [1] https://lore.kernel.org/linux-sunxi/20230401001850.4988-1-andre.przywara@arm.com/ > > Signed-off-by: Shengyu Qu > --- Put change-logs here instead. > drivers/mfd/axp20x-i2c.c | 2 + > drivers/mfd/axp20x.c | 107 +++++++++++++++++++++++++++++++++++++ > include/linux/mfd/axp20x.h | 85 +++++++++++++++++++++++++++++ > 3 files changed, 194 insertions(+) I manually added the missing tags for this and the DT patch and applied. -- Lee Jones [李琼斯]