aboutsummaryrefslogtreecommitdiffstats
path: root/bsp/ti-am335x
AgeCommit message (Collapse)Author
2022-06-29treewide: Drop the obsolete GPIO sysfs ABIKevin Hao
The GPIO sysfs ABI has been marked as obsolete 6 years ago [1] and has been scheduled to be removed in 2020. And then it is restricted to be only available to expert users by commit [2]. This restriction triggers config warning on several BSPs due to the CONFIG_EXPERT is not enabled. Of course we can fix these warning by enabling the CONFIG_EXPERT, but maybe it is the time to drop this obsolete option. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fe95046e960b [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3b4feb21158f8 Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-13ti-am335x: Clean up useless and badly formatted fragmentsHe Zhe
Fix the following warning. WARNING: linux-yocto-5.4.x do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: Fragments with badly formatted configuration options: - fragment configs/v5.4/standard/ti-am335x/bsp/ti-am335x/ti-am335x.cfg has the following issues: #CONFIG_USB_ANNOUNCE_NEW_DEVICES=y - fragment configs/v5.4/standard/ti-am335x/bsp/ti-am335x/ti-am335x.cfg has the following issues: #CONFIG_USB_MON=m Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-26bsp: Drop the stale USB_MUSB_AM335X_CHILDKevin Hao
The corresponding driver has been dropped by the kernel commit 4baa550ecc86 ("usb: musb: remove dummy driver musb_am335x.c"), so also drop the stale kernel option in the BSPs' cfg. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-20ti-am335x: enable sdhci-omap driver for SD CardJun Miao
Because of the commit 0b4edf111870 ("dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver") in kernel Linux 5.8-rc3, open the sdhci-omap driver config fragment to support SD Card. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-21bsp/ti-am335x: drop some invalid cfg optionsYanfei Xu
drop TI_DAVINCI_CPDMA option removed from v5.2 kernel https://github.com/torvalds/linux/commit/99f629718272974405e8d180d2fa70c03c06d61f drop SND_DAVINCI_SOC_MCASP option removed from v5.0 kernel https://github.com/torvalds/linux/commit/f2055e145f2975a75dace8e386fad9364828cdb4 drop MMC_UNSAFE_RESUME option removed from v3.16 kernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/m mc/core/Kconfig?h=v3.16.82&id=2501c9179dff2add6aadd3898cd729e94e777d3a drop DRM_OMAP_PANEL_DPI option removed from v5.2 kernel. https://github.com/torvalds/linux/commit/8bf4b1621178ef05bde5b9a14a117ff951dd1260 MTD_NAND option was renamed MTD_RAW_NAND in v5.2 kernel https://github.com/torvalds/linux/commit/72c5af00272339af6bbed6fe7275cd731f57be2d MTD_NAND_ECC was renamed MTD_NAND_ECC_SW_HAMMING in v5.2 kernel https://github.com/torvalds/linux/commit/9bb94643b94115990ffec18c8129f1ab970765c1 drop BACKLIGHT_LCD_SUPPORT option removed from v5.2 kernel https://github.com/torvalds/linux/commit/8c5dc8d9f19c7992b5ed557b865127a80149041b drop TI_CPSW_ALE option removed from v5.2 kernel https://github.com/torvalds/linux/commit/16f54164828b253d7792b67b05c07540f236ece5 drop MMC_BLOCK_BOUNCE removed from v4.13 kernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/m mc/core/Kconfig?h=linux-4.13.y&id=c3dccb74be28a345a2ebcc224e41b774529b8b8f Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-29ti-am335x: enable GCC -O2 optimizationJun Miao
Ti-am335x bsp includes the standard.scc file, which will set CONFIG_CC_OPTIMIZE_FOR_SIZE=y. As a result, the system boot hangs like below in v5.4.0-rc4 kernel version: When we enable CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE for -O2 Optimization level, the boot succeeds. boot log: systemd[1]: Set hostname to <ti-am335x>. systemd[1]: Failed to open netlink: Operation not permitted systemd-fstab-generator[120]: Failed to write unit file -.mount: Bad address systemd-fstab-generator[120]: Failed to write unit file var-volatile.mount: Bad address ... ... systemd[1]: Failed to start device monitor: Bad address systemd[1]: SO_PASSCRED failed: Bad address [!!!!!!] Failed to start up manager. systemd[1]: Freezing execution. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-07meta: add SPDX License Identifier and updates 00-README with License policyYann CARDAILLAC
Signed-off-by: Yann CARDAILLAC <ycnakajsph@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-09-20ti-am335x: correct the arch 64-bit to 32-bitJun Miao
am335x SoC is 32-Bit RISC Microprocessor. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-09-20ti-am335x: add CPU Freq/Idle supportJun Miao
enable kernel options to support the CPU Frequency/Idle. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-18ti-am335x: enable kernel options for PMIC supportJun Miao
add Power Management IC support. TPS65910: am335x EVM/SK TPS65217: am335x BBB Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-07ti-am335x: add the basic scc/cfg enablementJun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black boards all with am335x soc Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>