[PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370

From
Linus Walleij <hidden>
Date
2012-08-20 14:25:09
Also in
linux-devicetree, lkml
Reply to
Sebastian Hesselbarth, 2012-08-11
On Sat, Aug 11, 2012 at 2:56 PM, Sebastian Hesselbarth
[off-list ref] wrote:
This pinctrl driver is not a full-blown pinctrl driver from scratch:
it relies on the common pinctrl-mvebu driver, which is used for all
Marvell EBU SoCs.
Good!
quoted hunk ↗ jump to hunk
+config PINCTRL_ARMADA_370
+       bool "Support for Marvell Armada 370 SoCs"
+       depends on PINCTRL_MVEBU
+       depends on MACH_ARMADA_370_XP
select PINCTRL_MVEBU simply?

And then have the Armada Kconfig

select PINCTRL
select PINCTRL_ARMADA_370

This machine doesn't seem to depend in the MVEBU driver, I guess it's
the same ARCH as something else, oh well. Still suspect the
MVEBU driver should depend on PLAT_ORION until proven
wrong.

(...)
quoted hunk ↗ jump to hunk
+static int __devinit armada_370_pinctrl_probe(struct platform_device *pdev)
+{
+       struct mvebu_pinctrl_soc_info *soc = &armada_370_pinctrl_info;
+
+       soc->variant = 0;
Shouldn't this be a #defined thing or something. "variant 0" doesn't
tell me much.

No further comments, looking good.

Yours,
Linus Walleij
Thread (152 messages) 152 messages, 12 authors, last reply 2013-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help