soc: arm64: rename "TI Sitara" to "TI K3"

The Keystone 3 (K3) family encompasses a wider variety of SoC's.
This aligns the soc/arm64 naming with the soc/arm directory.

Signed-off-by: Grant Ramsay <gramsay@enphaseenergy.com>
This commit is contained in:
Grant Ramsay 2023-07-21 15:13:38 +12:00 committed by Fabio Baltieri
parent c2402a4368
commit 666769e54b
14 changed files with 27 additions and 27 deletions

View file

@ -2516,7 +2516,7 @@ TI SimpleLink Platforms:
labels:
- "platform: TI SimpleLink"
TI Sitara Platforms:
TI K3 Platforms:
status: maintained
maintainers:
- vaishnavachath
@ -2525,9 +2525,9 @@ TI Sitara Platforms:
files:
- boards/arm64/phycore*/
- dts/arm64/ti/
- soc/arm64/ti_sitara/
- soc/arm64/ti_k3/
labels:
- "platform: TI Sitara"
- "platform: TI K3"
Xilinx Platforms:
status: odd fixes

15
soc/arm64/ti_k3/Kconfig Normal file
View file

@ -0,0 +1,15 @@
# Copyright (c) 2023 Enphase Energy
# SPDX-License-Identifier: Apache-2.0
config SOC_FAMILY_TI_K3
bool
if SOC_FAMILY_TI_K3
config SOC_FAMILY
string
default "ti_k3"
source "soc/arm64/ti_k3/*/Kconfig.soc"
endif # SOC_FAMILY_TI_K3

View file

@ -1,4 +1,4 @@
# Copyright (c) 2023 Enphase Energy
# SPDX-License-Identifier: Apache-2.0
source "soc/arm64/ti_sitara/*/Kconfig.defconfig.series"
source "soc/arm64/ti_k3/*/Kconfig.defconfig.series"

View file

@ -1,4 +1,4 @@
# Copyright (c) 2023 Enphase Energy
# SPDX-License-Identifier: Apache-2.0
source "soc/arm64/ti_sitara/*/Kconfig.series"
source "soc/arm64/ti_k3/*/Kconfig.series"

View file

@ -37,6 +37,6 @@ endchoice
endif # SERIAL
source "soc/arm64/ti_sitara/am6x/Kconfig.defconfig.am62*"
source "soc/arm64/ti_k3/am6x/Kconfig.defconfig.am62*"
endif # SOC_SERIES_AM6X_A53

View file

@ -3,7 +3,7 @@
config SOC_SERIES_AM6X_A53
bool "TI AM6X A53 Core Series"
select SOC_FAMILY_SITARA
select SOC_FAMILY_TI_K3
select ARM64
select CPU_CORTEX_A53
select ARM_ARCH_TIMER

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_SOC_ARM64_TI_SITARA_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM64_TI_SITARA_PINCTRL_SOC_H_
#ifndef ZEPHYR_SOC_ARM64_TI_K3_PINCTRL_SOC_H_
#define ZEPHYR_SOC_ARM64_TI_K3_PINCTRL_SOC_H_
#ifdef __cplusplus
extern "C" {
@ -18,14 +18,14 @@ struct pinctrl_soc_pin {
typedef struct pinctrl_soc_pin pinctrl_soc_pin_t;
#define TI_SITARA_DT_PIN(node_id) \
#define TI_K3_DT_PIN(node_id) \
{ \
.offset = DT_PROP_BY_IDX(node_id, pinmux, 0), \
.value = DT_PROP_BY_IDX(node_id, pinmux, 1) \
},
#define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \
TI_SITARA_DT_PIN(DT_PROP_BY_IDX(node_id, prop, idx))
TI_K3_DT_PIN(DT_PROP_BY_IDX(node_id, prop, idx))
#define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \
{ DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) }
@ -34,4 +34,4 @@ typedef struct pinctrl_soc_pin pinctrl_soc_pin_t;
}
#endif
#endif /* ZEPHYR_SOC_ARM64_TI_SITARA_PINCTRL_SOC_H_ */
#endif /* ZEPHYR_SOC_ARM64_TI_K3_PINCTRL_SOC_H_ */

View file

@ -1,15 +0,0 @@
# Copyright (c) 2023 Enphase Energy
# SPDX-License-Identifier: Apache-2.0
config SOC_FAMILY_SITARA
bool
if SOC_FAMILY_SITARA
config SOC_FAMILY
string
default "ti_sitara"
source "soc/arm64/ti_sitara/*/Kconfig.soc"
endif # SOC_FAMILY_SITARA