Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2560256pxp; Fri, 18 Mar 2022 13:15:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoPjRgh1BNCwknI/6HMmVaPyiQlAJAUNwQsePNtpzNc+ueJrC/dakRXevuQV36HqVXEFd7 X-Received: by 2002:a05:6402:909:b0:416:6f3c:5c1d with SMTP id g9-20020a056402090900b004166f3c5c1dmr11193464edz.108.1647634501934; Fri, 18 Mar 2022 13:15:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647634501; cv=none; d=google.com; s=arc-20160816; b=zxIjiRmoXtdOcJEMsp8iGbi+0dJKgqnIe9ODAvJ8Xar+FE6gCaGwbdPfA+qLklkwEx ZwYj68TTP7hsRvH71BbwkwHj5bFMexLF9bN3W132z9OJSk9g9RBTjYKmpyoOKDbJPbG2 JrBgFtzfvZnhuROpynHWxggajJB+okYYxErD58WSM/bip0QnA3abK96GxlfsxKQQEbUn avN7a2gBnyyzckiIJsrpJVFjSu5S4QkCWfO9AWmuqRCAdcj8x797FgyKGiASe65kwv+c N78Mz7z7PbrNKb++bRgEz3/LXbUqfTs25g9ROuqcx/bzUuZo46q6Ssnm0rfAZX1bCBer 6tOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8Ok+SrFZP4VGCzZqd/6eQ5sMs2gEouGAhS+yjFNBmro=; b=JjtA/lQr9ZBbGcLeEmJF8KOUlNxUbAGVzbWks11Rouktq9qFQhq3ciL57xDVpB4300 dUo4z50WWGRnIbaF7hWIlAl0peAVkwCE51gRBSHhMHaftKyn7ntY7vtEhMF8SqKZH6eU HvCybUEDpt8SRz5/DeBSY0SjxlyCjHGGzAn71cVRQzsdfJuKG72xcww+cncGUH7RfAXu uIwdpjzujD6yb7/+ZEdBTUlBsLSAw3s/+TaKac7bYQ7iJlXuQxG5YpLKaG6a/aFXRt3S qOyzC/ph0U/NbIRgsCxYIJJ7Hkg+5rHDtDlg0af94hstYEA8cdhUltTqkjfQbj1Laejv hILg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e2oz9OXo; 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=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a17090617c700b006df76385d7esi1868393eje.542.2022.03.18.13.14.36; Fri, 18 Mar 2022 13:15:01 -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=@collabora.com header.s=mail header.b=e2oz9OXo; 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=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235876AbiCRLix (ORCPT + 99 others); Fri, 18 Mar 2022 07:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235869AbiCRLiu (ORCPT ); Fri, 18 Mar 2022 07:38:50 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A52D2C541E; Fri, 18 Mar 2022 04:37:32 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id 03A6A1F420EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1647603451; bh=DUwF+4TszQDCNeDXlM+WluEPY94AYWvLFUDw8QuwfQg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e2oz9OXocQV79/AfrGxOzkoRbUznG1dof/wXLvHC1AfiKFDmr4MsShYDdKA9ZvB34 vvfzVjTIiK6qrARQe+gyzQ3ZStFL3Etc7f8cWSosXcR6cGtYtF1SBAivHQ3BqIc3AN Gadotll2cJQyGu93vJR3WrzCcewVLamUp5NElChpNYVZvSXJQJqJbhwfCA2Vh7dZyn sxAiKS+NlPYiNx+yU1cu9Vl29BzqKIsUt6jw53RFU2GBXaQKkNh5UlhcUWF9VKgbJy OYdVq9gioWE/S8NIKPmBdHx65Z+u1pjpLeXqoh08oSMz21nxMjk0gU1of1FDfbcl8W I1Cyboi+vZE4Q== Message-ID: <251d7e90-c20f-f870-85bd-97bdd55ac4e9@collabora.com> Date: Fri, 18 Mar 2022 12:37:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2 1/2] regulator: mt6366: Add support for MT6366 regulator Content-Language: en-US To: Johnson Wang , broonie@kernel.org, robh+dt@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20220317030402.24894-1-johnson.wang@mediatek.com> <20220317030402.24894-2-johnson.wang@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220317030402.24894-2-johnson.wang@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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 Il 17/03/22 04:04, Johnson Wang ha scritto: > The MT6366 is a regulator found on boards based on MediaTek MT8186 and > probably other SoCs. It is a so called pmic and connects as a slave to > SoC using SPI, wrapped inside the pmic-wrapper. > > Reviewed-by: Mark Brown Reviewed-by: AngeloGioacchino Del Regno > Signed-off-by: Johnson Wang > --- > drivers/regulator/mt6358-regulator.c | 213 ++++++++++++++++++++- > include/linux/regulator/mt6358-regulator.h | 45 +++++ > 2 files changed, 253 insertions(+), 5 deletions(-) > > diff --git a/drivers/regulator/mt6358-regulator.c b/drivers/regulator/mt6358-regulator.c