All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	linux-pm@vger.kernel.org
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	"Jason Cooper" <jason@lakedaemon.net>,
	"Antoine Tenart" <antoine.tenart@bootlin.com>,
	"Gregory CLEMENT" <gregory.clement@bootlin.com>,
	"Maxime Chevallier" <maxime.chevallier@bootlin.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Miquèl Raynal" <miquel.raynal@bootlin.com>,
	linux-arm-kernel@lists.infradead.org,
	"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>
Subject: [PATCH v5 0/2] Add cpufreq support for Armada 8K
Date: Fri, 18 Jan 2019 15:11:38 +0100	[thread overview]
Message-ID: <20190118141140.30352-1-gregory.clement@bootlin.com> (raw)

Hi,

this is the fifth version of a the series adding the cpufreq support
for the Marvell Armada 8K SoCs.

Gregory

Changelog:
v4 -> v5:

 - Rebased onto v5.0-rc1

 - Rewrite the clk_get part in armada_8k_get_sharing_cpus()

 - Reverse the call function order in armada_8k_cpufreq_exit()

v3 -> v4:

 - Remove most of the global variable and use the private data of the
   platfrom device to store the freq_tables struct.

 - Remove the clk pointer of the freq_table struct which is no more
   needed with the new way to register the opp

 - Check the get_cpu_device() return.

 - Balance the clk_get() calls.

 - No more use the devm_ function.

 - Base the registration of the opp on the cpu mask updated after each
   iteration to find the shared cpus.

 - Base the free on the NULL or 0 value of the freq_table struct
   members, it allows to remove the global index.

v2 -> v3

 - Make the driver really modular (modprobe;modprobe -r;modprobe; is working)

 - Don't use anymore 100MHz as minimal frequency, but only max frequency/4

 - Fix remaining warning reported by checkpatch

 - Rework the registering of the opp

v1 -> v2:

 - Fix typos in MAINTAINERS (reported by Baruch Siach) and in
   armada-8k-cpufreq.c (reported by Thomas Petazzoni)

 - Fix indentation in Kconfig.arm  (reported by Thomas Petazzoni)

 - Use const for opps_div  (reported by Thomas Petazzoni)

 - Fix memory leak of opps_array  (reported by Thomas Petazzoni)


Gregory CLEMENT (2):
  MAINTAINERS: add new entries for Armada 8K cpufreq driver
  cpufreq: ap806: add cpufreq driver for Armada 8K

 MAINTAINERS                         |   1 +
 drivers/cpufreq/Kconfig.arm         |  11 ++
 drivers/cpufreq/Makefile            |   1 +
 drivers/cpufreq/armada-8k-cpufreq.c | 203 ++++++++++++++++++++++++++++
 4 files changed, 216 insertions(+)
 create mode 100644 drivers/cpufreq/armada-8k-cpufreq.c

-- 
2.20.1

WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	linux-pm@vger.kernel.org
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	"Jason Cooper" <jason@lakedaemon.net>,
	"Antoine Tenart" <antoine.tenart@bootlin.com>,
	"Gregory CLEMENT" <gregory.clement@bootlin.com>,
	"Maxime Chevallier" <maxime.chevallier@bootlin.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Miquèl Raynal" <miquel.raynal@bootlin.com>,
	linux-arm-kernel@lists.infradead.org,
	"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>
Subject: [PATCH v5 0/2] Add cpufreq support for Armada 8K
Date: Fri, 18 Jan 2019 15:11:38 +0100	[thread overview]
Message-ID: <20190118141140.30352-1-gregory.clement@bootlin.com> (raw)

Hi,

this is the fifth version of a the series adding the cpufreq support
for the Marvell Armada 8K SoCs.

Gregory

Changelog:
v4 -> v5:

 - Rebased onto v5.0-rc1

 - Rewrite the clk_get part in armada_8k_get_sharing_cpus()

 - Reverse the call function order in armada_8k_cpufreq_exit()

v3 -> v4:

 - Remove most of the global variable and use the private data of the
   platfrom device to store the freq_tables struct.

 - Remove the clk pointer of the freq_table struct which is no more
   needed with the new way to register the opp

 - Check the get_cpu_device() return.

 - Balance the clk_get() calls.

 - No more use the devm_ function.

 - Base the registration of the opp on the cpu mask updated after each
   iteration to find the shared cpus.

 - Base the free on the NULL or 0 value of the freq_table struct
   members, it allows to remove the global index.

v2 -> v3

 - Make the driver really modular (modprobe;modprobe -r;modprobe; is working)

 - Don't use anymore 100MHz as minimal frequency, but only max frequency/4

 - Fix remaining warning reported by checkpatch

 - Rework the registering of the opp

v1 -> v2:

 - Fix typos in MAINTAINERS (reported by Baruch Siach) and in
   armada-8k-cpufreq.c (reported by Thomas Petazzoni)

 - Fix indentation in Kconfig.arm  (reported by Thomas Petazzoni)

 - Use const for opps_div  (reported by Thomas Petazzoni)

 - Fix memory leak of opps_array  (reported by Thomas Petazzoni)


Gregory CLEMENT (2):
  MAINTAINERS: add new entries for Armada 8K cpufreq driver
  cpufreq: ap806: add cpufreq driver for Armada 8K

 MAINTAINERS                         |   1 +
 drivers/cpufreq/Kconfig.arm         |  11 ++
 drivers/cpufreq/Makefile            |   1 +
 drivers/cpufreq/armada-8k-cpufreq.c | 203 ++++++++++++++++++++++++++++
 4 files changed, 216 insertions(+)
 create mode 100644 drivers/cpufreq/armada-8k-cpufreq.c

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-01-18 14:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18 14:11 Gregory CLEMENT [this message]
2019-01-18 14:11 ` [PATCH v5 0/2] Add cpufreq support for Armada 8K Gregory CLEMENT
2019-01-18 14:11 ` [PATCH v5 1/2] MAINTAINERS: add new entries for Armada 8K cpufreq driver Gregory CLEMENT
2019-01-18 14:11   ` Gregory CLEMENT
2019-01-18 14:11 ` [PATCH v5 2/2] cpufreq: ap806: add cpufreq driver for Armada 8K Gregory CLEMENT
2019-01-18 14:11   ` Gregory CLEMENT
2019-01-18 14:51   ` Gregory CLEMENT
2019-01-18 14:51     ` Gregory CLEMENT
2019-01-23 10:08 ` [PATCH v5 0/2] Add cpufreq support " Viresh Kumar
2019-01-23 10:08   ` Viresh Kumar

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=20190118141140.30352-1-gregory.clement@bootlin.com \
    --to=gregory.clement@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=antoine.tenart@bootlin.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=maxime.chevallier@bootlin.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=rjw@rjwysocki.net \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=viresh.kumar@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.