* [PATCH 12/28] Remove GENERIC_TIME
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
@ 2014-02-09 18:47 ` Richard Weinberger
2014-02-09 18:57 ` Alexander Shiyan
2014-02-09 18:47 ` [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64 Richard Weinberger
` (6 subsequent siblings)
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:47 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arm/mach-bcm/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index b1aa6a9..8dd5fbf 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -19,7 +19,6 @@ config ARCH_BCM_MOBILE
select CPU_V7
select CLKSRC_OF
select GENERIC_CLOCKEVENTS
- select GENERIC_TIME
select GPIO_BCM_KONA
select SPARSE_IRQ
select TICK_ONESHOT
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
2014-02-09 18:47 ` [PATCH 12/28] Remove GENERIC_TIME Richard Weinberger
@ 2014-02-09 18:47 ` Richard Weinberger
2014-02-11 3:29 ` Kukjin Kim
2014-02-09 18:47 ` [PATCH 14/28] Remove MACH_SMDKC210 Richard Weinberger
` (5 subsequent siblings)
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:47 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arm/mach-s3c24xx/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index d876431..1c67f04 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -521,7 +521,6 @@ config MACH_ANUBIS
select HAVE_PATA_PLATFORM
select S3C2440_XTAL_12000000
select S3C24XX_DCLK
- select S3C24XX_GPIO_EXTRA64
select S3C24XX_SIMTEC_PM if PM
select S3C_DEV_USB_HOST
help
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
2014-02-09 18:47 ` [PATCH 12/28] Remove GENERIC_TIME Richard Weinberger
2014-02-09 18:47 ` [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64 Richard Weinberger
@ 2014-02-09 18:47 ` Richard Weinberger
2014-02-10 11:41 ` Mark Brown
2014-02-09 18:48 ` [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128 Richard Weinberger
` (4 subsequent siblings)
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:47 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
sound/soc/samsung/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index 454f41c..7ea576c 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -145,7 +145,7 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380
config SND_SOC_SAMSUNG_SMDK_WM9713
tristate "SoC AC97 Audio support for SMDK with WM9713"
- depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310 || MACH_SMDKC210)
+ depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310)
select SND_SOC_WM9713
select SND_SAMSUNG_AC97
help
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
` (2 preceding siblings ...)
2014-02-09 18:47 ` [PATCH 14/28] Remove MACH_SMDKC210 Richard Weinberger
@ 2014-02-09 18:48 ` Richard Weinberger
2014-02-11 3:31 ` Kukjin Kim
2014-02-09 18:48 ` [PATCH 25/28] Remove MACH_SMDKV310 Richard Weinberger
` (3 subsequent siblings)
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:48 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arm/mach-s3c24xx/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index 1c67f04..bb1fa603 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -561,7 +561,6 @@ config MACH_OSIRIS
select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
select S3C2440_XTAL_12000000
select S3C24XX_DCLK
- select S3C24XX_GPIO_EXTRA128
select S3C24XX_SIMTEC_PM if PM
select S3C_DEV_NAND
select S3C_DEV_USB_HOST
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 25/28] Remove MACH_SMDKV310
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
` (3 preceding siblings ...)
2014-02-09 18:48 ` [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128 Richard Weinberger
@ 2014-02-09 18:48 ` Richard Weinberger
2014-02-09 18:48 ` [PATCH 26/28] Remove LOCAL_TIMERS Richard Weinberger
` (2 subsequent siblings)
7 siblings, 0 replies; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:48 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
sound/soc/samsung/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index 7ea576c..33fd372 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -145,7 +145,7 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380
config SND_SOC_SAMSUNG_SMDK_WM9713
tristate "SoC AC97 Audio support for SMDK with WM9713"
- depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310)
+ depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110)
select SND_SOC_WM9713
select SND_SAMSUNG_AC97
help
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 26/28] Remove LOCAL_TIMERS
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
` (4 preceding siblings ...)
2014-02-09 18:48 ` [PATCH 25/28] Remove MACH_SMDKV310 Richard Weinberger
@ 2014-02-09 18:48 ` Richard Weinberger
2014-02-09 22:38 ` Paul Bolle
2014-02-09 18:48 ` [PATCH 28/28] " Richard Weinberger
[not found] ` <1391971686-9517-7-git-send-email-richard@nod.at>
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:48 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arm/mach-shmobile/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index 3386406..c055388 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -8,7 +8,6 @@ config ARCH_SHMOBILE_MULTI
select CPU_V7
select GENERIC_CLOCKEVENTS
select HAVE_ARM_SCU if SMP
- select HAVE_ARM_TWD if LOCAL_TIMERS
select HAVE_SMP
select ARM_GIC
select MIGHT_HAVE_CACHE_L2X0
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH 28/28] Remove LOCAL_TIMERS
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
` (5 preceding siblings ...)
2014-02-09 18:48 ` [PATCH 26/28] Remove LOCAL_TIMERS Richard Weinberger
@ 2014-02-09 18:48 ` Richard Weinberger
2014-02-09 22:49 ` Paul Bolle
[not found] ` <1391971686-9517-7-git-send-email-richard@nod.at>
7 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 18:48 UTC (permalink / raw)
To: linux-arm-kernel
The symbol is an orphan, get rid of it.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/arm/mach-omap2/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 653b489..2817f1f 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -54,7 +54,6 @@ config SOC_OMAP5
select ARM_GIC
select CPU_V7
select HAVE_ARM_SCU if SMP
- select HAVE_ARM_TWD if LOCAL_TIMERS
select HAVE_SMP
select HAVE_ARM_ARCH_TIMER
select ARM_ERRATA_798181 if SMP
--
1.8.4.2
^ permalink raw reply related [flat|nested] 27+ messages in thread
* Re: [PATCH 12/28] Remove GENERIC_TIME
2014-02-09 18:47 ` [PATCH 12/28] Remove GENERIC_TIME Richard Weinberger
@ 2014-02-09 18:57 ` Alexander Shiyan
2014-02-09 20:02 ` Richard Weinberger
0 siblings, 1 reply; 27+ messages in thread
From: Alexander Shiyan @ 2014-02-09 18:57 UTC (permalink / raw)
To: linux-arm-kernel
> The symbol is an orphan, get rid of it.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
> ---
> arch/arm/mach-bcm/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
> index b1aa6a9..8dd5fbf 100644
> --- a/arch/arm/mach-bcm/Kconfig
> +++ b/arch/arm/mach-bcm/Kconfig
> @@ -19,7 +19,6 @@ config ARCH_BCM_MOBILE
> select CPU_V7
> select CLKSRC_OF
> select GENERIC_CLOCKEVENTS
> - select GENERIC_TIME
> select GPIO_BCM_KONA
> select SPARSE_IRQ
> select TICK_ONESHOT
> --
> 1.8.4.2
I sent a similar patch in November, maintainers nothing did with it.
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/278293
---
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 12/28] Remove GENERIC_TIME
2014-02-09 18:57 ` Alexander Shiyan
@ 2014-02-09 20:02 ` Richard Weinberger
2014-02-19 6:12 ` Christian Daudt
0 siblings, 1 reply; 27+ messages in thread
From: Richard Weinberger @ 2014-02-09 20:02 UTC (permalink / raw)
To: linux-arm-kernel
Am 09.02.2014 19:57, schrieb Alexander Shiyan:
>> The symbol is an orphan, get rid of it.
>>
>> Signed-off-by: Richard Weinberger <richard@nod.at>
>> ---
>> arch/arm/mach-bcm/Kconfig | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
>> index b1aa6a9..8dd5fbf 100644
>> --- a/arch/arm/mach-bcm/Kconfig
>> +++ b/arch/arm/mach-bcm/Kconfig
>> @@ -19,7 +19,6 @@ config ARCH_BCM_MOBILE
>> select CPU_V7
>> select CLKSRC_OF
>> select GENERIC_CLOCKEVENTS
>> - select GENERIC_TIME
>> select GPIO_BCM_KONA
>> select SPARSE_IRQ
>> select TICK_ONESHOT
>> --
>> 1.8.4.2
>
> I sent a similar patch in November, maintainers nothing did with it.
> http://permalink.gmane.org/gmane.linux.ports.arm.kernel/278293
Then it is time to push it. :D
Thanks,
//richard
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 26/28] Remove LOCAL_TIMERS
2014-02-09 18:48 ` [PATCH 26/28] Remove LOCAL_TIMERS Richard Weinberger
@ 2014-02-09 22:38 ` Paul Bolle
0 siblings, 0 replies; 27+ messages in thread
From: Paul Bolle @ 2014-02-09 22:38 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, 2014-02-09 at 19:48 +0100, Richard Weinberger wrote:
> The symbol is an orphan, get rid of it.
Orphaned a year ago, see commit 060f3043e5e ("ARM: smp: Remove local
timer API"). But this one got added after that, in the same relase
cycle.
> Signed-off-by: Richard Weinberger <richard@nod.at>
This gets my
Acked-by: Paul Bolle <pebolle@tiscali.nl>
as it's correct (we're dropping a nop) but I'd appreciate it if you'd
resend with the above info added. That would easy review by others too.
Paul Bolle
> arch/arm/mach-shmobile/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
> index 3386406..c055388 100644
> --- a/arch/arm/mach-shmobile/Kconfig
> +++ b/arch/arm/mach-shmobile/Kconfig
> @@ -8,7 +8,6 @@ config ARCH_SHMOBILE_MULTI
> select CPU_V7
> select GENERIC_CLOCKEVENTS
> select HAVE_ARM_SCU if SMP
> - select HAVE_ARM_TWD if LOCAL_TIMERS
> select HAVE_SMP
> select ARM_GIC
> select MIGHT_HAVE_CACHE_L2X0
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 28/28] Remove LOCAL_TIMERS
2014-02-09 18:48 ` [PATCH 28/28] " Richard Weinberger
@ 2014-02-09 22:49 ` Paul Bolle
0 siblings, 0 replies; 27+ messages in thread
From: Paul Bolle @ 2014-02-09 22:49 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, 2014-02-09 at 19:48 +0100, Richard Weinberger wrote:
> The symbol is an orphan, get rid of it.
>
> Signed-off-by: Richard Weinberger <richard@nod.at>
Merge with 26/28? Anyhow, my comments are basically identical to those
on that patch. So:
Acked-by: Paul Bolle <pebolle@tiscali.nl>
Paul Bolle
> arch/arm/mach-omap2/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 653b489..2817f1f 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -54,7 +54,6 @@ config SOC_OMAP5
> select ARM_GIC
> select CPU_V7
> select HAVE_ARM_SCU if SMP
> - select HAVE_ARM_TWD if LOCAL_TIMERS
> select HAVE_SMP
> select HAVE_ARM_ARCH_TIMER
> select ARM_ERRATA_798181 if SMP
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-09 18:47 ` [PATCH 14/28] Remove MACH_SMDKC210 Richard Weinberger
@ 2014-02-10 11:41 ` Mark Brown
2014-02-10 13:31 ` Paul Bolle
0 siblings, 1 reply; 27+ messages in thread
From: Mark Brown @ 2014-02-10 11:41 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 09, 2014 at 07:47:52PM +0100, Richard Weinberger wrote:
> The symbol is an orphan, get rid of it.
Please fix whatever script you're using to generate your mails, it's
generating corrupt headers. Please also use subject lines consistent
with the rest of the subsystem - between the two I very nearly just
deleted this unread, it's only Paul's mail that made me look.
> config SND_SOC_SAMSUNG_SMDK_WM9713
> tristate "SoC AC97 Audio support for SMDK with WM9713"
> - depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310 || MACH_SMDKC210)
> + depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310)
Like I said to Paul this isn't fixing the actual issue - think about why
the symbol was there in the first place and why it was removed. There
is a problem here but this would make it less likely that it would be
properly fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140210/45e54c4b/attachment.sig>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 11:41 ` Mark Brown
@ 2014-02-10 13:31 ` Paul Bolle
2014-02-10 14:12 ` Mark Brown
0 siblings, 1 reply; 27+ messages in thread
From: Paul Bolle @ 2014-02-10 13:31 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 2014-02-10 at 11:41 +0000, Mark Brown wrote:
> On Sun, Feb 09, 2014 at 07:47:52PM +0100, Richard Weinberger wrote:
> Please fix whatever script you're using to generate your mails, it's
> generating corrupt headers.
I think Richard's mail didn't end up on lkml. But it's pretty clear what
it must have looked like.
> > config SND_SOC_SAMSUNG_SMDK_WM9713
> > tristate "SoC AC97 Audio support for SMDK with WM9713"
> > - depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310 || MACH_SMDKC210)
> > + depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310)
>
> Like I said to Paul this isn't fixing the actual issue - think about why
> the symbol was there in the first place and why it was removed. There
> is a problem here but this would make it less likely that it would be
> properly fixed.
Would you mind going through this one step at a time, just to make sure
_I_ understand what it is that you'd like to see?
If so, to be absolutely sure we start from the same point: do you agree
that the above line now effectively reads
depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || false || false)
because there's neither a Kconfig symbol MACH_SMDKV310 nor a Kconfig
symbol MACH_SMDKC210?
Paul Bolle
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 13:31 ` Paul Bolle
@ 2014-02-10 14:12 ` Mark Brown
2014-02-10 15:30 ` Paul Bolle
0 siblings, 1 reply; 27+ messages in thread
From: Mark Brown @ 2014-02-10 14:12 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 10, 2014 at 02:31:12PM +0100, Paul Bolle wrote:
> On Mon, 2014-02-10 at 11:41 +0000, Mark Brown wrote:
> > On Sun, Feb 09, 2014 at 07:47:52PM +0100, Richard Weinberger wrote:
> > Please fix whatever script you're using to generate your mails, it's
> > generating corrupt headers.
> I think Richard's mail didn't end up on lkml. But it's pretty clear what
> it must have looked like.
I can see what it looked like from my inbox, but my mail client can't
understand them at all and hence didn't think the mails were sent to me
and just ignored them when hitting reply.
> > > config SND_SOC_SAMSUNG_SMDK_WM9713
> > > tristate "SoC AC97 Audio support for SMDK with WM9713"
> > > - depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310 || MACH_SMDKC210)
> > > + depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || MACH_SMDKV310)
> >
> > Like I said to Paul this isn't fixing the actual issue - think about why
> > the symbol was there in the first place and why it was removed. There
> > is a problem here but this would make it less likely that it would be
> > properly fixed.
> Would you mind going through this one step at a time, just to make sure
> _I_ understand what it is that you'd like to see?
> If so, to be absolutely sure we start from the same point: do you agree
> that the above line now effectively reads
> depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || false || false)
> because there's neither a Kconfig symbol MACH_SMDKV310 nor a Kconfig
> symbol MACH_SMDKC210?
Yes, that's correct. Now, like I say think about what the symbol was
there for in the first place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140210/17ff5e43/attachment.sig>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 14:12 ` Mark Brown
@ 2014-02-10 15:30 ` Paul Bolle
2014-02-10 16:36 ` Mark Brown
0 siblings, 1 reply; 27+ messages in thread
From: Paul Bolle @ 2014-02-10 15:30 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 2014-02-10 at 14:12 +0000, Mark Brown wrote:
> On Mon, Feb 10, 2014 at 02:31:12PM +0100, Paul Bolle wrote:
> > If so, to be absolutely sure we start from the same point: do you agree
> > that the above line now effectively reads
> > depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDKV210 || MACH_SMDKC110 || false || false)
>
> > because there's neither a Kconfig symbol MACH_SMDKV310 nor a Kconfig
> > symbol MACH_SMDKC210?
>
> Yes, that's correct. Now, like I say think about what the symbol was
> there for in the first place.
So, next step: the Kconfig symbols MACH_SMDKV310 and MACH_SMDKC210 were
removed in commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for
EXYNOS SoCs"). That commit was part of v3.11. Correct?
Thanks for your patience.
Paul Bolle
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 15:30 ` Paul Bolle
@ 2014-02-10 16:36 ` Mark Brown
2014-02-10 22:09 ` Paul Bolle
0 siblings, 1 reply; 27+ messages in thread
From: Mark Brown @ 2014-02-10 16:36 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 10, 2014 at 04:30:42PM +0100, Paul Bolle wrote:
> On Mon, 2014-02-10 at 14:12 +0000, Mark Brown wrote:
> > Yes, that's correct. Now, like I say think about what the symbol was
> > there for in the first place.
> So, next step: the Kconfig symbols MACH_SMDKV310 and MACH_SMDKC210 were
> removed in commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for
> EXYNOS SoCs"). That commit was part of v3.11. Correct?
Indeed, so we can see that these platforms were converted to use DT and
the symbols were removed as a result. This means that a good fix here
is to ensure that the driver can be used with DT platforms.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140210/68f0308e/attachment.sig>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 16:36 ` Mark Brown
@ 2014-02-10 22:09 ` Paul Bolle
2014-02-12 16:04 ` Mark Brown
0 siblings, 1 reply; 27+ messages in thread
From: Paul Bolle @ 2014-02-10 22:09 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 2014-02-10 at 16:36 +0000, Mark Brown wrote:
> On Mon, Feb 10, 2014 at 04:30:42PM +0100, Paul Bolle wrote:
> > So, next step: the Kconfig symbols MACH_SMDKV310 and MACH_SMDKC210 were
> > removed in commit 383ffda2fa ("ARM: EXYNOS: no more support non-DT for
> > EXYNOS SoCs"). That commit was part of v3.11. Correct?
>
> Indeed, so we can see that these platforms were converted to use DT and
> the symbols were removed as a result. This means that a good fix here
> is to ensure that the driver can be used with DT platforms.
One of the problems I face is that I find it hard to understand how this
stuff works in v3.10 (ie, before MACH_SMDKV310 and MACH_SMDKC210 were
dropped).
See, if you scan v3.10:arch/arm/mach-exynos/mach-smdkv310.c you'll
notice the string "smdk-audio". If you grep that string you get a few
hits. But none in v3.10:sound/soc/samsung/smdk_wm9713.c. And if you scan
v3.10:sound/soc/samsung/smdk_wm9713.c for strings you'll find stuff like
"wm9713-hifi", "wm9713-codec", and "soc-audio". But these don't show up
in v3.10:arch/arm/mach-exynos/mach-smdkv310.c. So it's not obvious how
these two files relate.
And I'm left wondering why SND_SOC_SAMSUNG_SMDK_WM9713 actually depends
on (among other symbols) MACH_SMDKV310 and MACH_SMDKC210 in v3.10.
Paul Bolle
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64
2014-02-09 18:47 ` [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64 Richard Weinberger
@ 2014-02-11 3:29 ` Kukjin Kim
0 siblings, 0 replies; 27+ messages in thread
From: Kukjin Kim @ 2014-02-11 3:29 UTC (permalink / raw)
To: linux-arm-kernel
On 02/10/14 03:47, Richard Weinberger wrote:
> The symbol is an orphan, get rid of it.
>
> Signed-off-by: Richard Weinberger<richard@nod.at>
> ---
> arch/arm/mach-s3c24xx/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
> index d876431..1c67f04 100644
> --- a/arch/arm/mach-s3c24xx/Kconfig
> +++ b/arch/arm/mach-s3c24xx/Kconfig
> @@ -521,7 +521,6 @@ config MACH_ANUBIS
> select HAVE_PATA_PLATFORM
> select S3C2440_XTAL_12000000
> select S3C24XX_DCLK
> - select S3C24XX_GPIO_EXTRA64
> select S3C24XX_SIMTEC_PM if PM
> select S3C_DEV_USB_HOST
> help
OK, I will take this into samsung tree.
Thanks,
Kukjin
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128
2014-02-09 18:48 ` [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128 Richard Weinberger
@ 2014-02-11 3:31 ` Kukjin Kim
2014-02-13 22:57 ` Kukjin Kim
0 siblings, 1 reply; 27+ messages in thread
From: Kukjin Kim @ 2014-02-11 3:31 UTC (permalink / raw)
To: linux-arm-kernel
On 02/10/14 03:48, Richard Weinberger wrote:
> The symbol is an orphan, get rid of it.
>
> Signed-off-by: Richard Weinberger<richard@nod.at>
> ---
> arch/arm/mach-s3c24xx/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
> index 1c67f04..bb1fa603 100644
> --- a/arch/arm/mach-s3c24xx/Kconfig
> +++ b/arch/arm/mach-s3c24xx/Kconfig
> @@ -561,7 +561,6 @@ config MACH_OSIRIS
> select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
> select S3C2440_XTAL_12000000
> select S3C24XX_DCLK
> - select S3C24XX_GPIO_EXTRA128
> select S3C24XX_SIMTEC_PM if PM
> select S3C_DEV_NAND
> select S3C_DEV_USB_HOST
OK good, but I will squash this with 13th for mach-s3c24xx/Kconfig when
I apply.
Thanks,
Kukjin
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-10 22:09 ` Paul Bolle
@ 2014-02-12 16:04 ` Mark Brown
2014-02-28 21:43 ` Paul Bolle
0 siblings, 1 reply; 27+ messages in thread
From: Mark Brown @ 2014-02-12 16:04 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 10, 2014 at 11:09:19PM +0100, Paul Bolle wrote:
> See, if you scan v3.10:arch/arm/mach-exynos/mach-smdkv310.c you'll
> notice the string "smdk-audio". If you grep that string you get a few
> hits. But none in v3.10:sound/soc/samsung/smdk_wm9713.c. And if you scan
> v3.10:sound/soc/samsung/smdk_wm9713.c for strings you'll find stuff like
> "wm9713-hifi", "wm9713-codec", and "soc-audio". But these don't show up
> in v3.10:arch/arm/mach-exynos/mach-smdkv310.c. So it's not obvious how
> these two files relate.
> And I'm left wondering why SND_SOC_SAMSUNG_SMDK_WM9713 actually depends
> on (among other symbols) MACH_SMDKV310 and MACH_SMDKC210 in v3.10.
The hardware is physically present on those boards but must be selected
with DIP switches, the device registration needs to be changed in the
kernel when that happens (as the DT must be when it is in use).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140212/33499d57/attachment.sig>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128
2014-02-11 3:31 ` Kukjin Kim
@ 2014-02-13 22:57 ` Kukjin Kim
0 siblings, 0 replies; 27+ messages in thread
From: Kukjin Kim @ 2014-02-13 22:57 UTC (permalink / raw)
To: linux-arm-kernel
On 02/11/14 12:31, Kukjin Kim wrote:
> On 02/10/14 03:48, Richard Weinberger wrote:
>> The symbol is an orphan, get rid of it.
>>
>> Signed-off-by: Richard Weinberger<richard@nod.at>
>> ---
>> arch/arm/mach-s3c24xx/Kconfig | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-s3c24xx/Kconfig
>> b/arch/arm/mach-s3c24xx/Kconfig
>> index 1c67f04..bb1fa603 100644
>> --- a/arch/arm/mach-s3c24xx/Kconfig
>> +++ b/arch/arm/mach-s3c24xx/Kconfig
>> @@ -561,7 +561,6 @@ config MACH_OSIRIS
>> select S3C2410_IOTIMING if ARM_S3C2440_CPUFREQ
>> select S3C2440_XTAL_12000000
>> select S3C24XX_DCLK
>> - select S3C24XX_GPIO_EXTRA128
>> select S3C24XX_SIMTEC_PM if PM
>> select S3C_DEV_NAND
>> select S3C_DEV_USB_HOST
>
> OK good, but I will squash this with 13th for mach-s3c24xx/Kconfig when
> I apply.
>
+ Paul Bolle
Richard,
I found same patch ([PATCH] ARM: s3c24xx: get rid of unneeded selects)
for S3C24XX from Paul before your posting. So I picked that up.
Thanks,
Kukjin
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 12/28] Remove GENERIC_TIME
2014-02-09 20:02 ` Richard Weinberger
@ 2014-02-19 6:12 ` Christian Daudt
0 siblings, 0 replies; 27+ messages in thread
From: Christian Daudt @ 2014-02-19 6:12 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 9, 2014 at 12:02 PM, Richard Weinberger <richard@nod.at> wrote:
> Am 09.02.2014 19:57, schrieb Alexander Shiyan:
>>> The symbol is an orphan, get rid of it.
>>>
>>> Signed-off-by: Richard Weinberger <richard@nod.at>
>>> ---
>>> arch/arm/mach-bcm/Kconfig | 1 -
>>> 1 file changed, 1 deletion(-)
>>>
>>> diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
>>> index b1aa6a9..8dd5fbf 100644
>>> --- a/arch/arm/mach-bcm/Kconfig
>>> +++ b/arch/arm/mach-bcm/Kconfig
>>> @@ -19,7 +19,6 @@ config ARCH_BCM_MOBILE
>>> select CPU_V7
>>> select CLKSRC_OF
>>> select GENERIC_CLOCKEVENTS
>>> - select GENERIC_TIME
>>> select GPIO_BCM_KONA
>>> select SPARSE_IRQ
>>> select TICK_ONESHOT
>>> --
>>> 1.8.4.2
>>
Applied to armsoc/for-3.15/soc
Also added signed-off-by for Alexander Shyian and Paul Bolle.
Thanks,
csd
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-12 16:04 ` Mark Brown
@ 2014-02-28 21:43 ` Paul Bolle
2014-03-01 3:53 ` Mark Brown
0 siblings, 1 reply; 27+ messages in thread
From: Paul Bolle @ 2014-02-28 21:43 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 2014-02-12 at 16:04 +0000, Mark Brown wrote:
> On Mon, Feb 10, 2014 at 11:09:19PM +0100, Paul Bolle wrote:
> > See, if you scan v3.10:arch/arm/mach-exynos/mach-smdkv310.c you'll
> > notice the string "smdk-audio". If you grep that string you get a few
> > hits. But none in v3.10:sound/soc/samsung/smdk_wm9713.c. And if you scan
> > v3.10:sound/soc/samsung/smdk_wm9713.c for strings you'll find stuff like
> > "wm9713-hifi", "wm9713-codec", and "soc-audio". But these don't show up
> > in v3.10:arch/arm/mach-exynos/mach-smdkv310.c. So it's not obvious how
> > these two files relate.
>
> > And I'm left wondering why SND_SOC_SAMSUNG_SMDK_WM9713 actually depends
> > on (among other symbols) MACH_SMDKV310 and MACH_SMDKC210 in v3.10.
>
> The hardware is physically present on those boards but must be selected
> with DIP switches, the device registration needs to be changed in the
> kernel when that happens (as the DT must be when it is in use).
In v3.14-rc4 these two symbols suddenly got removed, see commit
eaff64705dd5 ("ASoC: samsung: Remove invalid dependencies"). It does
exactly what I proposed last year, see
https://lkml.org/lkml/2013/7/14/27 . (That link currently shows a rather
empty page; is lkml.org having problems again?)
That commit is fine with me, of course. I now see no reason to continue
my, rather slowly progressing, search for the problem that you wanted to
get properly fixed. I suppose another commit already fixed it.
Thanks,
Paul Bolle
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH 14/28] Remove MACH_SMDKC210
2014-02-28 21:43 ` Paul Bolle
@ 2014-03-01 3:53 ` Mark Brown
0 siblings, 0 replies; 27+ messages in thread
From: Mark Brown @ 2014-03-01 3:53 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Feb 28, 2014 at 10:43:09PM +0100, Paul Bolle wrote:
> That commit is fine with me, of course. I now see no reason to continue
> my, rather slowly progressing, search for the problem that you wanted to
> get properly fixed. I suppose another commit already fixed it.
No, but it's someone from Samsung (Sachin works with the Samsung landing
team at Linaro) not caring about those drivers on these boards any more
and mentioning the DT conversion which is rather different to someone
doing mechanical cleanup with no mention of where the symbols went.
It should be fairly obvious that if the reason symbols are being removed
due to DT conversion of the platforms then the default thing should be
that the drivers be being converted to DT and appropriate DT entries
being added to the board DTS files, but more generally the important
thing is that some understanding is shown as to why the symbols vanished
and why the mechanical fix suggested is OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140301/eb650b52/attachment.sig>
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH] hwrng: remove unbuildable picoxcell TRNG
[not found] ` <1391977683.25855.27.camel@x220>
@ 2014-04-15 8:55 ` Paul Bolle
2014-04-15 10:06 ` Jamie Iles
0 siblings, 1 reply; 27+ messages in thread
From: Paul Bolle @ 2014-04-15 8:55 UTC (permalink / raw)
To: linux-arm-kernel
The driver for the "Picochip picoXcell true random number generator" was
added in v2.6.39. Its Kconfig symbol has always depended on
PICOXCELL_PC3X3. But that Kconfig symbol has never been part of the
tree. This means this driver has never been buildable. Let's remove it.
It can be re-added if its dependencies are actually part of the tree.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Tested only by grepping the tree!
drivers/char/hw_random/Kconfig | 12 ---
drivers/char/hw_random/Makefile | 1 -
drivers/char/hw_random/picoxcell-rng.c | 181 ---------------------------------
3 files changed, 194 deletions(-)
delete mode 100644 drivers/char/hw_random/picoxcell-rng.c
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 244759bbd7b7..d994c85a923c 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -251,18 +251,6 @@ config HW_RANDOM_NOMADIK
If unsure, say Y.
-config HW_RANDOM_PICOXCELL
- tristate "Picochip picoXcell true random number generator support"
- depends on HW_RANDOM && ARCH_PICOXCELL && PICOXCELL_PC3X3
- ---help---
- This driver provides kernel-side support for the Random Number
- Generator hardware found on Picochip PC3x3 and later devices.
-
- To compile this driver as a module, choose M here: the
- module will be called picoxcell-rng.
-
- If unsure, say Y.
-
config HW_RANDOM_PPC4XX
tristate "PowerPC 4xx generic true random number generator support"
depends on HW_RANDOM && PPC && 4xx
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index 3ae7755a52e7..199ed283e149 100644
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -22,7 +22,6 @@ obj-$(CONFIG_HW_RANDOM_TX4939) += tx4939-rng.o
obj-$(CONFIG_HW_RANDOM_MXC_RNGA) += mxc-rnga.o
obj-$(CONFIG_HW_RANDOM_OCTEON) += octeon-rng.o
obj-$(CONFIG_HW_RANDOM_NOMADIK) += nomadik-rng.o
-obj-$(CONFIG_HW_RANDOM_PICOXCELL) += picoxcell-rng.o
obj-$(CONFIG_HW_RANDOM_PPC4XX) += ppc4xx-rng.o
obj-$(CONFIG_HW_RANDOM_PSERIES) += pseries-rng.o
obj-$(CONFIG_HW_RANDOM_POWERNV) += powernv-rng.o
diff --git a/drivers/char/hw_random/picoxcell-rng.c b/drivers/char/hw_random/picoxcell-rng.c
deleted file mode 100644
index eab5448ad56f..000000000000
--- a/drivers/char/hw_random/picoxcell-rng.c
+++ /dev/null
@@ -1,181 +0,0 @@
-/*
- * Copyright (c) 2010-2011 Picochip Ltd., Jamie Iles
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * All enquiries to support at picochip.com
- */
-#include <linux/clk.h>
-#include <linux/delay.h>
-#include <linux/err.h>
-#include <linux/hw_random.h>
-#include <linux/io.h>
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/platform_device.h>
-
-#define DATA_REG_OFFSET 0x0200
-#define CSR_REG_OFFSET 0x0278
-#define CSR_OUT_EMPTY_MASK (1 << 24)
-#define CSR_FAULT_MASK (1 << 1)
-#define TRNG_BLOCK_RESET_MASK (1 << 0)
-#define TAI_REG_OFFSET 0x0380
-
-/*
- * The maximum amount of time in microseconds to spend waiting for data if the
- * core wants us to wait. The TRNG should generate 32 bits every 320ns so a
- * timeout of 20us seems reasonable. The TRNG does builtin tests of the data
- * for randomness so we can't always assume there is data present.
- */
-#define PICO_TRNG_TIMEOUT 20
-
-static void __iomem *rng_base;
-static struct clk *rng_clk;
-static struct device *rng_dev;
-
-static inline u32 picoxcell_trng_read_csr(void)
-{
- return __raw_readl(rng_base + CSR_REG_OFFSET);
-}
-
-static inline bool picoxcell_trng_is_empty(void)
-{
- return picoxcell_trng_read_csr() & CSR_OUT_EMPTY_MASK;
-}
-
-/*
- * Take the random number generator out of reset and make sure the interrupts
- * are masked. We shouldn't need to get large amounts of random bytes so just
- * poll the status register. The hardware generates 32 bits every 320ns so we
- * shouldn't have to wait long enough to warrant waiting for an IRQ.
- */
-static void picoxcell_trng_start(void)
-{
- __raw_writel(0, rng_base + TAI_REG_OFFSET);
- __raw_writel(0, rng_base + CSR_REG_OFFSET);
-}
-
-static void picoxcell_trng_reset(void)
-{
- __raw_writel(TRNG_BLOCK_RESET_MASK, rng_base + CSR_REG_OFFSET);
- __raw_writel(TRNG_BLOCK_RESET_MASK, rng_base + TAI_REG_OFFSET);
- picoxcell_trng_start();
-}
-
-/*
- * Get some random data from the random number generator. The hw_random core
- * layer provides us with locking.
- */
-static int picoxcell_trng_read(struct hwrng *rng, void *buf, size_t max,
- bool wait)
-{
- int i;
-
- /* Wait for some data to become available. */
- for (i = 0; i < PICO_TRNG_TIMEOUT && picoxcell_trng_is_empty(); ++i) {
- if (!wait)
- return 0;
-
- udelay(1);
- }
-
- if (picoxcell_trng_read_csr() & CSR_FAULT_MASK) {
- dev_err(rng_dev, "fault detected, resetting TRNG\n");
- picoxcell_trng_reset();
- return -EIO;
- }
-
- if (i == PICO_TRNG_TIMEOUT)
- return 0;
-
- *(u32 *)buf = __raw_readl(rng_base + DATA_REG_OFFSET);
- return sizeof(u32);
-}
-
-static struct hwrng picoxcell_trng = {
- .name = "picoxcell",
- .read = picoxcell_trng_read,
-};
-
-static int picoxcell_trng_probe(struct platform_device *pdev)
-{
- int ret;
- struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-
- rng_base = devm_ioremap_resource(&pdev->dev, mem);
- if (IS_ERR(rng_base))
- return PTR_ERR(rng_base);
-
- rng_clk = devm_clk_get(&pdev->dev, NULL);
- if (IS_ERR(rng_clk)) {
- dev_warn(&pdev->dev, "no clk\n");
- return PTR_ERR(rng_clk);
- }
-
- ret = clk_enable(rng_clk);
- if (ret) {
- dev_warn(&pdev->dev, "unable to enable clk\n");
- return ret;
- }
-
- picoxcell_trng_start();
- ret = hwrng_register(&picoxcell_trng);
- if (ret)
- goto err_register;
-
- rng_dev = &pdev->dev;
- dev_info(&pdev->dev, "pixoxcell random number generator active\n");
-
- return 0;
-
-err_register:
- clk_disable(rng_clk);
- return ret;
-}
-
-static int picoxcell_trng_remove(struct platform_device *pdev)
-{
- hwrng_unregister(&picoxcell_trng);
- clk_disable(rng_clk);
-
- return 0;
-}
-
-#ifdef CONFIG_PM
-static int picoxcell_trng_suspend(struct device *dev)
-{
- clk_disable(rng_clk);
-
- return 0;
-}
-
-static int picoxcell_trng_resume(struct device *dev)
-{
- return clk_enable(rng_clk);
-}
-
-static const struct dev_pm_ops picoxcell_trng_pm_ops = {
- .suspend = picoxcell_trng_suspend,
- .resume = picoxcell_trng_resume,
-};
-#endif /* CONFIG_PM */
-
-static struct platform_driver picoxcell_trng_driver = {
- .probe = picoxcell_trng_probe,
- .remove = picoxcell_trng_remove,
- .driver = {
- .name = "picoxcell-trng",
- .owner = THIS_MODULE,
-#ifdef CONFIG_PM
- .pm = &picoxcell_trng_pm_ops,
-#endif /* CONFIG_PM */
- },
-};
-
-module_platform_driver(picoxcell_trng_driver);
-
-MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Jamie Iles");
-MODULE_DESCRIPTION("Picochip picoXcell TRNG driver");
--
1.9.0
^ permalink raw reply related [flat|nested] 27+ messages in thread
* [PATCH] hwrng: remove unbuildable picoxcell TRNG
2014-04-15 8:55 ` [PATCH] hwrng: remove unbuildable picoxcell TRNG Paul Bolle
@ 2014-04-15 10:06 ` Jamie Iles
2014-04-16 13:50 ` Herbert Xu
0 siblings, 1 reply; 27+ messages in thread
From: Jamie Iles @ 2014-04-15 10:06 UTC (permalink / raw)
To: linux-arm-kernel
Hi Paul,
On Tue, Apr 15, 2014 at 10:55:18AM +0200, Paul Bolle wrote:
> The driver for the "Picochip picoXcell true random number generator" was
> added in v2.6.39. Its Kconfig symbol has always depended on
> PICOXCELL_PC3X3. But that Kconfig symbol has never been part of the
> tree. This means this driver has never been buildable. Let's remove it.
> It can be re-added if its dependencies are actually part of the tree.
>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
I wish I had the bandwidth to get this properly supported, but this
seems sensible to me.
Acked-by: Jamie Iles <jamie@jamieiles.com>
Thanks,
Jamie
^ permalink raw reply [flat|nested] 27+ messages in thread
* [PATCH] hwrng: remove unbuildable picoxcell TRNG
2014-04-15 10:06 ` Jamie Iles
@ 2014-04-16 13:50 ` Herbert Xu
0 siblings, 0 replies; 27+ messages in thread
From: Herbert Xu @ 2014-04-16 13:50 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Apr 15, 2014 at 11:06:14AM +0100, Jamie Iles wrote:
> Hi Paul,
>
> On Tue, Apr 15, 2014 at 10:55:18AM +0200, Paul Bolle wrote:
> > The driver for the "Picochip picoXcell true random number generator" was
> > added in v2.6.39. Its Kconfig symbol has always depended on
> > PICOXCELL_PC3X3. But that Kconfig symbol has never been part of the
> > tree. This means this driver has never been buildable. Let's remove it.
> > It can be re-added if its dependencies are actually part of the tree.
> >
> > Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
>
> I wish I had the bandwidth to get this properly supported, but this
> seems sensible to me.
>
> Acked-by: Jamie Iles <jamie@jamieiles.com>
Patch applied.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2014-04-16 13:50 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1391971686-9517-1-git-send-email-richard@nod.at>
2014-02-09 18:47 ` [PATCH 12/28] Remove GENERIC_TIME Richard Weinberger
2014-02-09 18:57 ` Alexander Shiyan
2014-02-09 20:02 ` Richard Weinberger
2014-02-19 6:12 ` Christian Daudt
2014-02-09 18:47 ` [PATCH 13/28] Remove S3C24XX_GPIO_EXTRA64 Richard Weinberger
2014-02-11 3:29 ` Kukjin Kim
2014-02-09 18:47 ` [PATCH 14/28] Remove MACH_SMDKC210 Richard Weinberger
2014-02-10 11:41 ` Mark Brown
2014-02-10 13:31 ` Paul Bolle
2014-02-10 14:12 ` Mark Brown
2014-02-10 15:30 ` Paul Bolle
2014-02-10 16:36 ` Mark Brown
2014-02-10 22:09 ` Paul Bolle
2014-02-12 16:04 ` Mark Brown
2014-02-28 21:43 ` Paul Bolle
2014-03-01 3:53 ` Mark Brown
2014-02-09 18:48 ` [PATCH 22/28] Remove S3C24XX_GPIO_EXTRA128 Richard Weinberger
2014-02-11 3:31 ` Kukjin Kim
2014-02-13 22:57 ` Kukjin Kim
2014-02-09 18:48 ` [PATCH 25/28] Remove MACH_SMDKV310 Richard Weinberger
2014-02-09 18:48 ` [PATCH 26/28] Remove LOCAL_TIMERS Richard Weinberger
2014-02-09 22:38 ` Paul Bolle
2014-02-09 18:48 ` [PATCH 28/28] " Richard Weinberger
2014-02-09 22:49 ` Paul Bolle
[not found] ` <1391971686-9517-7-git-send-email-richard@nod.at>
[not found] ` <1391977683.25855.27.camel@x220>
2014-04-15 8:55 ` [PATCH] hwrng: remove unbuildable picoxcell TRNG Paul Bolle
2014-04-15 10:06 ` Jamie Iles
2014-04-16 13:50 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).