1169695Skanconfig CLK_AT91 2169695Skan bool "AT91 clock drivers" 3169695Skan depends on CLK 4169695Skan select MISC 5169695Skan help 6169695Skan This option is used to enable the AT91 clock driver. 7169695Skan The driver supports the AT91 clock generator, including 8169695Skan the oscillators and PLLs, such as main clock, slow clock, 9169695Skan PLLA, UTMI PLL. Clocks can also be a source clock of other 10169695Skan clocks a tree structure, such as master clock, usb device 11169695Skan clock, matrix clock and generic clock. 12169695Skan Devices can use a common clock API to request a particular 13169695Skan clock, enable it and get its rate. 14169695Skan 15169695Skanconfig AT91_UTMI 16169695Skan bool "Support UTMI PLL Clock" 17169695Skan depends on CLK_AT91 18169695Skan select REGMAP 19169695Skan select SPL_REGMAP if SPL_DM 20169695Skan select SYSCON 21169695Skan select SPL_SYSCON if SPL_DM 22169695Skan help 23169695Skan This option is used to enable the AT91 UTMI PLL clock 24169695Skan driver. It is the clock provider of USB, and UPLLCK is the 25169695Skan output of 480 MHz UTMI PLL, The souce clock of the UTMI 26169695Skan PLL is the main clock, so the main clock must select the 27169695Skan fast crystal oscillator to meet the frequency accuracy 28169695Skan required by USB. 29169695Skan 30169695Skanconfig AT91_USB_CLK 31169695Skan bool "Support USB OHCI Input Clock" 32169695Skan depends on CLK_AT91 33169695Skan help 34169695Skan This option is used to enable the USB Input Clock, from 35169695Skan the device tree, configure the USBS bit (PLLA or UTMI PLL) 36169695Skan and USBDIV field of the PMC_USB register. 37169695Skan 38169695Skanconfig AT91_H32MX 39169695Skan bool "Support H32MX 32-bit Matrix Clock" 40169695Skan depends on CLK_AT91 41169695Skan help 42169695Skan This option is used to enable the AT91 H32MX matrixes 43169695Skan clock driver. There are H64MX and H32MX matrixes clocks, 44169695Skan H64MX 64-bit matrix clocks are MCK. The H32MX 32-bit 45169695Skan matrix clock is to be configured as MCK if MCK does not 46169695Skan exceed 83 MHz, else it is to be configured as MCK/2. 47169695Skan 48169695Skanconfig AT91_GENERIC_CLK 49169695Skan bool "Support Generic Clock" 50169695Skan depends on CLK_AT91 51169695Skan help 52169695Skan This option is used to enable the AT91 generic clock 53169695Skan driver. Some peripherals may need a second clock source 54169695Skan that may be different from the system clock. This second 55169695Skan clock is the generic clock (GCLK) and is managed by 56169695Skan the PMC via PMC_PCR register. 57169695Skan 58169695Skanconfig AT91_SAM9X60_PLL 59169695Skan bool "PLL support for SAM9X60 SoCs" 60169695Skan depends on CLK_AT91 61169695Skan help 62169695Skan This option is used to enable the AT91 SAM9X60's PLL clock 63169695Skan driver. 64169695Skan 65169695Skanconfig AT91_SAM9X60_USB 66169695Skan bool "USB Clock support for SAM9X60 SoCs" 67169695Skan depends on CLK_AT91 68169695Skan help 69169695Skan This option is used to enable the AT91 SAM9X60's USB clock 70169695Skan driver. 71169695Skan