Re: Moving pinctrl node under syscon for UniPhier pinctrl driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 24, 2016 at 6:49 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:

> Currently, the pinctrl node is a syscon node,
> but I noticed that it should be moved under the syscon node
> to ease my next development.

OK

>     pinctrl {
>             compatible = "socionext,foo-pinctrl", "syscon";
>             ....
>     };
>
>
> New DT
> ------
>
>     soc_glue {
>             compatible = "socionext,foo-socglue", "syscon",
>                          "simple-mfd";
>             pinctrl {
>                     compatible = "socionext,foo-pinctrl";
>             };
>
>             phy {
>                      .....
>             };
>     }
>
>
> (The "soc_glue" node is a syscon node
> that consists of a bunch of system-configuration registers,
> such as pinctrl, some phys, and some misc registers.
> Various registers are mixed in one hardware block,
> so it is difficult to split it.)

Yeah that is what "simple-mfd" is for.

> But, this effectively breaks the current DT binding.

Does it really? What matters is if it still works after the change.

> [1] Add the new binding support with a new compatible string.
>     (note the old binding is still supported for backward compatibility)
>
> [2] Wait a couple of releases, keeping both of the two bindings
>
> [3] Drop the old binding support
>
> If it is OK, I want to move it forward.

It is OK with *ME* because I'm just the GPIO maintainer and I'm
not really picky about breaking DT ABI's, I think you need to crack
a few eggs to make an omelet from time to time.

The problem is rather the devicetree people: do *THEY* accept
this?

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux