dts: mec172xevb_assy6906: Add pwm-0 alias to mec172xevb dts file
Enable tests/drivers/pwm/pwm_api test case on both west and twister Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
This commit is contained in:
parent
7dfdd5dcd5
commit
2824696d11
3 changed files with 5 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
||||||
i2c-0 = &i2c_smb_0;
|
i2c-0 = &i2c_smb_0;
|
||||||
i2c1 = &i2c_smb_1;
|
i2c1 = &i2c_smb_1;
|
||||||
i2c7 = &i2c_smb_2;
|
i2c7 = &i2c_smb_2;
|
||||||
|
pwm-0 = &pwm0;
|
||||||
};
|
};
|
||||||
|
|
||||||
leds {
|
leds {
|
||||||
|
|
|
@ -18,3 +18,4 @@ supported:
|
||||||
- pinmux
|
- pinmux
|
||||||
- i2c
|
- i2c
|
||||||
- adc
|
- adc
|
||||||
|
- pwm
|
||||||
|
|
|
@ -3,9 +3,11 @@
|
||||||
# Copyright (c) 2019 Intel Corporation
|
# Copyright (c) 2019 Intel Corporation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
DT_COMPAT_PWM_XEC := microchip,xec-pwm
|
||||||
|
|
||||||
config PWM_XEC
|
config PWM_XEC
|
||||||
bool "Microchip XEC PWM"
|
bool "Microchip XEC PWM"
|
||||||
depends on SOC_FAMILY_MEC
|
depends on SOC_FAMILY_MEC
|
||||||
default $(dt_compat_enabled,${DT_COMPAT_ST_PWM_XEC})
|
default $(dt_compat_enabled,${DT_COMPAT_PWM_XEC})
|
||||||
help
|
help
|
||||||
Enable driver to utilize PWM on the Microchip XEC IP block.
|
Enable driver to utilize PWM on the Microchip XEC IP block.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue