Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3088696rwl; Sat, 1 Apr 2023 23:38:22 -0700 (PDT) X-Google-Smtp-Source: AKy350b6wirR6oVTHh2hTvdrUziUoFDWyZymQfjOrF+5L232zy8f7WTRolmwwyVE2kckT0vVjxhu X-Received: by 2002:a17:902:e847:b0:19e:d6f2:feea with SMTP id t7-20020a170902e84700b0019ed6f2feeamr41180887plg.9.1680417502385; Sat, 01 Apr 2023 23:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680417502; cv=none; d=google.com; s=arc-20160816; b=rlal1NJWnfKeDbbZkQZDh48Rje/bXVjKyrUDn97td9jBWH/YJ9gMsTfCspw3mKJADY 0x/MGsNzD+GuXo33Ge0J/CGvJE9fC/UBquriOZI9a8eCiQSC09Fd5okyTb2V3tl9wtho ZHVrmhmePqNke5RY+2owuB9jIKMzhi3OfuLZ9xaKOxHel5Hm2nMv3fCPMK4aunz8oQOk MxE5U40KI6fGU2aaaOeP+T0PjkGMNzK22JYDkW5MtPs2qF6lislqmGJ2aN72Gzy8UJkv exzJHB807jeHdtYB2lW8JqH3avTPD58J5yvA34r8e26gRk82E7jgHD4olA3Gfw8/1S+l lpAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version; bh=pWrj2gvIEyMchgODpppTZmdcrILNBA4kTD4r1P2eubM=; b=G+T3QRVaRzC8EMpFYhJfGjrrwS0tiEK+YZmxuccRAeQ9ghsFgdZkrh/eyFaoGUEdYA xiRdy8ZIg82DXfU5OmLB3lDPuTupilLk/RUEc3DiJIdNM/NVGV45MgFIc/ZJ5VD2v9sK pM6fDyCrHhpFgNSWzn6vR1XhxAqzoJexa+L7vN+nKeSIVyNahbNKUD4ia46eebEQRGlH y9b3g0Ofm8/82sEboJMP5jHxO9PB/nY4C810Dz5fyPUWpvlmoHJrKzxQuNsaVXIEnFAl IfWhglpySYagggwPUlC82fo+9ExIOWvNlHUzy4kNHzPuSflu9Np2wZZ8a95+kEcFVTES wTEQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k22-20020a170902761600b001a242dbbd27si5622638pll.513.2023.04.01.23.38.07; Sat, 01 Apr 2023 23:38:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230141AbjDBGKe convert rfc822-to-8bit (ORCPT + 99 others); Sun, 2 Apr 2023 02:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjDBGKc (ORCPT ); Sun, 2 Apr 2023 02:10:32 -0400 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9FDEB762 for ; Sat, 1 Apr 2023 23:10:30 -0700 (PDT) Received: by mail-ed1-f44.google.com with SMTP id b20so105379156edd.1 for ; Sat, 01 Apr 2023 23:10:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680415829; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DHYI+tO3hAeuqhb1MWG4+RQipbR23BelUx1lrPVeCNE=; b=xWoUsxr/2fWv+d1Na8lA1WHWW41521gVIHkpkXU3Hl086WRXLJvsCdtN3XKYt6QToo 2P87qBRhLP4O7kH2WmnI0A1QvdJ1p3eP8QDINboZco4AjR1Zdt5cC44elh7GtSxglMOH 5RvH9cF/G1/qEph40vNKeAxb2FZb/iUJmyW46hkQr2eWiNGyZt8hXToBM3fWswCWBLcC eFMeSSkvCMgW2koVyg5ej+O2nS/Q13oucMEPnMxsjd1DW4PhxKdR/aUTOH0gKRczNJZF f7LV0rJpSoTZvaZiB4Hq9h+kWvDn5jqvsXlFXcFj3YYeeMyP4qmBU72Xg1RbnRHO39oB 46tA== X-Gm-Message-State: AAQBX9f6uvcDf8DTlEmz8gQ70vO1/X6Tr/lJHmSm8gZAHadW5du96hwX yJlEGy7X7LmMuFYAPytLSZry2tt7c2HG3w== X-Received: by 2002:a17:907:6c11:b0:92b:e1ff:be30 with SMTP id rl17-20020a1709076c1100b0092be1ffbe30mr32689855ejc.4.1680415828960; Sat, 01 Apr 2023 23:10:28 -0700 (PDT) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com. [209.85.221.41]) by smtp.gmail.com with ESMTPSA id g4-20020a17090669c400b0093341746105sm2871876ejs.117.2023.04.01.23.10.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Apr 2023 23:10:28 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id r29so26159511wra.13 for ; Sat, 01 Apr 2023 23:10:28 -0700 (PDT) X-Received: by 2002:adf:efc8:0:b0:2e6:e4df:a7bd with SMTP id i8-20020adfefc8000000b002e6e4dfa7bdmr646296wrp.7.1680415828140; Sat, 01 Apr 2023 23:10:28 -0700 (PDT) MIME-Version: 1.0 References: <20230401001850.4988-1-andre.przywara@arm.com> <20230401001850.4988-3-andre.przywara@arm.com> In-Reply-To: <20230401001850.4988-3-andre.przywara@arm.com> Reply-To: wens@csie.org From: Chen-Yu Tsai Date: Sun, 2 Apr 2023 14:10:16 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 2/3] mfd: axp20x: Add support for AXP313a PMIC To: Andre Przywara Cc: Lee Jones , Liam Girdwood , Mark Brown , Martin Botka , martin.botka1@gmail.com, Shengyu Qu , Samuel Holland , Jernej Skrabec , linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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, Apr 1, 2023 at 8:19 AM 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 Reviewed-by: Chen-Yu Tsai