Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: add pinctrl device interface #6760

Closed
wants to merge 4 commits into from

Commits on Aug 19, 2018

  1. drivers: pinctrl: Add pinctrl driver interface

    Add the interface for pinctrl drivers.
    
    Adapt the pinmux driver interface to use the pinctrl pinmux interface
    if CONFIG_PINCTRL is selected. The pinctrl pinmux interface is a
    generic shim that directly calls the pinctrl driver.
    
    Add generic pin number defines for GPIO ports to be used by GPIO
    drivers that use the pinctrl driver as backend driver.
    
    The pin controller device driver:
        - enumerates controllable pins,
        - multiplexes pins, and
        - configures pins.
    
    The Zephyr pin controller follows the concepts of the Linux PINCTRL
    (PIN CONTROL) subsystem. However the Zephyr pin controller does not
    provide the full scope of the Linux PINCTRL subsystem. Also the PINCTRL
    interface is specific to Zephyr and not compatible (but similar)to the
    Linux PINCTRL interface.
    
    Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
    b0661 committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    5040855 View commit details
    Browse the repository at this point in the history
  2. drivers: pinctrl: Add pinctrl driver userspace interface

    Add usermode interface generation for pinctrl.
    
    Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
    b0661 committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    3d40261 View commit details
    Browse the repository at this point in the history
  3. doc: api: add pinctrl and gpio-pinctrl interface

    Include the pinctrl driver interface and the interface for
    gpio devices with pinctrl backend in the API documentation.
    
    Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
    b0661 committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    8e74f97 View commit details
    Browse the repository at this point in the history
  4. doc: pinctrl: Add pinctrl driver documentation

    Document the design principles and usage of the Zephyr pinctrl driver
    and the related GPIO driver with pinctrl backend.
    
    Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
    b0661 committed Aug 19, 2018
    Configuration menu
    Copy the full SHA
    a922f8c View commit details
    Browse the repository at this point in the history