Merge pull request #6 from aspalmer/staging

All of Andrey's concerns were addressed
stm32/spi: Fix missing brace (broken commit)
usb: Replace num_altsettings (broken commit)
Merge pull request #8 from Jeff-Ciesielski/staging

Staging
Add GPIO configuration helper function

This commit adds a 'gpio_set_port_config' functions that allows user
to define all required pin configuration for a project in a single
table instead of using multiple 'gpio_set_mode' calls.
Add provisions to initialize clock tree

This commit adds functionality that would allow user to
define/initialize the clock tree configuration as a structure, which
allows for simpler and much more flexible clock initialization.
Merge pull request #9 from ndreys/staging

Add GPIO configuration helper function
GPIO: Fix remap error arguments

The defines for JTAG are bits shifted left by many bits. Passing
anything other than JTAG enabled (which is 0) will generate an overflow
because it was excepting an 8bit argument. This is changed to 32bits so
that JTAG can be disabled.