[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB3PR0402MB3916B3B871FDEA9BFC960C67F5E10@DB3PR0402MB3916.eurprd04.prod.outlook.com>
Date: Sun, 23 Jun 2019 11:31:12 +0000
From: Anson Huang <anson.huang@....com>
To: Thomas Gleixner <tglx@...utronix.de>
CC: "daniel.lezcano@...aro.org" <daniel.lezcano@...aro.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
Abel Vesa <abel.vesa@....com>,
"ccaione@...libre.com" <ccaione@...libre.com>,
"angus@...ea.ca" <angus@...ea.ca>,
"andrew.smirnov@...il.com" <andrew.smirnov@...il.com>,
"agx@...xcpu.org" <agx@...xcpu.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
dl-linux-imx <linux-imx@....com>
Subject: RE: [PATCH 1/3] clocksource/drivers/sysctr: Add an optional property
Hi, Thomas
Thanks for the useful comment, I will resend the patch with improvement.
Anson.
> -----Original Message-----
> From: Thomas Gleixner <tglx@...utronix.de>
> Sent: Sunday, June 23, 2019 6:47 PM
> To: Anson Huang <anson.huang@....com>
> Cc: daniel.lezcano@...aro.org; robh+dt@...nel.org; mark.rutland@....com;
> shawnguo@...nel.org; s.hauer@...gutronix.de; kernel@...gutronix.de;
> festevam@...il.com; l.stach@...gutronix.de; Abel Vesa
> <abel.vesa@....com>; ccaione@...libre.com; angus@...ea.ca;
> andrew.smirnov@...il.com; agx@...xcpu.org; linux-
> kernel@...r.kernel.org; devicetree@...r.kernel.org; linux-arm-
> kernel@...ts.infradead.org; dl-linux-imx <linux-imx@....com>
> Subject: Re: [PATCH 1/3] clocksource/drivers/sysctr: Add an optional
> property
>
> Anson,
>
> On Fri, 21 Jun 2019, Anson.Huang@....com wrote:
>
> > Subject : [PATCH 1/3] clocksource/drivers/sysctr: Add an optional
> > property
>
> That subject line is not really informative. From Documentation:
>
> The ``summary phrase`` in the email's Subject should concisely
> describe the patch which that email contains.
>
> That means that it should tell which property it adds so it's immediately clear
> what this is about. Something like:
>
> Subject: clocksource/drivers/sysctr: Add optional clock-frequency property
>
> Hmm?
>
> > From: Anson Huang <Anson.Huang@....com>
> >
> > This patch adds an optional property "clock-frequency" to pass
>
> Please read Documentation/process/submitting-patches.rst and search for
> 'This patch'
>
> > the system counter frequency value to kernel system counter driver and
> > indicate the driver to skip of_clk operations, this is to support
> > those platforms using platform driver model for clock driver.
>
> That sentence does not parse. Please structure your changelog in the
> following order:
>
> 1) Context or problem
>
> 2) Detailed analysis (if applicable and necessary)
>
> 3) Short description of the solution (the rest is obvious from the patch
> itself).
>
> So something like this (assumed I decoded the above correctly):
>
> Systems which use the system counter with the platform driver model
> require the clock frequency to be supplied via device tree.
>
> This is necessary as in the platform driver model the of_clk operations
> do not work correctly because LENGHTY EXPLANATION WHY ...
>
> Add the optinal clock-frequency to the device tree bindings of the NXP
> system counter so the frequency can be handed in and the of_clk
> operations can be skipped.
>
> The important part is the missing LENGTHY EXPLANATION WHY. I can't fill
> that in because you did not provide that information.
>
> Thanks,
>
> tglx
Powered by blists - more mailing lists