pinctrl: pinconf-generic: Add flag to print arguments

When dumping pinconf information in debugfs, config arguments are only
printed when a unit is present and the argument is != 0. For parameters
like the slew rate, this does not work. The slew rate uses a driver
specific format for the argument, i.e. 0 can be a valid argument and a
unit is not provided for it.
For that reason, add a flag to enable printing the argument instead of
inferring it from the presence of a unit and the value of the argument.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pinctrl: pinconf-generic: Declare dt_params/conf_items const

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pinctrl: pinconf-generic: Infer map type from DT property

With the new 'groups' property, the DT parser can infer the map type
from the fact whether 'pins' or 'groups' is used to specify the pin
group to work on.
To maintain backwards compatibitliy with current usage of the DT
binding, this is only done when an invalid map type is passed to the
parsing function.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pinctrl: pinconf-generic: Allow driver to specify DT params

Additionally to the generic DT parameters, allow drivers to provide
driver-specific DT parameters to be used with the generic parser
infrastructure.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pinctrl: zynq: Document DT binding

Add documentation for the devicetree binding for the Zynq pincontroller.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
pinctrl: Add driver for Zynq

This adds a pin-control driver for Zynq.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
ARM: zynq: Enable pinctrl

Select pinctrl and the Zynq pinctrl driver.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
ARM: zynq: DT: Add pinctrl information

Add pinctrl descriptions to the zc702 and zc706 device trees.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
ARM: dts: Add pinctrl to Parallella

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Add pinctrl for Parallella QSPI

Signed-off-by: Andreas Färber <afaerber@suse.de>
WIP: Add USB pinctrl for Parallella

Signed-off-by: Andreas Färber <afaerber@suse.de>
ARM: dts: Add LED for Parallella

Signed-off-by: Andreas Färber <afaerber@suse.de>
HACK: Disable some Ethernet pinctrl settings

Network stopped working at some point, so use default settings.

Signed-off-by: Andreas Färber <afaerber@suse.de>