Message ID | 1666320059-17544-1-git-send-email-u0084500@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp446731wrr; Thu, 20 Oct 2022 19:52:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6xywyX7Y/f4dPeJ9TC3ViIH8N7H/53ew4kfk5XAnvbYYz38gbsynrhuzhfxaOWfjrhyFBR X-Received: by 2002:a17:902:a9c6:b0:178:b2d4:f8b2 with SMTP id b6-20020a170902a9c600b00178b2d4f8b2mr16902206plr.79.1666320744551; Thu, 20 Oct 2022 19:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666320744; cv=none; d=google.com; s=arc-20160816; b=ARz9mDC6P7Nw0G2zOusOXveDJUV4MdA/WEXyiqBUsC1AaHcGFXk0iUtcbPcGFjliWd i94WhyKrUhU6EEjjhb09A2zyx3tgrooYkzdLUqtXyFAAjBgazNPYa6oPPcdUePP7YJQQ KxkNXOZDLcs32saMcMhY9TYs48do/BWnz3nYF3L347vO+3Vq1vRl0whp4qxSc8wN8Vky tP0aDMgZf4l+R9BhpaPayZcR/Rgl/IYSPhTSpRNwR1xkTCSh+v1qX153QPyLFS5AyP1U i0eS9jKvo1RPYTXWiPbVq28cLjOn0fCtB511KWvzr8YujwK2dS6Ncgc62PKj0hJruqnA c0zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=q7qTx0k1id+tqPtrpykfViuJRNlwvqXtqIFSsgug6r4=; b=WX3u2y+01KDS0x9mCI9PVDZMSAiEaGWQ+V5uyX4QCyO1nedfsQOR0X4ohdzR0v4fxT wjorZhPhj582S69hGndM+wQcHoT7jWVxk0DlQxdTiM7zDNYc+Ta38/hK+93Yhhg0HVey XFljXruf4MvP8WJc+em1B85ajWUnAbId6qnUJlGsF5EJcocDJhf7qoaYhTIoB3tT3OQR 7acxN0Sja4Jucgyxjm6B4yoU2Qld+NHmI0WTqDU/wJLsOrEMOvTT929jVmhQz9A4myLW tHUTSSQYvJEY35Ax/wDAaciA4qG98lNdUxBXB6/O3LRreU4Dk/cob/2LhgbU6WcmS3EX 0lRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jb6+eMMf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s192-20020a632cc9000000b00461ffae7b37si24988486pgs.0.2022.10.20.19.52.11; Thu, 20 Oct 2022 19:52:24 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jb6+eMMf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229959AbiJUClL (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Thu, 20 Oct 2022 22:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiJUClJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Oct 2022 22:41:09 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4F661B232E; Thu, 20 Oct 2022 19:41:05 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id pq16so1197474pjb.2; Thu, 20 Oct 2022 19:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=q7qTx0k1id+tqPtrpykfViuJRNlwvqXtqIFSsgug6r4=; b=jb6+eMMfeAlOFfvR6HBFBnIUEKd66s8sfoCn1SS236FS6ogTGYFAQimh1lfZiL++XA DK2ZPy3sW7JuPOHLqzHfqXaAE3jTu0kTcqINtCP7oZzyRmNkWRJkImDh7SSVLw2s75/W MJqj5Mwxe3WKSt7MzJPP39mtiCKI2b8TJbHkzufBmaNUQPGvgjmlEcDuR5jkGWUvY1SK gY3P3dg0xaTO/Jr+ctaIe1QpD5gZ+bDRdYaR+4aLwd9TW8Q1YAt7JtiRFUykVAjY5TYx KbqYCEmR+egPBnlphsnRUIYCg4mYGrnqsgXUp7qsVNaFoNUialIyT7NElTwDa0H/Kf5s anxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q7qTx0k1id+tqPtrpykfViuJRNlwvqXtqIFSsgug6r4=; b=P92epzXNTmcVDtCOOkMbCp4onukyakC88shqy3SxM5R2USaRhA/8c7+9c/kD7Xw3VC PaFjs7f/wjwzb3FpdkvojMmMq7jbKXtkWZ0HWDSENa7OEcOdq28S76a3UTPjg2SKxUGB CF7LvH6QHkNVLoA6/mSmxHFiER/8ex+chJrzJ9//TqejIYmXngVv6u22uiigy46Xqcpk UF2OrR52hcC4uhDC+61fHECNvoDo7pjBa72NlGvxB1cnlWwGn64c3VNPVI84BVXXIrYZ gMzIf11RzwdoLh0UBHoXfOGroDznLB9y4+3Be9LZ4lOpS4XfU/eFVfgODavSEE2TXS/V 5NGg== X-Gm-Message-State: ACrzQf35z9Vq0p8181irOWiFqdVZQBKPwolahRM3Y2Dj1ygKlbH1s3mQ WULPlY/R0WWz192D0IUTrSZ/NYfxmQY= X-Received: by 2002:a17:902:ccc2:b0:178:29e1:899e with SMTP id z2-20020a170902ccc200b0017829e1899emr16995154ple.114.1666320065326; Thu, 20 Oct 2022 19:41:05 -0700 (PDT) Received: from localhost.localdomain ([2402:7500:577:b022:150a:a87e:ab3a:9736]) by smtp.gmail.com with ESMTPSA id a19-20020aa794b3000000b0053e42167a33sm14033023pfl.53.2022.10.20.19.41.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Oct 2022 19:41:04 -0700 (PDT) From: cy_huang <u0084500@gmail.com> To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, broonie@kernel.org Cc: lgirdwood@gmail.com, cy_huang@richtek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Add support for Richtek RT6190 36V 4-wwtich regulator Date: Fri, 21 Oct 2022 10:40:57 +0800 Message-Id: <1666320059-17544-1-git-send-email-u0084500@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747263940946220152?= X-GMAIL-MSGID: =?utf-8?q?1747263940946220152?= |
Series |
Add support for Richtek RT6190 36V 4-wwtich regulator
|
|
Message
ChiYuan Huang
Oct. 21, 2022, 2:40 a.m. UTC
From: ChiYuan Huang <cy_huang@richtek.com>
The RT6190 is a 4-switch Buck-Boost controller designed for USB power delivery
(USB PD). It operates with wide input voltage range from 4.5V to 36V, and the
output voltage can be programmable between 3V and 36V. It implements peak
current mode control mechanism to deliver up to 100W power with the
programmable constant voltage and constant current output. It also has built-in
charge pumps for driving external low-cost N-MOSFETs to control the power path.
Since v2:
- Rename binding filename to 'richtek,rt6190.yaml'
ChiYuan Huang (2):
dt-bindings: regulator: Add bindings for Richtek RT6190 regulator
regulator: rt6190: Add support for Richtek RT6190 regulator
.../bindings/regulator/richtek,rt6190.yaml | 77 ++++
drivers/regulator/Kconfig | 11 +
drivers/regulator/Makefile | 1 +
drivers/regulator/rt6190-regulator.c | 495 +++++++++++++++++++++
4 files changed, 584 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/richtek,rt6190.yaml
create mode 100644 drivers/regulator/rt6190-regulator.c