Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273872 > unrolled thread

clk: tango4: undefined CONFIG_ARCH_TANGOX

Started byValentin Rothberg <valentinrothberg@gmail.com>
First post2015-11-20 10:00 +0100
Last post2015-11-20 13:50 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  clk: tango4: undefined CONFIG_ARCH_TANGOX Valentin Rothberg <valentinrothberg@gmail.com> - 2015-11-20 10:00 +0100
    Re: clk: tango4: undefined CONFIG_ARCH_TANGOX Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2015-11-20 10:50 +0100
      Re: clk: tango4: undefined CONFIG_ARCH_TANGOX Måns Rullgård <mans@mansr.com> - 2015-11-20 13:50 +0100

#1273872 — clk: tango4: undefined CONFIG_ARCH_TANGOX

FromValentin Rothberg <valentinrothberg@gmail.com>
Date2015-11-20 10:00 +0100
Subjectclk: tango4: undefined CONFIG_ARCH_TANGOX
Message-ID<qwPI0-4To-47@gated-at.bofh.it>
Hi Marc,

your commit ed12dfc92f01 ("clk: tango4: clkgen driver for Tango4
platforms") has shown up in today's linux-next tree (i.e.,
next-20151120) adding the following build condition to the tango4 clk
driver:

drivers/clk/Makefile:45:obj-$(CONFIG_ARCH_TANGOX) += clk-tango4.o

However, ARCH_TANGOX is nowhere defined in Kconfig so that the driver
cannot be compiled at the current state.  I checked the LKML, and found
a bunch of patches referencing ARCH_TANGOX as well, but I could not find
any patch adding this option.

Is there a patch queued somewhere that adds ARCH_TANGOX?

I detected the issue with scripts/checkkconfigsymbols.py by diffing
yesterday's and today's linux-next.

Kind regards,
 Valentin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1273902

FromMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Date2015-11-20 10:50 +0100
Message-ID<qwQun-5rq-31@gated-at.bofh.it>
In reply to#1273872
On 20/11/2015 09:50, Valentin Rothberg wrote:

> your commit ed12dfc92f01 ("clk: tango4: clkgen driver for Tango4
> platforms") has shown up in today's linux-next tree (i.e.,
> next-20151120) adding the following build condition to the tango4 clk
> driver:
> 
> drivers/clk/Makefile:45:obj-$(CONFIG_ARCH_TANGOX) += clk-tango4.o
> 
> However, ARCH_TANGOX is nowhere defined in Kconfig so that the driver
> cannot be compiled at the current state.  I checked the LKML, and found
> a bunch of patches referencing ARCH_TANGOX as well, but I could not find
> any patch adding this option.
> 
> Is there a patch queued somewhere that adds ARCH_TANGOX?

Hello Valentin,

Platform support has not been accepted yet.

http://thread.gmane.org/gmane.linux.ports.arm.kernel/456280

In fact, Kevin Hilman has pointed out that the arch should not
be called TANGOX, because X is a wildcard.

(However, several unrelated drivers have been submitted with
TANGOX in the name. Is that a problem?)

tango3 was a MIPS-based design
tango4 is an ARM-based design (with one MIPS-based outlier).
tango5 is an ARM-based design

Although Mans is against the idea, I believe there should be one
different clk driver for each arch.

I'm not sure how to handle situations where there's
A) a separate driver for 3,4,5
B) a   single driver for 3,4,5
C) one driver for 2 arches, another driver for the other arch

Regards.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1274049

FromMåns Rullgård <mans@mansr.com>
Date2015-11-20 13:50 +0100
Message-ID<qwTiy-7gN-29@gated-at.bofh.it>
In reply to#1273902
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> writes:

> On 20/11/2015 09:50, Valentin Rothberg wrote:
>
>> your commit ed12dfc92f01 ("clk: tango4: clkgen driver for Tango4
>> platforms") has shown up in today's linux-next tree (i.e.,
>> next-20151120) adding the following build condition to the tango4 clk
>> driver:
>> 
>> drivers/clk/Makefile:45:obj-$(CONFIG_ARCH_TANGOX) += clk-tango4.o
>> 
>> However, ARCH_TANGOX is nowhere defined in Kconfig so that the driver
>> cannot be compiled at the current state.  I checked the LKML, and found
>> a bunch of patches referencing ARCH_TANGOX as well, but I could not find
>> any patch adding this option.
>> 
>> Is there a patch queued somewhere that adds ARCH_TANGOX?
>
> Hello Valentin,
>
> Platform support has not been accepted yet.
>
> http://thread.gmane.org/gmane.linux.ports.arm.kernel/456280
>
> In fact, Kevin Hilman has pointed out that the arch should not
> be called TANGOX, because X is a wildcard.
>
> (However, several unrelated drivers have been submitted with
> TANGOX in the name. Is that a problem?)
>
> tango3 was a MIPS-based design
> tango4 is an ARM-based design (with one MIPS-based outlier).
> tango5 is an ARM-based design
>
> Although Mans is against the idea, I believe there should be one
> different clk driver for each arch.

It's essentially the same clock generator.  It should be a single
driver.

-- 
Måns Rullgård
mans@mansr.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web