Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7941019rwp; Wed, 19 Jul 2023 02:46:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZmbBbR2jX+1rqUlowgMOAw4YNRtdK6e/8UgvpmTD32YAqEzA0H1IRpUqgg1AjB9zScFdE X-Received: by 2002:a05:6a00:190c:b0:682:4c1c:a0f6 with SMTP id y12-20020a056a00190c00b006824c1ca0f6mr24714545pfi.3.1689759976326; Wed, 19 Jul 2023 02:46:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689759976; cv=none; d=google.com; s=arc-20160816; b=jxNJLhH2vDyzykLfG3NuI5Ib8PcA1FcYKmAhyIz8u8q3oDFK7xaAIXjNQLjnThy8zv 3VsnQiOEBrNm5+wCZ+f0nXvRm0nvx0N6WhIztOw/lVGYO642qi23McqiRplgMAYWFLb/ UGlFuAXVsaWHAFAXhve6KRcDCWOBru3Hr2K59rr7VMn8m6Cf03EBNFfxml0Zb+7miT81 xe3z/uQo95CyyGcq8inqUJNlXoVcObwHkieUvz9fqy9rkcJsSNqGsJwnNYeZGpUvdrYT PV+eggrOOaEzTvzCQ+yzlIZp6np/9woyX3Eu5LWj5rf69FTtlYcPBHcUu5yjfVBap1qa 2mZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=+FETDoGkk2Ua2gRzVvQPD1f0jvrFof6/Ci5NRgkT7Lk=; fh=URTg7QUyL3MAeAYyfWnXjCZoH/RbWBmTfJiY0fFH9aM=; b=05sehEq3jaDjCJXfstxM722C9DOiRO1gIfQitfCofc3nZ2PhAhbYnYgsu++HDtZpPR pkLIPVJkOSZqvT3l96hGzgrrNGAwuu+KW6qfBREi+Euc6dN7rZ0t1wRcaahtL4b9Ckn+ cdcXsclZayNrC9/EdwSSw4mxDAQsW/49caPrxpgCRdmpAEQBuq2x4k4q9Zj/jnKfTev6 P70I5LOuqlrAawglzC7MvMPnPlzjHWt+VS7htDaWZQUwagBcnCbB33+DlgZahrUOAsJA DcNQxs8ZZ2O8dHWDkvyu7ptXC/mMrZ7ZW3ak72EVfeAJ+TqbzmINRYo6x6wXas/KK7/n acEA== 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 g19-20020a056a000b9300b0066e608447d4si3234175pfj.102.2023.07.19.02.46.03; Wed, 19 Jul 2023 02:46:16 -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 S230228AbjGSJZK (ORCPT + 99 others); Wed, 19 Jul 2023 05:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjGSJZG (ORCPT ); Wed, 19 Jul 2023 05:25:06 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 80F7C1BFD; Wed, 19 Jul 2023 02:24:57 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(1455426:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Wed, 19 Jul 2023 17:24:46 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 19 Jul 2023 17:24:46 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 19 Jul 2023 17:24:46 +0800 From: To: , , , , CC: , , Subject: [PATCH v4 0/2] Add Richtek RTQ2208 SubPMIC support Date: Wed, 19 Jul 2023 17:24:44 +0800 Message-ID: <1689758686-14409-1-git-send-email-alina_yu@richtek.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 From: alinayu This patch series adds support for RTQ2208 SubPMIC regulators. The RTQ2208 is a multi-phase, programmable power management IC that integrate with dual multi-configurable, synchronous buck converters and two ldos. The bucks features wide output voltage range from 0.4V to 2.05V and the capability to configure the corresponding power stages. Thank you, Alina yu --- Change in v4: - In Patch 1/2: - Modify filename to "richtek,rtq2208" - Add more desciptions for "regulator-allowed-modes" Change in v3: - In Patch 1/2: - Fix some typos - Modify the descriptions for "richtek,mtp-sel" - Modify the node name to lowercase and remove underscore - Remove '|' from description - Remove "regulator-compatible" from property - Remove "regulator-state-mem" from pattern - Modify node name to generic one --- alinayu (2): regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC regulator: rtq2208: Add Richtek RTQ2208 SubPMIC driver .../bindings/regulator/richtek,rtq2208.yaml | 208 ++++++++ drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile | 1 + drivers/regulator/rtq2208-regulator.c | 538 +++++++++++++++++++++ 4 files changed, 758 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml create mode 100644 drivers/regulator/rtq2208-regulator.c -- 2.7.4