[PATCH] pinctrl: pinctrl-imx: add imx35 pinctrl driver

Stephen Warren swarren at wwwdotorg.org
Fri Aug 3 16:37:18 EDT 2012


On 08/02/2012 09:39 AM, Uwe Kleine-König wrote:
> This is mostly cut'n'paste from the imx51 pinctrl driver.

> +++ b/Documentation/devicetree/bindings/pinctrl/fsl,imx35-pinctrl.txt

> +See below for available PIN_FUNC_ID for imx35:
> +# grep '   IMX_PIN_REG' drivers/pinctrl/pinctrl-imx35.c | awk '{ print NR-1 " " $8 }'

I'd remove that line from the document; the binding doc is supposed to
be OS-agnostic, and the file drivers/pinctrl/pinctrl-imx35.c probably
only exists in Linux.

> diff --git a/drivers/pinctrl/pinctrl-imx35.c b/drivers/pinctrl/pinctrl-imx35.c

> +/*
> + * imx35 pinctrl driver.
> + *
> + * This driver was mostly copied from the imx51 pinctrl driver which has:
> + *
> + * Copyright (C) 2012 Freescale Semiconductor, Inc.
> + * Copyright (C) 2012 Linaro, Inc.
> + *
> + * Author: Dong Aisheng <dong.aisheng at linaro.org>

You're not going to add your (c)? Maybe since it's mostly just data it
doesn't matter.

> + *
> + * 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.
> + */

Other than that this is basically just SoC data, so I'm not really
qualified to comment:-) So,

Acked-by: Stephen Warren <swarren at wwwdotorg.org>



More information about the linux-arm-kernel mailing list