mediatek: mt8173: refactor RTC and PMIC driversRefactor RTC and PMIC drivers.Signed-off-by: kenny liang <kenny.liang@mediatek.com>Change-Id: I74fca536cd61e00c962f080f1ba3759287682ecf
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- inclu
Sanitise includes across codebaseEnforce full include path for includes. Deprecate old paths.The following folders inside include/lib have been left unchanged:- include/lib/cpus/${ARCH}- include/lib/el3_runtime/${ARCH}The reason for this change is that having a global namespace forincludes isn't a good idea. It defeats one of the advantages of havingfolders and it introduces problems that are sometimes subtle (becauseyou may not know the header you are actually including if there are twoof them).For example, this patch had to be created because two headers werecalled the same way: e0ea0928d5b7 ("Fix gpio includes of mt8173 platformto avoid collision."). More recently, this patch has had similarproblems: 46f9b2c3a282 ("drivers: add tzc380 support").This problem was introduced in commit 4ecca33988b9 ("Move include andsource files to logical locations"). At that time, there weren't toomany headers so it wasn't a real issue. However, time has shown thatthis creates problems.Platforms that want to preserve the way they include headers may add theremoved paths to PLAT_INCLUDES, but this is discouraged.Change-Id: I39dc53ed98f9e297a5966e723d1936d6ccf2fc8fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
show more ...
Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this proje
Standardise header guards across codebaseAll identifiers, regardless of use, that start with two underscores arereserved. This means they can't be used in header guards.The style that this project is now to use the full name of the file incapital letters followed by 'H'. For example, for a file called"uart_example.h", the header guard is UART_EXAMPLE_H.The exceptions are files that are imported from other projects:- CryptoCell driver- dt-bindings folders- zlib headersChange-Id: I50561bf6c88b491ec440d0c8385c74650f3c106eSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by
Use SPDX license identifiersTo make software license auditing simpler, use SPDX[0] licenseidentifiers instead of duplicating the license text in every file.NOTE: Files that have been imported by FreeBSD have not been modified.[0]: https://spdx.org/Change-Id: I80a00e1f641b8cc075ca5a95b10607ed9ed8761aSigned-off-by: dp-arm <dimitris.papastamos@arm.com>
mt8173: support big core PLL control in system suspend flowThis patch adds big core ARMPLL control in system suspend flow.Change-Id: I27a45dbbb360f17ff0b524a125630358ee2277e2Signed-off-by: Louis
mt8173: support big core PLL control in system suspend flowThis patch adds big core ARMPLL control in system suspend flow.Change-Id: I27a45dbbb360f17ff0b524a125630358ee2277e2Signed-off-by: Louis Yu <louis.yu@mediatek.com>Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>
Initial platform port for MediaTek mt8173- Boot up 4 cores.- Add a generic UART driver.- Add generic CPU helper functions- Supoort suspend- Add system_off & system_reset implementation- Add cr
Initial platform port for MediaTek mt8173- Boot up 4 cores.- Add a generic UART driver.- Add generic CPU helper functions- Supoort suspend- Add system_off & system_reset implementation- Add crash console reporting implementation- Add get_sys_suspend_power_state() for PSCI 1.0 SYSTEM_SUSPEND- Add Mediatek SIP runtime service- Add delay timer platform implementationChange-Id: I44138249f115ee10b9cbd26fdbc2dd3af04d825fSigned-off-by: CC Ma <cc.ma@mediatek.com>Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com>