Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp397015imn; Mon, 25 Jul 2022 21:02:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uFksK41GaYi504BFIqpe76lNqifPmw/OHTs4/og5YhTYTzS7+B+2zxUoh3NhYf3P7cch9y X-Received: by 2002:a17:90a:db85:b0:1f2:da67:7b5c with SMTP id h5-20020a17090adb8500b001f2da677b5cmr4585560pjv.114.1658808163677; Mon, 25 Jul 2022 21:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658808163; cv=none; d=google.com; s=arc-20160816; b=JAuggAOMnbv1NH2AaLEMB/RMZS4Yq+7D7MW2EVmt/PfJn+jVkKJuPCMlLyBE4R+0M7 fC9AsljXLfMTyV17h/bofVf414eQpu8zzxkVhyvIkBdImJ1DAHQnafzN1GbLYuYC8+zP efjmmVVn6SMZn4ttCWXjdozrSRUTdtEloke9TVRoXLM9VaWOxMDz22+LN0FIlxxq9JN5 zUHfr7nbRgzRmPulp/wuPx/rGu3DLP4j2nCigAnaoMoYau6Jnq1feHtLH02m5TcKxhaG d3ul9lkKpSbeY85sI9nEWch1YLyp3Cp7uECEzAZZdplyvomI/T3v2KRsBDpNqXy9YLH+ vB3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hK9bdKxTQpaVNAf62mZs34iWrOFJN74ACx5fLDVM42o=; b=vZ9hT2i+//ZYEzukrc5jn8APtcQZyhifqv5C9xTOi5E/sPJn1JK7J9uW7+245aznqh qs+G+FiQAuw+Dcf+5LOf7ZYTSNfOJYkDai33AzDTh07czfrvqyByC6MXJL1TaaU1561H dlzW7StaoVAAb6nxnlwvVSlLVXj56FhBClq9JcR/htvolX4i0WTkYfYHjoO2n9ZPYs80 64DylNsmD/lkP0hESFbSi6vFFx+6+UvnIptPbikIVVh7TTCJLu+pPup0rJCPMiITgPUy DRNuW/V33JpMnE+t86xtr79B6yBRsUfN9KIJEZN6OWUtKU2K42F7bX43v3P/O8fMJ6SD KLEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dQ1lsD0p; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g68-20020a636b47000000b0041a84b02854si14379620pgc.420.2022.07.25.21.02.28; Mon, 25 Jul 2022 21:02:43 -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=dQ1lsD0p; 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 S237281AbiGZDpS (ORCPT + 99 others); Mon, 25 Jul 2022 23:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbiGZDpQ (ORCPT ); Mon, 25 Jul 2022 23:45:16 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADADD265D; Mon, 25 Jul 2022 20:45:14 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id tk8so23919246ejc.7; Mon, 25 Jul 2022 20:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hK9bdKxTQpaVNAf62mZs34iWrOFJN74ACx5fLDVM42o=; b=dQ1lsD0pepwYEFblTk7mpzcFBnxB6tyOgcPOpx/6lHi03xM2x6XoOMsftr0Ahyhnyp YKRNwmbk3S/dLgnWzqNgPvK3hzQRuTVRQls/Mi1FhdzbDczqdn38liHHuEZW47JFLsk1 +h8lkfRCPTDjr9YQRU8WmvTdoUuNXQFyhb7IMeTpMpj5T/h8sYR0lb0eox1DrvXaLl90 u8PqQ4B47CZB0IIFF6SbpRISJlWaXFWXrxg6Ylkgcn2ynkyqgVjdVxYWOU1X6rvhpy8R pTzJRcOEm6vNKlAm0C7wQxZPfKBpMYuFfOzuVH69iBnapUG9N+QMFhV7yxDIhCFQNAdJ /mtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hK9bdKxTQpaVNAf62mZs34iWrOFJN74ACx5fLDVM42o=; b=y9Thlp2Cm6fVezY/mAlU30Z0KdXXnV48dd5JHwH6pxqYAhBAM4rHy082jQRU5cylQH ZCgNgheuN2XDJFEGTkNZ/ArKCPrl9okpCKeosQxcJ1ReX6UNNf9S2Ggvo1w20lp1weYt n3a955YG5EH1NMvlGUfhL76sYVyeuu98kIm9wcrde10AP1uPTZ/CyZc2Boqc/N/f/xl5 9wgV1aAvgT/wIyPd8rRJqsvyvzmQSTZKmQoaWl2djn5aEWjZIaG3nzjOfnX/196kGp/U PYH+EpIUbODrK+y4PLvkqpXI2FiEQ3R7p/bUOz95cnWnPBSO+J5JJHknuOflA57kTNg5 PXEQ== X-Gm-Message-State: AJIora9GuM8QjTucc0BbrvGUBzIKkWQvROY4QJGfzmu2cyDNw4YqBN5W qmPN9PpY0U8+9erQ8W+92ioDVsJq8tddYfAXqwY= X-Received: by 2002:a17:906:844f:b0:72b:549e:a654 with SMTP id e15-20020a170906844f00b0072b549ea654mr11954747ejy.535.1658807113081; Mon, 25 Jul 2022 20:45:13 -0700 (PDT) MIME-Version: 1.0 References: <1657780937-20891-1-git-send-email-u0084500@gmail.com> In-Reply-To: <1657780937-20891-1-git-send-email-u0084500@gmail.com> From: ChiYuan Huang Date: Tue, 26 Jul 2022 11:45:00 +0800 Message-ID: Subject: Re: [PATCH v3 0/3] Add Richtek RT5120 PMIC support To: Rob Herring , Krzysztof Kozlowski , Lee Jones , Mark Brown , Dmitry Torokhov Cc: Liam Girdwood , cy_huang , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lkml , linux-input@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: X-Mailing-List: linux-kernel@vger.kernel.org cy_huang =E6=96=BC 2022=E5=B9=B47=E6=9C=8814=E6=97=A5 = =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=882:42=E5=AF=AB=E9=81=93=EF=BC=9A > > From: ChiYuan Huang > > This patch series is to add Richtek RT5120 PMIC support. > In RT5120, it integrates four channels of buck converter, one channel of = LDO, > and one external enable channel to control the external power source. ping ...... > > rt5120-regulator can be referred in the below link > Link: https://lore.kernel.org/lkml/165599062767.127406.125714869841700832= 13.b4-ty@kernel.org/ > > Since v3: > - Use a 'dev' variable and dev_err_probe to decrease the LOC in mfd. > - Simplify the power key irq handler key report > - Since press and release irq not needed to keep in private data, change = 'press', > 'release' irq as local variable only. > - Fix Kconfig typo for pwrkey. > > Since v2: > - Add 'unevaluatedProperties: false' for regulator buck1~4/ldo/exten. > - Fix indention and remove status for powerkey. > - Refine powerkey description for more HW details. > - For the regulator property parsing, use of_property_read_u32 instead. > - Not to overwrite regulator constraint. > - Refine regulator desc coding. > > ChiYuan Huang (3): > dt-binding: mfd: Add Richtek RT5120 PMIC support > mfd: rt5120: Add Richtek PMIC support > input: misc: rt5120: Add power key support > > .../devicetree/bindings/mfd/richtek,rt5120.yaml | 178 +++++++++++++++= ++++++ > drivers/input/misc/Kconfig | 9 ++ > drivers/input/misc/Makefile | 1 + > drivers/input/misc/rt5120-pwrkey.c | 105 ++++++++++++ > drivers/mfd/Kconfig | 12 ++ > drivers/mfd/Makefile | 1 + > drivers/mfd/rt5120.c | 121 ++++++++++++++ > 7 files changed, 427 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/richtek,rt5120.= yaml > create mode 100644 drivers/input/misc/rt5120-pwrkey.c > create mode 100644 drivers/mfd/rt5120.c > > -- > 2.7.4 >