- 
                Notifications
    
You must be signed in to change notification settings  - Fork 8.2k
 
TI MSPM0 Support #79673
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
TI MSPM0 Support #79673
Changes from 1 commit
4227dad
              24e8378
              e8f2210
              48030a7
              4c0e81d
              d390b17
              cf5480f
              8d0d1fa
              d0c9952
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g1x0x_g3x0x-pinctrl.dtsi> | 
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1 @@ | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g1x0x_g3x0x-pinctrl.dtsi> | 
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,142 @@ | ||||
| #include <dt-bindings/pinctrl/mspm0-pinctrl.h> | ||||
| 
     | 
||||
| &pinctrl { | ||||
| 
     | 
||||
                
       | 
||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, spacing and the same across this file
pinmux = <MSP_PINMUX(2, MSPM0_PIN_FUNCTION_3)>;
        
          
              
                  JFMSP marked this conversation as resolved.
              
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bias-pull-up; is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am not sure why _pull_down/up is missing here. Is it because the pin is High-Drive? Otherwise we don't need to keep a separate suffix for pull_up for all the I2C.
        
          
              
                  JFMSP marked this conversation as resolved.
              
          
            Show resolved
            Hide resolved
        
              
          
              
                  JFMSP marked this conversation as resolved.
              
          
            Show resolved
            Hide resolved
        
              
          
              
                  JFMSP marked this conversation as resolved.
              
          
            Show resolved
            Hide resolved
        
              
          
              
                  JFMSP marked this conversation as resolved.
              
          
            Show resolved
            Hide resolved
        
              
          
              
                Outdated
          
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not addressed
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -76,6 +76,7 @@ | |
| compatible = "ti,mspm0-gpio"; | ||
| reg = <0x400a0000 0x2000>; | ||
| interrupts = <1 0>; | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also the interrupt parent is nvic?   | 
||
| interrupt-parent = <&nvic>; | ||
| status = "disabled"; | ||
| gpio-controller; | ||
| #gpio-cells = <2>; | ||
| 
        
          
        
         | 
    @@ -85,6 +86,7 @@ | |
| compatible = "ti,mspm0-gpio"; | ||
| reg = <0x400a2000 0x2000>; | ||
| interrupts = <1 0>; | ||
| interrupt-parent = <&nvic>; | ||
| status = "disabled"; | ||
| gpio-controller; | ||
| #gpio-cells = <2>; | ||
| 
        
          
        
         | 
    @@ -95,6 +97,7 @@ | |
| compatible = "ti,mspm0-uart"; | ||
| reg = <0x40108000 0x2000>; | ||
| interrupts = <15 0>; | ||
| interrupt-parent = <&nvic>; | ||
| current-speed = <115200>; | ||
| clocks = <&clkmux MSPM0_CLOCK_BUS_ULPCLK>; | ||
| status = "disabled"; | ||
| 
        
          
        
         | 
    @@ -104,6 +107,7 @@ | |
| compatible = "ti,mspm0-uart"; | ||
| reg = <0x40100000 0x2000>; | ||
| interrupts = <13 0>; | ||
| interrupt-parent = <&nvic>; | ||
| current-speed = <115200>; | ||
| clocks = <&clkmux MSPM0_CLOCK_BUS_ULPCLK>; | ||
| status = "disabled"; | ||
| 
        
          
        
         | 
    @@ -113,6 +117,7 @@ | |
| compatible = "ti,mspm0-uart"; | ||
| reg = <0x40102000 0x2000>; | ||
| interrupts = <14 0>; | ||
| interrupt-parent = <&nvic>; | ||
| current-speed = <115200>; | ||
| clocks = <&clkmux MSPM0_CLOCK_BUS_ULPCLK>; | ||
| status = "disabled"; | ||
| 
          
            
          
           | 
    ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g1x0x_g3x0x-pinctrl.dtsi> | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g3xxx-pinctrl.dtsi> | 
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g1x0x_g3x0x-pinctrl.dtsi> | ||
| #include <ti/mspm0g1x0x_g3x0x/mspm0g3xxx-pinctrl.dtsi> | 
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,14 @@ | ||||
| #include <dt-bindings/pinctrl/mspm0-pinctrl.h> | ||||
| 
     | 
||||
| &pinctrl { | ||||
| 
     | 
||||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 
        Suggested change
       
     | 
||||
| can0_rx_pa13: can0_rx_pa13 { | ||||
| pinmux = <MSP_PINMUX(35,MSPM0_PIN_FUNCTION_6)>; | ||||
| input-enable; | ||||
| }; | ||||
| 
     | 
||||
| can0_tx_pa12: can0_tx_pa12 { | ||||
| pinmux = <MSP_PINMUX(34,MSPM0_PIN_FUNCTION_6)>; | ||||
| }; | ||||
| 
     | 
||||
                
       | 
||||
| }; | ||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea is to add all the pin functions? or the ones added in this PR? It's mixed now. Not all is added and also includes pin function for the ones which are not supported in this PR