Re: [linux-sunxi] [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board

From: Iain Paton
Date: Tue Jan 20 2015 - 12:02:50 EST


On 16/01/15 14:03, Vishnu Patekar wrote:
> Signed-off-by: VishnuPatekar <vishnupatekar0510@xxxxxxxxx>
> ---
> arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> index ed364d5..3365f12 100644
> --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
> @@ -113,6 +113,18 @@
> status = "okay";
> };
>
> + ps20: ps2@01c2a000 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&ps20_pins_a>;
> + status = "okay";
> + };
> +
> + ps21: ps2@01c2a400 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&ps21_pins_a>;
> + status = "okay";
> + };
> +
> i2c0: i2c@01c2ac00 {
> pinctrl-names = "default";
> pinctrl-0 = <&i2c0_pins_a>;
>

As the Lime2 doesn't actually have any PS2 connectors on the board,
I'd prefer that these are not enabled unconditionally. Doing so
only makes it more difficult for people who want to use these pins
for other functions.

Device tree overlays seem to be close to being merged, perhaps we
could leave enabling this to an overlay?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/