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

dts: Provide Serial-wire / JTAG pin description #180

Merged
merged 3 commits into from
Jan 18, 2024

Commits on Jan 11, 2024

  1. scripts: genpinctrl: substitute "-" by "_"

    "-" could be used in signal names in .xml files.
    This character is not allowed in dts format so replace it by "_"
    before generation.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    4e94213 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. scripts: genpinctrl: Generate SWJ port pins

    Generate Serial Wire and JTAG port pins definitions.
    The particularity of these signals is that they are part of
    default SoC boot time configuration (in order to enable debug at boot time
    with no SW configuration required).
    
    The reason we need to define them is to enable the ability to set
    JTAG port pins in analog mode when they are not needed in order to
    save power (set them to analog).
    
    Today, the use case of dynamic configuration from analog back to a
    functional SWJ state is not taken into account, hence we're not generating
    the complete pin configuration (including possible pull-down or slew-rate
    combinations).
    
    Similarly, we're not generating these signals on STM32F1 as default SoC
    configuration is analog state. Hence no need to be taken into account
    for the required functionality.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    23a22b1 View commit details
    Browse the repository at this point in the history
  2. dts: New batch of pinctrl.dtsi files including SWJ signals

    SWJ signals have been generated.
    
    Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
    erwango committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    c5d5776 View commit details
    Browse the repository at this point in the history