* [PATCH v2 0/5]
@ 2013-11-16 22:07 Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 1/5] arm: sa1100: add cpu clock Dmitry Eremin-Solenikov
` (5 more replies)
0 siblings, 6 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
Please apply the following patches that fix the sa1100 framebuffer and PCMCIA
timings calculation if CPU frequency driver is not available.
Changes since V1:
* Corrected patch adding sa1111 pcmcia device - offset was wrong.
----------------------------------------------------------------
Dmitry Eremin-Solenikov (5):
arm: sa1100: add cpu clock
fbdev: sa1100fb: make use of device clock
pcmcia: sa1100: make use of device clock
arm: sa1100: add a clock alias for sa1111 pcmcia device
pcmcia: sa1111: make use of device clock
arch/arm/mach-sa1100/clock.c | 36 ++++++++++++++++++++++++++++++++++++
drivers/pcmcia/sa1100_generic.c | 1 +
drivers/pcmcia/sa1111_generic.c | 4 ++++
drivers/pcmcia/sa11xx_base.c | 14 ++++++++++++--
drivers/video/sa1100fb.c | 24 +++++++++++++++++-------
drivers/video/sa1100fb.h | 1 +
6 files changed, 71 insertions(+), 9 deletions(-)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 1/5] arm: sa1100: add cpu clock
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
@ 2013-11-16 22:07 ` Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 2/5] fbdev: sa1100fb: make use of device clock Dmitry Eremin-Solenikov
` (4 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
Both SA1100 framebuffer and PCMCIA drivers require knowledge of cpu
frequency to correctly program timings. Currently they receive timing
information by calling cpufreq_get(0). However if cpu frequency driver
is not enabled (e.g. due to unsupported DRAM chip/board on sa1110)
cpufreq_get(0) returns 0, causing incorrect timings to be programmed.
Add cpu clock returning cpu frequency, to be used by sa11x0 fb and
pcmcia drivers.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
arch/arm/mach-sa1100/clock.c | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/mach-sa1100/clock.c b/arch/arm/mach-sa1100/clock.c
index 172ebd0..abf1dc1 100644
--- a/arch/arm/mach-sa1100/clock.c
+++ b/arch/arm/mach-sa1100/clock.c
@@ -15,10 +15,12 @@
#include <linux/clkdev.h>
#include <mach/hardware.h>
+#include <mach/generic.h>
struct clkops {
void (*enable)(struct clk *);
void (*disable)(struct clk *);
+ unsigned long (*get_rate)(struct clk *);
};
struct clk {
@@ -51,6 +53,19 @@ static void clk_gpio27_disable(struct clk *clk)
GAFR &= ~GPIO_32_768kHz;
}
+static void clk_cpu_enable(struct clk *clk)
+{
+}
+
+static void clk_cpu_disable(struct clk *clk)
+{
+}
+
+static unsigned long clk_cpu_get_rate(struct clk *clk)
+{
+ return sa11x0_getspeed(0) * 1000;
+}
+
int clk_enable(struct clk *clk)
{
unsigned long flags;
@@ -80,16 +95,35 @@ void clk_disable(struct clk *clk)
}
EXPORT_SYMBOL(clk_disable);
+unsigned long clk_get_rate(struct clk *clk)
+{
+ if (clk && clk->ops && clk->ops->get_rate)
+ return clk->ops->get_rate(clk);
+ else
+ return 0;
+}
+EXPORT_SYMBOL(clk_get_rate);
+
const struct clkops clk_gpio27_ops = {
.enable = clk_gpio27_enable,
.disable = clk_gpio27_disable,
};
+const struct clkops clk_cpu_ops = {
+ .enable = clk_cpu_enable,
+ .disable = clk_cpu_disable,
+ .get_rate = clk_cpu_get_rate,
+};
+
static DEFINE_CLK(gpio27, &clk_gpio27_ops);
+static DEFINE_CLK(cpu, &clk_cpu_ops);
+
static struct clk_lookup sa11xx_clkregs[] = {
CLKDEV_INIT("sa1111.0", NULL, &clk_gpio27),
CLKDEV_INIT("sa1100-rtc", NULL, NULL),
+ CLKDEV_INIT("sa11x0-fb", NULL, &clk_cpu),
+ CLKDEV_INIT("sa11x0-pcmcia", NULL, &clk_cpu),
};
static int __init sa11xx_clk_init(void)
--
1.8.4.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 2/5] fbdev: sa1100fb: make use of device clock
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 1/5] arm: sa1100: add cpu clock Dmitry Eremin-Solenikov
@ 2013-11-16 22:07 ` Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 3/5] pcmcia: sa1100: " Dmitry Eremin-Solenikov
` (3 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
Use per-device clock (instead of calling cpufreq_get(0), which can
return 0 if no cpu frequency driver is selected) to program timings.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
drivers/video/sa1100fb.c | 24 +++++++++++++++++-------
drivers/video/sa1100fb.h | 1 +
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
index de76da0..05d1b37 100644
--- a/drivers/video/sa1100fb.c
+++ b/drivers/video/sa1100fb.c
@@ -178,6 +178,7 @@
#include <linux/dma-mapping.h>
#include <linux/mutex.h>
#include <linux/io.h>
+#include <linux/clk.h>
#include <video/sa1100fb.h>
@@ -413,9 +414,9 @@ sa1100fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
var->transp.offset);
#ifdef CONFIG_CPU_FREQ
- dev_dbg(fbi->dev, "dma period = %d ps, clock = %d kHz\n",
+ dev_dbg(fbi->dev, "dma period = %d ps, clock = %ld kHz\n",
sa1100fb_display_dma_period(var),
- cpufreq_get(smp_processor_id()));
+ clk_get_rate(fbi->clk) / 1000);
#endif
return 0;
@@ -586,9 +587,10 @@ static struct fb_ops sa1100fb_ops = {
* Calculate the PCD value from the clock rate (in picoseconds).
* We take account of the PPCR clock setting.
*/
-static inline unsigned int get_pcd(unsigned int pixclock, unsigned int cpuclock)
+static inline unsigned int get_pcd(struct sa1100fb_info *fbi,
+ unsigned int pixclock)
{
- unsigned int pcd = cpuclock / 100;
+ unsigned int pcd = clk_get_rate(fbi->clk) / 100 / 1000;
pcd *= pixclock;
pcd /= 10000000;
@@ -667,7 +669,7 @@ static int sa1100fb_activate_var(struct fb_var_screeninfo *var, struct sa1100fb_
LCCR2_BegFrmDel(var->upper_margin) +
LCCR2_EndFrmDel(var->lower_margin);
- pcd = get_pcd(var->pixclock, cpufreq_get(0));
+ pcd = get_pcd(fbi, var->pixclock);
new_regs.lccr3 = LCCR3_PixClkDiv(pcd) | fbi->inf->lccr3 |
(var->sync & FB_SYNC_HOR_HIGH_ACT ? LCCR3_HorSnchH : LCCR3_HorSnchL) |
(var->sync & FB_SYNC_VERT_HIGH_ACT ? LCCR3_VrtSnchH : LCCR3_VrtSnchL);
@@ -1003,7 +1005,6 @@ sa1100fb_freq_transition(struct notifier_block *nb, unsigned long val,
void *data)
{
struct sa1100fb_info *fbi = TO_INF(nb, freq_transition);
- struct cpufreq_freqs *f = data;
u_int pcd;
switch (val) {
@@ -1012,7 +1013,7 @@ sa1100fb_freq_transition(struct notifier_block *nb, unsigned long val,
break;
case CPUFREQ_POSTCHANGE:
- pcd = get_pcd(fbi->fb.var.pixclock, f->new);
+ pcd = get_pcd(fbi, fbi->fb.var.pixclock);
fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);
set_ctrlr_state(fbi, C_ENABLE_CLKCHANGE);
break;
@@ -1219,6 +1220,13 @@ static int sa1100fb_probe(struct platform_device *pdev)
if (!fbi)
goto failed;
+ fbi->clk = clk_get(&pdev->dev, NULL);
+ if (IS_ERR(fbi->clk)) {
+ ret = PTR_ERR(fbi->clk);
+ fbi->clk = NULL;
+ goto failed;
+ }
+
fbi->base = ioremap(res->start, resource_size(res));
if (!fbi->base)
goto failed;
@@ -1271,6 +1279,8 @@ static int sa1100fb_probe(struct platform_device *pdev)
failed:
if (fbi)
iounmap(fbi->base);
+ if (fbi->clk)
+ clk_put(fbi->clk);
kfree(fbi);
release_mem_region(res->start, resource_size(res));
return ret;
diff --git a/drivers/video/sa1100fb.h b/drivers/video/sa1100fb.h
index fc5d429..0139d13 100644
--- a/drivers/video/sa1100fb.h
+++ b/drivers/video/sa1100fb.h
@@ -68,6 +68,7 @@ struct sa1100fb_info {
#endif
const struct sa1100fb_mach_info *inf;
+ struct clk *clk;
};
#define TO_INF(ptr,member) container_of(ptr,struct sa1100fb_info,member)
--
1.8.4.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 3/5] pcmcia: sa1100: make use of device clock
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 1/5] arm: sa1100: add cpu clock Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 2/5] fbdev: sa1100fb: make use of device clock Dmitry Eremin-Solenikov
@ 2013-11-16 22:07 ` Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 4/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Dmitry Eremin-Solenikov
` (2 subsequent siblings)
5 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
Use per-device clock (instead of calling cpufreq_get(0), which can
return 0 if no cpu frequency driver is selected) to program timings.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
drivers/pcmcia/sa1100_generic.c | 1 +
drivers/pcmcia/sa11xx_base.c | 14 ++++++++++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/pcmcia/sa1100_generic.c b/drivers/pcmcia/sa1100_generic.c
index ff8a027..d2ab060 100644
--- a/drivers/pcmcia/sa1100_generic.c
+++ b/drivers/pcmcia/sa1100_generic.c
@@ -93,6 +93,7 @@ static int sa11x0_drv_pcmcia_remove(struct platform_device *dev)
for (i = 0; i < sinfo->nskt; i++)
soc_pcmcia_remove_one(&sinfo->skt[i]);
+ clk_put(sinfo->clk);
kfree(sinfo);
return 0;
}
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c
index 6eecd7c..aef0e69 100644
--- a/drivers/pcmcia/sa11xx_base.c
+++ b/drivers/pcmcia/sa11xx_base.c
@@ -38,6 +38,7 @@
#include <linux/spinlock.h>
#include <linux/io.h>
#include <linux/slab.h>
+#include <linux/clk.h>
#include <mach/hardware.h>
#include <asm/irq.h>
@@ -138,14 +139,15 @@ sa1100_pcmcia_frequency_change(struct soc_pcmcia_socket *skt,
static int
sa1100_pcmcia_set_timing(struct soc_pcmcia_socket *skt)
{
- return sa1100_pcmcia_set_mecr(skt, cpufreq_get(0));
+ unsigned long clk = clk_get_rate(skt->clk);
+ return sa1100_pcmcia_set_mecr(skt, clk / 1000);
}
static int
sa1100_pcmcia_show_timing(struct soc_pcmcia_socket *skt, char *buf)
{
struct soc_pcmcia_timing timing;
- unsigned int clock = cpufreq_get(0);
+ unsigned int clock = clk_get_rate(skt->clk);
unsigned long mecr = MECR;
char *p = buf;
@@ -221,6 +223,11 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
struct skt_dev_info *sinfo;
struct soc_pcmcia_socket *skt;
int i, ret = 0;
+ struct clk *clk;
+
+ clk = clk_get(dev, NULL);
+ if (IS_ERR(clk))
+ return -ENODEV;
sa11xx_drv_pcmcia_ops(ops);
@@ -229,12 +236,14 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
return -ENOMEM;
sinfo->nskt = nr;
+ sinfo->clk = clk;
/* Initialize processor specific parameters */
for (i = 0; i < nr; i++) {
skt = &sinfo->skt[i];
skt->nr = first + i;
+ skt->clk = clk;
soc_pcmcia_init_one(skt, ops, dev);
ret = sa11xx_drv_pcmcia_add_one(skt);
@@ -245,6 +254,7 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops,
if (ret) {
while (--i >= 0)
soc_pcmcia_remove_one(&sinfo->skt[i]);
+ clk_put(clk);
kfree(sinfo);
} else {
dev_set_drvdata(dev, sinfo);
--
1.8.4.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 4/5] arm: sa1100: add a clock alias for sa1111 pcmcia device
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
` (2 preceding siblings ...)
2013-11-16 22:07 ` [PATCH v2 3/5] pcmcia: sa1100: " Dmitry Eremin-Solenikov
@ 2013-11-16 22:07 ` Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 5/5] pcmcia: sa1111: make use of device clock Dmitry Eremin-Solenikov
2013-11-26 11:08 ` [PATCH v2 0/5] Dmitry Eremin-Solenikov
5 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
SA-1111 uses internal MMIO space offsets as a device name, so device
name for sa1111 pcmcia is 1800 (PCMCIA is at offset 0x1800).
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
arch/arm/mach-sa1100/clock.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-sa1100/clock.c b/arch/arm/mach-sa1100/clock.c
index abf1dc1..5940be5 100644
--- a/arch/arm/mach-sa1100/clock.c
+++ b/arch/arm/mach-sa1100/clock.c
@@ -124,6 +124,8 @@ static struct clk_lookup sa11xx_clkregs[] = {
CLKDEV_INIT("sa1100-rtc", NULL, NULL),
CLKDEV_INIT("sa11x0-fb", NULL, &clk_cpu),
CLKDEV_INIT("sa11x0-pcmcia", NULL, &clk_cpu),
+ /* sa1111 names devices using internal offsets, PCMCIA is at 0x1800 */
+ CLKDEV_INIT("1800", NULL, &clk_cpu),
};
static int __init sa11xx_clk_init(void)
--
1.8.4.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 5/5] pcmcia: sa1111: make use of device clock
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
` (3 preceding siblings ...)
2013-11-16 22:07 ` [PATCH v2 4/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Dmitry Eremin-Solenikov
@ 2013-11-16 22:07 ` Dmitry Eremin-Solenikov
2013-11-26 11:08 ` [PATCH v2 0/5] Dmitry Eremin-Solenikov
5 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-16 22:07 UTC (permalink / raw)
To: linux-arm-kernel
Use per-device clock (instead of calling cpufreq_get(0), which can
return 0 if no cpu frequency driver is selected) to program timings.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
drivers/pcmcia/sa1111_generic.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/pcmcia/sa1111_generic.c b/drivers/pcmcia/sa1111_generic.c
index 65b02c3..c5988be 100644
--- a/drivers/pcmcia/sa1111_generic.c
+++ b/drivers/pcmcia/sa1111_generic.c
@@ -145,6 +145,9 @@ int sa1111_pcmcia_add(struct sa1111_dev *dev, struct pcmcia_low_level *ops,
return -ENOMEM;
s->soc.nr = ops->first + i;
+ s->soc.clk = clk_get(&dev->dev, NULL);
+ if (IS_ERR(s->soc.clk))
+ return -ENODEV;
soc_pcmcia_init_one(&s->soc, ops, &dev->dev);
s->dev = dev;
if (s->soc.nr) {
@@ -220,6 +223,7 @@ static int pcmcia_remove(struct sa1111_dev *dev)
for (; s; s = next) {
next = s->next;
soc_pcmcia_remove_one(&s->soc);
+ clk_put(s->soc.clk);
kfree(s);
}
--
1.8.4.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
` (4 preceding siblings ...)
2013-11-16 22:07 ` [PATCH v2 5/5] pcmcia: sa1111: make use of device clock Dmitry Eremin-Solenikov
@ 2013-11-26 11:08 ` Dmitry Eremin-Solenikov
2013-12-10 22:36 ` Dmitry Eremin-Solenikov
5 siblings, 1 reply; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-11-26 11:08 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Nov 17, 2013 at 2:07 AM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> Please apply the following patches that fix the sa1100 framebuffer and PCMCIA
> timings calculation if CPU frequency driver is not available.
>
> Changes since V1:
> * Corrected patch adding sa1111 pcmcia device - offset was wrong.
>
> ----------------------------------------------------------------
> Dmitry Eremin-Solenikov (5):
> arm: sa1100: add cpu clock
> fbdev: sa1100fb: make use of device clock
> pcmcia: sa1100: make use of device clock
> arm: sa1100: add a clock alias for sa1111 pcmcia device
> pcmcia: sa1111: make use of device clock
Ping. Tested on collie (except sa1111).
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
2013-11-26 11:08 ` [PATCH v2 0/5] Dmitry Eremin-Solenikov
@ 2013-12-10 22:36 ` Dmitry Eremin-Solenikov
0 siblings, 0 replies; 14+ messages in thread
From: Dmitry Eremin-Solenikov @ 2013-12-10 22:36 UTC (permalink / raw)
To: linux-arm-kernel
Hello again,
On Tue, Nov 26, 2013 at 3:08 PM, Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com> wrote:
> On Sun, Nov 17, 2013 at 2:07 AM, Dmitry Eremin-Solenikov
> <dbaryshkov@gmail.com> wrote:
>> Please apply the following patches that fix the sa1100 framebuffer and PCMCIA
>> timings calculation if CPU frequency driver is not available.
>>
>> Changes since V1:
>> * Corrected patch adding sa1111 pcmcia device - offset was wrong.
>>
>> ----------------------------------------------------------------
>> Dmitry Eremin-Solenikov (5):
>> arm: sa1100: add cpu clock
>> fbdev: sa1100fb: make use of device clock
>> pcmcia: sa1100: make use of device clock
>> arm: sa1100: add a clock alias for sa1111 pcmcia device
>> pcmcia: sa1111: make use of device clock
>
> Ping. Tested on collie (except sa1111).
Ping again. Without these patches: it is impossible to get framebuffer
to work on collie. Also adding these patches make it possible to disable
cpu freq thus saving few kb, which is important for kexecboot kernels.
Can we get at least first two patches, so that collie can have working FB?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
@ 2020-10-23 13:19 Dmitry Baryshkov
2020-10-26 23:47 ` Mark Brown
0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Baryshkov @ 2020-10-23 13:19 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Rob Herring, Jonathan Marek,
Stephen Boyd, Michael Turquette, Liam Girdwood, Mark Brown
Cc: linux-arm-msm, Manivannan Sadhasivam, devicetree, linux-clk,
linux-kernel
On SM8250 MDSS_GDSC (and the rest of display clock controller) is
supplied power by MMCX power domain. Handle this link in GDSC code by
binding the power domain in dts file.
This patchset depends on [1]
Changes since v1:
- Define fixed-regulator-domain regulator using power domain
performance state for enabling/disabling.
- Rework to use new fixed regulator type (fixed-regulator-domain)
instead of controlling power domain directly from gdsc code.
Changes since RFC:
- Fix naming of gdsc_supply_on/gdsc_supply_off functions
- Fix detaching of solo gdsc's power domain in error handling code
- Drop the dts patch, as respective display nodes are still not
submitted to the mailing list.
[1]
https://lore.kernel.org/linux-arm-msm/20200927190653.13876-1-jonathan@marek.ca/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v2 0/5]
2020-10-23 13:19 Dmitry Baryshkov
@ 2020-10-26 23:47 ` Mark Brown
0 siblings, 0 replies; 14+ messages in thread
From: Mark Brown @ 2020-10-26 23:47 UTC (permalink / raw)
To: Liam Girdwood, Michael Turquette, Rob Herring, Bjorn Andersson,
Andy Gross, Stephen Boyd, Dmitry Baryshkov, Jonathan Marek
Cc: linux-arm-msm, linux-kernel, Manivannan Sadhasivam, linux-clk,
devicetree
On Fri, 23 Oct 2020 16:19:20 +0300, Dmitry Baryshkov wrote:
> On SM8250 MDSS_GDSC (and the rest of display clock controller) is
> supplied power by MMCX power domain. Handle this link in GDSC code by
> binding the power domain in dts file.
>
> This patchset depends on [1]
>
> Changes since v1:
> - Define fixed-regulator-domain regulator using power domain
> performance state for enabling/disabling.
> - Rework to use new fixed regulator type (fixed-regulator-domain)
> instead of controlling power domain directly from gdsc code.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/2] regulator: fixed: provide bindings using power domain
commit: d4189bc55d5c40251abaa1f341796aac84ddfb10
[2/2] regulator: fixed: support using power domain for enable/disable
commit: bf3a28cf42412c0a85631da94f198048bb37a8e5
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
@ 2017-04-08 18:34 Johannes Berg
0 siblings, 0 replies; 14+ messages in thread
From: Johannes Berg @ 2017-04-08 18:34 UTC (permalink / raw)
To: linux-wireless, netdev
Cc: pablo, Jamal Hadi Salim, Jiri Benc, David Ahern, jiri
Changes since v1:
* credit Pablo and Jamal
* incorporate suggestion from David Ahern
* fix compilation in decnet
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
@ 2014-12-05 12:52 ` Yunzhi Li
0 siblings, 0 replies; 14+ messages in thread
From: Yunzhi Li @ 2014-12-05 12:52 UTC (permalink / raw)
To: heiko, dianders
Cc: olof, huangtao, ulrich.prinz, zyw, cf, linux-rockchip, Yunzhi Li,
devicetree, Paul Zimmerman, linux-usb, Kumar Gala, linux-kernel,
Grant Likely, Ian Campbell, Rob Herring, Pawel Moll,
Kishon Vijay Abraham I, Mark Rutland, Russell King,
linux-arm-kernel, Greg Kroah-Hartman
Patches to add support for Rockchip usb phys.Add a new Rockchip
usb phy driver and modify dwc2 controller driver to make dwc2
platform devices support a generic PHY framework driver. This
patch set has been tested on my rk3288-evb and power off the usb
phys would reduce about 60mW power budget in total during sustem
suspend.
Yunzhi Li (5):
phy: add a driver for the Rockchip SoC internal USB2.0 PHY.
Documentation: bindings: add doc for the Rockchip usb PHY
usb: dwc2: Add generic PHY framework support for dwc2 usb
controler platform driver.
ARM: dts: add rk3288 usb PHY
ARM: dts: Enable usb PHY on rk3288-evb board
.../devicetree/bindings/phy/rockchip-usb-phy.txt | 22 +++
arch/arm/boot/dts/rk3288-evb.dtsi | 4 +
arch/arm/boot/dts/rk3288.dtsi | 13 ++
drivers/phy/Kconfig | 7 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-rockchip-usb.c | 179 +++++++++++++++++++++
drivers/usb/dwc2/gadget.c | 33 ++--
drivers/usb/dwc2/platform.c | 34 ++++
8 files changed, 272 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt
create mode 100644 drivers/phy/phy-rockchip-usb.c
--
2.0.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
@ 2014-12-05 12:52 ` Yunzhi Li
0 siblings, 0 replies; 14+ messages in thread
From: Yunzhi Li @ 2014-12-05 12:52 UTC (permalink / raw)
To: linux-arm-kernel
Patches to add support for Rockchip usb phys.Add a new Rockchip
usb phy driver and modify dwc2 controller driver to make dwc2
platform devices support a generic PHY framework driver. This
patch set has been tested on my rk3288-evb and power off the usb
phys would reduce about 60mW power budget in total during sustem
suspend.
Yunzhi Li (5):
phy: add a driver for the Rockchip SoC internal USB2.0 PHY.
Documentation: bindings: add doc for the Rockchip usb PHY
usb: dwc2: Add generic PHY framework support for dwc2 usb
controler platform driver.
ARM: dts: add rk3288 usb PHY
ARM: dts: Enable usb PHY on rk3288-evb board
.../devicetree/bindings/phy/rockchip-usb-phy.txt | 22 +++
arch/arm/boot/dts/rk3288-evb.dtsi | 4 +
arch/arm/boot/dts/rk3288.dtsi | 13 ++
drivers/phy/Kconfig | 7 +
drivers/phy/Makefile | 1 +
drivers/phy/phy-rockchip-usb.c | 179 +++++++++++++++++++++
drivers/usb/dwc2/gadget.c | 33 ++--
drivers/usb/dwc2/platform.c | 34 ++++
8 files changed, 272 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/rockchip-usb-phy.txt
create mode 100644 drivers/phy/phy-rockchip-usb.c
--
2.0.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH v2 0/5]
@ 2010-01-27 0:57 Omar Ramirez Luna
0 siblings, 0 replies; 14+ messages in thread
From: Omar Ramirez Luna @ 2010-01-27 0:57 UTC (permalink / raw)
To: linux-omap
Cc: Ameya Palande, Hiroshi Doyu, Felipe Contreras, Nishanth Menon,
Omar Ramirez Luna
It is more logic to initialize services related modules inside
services layer, even if we are planning to remove it.
v2:
- Fixed crefs build issue (patch 2) if enabling debug
Omar Ramirez Luna (5):
DSPBRIDGE: Avoid multiple calls to SERVICES_[Init|Exit]
DSPBRIDGE: remove crefs for SERVICES[Init|Exit]
DSPBRIDGE: Remove multiple initializations of MEM module
DSPBRIDGE: Remove multiple initializations of REG module
DSPBRIDGE: Remove multiple initializations of NTFY module
drivers/dsp/bridge/gen/gs.c | 8 +--
drivers/dsp/bridge/pmgr/dbll.c | 15 +----
drivers/dsp/bridge/pmgr/wcd.c | 17 +-----
drivers/dsp/bridge/rmgr/dbdcd.c | 15 +-----
drivers/dsp/bridge/rmgr/rmm.c | 17 +-----
drivers/dsp/bridge/services/mem.c | 36 ++----------
drivers/dsp/bridge/services/services.c | 100 ++++++++++++--------------------
7 files changed, 53 insertions(+), 155 deletions(-)
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2020-10-26 23:47 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-16 22:07 [PATCH v2 0/5] Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 1/5] arm: sa1100: add cpu clock Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 2/5] fbdev: sa1100fb: make use of device clock Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 3/5] pcmcia: sa1100: " Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 4/5] arm: sa1100: add a clock alias for sa1111 pcmcia device Dmitry Eremin-Solenikov
2013-11-16 22:07 ` [PATCH v2 5/5] pcmcia: sa1111: make use of device clock Dmitry Eremin-Solenikov
2013-11-26 11:08 ` [PATCH v2 0/5] Dmitry Eremin-Solenikov
2013-12-10 22:36 ` Dmitry Eremin-Solenikov
-- strict thread matches above, loose matches on Subject: below --
2020-10-23 13:19 Dmitry Baryshkov
2020-10-26 23:47 ` Mark Brown
2017-04-08 18:34 Johannes Berg
2014-12-05 12:52 Yunzhi Li
2014-12-05 12:52 ` Yunzhi Li
2010-01-27 0:57 Omar Ramirez Luna
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.