drivers: clock: Microchip XEC clock driver add MEC15xx support
Add support for Microchip MEC15xx to the XEC clock control driver. MEC15xx 32KHz clock support uses the same 32KHz source for both the PLL and peripherals. MEC152x does not include the PCR clock monitor present in MEC172x. MEC15xx and MEC172x support internal silicon oscillator, parallel and single ended crystal inputs, and the 32KHZ_PIN input. MEC152x supports fall back to internal silicon OSC when VTR and 32KHZ_PIN are turned off. Therefore in MEC152x the internal silicon oscillator can only be disabled if using an external 32KHz which is always on. For MEC152x the driver will only use the PLL source clock device tree value. Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
This commit is contained in:
parent
ed52729a4b
commit
c7e0d727d7
9 changed files with 138 additions and 143 deletions
|
@ -49,6 +49,10 @@
|
|||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
&pcr {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
|
|
|
@ -12,6 +12,8 @@ CONFIG_SOC_MEC1501_VCI_PINS_AS_GPIOS=n
|
|||
CONFIG_BOARD_MEC1501MODULAR_ASSY6885=y
|
||||
CONFIG_RTOS_TIMER=y
|
||||
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
|
|
|
@ -77,6 +77,10 @@
|
|||
cpu-power-states = <&idle &suspend_to_ram>;
|
||||
};
|
||||
|
||||
&pcr {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart2 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
|
|
|
@ -10,7 +10,9 @@ CONFIG_SOC_MEC1501_VTR3_1_8V=y
|
|||
CONFIG_BOARD_MEC15XXEVB_ASSY6853=y
|
||||
CONFIG_RTOS_TIMER=y
|
||||
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_PINCTRL=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_GPIO=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue