unset based on the emulated CPU (or actual host CPU in the case
          of KVM).
  
-       select GENERIC_GPIO
 +if PPC64
 +
 +config T4240_QDS
 +      bool "Freescale T4240 QDS"
 +      select DEFAULT_UIMAGE
 +      select E500
 +      select PPC_E500MC
 +      select PHYS_64BIT
 +      select SWIOTLB
 +      select ARCH_REQUIRE_GPIOLIB
 +      select GPIO_MPC8XXX
 +      select HAS_RAPIDIO
 +      select PPC_EPAPR_HV_PIC
 +      help
 +        This option enables support for the T4240 QDS board
 +
 +config B4_QDS
 +      bool "Freescale B4 QDS"
 +      select DEFAULT_UIMAGE
 +      select E500
 +      select PPC_E500MC
 +      select PHYS_64BIT
 +      select SWIOTLB
++      select GPIOLIB
 +      select ARCH_REQUIRE_GPIOLIB
 +      select HAS_RAPIDIO
 +      select PPC_EPAPR_HV_PIC
 +      help
 +        This option enables support for the B4 QDS board
 +        The B4 application development system B4 QDS is a complete
 +        debugging environment intended for engineers developing
 +        applications for the B4.
 +
 +endif
  endif # FSL_SOC_BOOKE
  
  config TQM85xx
 
  menu "Multiplexer I2C Chip support"
        depends on I2C_MUX
  
-       depends on GENERIC_GPIO && OF
 +config I2C_ARB_GPIO_CHALLENGE
 +      tristate "GPIO-based I2C arbitration"
++      depends on GPIOLIB && OF
 +      help
 +        If you say yes to this option, support will be included for an
 +        I2C multimaster arbitration scheme using GPIOs and a challenge &
 +        response mechanism where masters have to claim the bus by asserting
 +        a GPIO.
 +
 +        This driver can also be built as a module.  If so, the module
 +        will be called i2c-arb-gpio-challenge.
 +
  config I2C_MUX_GPIO
        tristate "GPIO-based I2C multiplexer"
-       depends on GENERIC_GPIO
+       depends on GPIOLIB
        help
          If you say yes to this option, support will be included for a
          GPIO based I2C multiplexer. This driver provides access to
 
          This driver interacts with the "OMAP Control USB Driver" to power
          on/off the PHY.
  
 -config OMAP_CONTROL_USB
 -      tristate "OMAP CONTROL USB Driver"
 +config SAMSUNG_USBPHY
 +      tristate "Samsung USB PHY Driver"
        help
 -        Enable this to add support for the USB part present in the control
 -        module. This driver has API to power on the USB2 PHY and to write to
 -        the mailbox. The mailbox is present only in omap4 and the register to
 -        power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
 -        additional register to power on USB3 PHY.
 +        Enable this to support Samsung USB phy helper driver for Samsung SoCs.
 +        This driver provides common interface to interact, for Samsung USB 2.0 PHY
 +        driver and later for Samsung USB 3.0 PHY driver.
 +
 +config SAMSUNG_USB2PHY
 +      tristate "Samsung USB 2.0 PHY controller Driver"
 +      select SAMSUNG_USBPHY
 +      help
 +        Enable this to support Samsung USB 2.0 (High Speed) PHY controller
 +        driver for Samsung SoCs.
 +
 +config SAMSUNG_USB3PHY
 +      tristate "Samsung USB 3.0 PHY controller Driver"
 +      select SAMSUNG_USBPHY
 +      help
 +        Enable this to support Samsung USB 3.0 (Super Speed) phy controller
 +        for samsung SoCs.
 +
 +config TWL4030_USB
 +      tristate "TWL4030 USB Transceiver Driver"
 +      depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
 +      help
 +        Enable this to support the USB OTG transceiver on TWL4030
 +        family chips (including the TWL5030 and TPS659x0 devices).
 +        This transceiver supports high and full speed devices plus,
 +        in host mode, low speed.
 +
 +config TWL6030_USB
 +      tristate "TWL6030 USB Transceiver Driver"
 +      depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
 +      help
 +        Enable this to support the USB OTG transceiver on TWL6030
 +        family chips. This TWL6030 transceiver has the VBUS and ID GND
 +        and OTG SRP events capabilities. For all other transceiver functionality
 +        UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
 +        are hooked to this driver through platform_data structure.
 +        The definition of internal PHY APIs are in the mach-omap2 layer.
 +
 +config USB_GPIO_VBUS
 +      tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
-       depends on GENERIC_GPIO
++      depends on GPIOLIB
 +      help
 +        Provides simple GPIO VBUS sensing for controllers with an
 +        internal transceiver via the usb_phy interface, and
 +        optionally control of a D+ pullup GPIO as well as a VBUS
 +        current limit regulator.
  
  config USB_ISP1301
        tristate "NXP ISP1301 USB transceiver support"