Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1100797pxb; Wed, 6 Apr 2022 08:44:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWsLDHou58XSb9X3wZeJb60MMjDrYYpBt+PkOZfy/IRaLpEiXafO7cMRV6twxn+bLy+Exb X-Received: by 2002:a17:90a:6d96:b0:1c9:c1de:ef2f with SMTP id a22-20020a17090a6d9600b001c9c1deef2fmr10531426pjk.210.1649259856962; Wed, 06 Apr 2022 08:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649259856; cv=none; d=google.com; s=arc-20160816; b=gpEuCZU7NR2MQujlxASBHmz1SJpPMSd11vSa1Iaz3kXNoG3D9I3855PrhLDQEL/P/9 mTQy7uVoy9L8P1WT3x09MTpkPrcIHSP140ZC9FNoVqfkalhLFEz+lQea/uG3zmEj6Nfk Ojb8N2e0MVUtjqzZzY86C5hyDIfEPibvhXdEhR5L14C6IksaZkuBwrzjXDUYt33ewKz6 FEMey9WvdON33DY2G/vetrHl9Lv3Lt4AwTBMu4GCpohVlrGXVuwfbHQuMpQKyl/4FjOP DTAaj8imXq/21htqqfjXtqsZXPTOe374qr85IZT+vcnW8c8P0sRtTVPO/b+uJASADSVM 8spQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=C30EsKSnyXniVsuHK+cXjwGqiqlPYMws48JZ2eTUz6s=; b=jF2ZTSz78I2g4q4UsbceEaGzViHT6YaIPgMOhew5e8KtYD7Grd51naErHIs8e9IDMT uOwvT6zGz5/WIKnhGarJZsdi2S8O4NIYxgDI9fhA2/bLxJG5ibBlQDXdx5R5tvt3CMXP ypJ/CBrfHouAtTiI2HVUc4S4QQQivZfK8+OB1s6xtnXrunhPxJ7Ra1OXVZ9WQotbmDgY z7BQ5II+CbEJFrMrUha61Baebf7ng7jBxs/Zcbq99OTRSBy0W4p8SUHGZnTkiC4VChyy 8HEko6LAvdIu9NKa4YwuBDTOiV6mxXDU4bBTpTszlOutlhR0XLSU6OTKzvgNqGMrwOs5 pCBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=XVA4uOSh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b21-20020a056a000a9500b004fa3a8dff59si17349940pfl.16.2022.04.06.08.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 08:44:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=XVA4uOSh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BB9602B8193; Wed, 6 Apr 2022 07:01:11 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234117AbiDFOC7 (ORCPT + 99 others); Wed, 6 Apr 2022 10:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234432AbiDFOCh (ORCPT ); Wed, 6 Apr 2022 10:02:37 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 822D6636E; Wed, 6 Apr 2022 02:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649236785; x=1680772785; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=C30EsKSnyXniVsuHK+cXjwGqiqlPYMws48JZ2eTUz6s=; b=XVA4uOShm3u9NeDWBVFvWvVJF9+G9O9GAGUOojkAAfYnbB2Vvarqrnpc jHm+B3NwgAIXCkZVhGxd0MvVgdcwHsPtyLCoOKs2OxEu6YImUQRlXBfjf 49I4NBE+bKVf5bIP9ih/ELM9wkeiJJZ1kfzk7mVzweYcG54YmAxn4jlyr o=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 06 Apr 2022 02:19:45 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 02:19:44 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 6 Apr 2022 02:19:44 -0700 Received: from [10.216.50.162] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 6 Apr 2022 02:19:39 -0700 Subject: Re: [PATCH V9 3/6] mfd: pm8008: Add mfd cell struct to register LDOs To: Stephen Boyd , Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , References: <1649166633-25872-1-git-send-email-quic_c_skakit@quicinc.com> <1649166633-25872-4-git-send-email-quic_c_skakit@quicinc.com> From: "Satya Priya Kakitapalli (Temp)" Message-ID: <738b87e0-85dd-70b4-178b-9c3a9c5a7468@quicinc.com> Date: Wed, 6 Apr 2022 14:49:35 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 4/6/2022 12:38 AM, Stephen Boyd wrote: > Quoting Satya Priya (2022-04-05 06:50:30) >> Add mfd cell struct to match with the "qcom,pm8008-regulator" >> driver and a separate probe to add pm8008_regulator_devs. >> This separate probe is required to ensure the regulators are >> registered only with the mfd device which contains regulators. > I don't get it. Shouldn't the pm8008-regulators compatible string be a > different i2c driver in drivers/regulator/ that matches the compatible > string for qcom,pm8008-regulators? Initially we had it that way but as per Mark's suggestion here [1] I've made these changes to register regulators directly through mfd driver. [1] https://patchwork.kernel.org/project/linux-arm-msm/patch/1637314953-4215-3-git-send-email-quic_c_skakit@quicinc.com/#24618011 >> Add the reset-gpio toggling in the pm8008_probe() to bring >> pm8008 chip out of reset instead of doing it in DT node using >> "output-high" property. > Please split this part off to a different patch. Okay.