From patchwork Wed Feb 15 02:00:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 5432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3319055wrn; Tue, 14 Feb 2023 18:16:34 -0800 (PST) X-Google-Smtp-Source: AK7set8rzkpyPwwEfjPBcmvThOtLGuuKuBKDWU5zS+lCm/QACFWvrEmaHMcLFRgPeAs9XehnBiVI X-Received: by 2002:a05:6402:1486:b0:4ac:d42c:8be3 with SMTP id e6-20020a056402148600b004acd42c8be3mr375468edv.17.1676427394498; Tue, 14 Feb 2023 18:16:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676427394; cv=none; d=google.com; s=arc-20160816; b=PFoxolGoz6gnPhefanMKcrM7T2IViPpbs+VfiD2PYc5vjeGSMx1z944zZ1RvdnMZkK uLjxy6bmln/EKbo6Z3KostehhkIIWl1TaPSFqI8dvkXJS28BLnPxsXhQkO5SaNwYa49L c9rTOVlY68KoOdcjBJZCC37NzUNSwBKp81ixGSWk+henMzLpAnnmnpzei1XutU68pDTT C9w4C2Yfa90MnW3XiKnY57rzA4z619igbG/rGIYuNv4ibkSmt4X0lusRa69prv8/ArUW eWrG6QLkl6SlwYSmaqLV7xQdWu0KobkRfuuZTWlsXv6Uss20HtEKLy5WzLJIkGxZXEXi djmw== 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=UU92WaFH6rBnsXDlUnXbupZkHI0sKRyGS+0d9mWQOAw=; b=YHRX/Qprvzfu6vvKGf//C8IzZzCyvLOGwWTIO4oQ03jB6fYH3VuAK3IMveWyGr0zPB AwmkLIq5E+KvPSwK6whfvdeTelRvlomLDNRi2FeQ4504A0DD78/E3JG9nS0HmTqrMRbf UL52t0ftVRi9c6qO2Y0MI6zD/BwFYbmZxQWgR2+w0LztVLByARfrXQ5bxvIBVIeGI2Jo sBtppv8vEm8/9qBI8ZzfKlLpt5XqkV6GYVIxXT44Ww7RRILGtbRDoQA7V/v9iTwtg6eh pVwSF4ovBQVEc6fV91JvXqWfBSgdUAKyUqXKmBhS9Udb1hDU+9Fl7pJeziLmxC5FKNsU 9CqA== 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 d21-20020a05640208d500b004acbeb8f656si10350175edz.337.2023.02.14.18.16.11; Tue, 14 Feb 2023 18:16:34 -0800 (PST) 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 S232833AbjBOCBZ (ORCPT + 99 others); Tue, 14 Feb 2023 21:01:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231871AbjBOCBV (ORCPT ); Tue, 14 Feb 2023 21:01:21 -0500 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38EBD2385A; Tue, 14 Feb 2023 18:01:18 -0800 (PST) X-MailGates: (flag:4,DYNAMIC,BADHELO,RELAY,NOHOST,NULLFROM:PASS)(compute _score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTP Server V5.0(23454:0:AUTH_RELAY) (envelope-from ); Wed, 15 Feb 2023 10:01:09 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) 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.20; Wed, 15 Feb 2023 10:00:58 +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.20 via Frontend Transport; Wed, 15 Feb 2023 10:00:58 +0800 From: To: , , CC: , , , , Subject: [PATCH 0/2] Add Richtek RT5739 switching voltage regulator support Date: Wed, 15 Feb 2023 10:00:55 +0800 Message-ID: <1676426457-1389-1-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757861531625654068?= X-GMAIL-MSGID: =?utf-8?q?1757861531625654068?= From: ChiYuan Huang This patch set is to add Richtek RT5739 regulator support. The RT5739 is a step-down switching voltage regulator that delivers a digitally programmable output from an input voltage supply from 2.5V to 5.5V. The output voltage is programmed through an I2C interface capable of operating up to 3.4MHz. ChiYuan Huang (2): dt-bindings: regulator: Add bindings for Richtek RT5739 regulator: Add support for Richtek RT5739 voltage regulator .../bindings/regulator/richtek,rt5739.yaml | 80 ++++++ drivers/regulator/Kconfig | 13 + drivers/regulator/Makefile | 1 + drivers/regulator/rt5739.c | 290 +++++++++++++++++++++ 4 files changed, 384 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt5739.yaml create mode 100644 drivers/regulator/rt5739.c