Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Sachin Gupta <quic_sachgupt@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	<linux-arm-msm@vger.kernel.org>, <linux-mmc@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <quic_cang@quicinc.com>,
	<quic_nguyenb@quicinc.com>, <quic_bhaskarv@quicinc.com>,
	<quic_mapa@quicinc.com>, <quic_narepall@quicinc.com>,
	<quic_nitirawa@quicinc.com>, <quic_rampraka@quicinc.com>,
	<quic_sartgarg@quicinc.com>
Subject: Re: [PATCH V2 1/2] mmc: sdhci-msm: Add core_major, minor to msm_host structure
Date: Thu, 26 Dec 2024 11:14:23 +0530	[thread overview]
Message-ID: <c6cff184-12d2-4bd1-9073-e13e55144989@quicinc.com> (raw)
In-Reply-To: <emdc6nq3z7z2zimkbut4hknhksoyzsemnna7iyrdvkfxpvbkvb@7vxdyoams4ky>



On 12/19/2024 8:39 AM, Dmitry Baryshkov wrote:
> On Wed, Dec 18, 2024 at 02:40:56PM +0530, Sachin Gupta wrote:
>> Add the core_major and core_minor variables from local
>> scope to the msm_host structure. This change improves
>> the organization of the code and allows these variables
>> to be accessed more easily throughout the msm_host context.
> 
> It doesn't improve anything, it is necessary for the followup patch.

Thanks for review. I will update the commit message to reflect the 
current patch information.

> 
>>
>> core_major will have information related to sdcc controller
>> major version number.
>> core_minor will have information related to sdcc controller
>> minor version number.
>>
>> Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
>> ---
>>   drivers/mmc/host/sdhci-msm.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
>> index e00208535bd1..2a5e588779fc 100644
>> --- a/drivers/mmc/host/sdhci-msm.c
>> +++ b/drivers/mmc/host/sdhci-msm.c
>> @@ -273,6 +273,8 @@ struct sdhci_msm_host {
>>   	bool tuning_done;
>>   	bool calibration_done;
>>   	u8 saved_tuning_phase;
>> +	u8 core_major;
>> +	u16 core_minor;
>>   	bool use_cdclp533;
>>   	u32 curr_pwr_state;
>>   	u32 curr_io_level;
>> @@ -2557,6 +2559,10 @@ static int sdhci_msm_probe(struct platform_device *pdev)
>>   	core_major = (core_version & CORE_VERSION_MAJOR_MASK) >>
>>   		      CORE_VERSION_MAJOR_SHIFT;
>>   	core_minor = core_version & CORE_VERSION_MINOR_MASK;
>> +
>> +	msm_host->core_major = core_major;
>> +	msm_host->core_minor = core_minor;
>> +
>>   	dev_dbg(&pdev->dev, "MCI Version: 0x%08x, major: 0x%04x, minor: 0x%02x\n",
>>   		core_version, core_major, core_minor);
>>   
>> -- 
>> 2.17.1
>>
> 


  reply	other threads:[~2024-12-26  5:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-18  9:10 [PATCH V2 0/2] mmc: sdhci-msm: Rectify DLL programming sequence for SDCC Sachin Gupta
2024-12-18  9:10 ` [PATCH V2 1/2] mmc: sdhci-msm: Add core_major, minor to msm_host structure Sachin Gupta
2024-12-19  3:09   ` Dmitry Baryshkov
2024-12-26  5:44     ` Sachin Gupta [this message]
2024-12-18  9:10 ` [PATCH V2 2/2] mmc: sdhci-msm: Rectify DLL programming sequence for SDCC Sachin Gupta
2024-12-19  5:54   ` Dmitry Baryshkov
2024-12-26  5:52     ` Sachin Gupta
2024-12-26 18:53       ` Dmitry Baryshkov
2025-01-07  5:43         ` Sachin Gupta
2025-01-07 15:08           ` Dmitry Baryshkov
2025-01-22  9:27             ` Sachin Gupta
2025-01-22  9:50               ` Dmitry Baryshkov
2025-07-23 10:13                 ` Ram Prakash Gupta
2025-07-30 17:56                   ` Dmitry Baryshkov
2025-07-31 11:46                     ` Ram Prakash Gupta
2025-07-31 14:19                       ` Dmitry Baryshkov
2025-08-06 19:58                         ` Ram Prakash Gupta
2025-08-09  9:40                           ` Dmitry Baryshkov
2025-08-21 14:15                             ` Ram Prakash Gupta
2025-08-28  8:00                               ` Ram Prakash Gupta
2025-08-28 10:31                                 ` Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6cff184-12d2-4bd1-9073-e13e55144989@quicinc.com \
    --to=quic_sachgupt@quicinc.com \
    --cc=adrian.hunter@intel.com \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=quic_bhaskarv@quicinc.com \
    --cc=quic_cang@quicinc.com \
    --cc=quic_mapa@quicinc.com \
    --cc=quic_narepall@quicinc.com \
    --cc=quic_nguyenb@quicinc.com \
    --cc=quic_nitirawa@quicinc.com \
    --cc=quic_rampraka@quicinc.com \
    --cc=quic_sartgarg@quicinc.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox