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

Bring DTSI to the latest state and correct RTS/CTS pin configuration #238

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Nov 8, 2024

  1. scripts: genpinctrl: handle unsupported pindata gracefully

    The latest STM32 Open Pin Data revision contains SoC descriptors that
    are not handled properly by genpinctrl yet. These files are parsed
    properly but trigger an exception during the pinctrl template rendering.
    
    Add exception logic around template rendering so that problematic SoC files
    are skipped - with an error message - instead of crashing the script, which
    would otherwise prevent regeneration of DTSI for *all* SoCs.
    
    This allows us to keep updating the pinctrl DTSI for supported SoCs
    even when new SoCs requiring genpinctrl updates are added to Pin Data.
    
    Co-authored-by: Mathieu Choplain <[email protected]>
    Signed-off-by: Georgij Cernysiov <[email protected]>
    GeorgeCGV and mathieuchopstm committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    1bbf2f4 View commit details
    Browse the repository at this point in the history
  2. dts: st: regenerate all dtsi files with latest pindata

    Brings everything to the latest state using the current config
    and pin open data f4ec11.
    
    The following SoCs are skipped due to incompatibility with genpinctrl:
    * stm32c071k8tx-pinctrl.dtsi
    * stm32c071k8txn-pinctrl.dtsi
    * stm32c071c8ux-pinctrl.dtsi
    * stm32c071c8uxn-pinctrl.dtsi
    * stm32c071cbtxn-pinctrl.dtsi
    * stm32c071rbixn-pinctrl.dtsi
    * stm32c071kbtx-pinctrl.dtsi
    * stm32c071kbuxn-pinctrl.dtsi
    * stm32c071k8uxn-pinctrl.dtsi
    * stm32c071k8ux-pinctrl.dtsi
    * stm32c071cbuxn-pinctrl.dtsi
    * stm32c071cbux-pinctrl.dtsi
    * stm32c071kbtxn-pinctrl.dtsi
    * stm32c071kbux-pinctrl.dtsi
    * stm32c071c8tx-pinctrl.dtsi
    * stm32c071c8txn-pinctrl.dtsi
    * stm32c071rbtxn-pinctrl.dtsi
    * stm32c071rbtx-pinctrl.dtsi
    * stm32c071r8tx-pinctrl.dtsi
    * stm32c071cbtx-pinctrl.dtsi
    * stm32c071r8txn-pinctrl.dtsi
    
    Signed-off-by: Georgij Cernysiov <[email protected]>
    GeorgeCGV committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    e6b7f65 View commit details
    Browse the repository at this point in the history
  3. scripts: genpinctrl: correct RTS/CTS config

    * CTS
       - remove open-drain
    * RTS
       - replace open-drain with push-pull
       - remove pull-up bias
    
    Signed-off-by: Georgij Cernysiov <[email protected]>
    GeorgeCGV committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d0d4fee View commit details
    Browse the repository at this point in the history
  4. dts: st: regenerate all dtsi files for RTS/CTS changes

    Regenerate to get RTS/CTS pin configuration changes using
    pin open data f4ec11.
    
    Signed-off-by: Georgij Cernysiov <[email protected]>
    GeorgeCGV committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    d5ca6e3 View commit details
    Browse the repository at this point in the history