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

Introduce scmi-pinctrl driver support #3

Draft
wants to merge 2 commits into
base: v5.10.41/rcar-5.1.4.rc3
Choose a base branch
from

Commits on Dec 1, 2021

  1. scmi: Introduce pinctrl scmi protocol driver

    Implementation of the SCMI client driver, which implements
    PINCTRL_PROTOCOL. This protocol has id 18 and described in
    DEN0056C document.
    This protocol is the part of the feature that was designed
    to separate pinctrl subsystem to SCP firmware. The idea is to
    separate communication of the pin control subsystemd with the HW
    to SCP firmware (or similar system, such as ATF), which provides
    interface to give OS ability to control HW through SCMI protocol.
    This is generic driver, which implements SCMI protocol, independent
    from the platform type.
    
    DEN0056C document:
    https://developer.arm.com/documentation/den0056/latest
    
    Signed-off-by: Oleksii Moisieiev <[email protected]>
    oleksiimoisieiev committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    0a62f2b View commit details
    Browse the repository at this point in the history
  2. pinctrl: Implementation of the generic scmi-pinctrl driver

    scmi-pinctrl driver implements pinctrl driver interface and using
    SCMI protocol to redirect messages from pinctrl subsystem SDK to
    SCP firmware, which does the changes in HW.
    
    This setup expects SCP firmware (or similar system, such as ATF)
    to be installed on the platform, which implements pinctrl driver
    for the specific platform.
    
    SCMI-Pinctrl driver should be configured from the device-tree.
    The following binding shows the configuration for Renesas H3ULCB
    for r8a77951 as an example:
     Documentation/devicetree/bindings/renesas-scmi,pfc.yaml
    
    Signed-off-by: Oleksii Moisieiev <[email protected]>
    oleksiimoisieiev committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    dcf1a44 View commit details
    Browse the repository at this point in the history