summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-05ARM: dts: sam9x60_curiosity: Add pinctrl and gpio properties for USBSergiu Moga
Add the required pinctrl and gpio properties needed by the USB DT nodes of the sam9x60_curiosity boards. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
2023-01-05ARM: dts: sam9x60: Add OHCI and EHCI DT nodesSergiu Moga
Add the OHCI and EHCI DT nodes for the sam9x60 SoC's. Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com> Reviewed-by: Marek Vasut <marex@denx.de>
2023-01-04configs: sam9x60: add mmc config for sdmmc1Mihai Sain
Add new config for storing environment from SDMMC1. Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
2023-01-04board: at91: sam9x60: set blue led on at boot timeMihai Sain
Set blue led on at boot time in order to highlight that u-boot is loaded. This is done for all sam9x60 based boards which contain an RGB led. Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
2023-01-03ARM: dts: at91: sam9x60: add sdhci1 node and pinctrlMihai Sain
Add node for sdhci1 controller and its pinctrl. Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
2022-12-20ARM: dts: at91: sama5d2: fix wrong interrupt-cells propertyEugen Hristev
The PMC node is not an interrupt provider, so it must not have interrupt-cells. This fixes the warning (on newer DTC): arch/arm/dts/sama5d2.dtsi:82.22-602.6: Warning (interrupt_provider): /ahb/apb/pmc@f0014000: '#interrupt-cells' found, but node is not an interrupt provider Fixes: 2c4b2dd289 ("ARM: at91/dt: Add device tree for SAMA5D2 Xplained") Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
2022-12-20ARM: mach-at91: add support for sama7g5 chip id and extended id definitionMihai Sain
Add SAMA7G5 series chip id definitions to align with linux SoC driver. Add support for SAMA7G5 System-In-Package (SIP): SAMA7G54D1G, SAMA7G54D2G, SAMA7G54D4G. Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
2022-12-20ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1Eugen Hristev
Align the DT with current Linux 6.1 tree, wherever possible. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
2022-12-20sysreset: at91: add compatible with microchip, sama7g5-rstcEugen Hristev
As documented in bindings doc in kernel 6.0: https://elixir.bootlin.com/linux/v6.0/source/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
2022-12-20dt-bindings: mfd: add at91-usart.h from LinuxEugen Hristev
Copy include file dt-bindings/mfd/at91-usart.h from Linux Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
2022-12-08board: sam9x60ek: remove nand init from board fileBalamanikandan Gunasundar
Move this out of board file as this is done by the DM based NAND flash driver. The EBI chip select configuration, iomux and timings are handled by the driver Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08ARM: dts: at91: sam9x60ek: Enable NAND supportBalamanikandan Gunasundar
Enable the EBI and NAND flash controller. Define the pinctrl and partition table Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08ARM: dts: at91: sam9x60: Add nodes for EBI and NANDBalamanikandan Gunasundar
Add new bindings for EBI and NAND controller Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08configs: at91: sam9x60ek: Enable DM based nand driverBalamanikandan Gunasundar
Enable Device model supported NAND driver and remove legacy Atmel NAND driver. Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulationBalamanikandan Gunasundar
Add helper functions for atmel Static Memory Controller. The functions are required to configure SMC. This file is inherited from the work done by Boris Brezillon for Linux Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08memory: atmel-ebi: add Atmel EBI (External Bus Interface) driverBalamanikandan Gunasundar
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add this driver to probe the nand flash controller. This is a dummy driver and not yet a complete device driver for EBI. Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08mfd: syscon: Add atmel-matrix registers definitionBalamanikandan Gunasundar
This file is copied from Linux. AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08nand: atmel: Add pmecc driverBalamanikandan Gunasundar
Add driver for atmel pmecc. This implementation is ported from Linux. The reference taken is linux-5.4-at91. Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-08nand: atmel: Add DM based NAND driverBalamanikandan Gunasundar
This implementation is ported from the rework done by Boris Brezillon in Linux. This porting is done based on linux-5.4-at91. The driver is tested in sam9x60ek, sama5d3_xplained, sam9x75eb and sama7g54-ddr3-eb. Changes done includes - Adapt GPIO descriptor apis for U-Boot. Use gpio_request_by_name_nodev, dm_gpio_get_value etc. - Use U_BOOT_DRIVER instead of platform_driver. - Replace struct platform_device with struct udevice - Check the status of nfc exec operation by polling the status register instead of interrupt based handling - DMA operations not supported. Remove it - Adapt DT parsing to U-Boot APIs Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
2022-12-05Merge branch '2022-12-05-Kconfig-migrations-and-renames' into nextTom Rini
- First batch of the patches that end up with scripts/config_whitelist.tx being empty. Mostly migrations and a little bit of code removal and CFG renaming.
2022-12-05m68k: Rename CONFIG_WATCHDOG_TIMEOUT to CONFIG_WATCHDOG_TIMEOUT_MSECSTom Rini
In practice, it is clear that the usage in m68k of CONFIG_WATCHDOG_TIMEOUT is setting a value in milliseconds. Rename this to the existing symbol and move to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05post: Migrate to KconfigTom Rini
We move the existing CONFIG_POST_* functionality over to CFG_POST and then introduce CONFIG_POST to Kconfig. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2022-12-05sandbox: Rework how SDL is enabled / disabledTom Rini
Given that we can use Kconfig logic directly to see if we have a program available on the host or not, change from passing NO_SDL to instead controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default CONFIG_SANDBOX_SDL on if we have that, or not. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2022-12-05scripts/config_whitelist.txt: Remove more referenced symbolsTom Rini
Perform some deeper investigation on the remaining symbols listed in this file and remove more. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2022-12-05configs: Resync with savedefconfigTom Rini
Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05net: ftmac100: Remove non-DM_ETH codeTom Rini
At this point all users of this driver enable DM_ETH, so remove the legacy code paths. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
2022-12-05Convert CONFIG_VSC7385_ENET et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_VSC7385_ENET CONFIG_VSC9953 Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_USB_GADGET_AT91 to KconfigTom Rini
This converts the following to Kconfig: CONFIG_USB_GADGET_AT91 Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Nokia RX-51: Migrate legacy USB device options to KconfigTom Rini
Move a number of legacy USB UDC options to Kconfig, over from the config header. Cc: Pali Rohár <pali@kernel.org> Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_TEGRA_CLOCK_SCALING et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_TEGRA_CLOCK_SCALING CONFIG_TEGRA_LP0 CONFIG_TEGRA_PMU Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_TPS6586X_POWER et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_TPS6586X_POWER CONFIG_TWL6030_POWER Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_SPD_EEPROM to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SPD_EEPROM Cc: Stefan Roese <sr@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_SMSC_LPC47M et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SMSC_LPC47M CONFIG_SMSC_SIO1007 Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_SH_GPIO_PFC et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_SH_GPIO_PFC CONFIG_TMU_TIMER Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_RTC_DS1337 et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_RTC_DS1337 CONFIG_RTC_DS1337_NOOSC CONFIG_RTC_DS1338 CONFIG_RTC_DS1374 CONFIG_RTC_DS3231 CONFIG_RTC_MC13XXX CONFIG_RTC_MXS CONFIG_RTC_PT7C4338 Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_PCA953X to KconfigTom Rini
This converts the following to Kconfig: CONFIG_PCA953X Cc: Uri Mashiach <uri.mashiach@compulab.co.il> Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_NAND_KMETER1 et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_NAND_ECC_BCH CONFIG_NAND_KIRKWOOD CONFIG_NAND_KMETER1 Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_MXS_OCOTP to KconfigTom Rini
This converts the following to Kconfig: CONFIG_MXS_OCOTP Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05arm: Remove unused mx27 codeTom Rini
We no longer have any i.MX27 platforms, remove the remaining support code. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05arm: samsung: Move CONFIG_MISC_COMMON to KconfigTom Rini
This option controls using board/samsung/common/misc.c, so add a Kconfig file there as well and select it from the boards which use this functionality. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
2022-12-05arm: ls102xa: Migrate LS102XA_STREAM_IDTom Rini
This symbol appears to be globally used in the architecture, select it. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05arm: lpc32xx: Remove unused hsuart driverTom Rini
This driver is not enabled in any config currently, remove it. Cc: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05sandbox: Move CONFIG_IO_TRACE to KconfigTom Rini
This is only used on sandbox, so select it there. Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2022-12-05Convert CONFIG_IOMUX_SHARE_CONF_REG et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_IOMUX_LPSR CONFIG_IOMUX_SHARE_CONF_REG Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_IODELAY_RECALIBRATION to KconfigTom Rini
This converts the following to Kconfig: CONFIG_IODELAY_RECALIBRATION Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05mpc8548cds: Migrate CONFIG_INTERRUPTS to KconfigTom Rini
Only this platform sets this option, define it in the board Kconfig file. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_IMX_VIDEO_SKIP et al to KconfigTom Rini
This converts the following to Kconfig: CONFIG_IMX_VIDEO_SKIP CONFIG_IMX_HDMI Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05pwm: imx: Remove unused references to CONFIG_IMX6_PWM_PER_CLKTom Rini
On platforms that use DM_PWM, we do not need to define this value anymore, so remove it from config files. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05arm920t: Remove unused imx codeTom Rini
This code is currently unused, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
2022-12-05Convert CONFIG_HWCONFIG to KconfigTom Rini
This converts the following to Kconfig: CONFIG_HWCONFIG Signed-off-by: Tom Rini <trini@konsulko.com>