Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1732956rwo; Wed, 2 Aug 2023 21:09:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlFbKETRV8tcc6wpF/H7oJvNqpkVbqz+5NT79G0JNojQalDCTKDG0AWf8Xf/TDrNNG8dzYGn X-Received: by 2002:a17:902:db06:b0:1b8:76d1:f1e8 with SMTP id m6-20020a170902db0600b001b876d1f1e8mr20092364plx.28.1691035747149; Wed, 02 Aug 2023 21:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691035747; cv=none; d=google.com; s=arc-20160816; b=MgeW2nlrR5ettuhjtyWv9OfhRiCQnXXIXN8Wh4wTzd2AbCVzli+wJIMzWEqN6Csouy 0NLR1kLxO0sOzhPcbTfuS/3GhXcK4VCJ3L0rM+YHDr9hdDM+8ja2RGsQOSe7eksdh/EY iJp/Tv431yIV8Y+yPQIPpr2X2m/FbPXO1LyCCFlakX2pkxGdb59M0PG4OozHTNxKJuTL ZN/wGGNdFumVd0+DpgMJfKPHmalo22XAVLzcDSY6UeUQdyzqW4BUYuh3GJZeho8/erKC LznUIpEcD2VVczMjM8rHQXY8ixULtpI5g1vh9ygMmNkis4q0/UdV5J2kuJEgu2uSP7im kUHA== 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=iVpgb2r3e9i93fcXr1D1nayYlMIvYEJFzi3IEnG5sjA=; fh=EvXdj19NGG/oUhOd+waT2B+afVdafeAPALwFNqFsUqc=; b=dwHPVjqDNqt4Y0xCVd5jRZjoZBNkLPQG/EZq/y4TuwEEncjsaHkEDBvqVya7aC2D9I gQ89FG5sA0bG0hZ9n0xADqAiC1oamel+0q2SgOiaui5JiSaE0uaYyzkpwlSlvOlcJzbS tj57rgryyVg8fnSWIXNQgTFfG3rAUhgj7DeG40eu/UbCLgEFxutfXsig68B07lXMlL/0 g3QVIRNoDoCaQxndauQ/NnXSzDLRD1Igbu8YgO75N7V2L6OmYyKVwCAoPuDS/yAWODUC E8XIC3v+xQlm/y0kDmTiVkPclb9gD+xsXttLQ5o8OAuaXHJs6lnVVB79FIXsuk0wR0I7 xFIA== 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 q14-20020a17090311ce00b001b89551a392si12150191plh.113.2023.08.02.21.08.54; Wed, 02 Aug 2023 21:09:07 -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 S232098AbjHCDvS (ORCPT + 99 others); Wed, 2 Aug 2023 23:51:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231637AbjHCDvI (ORCPT ); Wed, 2 Aug 2023 23:51:08 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9744730D3; Wed, 2 Aug 2023 20:51:04 -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(2307:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 03 Aug 2023 11:50:49 +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; Thu, 3 Aug 2023 11:50:49 +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; Thu, 3 Aug 2023 11:50:49 +0800 From: Alina Yu To: , , , , CC: , , Subject: [PATCH v6 0/2] Add Richtek RTQ2208 SubPMIC support Date: Thu, 3 Aug 2023 11:50:43 +0800 Message-ID: <1691034645-11595-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 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 v6: - In Patch 1/2: - Add "additionalProperties: false" to regulator node - In Patch 2/2: - Remove Reported-by tag 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 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 | 197 ++++++++ drivers/regulator/Kconfig | 11 + drivers/regulator/Makefile | 1 + drivers/regulator/rtq2208-regulator.c | 549 +++++++++++++++++++++ 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