Skip to content

Commit 2dc6307

Browse files
parthitcenashif
authored andcommitted
soc: ti: mspm0: restructure common files
mspm0 series (currently g, l and c) shares the common SoC level init functions and pin control/muxing configurations. To avoid duplication for each series, create a common path and move the SoC and pin control definitions. Other common functionalities like Power Management, Power off handling will be added in future, which will be common across series. Signed-off-by: Parthiban Nallathambi <[email protected]>
1 parent abe9c49 commit 2dc6307

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

soc/ti/mspm0/mspm0g/pinctrl_soc.h renamed to soc/ti/mspm0/common/pinctrl_soc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
22
* Copyright (c) 2025 Texas Instruments
3-
* Copyright (c) 2025 Linumiz
3+
* Copyright (c) 2025 Linumiz GmbH
44
*
55
* SPDX-License-Identifier: Apache-2.0
66
*/
77

8-
#ifndef __ZEPHYR_SOC_ARM_TI_MSPM0_M0G_PINCTRL_SOC_H__
9-
#define __ZEPHYR_SOC_ARM_TI_MSPM0_M0G_PINCTRL_SOC_H__
8+
#ifndef __ZEPHYR_SOC_ARM_TI_MSPM0_PINCTRL_SOC_H__
9+
#define __ZEPHYR_SOC_ARM_TI_MSPM0_PINCTRL_SOC_H__
1010

1111
#include <zephyr/devicetree.h>
1212
#include <zephyr/types.h>
@@ -47,4 +47,4 @@ typedef struct pinctrl_soc_pin {
4747
DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) \
4848
}
4949

50-
#endif /* __ZEPHYR_SOC_ARM_TI_MSPM0_M0G_PINCTRL_SOC_H__ */
50+
#endif /* __ZEPHYR_SOC_ARM_TI_MSPM0_PINCTRL_SOC_H__ */

soc/ti/mspm0/mspm0g/soc.c renamed to soc/ti/mspm0/common/soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (c) 2025 Texas Instruments
3-
* Copyright (c) 2025 Linumiz
3+
* Copyright (c) 2025 Linumiz GmbH
44
*
55
* SPDX-License-Identifier: Apache-2.0
66
*/

soc/ti/mspm0/mspm0g/soc.h renamed to soc/ti/mspm0/common/soc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (c) 2025 Texas Instruments
3-
* Copyright (c) 2025 Linumiz
3+
* Copyright (c) 2025 Linumiz GmbH
44
*
55
* SPDX-License-Identifier: Apache-2.0
66
*/

0 commit comments

Comments
 (0)