Message ID | 1690355592-10920-1-git-send-email-alina_yu@richtek.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp235252vqo; Wed, 26 Jul 2023 00:37:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlHYZFeMyjb7gu+0WsybrCaMtlgYPudiWC6yKOYSCfsDSN7ib77NA4oZ+sxaGfdJS0wl9nMe X-Received: by 2002:a17:906:d14d:b0:993:e752:1a71 with SMTP id br13-20020a170906d14d00b00993e7521a71mr924471ejb.9.1690357024099; Wed, 26 Jul 2023 00:37:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690357024; cv=none; d=google.com; s=arc-20160816; b=dOG4f+g/IKBGb0Zz1o0x6UMxc0ha/UeppNwhkqYQfK9aO6CmT5HUWtElXxUsxxKSeE tOXk06llcoZikuz316pvG3FQ82tK4C3ksmXKD1TcDQiRzWZp0B6VN4J1ivyNi63/DzlK 4rLVNao0UWRwzgg+MQJ6MV1Ue/s8Iw1t+Pzx0VqbTzWr1dslNkH23InyIU6aE/LJfodt aNOy6YRxFv/P6OnKrSmgkXmXcKp+LR4W0hPnMU04sz4QmzgC8WAGy/aof7lY5+Hh3rcU Iu/PxzjMgHkSsG6xVGd9vlm0ufgFaJg00P3vSCZ9x6J/qgdLHPq60KRAkOw6eS8XVQQ9 1Wiw== 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=m8wIwxADSqTrhoFtvUXg+vtScQYxhWeSz9h10psnDeM=; fh=EvXdj19NGG/oUhOd+waT2B+afVdafeAPALwFNqFsUqc=; b=xr9fz+C7dCJMyk0zMYsc5nQPy9HewI8aPfn44tJKtJMy1RwQw5d+wqJZxe4sJu7LkK PXlXcHQ2oqnsC4O7Zd++HY84+7u1krrYhGmq6H1xfADI14kjzrWKz0Bw8uKEi9cZrZK4 cTDBZE8/sdGYuZhgh0vG34Ak9NCxQ5dJhtpRAfCNOrS1hPfG8pa64q2dR3/5GT5knfsu 3EDBiBzcg1/gt8KAXIRBukEfuXD8vxDiKeAIGYdROX94Etvp+o2eiOCXqNqBxlElDFRh E9awrDshE9wG0Pi13uvyBOpdoceMC+HBeURKBXVuBAI6vxOGA7HE7744p7Qdk2dTRtqj +5PA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bo5-20020a170906d04500b0098dfa5abc0bsi9080191ejb.88.2023.07.26.00.36.40; Wed, 26 Jul 2023 00:37:04 -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 S230270AbjGZHQu (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Wed, 26 Jul 2023 03:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232375AbjGZHQA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Jul 2023 03:16:00 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B7D74236; Wed, 26 Jul 2023 00:13:33 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(1318260:0:AUTH_RELAY) (envelope-from <alina_yu@richtek.com>) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jul 2023 15:13:15 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Wed, 26 Jul 2023 15:13:15 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Wed, 26 Jul 2023 15:13:15 +0800 From: Alina Yu <alina_yu@richtek.com> To: <lgirdwood@gmail.com>, <broonie@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org> CC: <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <alina_yu@richtek.com> Subject: [PATCH v5 0/2] Add Richtek RTQ2208 SubPMIC support Date: Wed, 26 Jul 2023 15:13:10 +0800 Message-ID: <1690355592-10920-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,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772467806642029251 X-GMAIL-MSGID: 1772467806642029251 |
Series |
Add Richtek RTQ2208 SubPMIC support
|
|
Message
Alina Yu
July 26, 2023, 7:13 a.m. UTC
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 v5: - In Patch 1/2: - Revise filename from $id - Remove "regulator-compatible" for ldos - Add missing "high" for "richtek,mtp-sel-high" - Remove "regulator-mode" property - Add and modify "unevaluatedProperties: false" and "additionalProperties: false" - Remove "richtek,fixed-uV" - Remove redundant space in "buck-a" and "ldo2" - In Patch 2/2: - Modify 'rdesc->fixed_uV' get, becasue "richtek,fixed-uV" is removed from yaml - Modify 'mtp_sel' get because read property is changed from "richtek,mtp-sel" to "richtek,mtp-sel-high" in yaml - Add missing regulators_node points to regulator node in yaml - Include <linux/bitfield.h> for 'FIELD_PREP' reported by kernel test robot 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 --- Alina Yu (2): regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC regulator: rtq2208: Add Richtek RTQ2208 SubPMIC driver .../bindings/regulator/richtek,rtq2208.yaml | 196 ++++++++ drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile | 1 + drivers/regulator/rtq2208-regulator.c | 549 +++++++++++++++++++++ 4 files changed, 757 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml create mode 100644 drivers/regulator/rtq2208-regulator.c