| 06e55dc8 | 18-May-2021 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
refactor(st-ddr): reorganize generic and specific elements
stm32mp_ddrctl structure contains DDRCTRL registers definitions. stm32mp_ddr_info contains general DDR information extracted from DT. stm32
refactor(st-ddr): reorganize generic and specific elements
stm32mp_ddrctl structure contains DDRCTRL registers definitions. stm32mp_ddr_info contains general DDR information extracted from DT. stm32mp_ddr_size moves to the generic side. stm32mp1_ddr_priv contains platform private data.
stm32mp_ddr_dt_get_info() and stm32mp_ddr_dt_get_param() allow to retrieve data from DT. They are located in new generic c/h files in which stm32mp_ddr_param structure is declared. Platform makefile is updated.
Adapt driver with this new classification.
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com> Change-Id: I4187376c9fff1a30e7a94407d188391547107997
show more ...
|
| 88f4fb8f | 17-Sep-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): allow configuration of DDR AXI ports number
A new flag STM32MP_DDR_DUAL_AXI_PORT is added, and enabled by default. It will allow choosing single or dual AXI ports for DDR.
Change-Id
feat(stm32mp1): allow configuration of DDR AXI ports number
A new flag STM32MP_DDR_DUAL_AXI_PORT is added, and enabled by default. It will allow choosing single or dual AXI ports for DDR.
Change-Id: I48826a66a6f4d18df87e081c0960af89ddda1b9d Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| c21a736d | 05-Jan-2022 |
Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> |
feat(mt8195): apply erratas of CA78 for MT8195
MT8195 uses Cortex A78 CPU, so we apply these erratas.
TEST=build pass BUG=none
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I5ce
feat(mt8195): apply erratas of CA78 for MT8195
MT8195 uses Cortex A78 CPU, so we apply these erratas.
TEST=build pass BUG=none
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I5ce3d5c490a12226bff4eb5a2d55687da0f74f0e
show more ...
|
| 64fc5359 | 04-Jan-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(plat/mediatek/mt8195): improve SPM wakeup log" into integration |
| 9b75d947 | 04-Jan-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "st_fixes" into integration
* changes: fix(stm32mp1): do not reopen debug features refactor(stm32mp1): improve DGBMCU driver fix(stm32mp1): set reset pulse duration to
Merge changes from topic "st_fixes" into integration
* changes: fix(stm32mp1): do not reopen debug features refactor(stm32mp1): improve DGBMCU driver fix(stm32mp1): set reset pulse duration to 31ms
show more ...
|
| 9565962c | 22-Dec-2020 |
Jona Stubbe <tf-a@jona-stubbe.de> |
refactor(plat/rockchip/rk3399/drivers/gpio): reduce code duplication
Refactor the GPIO code to use a small lookup table instead of redundant or repetitive code.
Signed-off-by: Jona Stubbe <tf-a@jon
refactor(plat/rockchip/rk3399/drivers/gpio): reduce code duplication
Refactor the GPIO code to use a small lookup table instead of redundant or repetitive code.
Signed-off-by: Jona Stubbe <tf-a@jona-stubbe.de> Change-Id: Icf60385095efc1f506e4215d497b60f90e16edfd Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
show more ...
|
| 21cfa453 | 15-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32mp1): do not reopen debug features
On closed chips, it is not allowed to open debug. The BSEC debug register can not be rewritten. On open chips, the debug is already open, no need to rewri
fix(stm32mp1): do not reopen debug features
On closed chips, it is not allowed to open debug. The BSEC debug register can not be rewritten. On open chips, the debug is already open, no need to rewrite this register. This part of code is just removed. An INFO message is displayed if debug is disabled. The freeze of the watchdog during debug is also removed. In case of debug, this must be managed by the software that enables the debugger.
Change-Id: I19fbd3c487bb1018db30fd599cfa94fe5090899f Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| a24d5947 | 19-Sep-2019 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
refactor(stm32mp1): improve DGBMCU driver
Add function headers to improve readability. Add asserts when required. Use RCC_BASE address.
Change-Id: Ia545293f00167b6276331a986ea7aa08c006e004 Signed-o
refactor(stm32mp1): improve DGBMCU driver
Add function headers to improve readability. Add asserts when required. Use RCC_BASE address.
Change-Id: Ia545293f00167b6276331a986ea7aa08c006e004 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| 9a73a56c | 27-Apr-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32mp1): set reset pulse duration to 31ms
According to ST Application note AN5256 [1], the minimum reset pulse duration should be set to 31ms on boards powered with discrete regulators.
[1] h
fix(stm32mp1): set reset pulse duration to 31ms
According to ST Application note AN5256 [1], the minimum reset pulse duration should be set to 31ms on boards powered with discrete regulators.
[1] https://www.st.com/resource/en/application_note/dm00561921.pdf
Change-Id: Ib6ed029ee8a4b95f75a80948fdd2154b4ebe484f Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| e752fa4a | 01-Jan-2022 |
André Przywara <andre.przywara@arm.com> |
Merge "feat(allwinner): allow to skip PMIC regulator setup" into integration |
| bc714baf | 30-Dec-2021 |
Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> |
fix(mt8186): remove unused files in drivers/mcdi
We don't use mbox drivers which are implemented in these files for mcdi, so remove related files from mcdi folder.
TEST=build pass BUG=b:202871018
fix(mt8186): remove unused files in drivers/mcdi
We don't use mbox drivers which are implemented in these files for mcdi, so remove related files from mcdi folder.
TEST=build pass BUG=b:202871018
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: Idea5ebe5b25f91066ebd653cdcdafe65ca292b0f
show more ...
|
| 67412e4d | 01-Nov-2021 |
Andre Przywara <andre.przywara@arm.com> |
feat(allwinner): allow to skip PMIC regulator setup
For somewhat historical reasons we are doing some initial PMIC regulator setup in BL31, as U-Boot does not (yet) have a PMIC driver. This worked f
feat(allwinner): allow to skip PMIC regulator setup
For somewhat historical reasons we are doing some initial PMIC regulator setup in BL31, as U-Boot does not (yet) have a PMIC driver. This worked fine so far, but there is at least one board (OrangePi 3) that gets upset, because the Ethernet PHY needs some *coordinated* bringup of *two* regulators.
To avoid custom hacks, let's introduce a build option to keep doing the regulator setup in TF-A. Defining SUNXI_SETUP_REGULATORS to 0 will break support for some devices on some boards in U-Boot (Ethernet and HDMI), but will allow to bring up the OrangePi 3 in Linux correctly. We keep the default at 1 to not change the behaviour for all other boards.
After U-Boot gained proper PMIC support at some point in the future, we will probably change the default to 0, to get rid of the less optimal PMIC code in TF-A.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: Ie8e2583d0396f6eeaae8ffe6b6190f27db63e2a7
show more ...
|
| 93b153b5 | 23-Dec-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_regulator" into integration
* changes: feat(st-sdmmc2): manage cards power cycle feat(stm32mp1): register fixed regulator feat(st-drivers): introduce fixed regulat
Merge changes from topic "st_regulator" into integration
* changes: feat(st-sdmmc2): manage cards power cycle feat(stm32mp1): register fixed regulator feat(st-drivers): introduce fixed regulator driver refactor(st): update CPU and VDD voltage get refactor(stm32mp1-fdts): update regulator description refactor(st-pmic): use regulator framework for DDR init feat(st-pmic): register the PMIC to regulator framework refactor(st-pmic): split initialize_pmic() feat(stm32mp1): add regulator framework compilation feat(regulator): add a regulator framework feat(stpmic1): add new services feat(stpmic1): add USB OTG regulators refactor(st-pmic): improve driver usage refactor(stpmic1): set stpmic1_is_regulator_enabled() as boolean refactor(stm32mp1): re-order drivers init
show more ...
|
| b3c41015 | 22-Dec-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "uart1_console" into integration
* changes: feat(versal): add UART1 as console feat(zynqmp): add uart1 as console |
| 0ca4b4b7 | 22-Dec-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "clock_framework" into integration
* changes: feat(st): use newly introduced clock framework feat(clk): add a minimal clock framework |
| 967a8e63 | 29-Jan-2021 |
Pascal Paillet <p.paillet@st.com> |
feat(stm32mp1): register fixed regulator
Register fixed regulator in BL2.
Change-Id: I24292f549b2cd24fb717fbb68eb95af7aa68e3b9 Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Yann G
feat(stm32mp1): register fixed regulator
Register fixed regulator in BL2.
Change-Id: I24292f549b2cd24fb717fbb68eb95af7aa68e3b9 Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| c39c658e | 17-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st): update CPU and VDD voltage get
Use regulator framework to get CPU and VDD power supplies.
Change-Id: Ice745fb21ff10e71ef811e747165499c2e19253e Signed-off-by: Pascal Paillet <p.paillet
refactor(st): update CPU and VDD voltage get
Use regulator framework to get CPU and VDD power supplies.
Change-Id: Ice745fb21ff10e71ef811e747165499c2e19253e Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| ae7792e0 | 18-Nov-2019 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
refactor(st-pmic): split initialize_pmic()
print_pmic_info_and_debug() prints the PMIC version ID and displays regulator information if debug is enabled. It is under DEBUG flag and called after init
refactor(st-pmic): split initialize_pmic()
print_pmic_info_and_debug() prints the PMIC version ID and displays regulator information if debug is enabled. It is under DEBUG flag and called after initialize_pmic() in BL2.
Change-Id: Ib81a625740b7ec6abb49cfca05e44c69efaa4718 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| bba9fdee | 15-Dec-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): add regulator framework compilation
Add required macro PLAT_NB_RDEVS in platform code, and update platform.mk to compile regulator framework.
Change-Id: I9dc7a0a4c4f5a23d9bedda368d4
feat(stm32mp1): add regulator framework compilation
Add required macro PLAT_NB_RDEVS in platform code, and update platform.mk to compile regulator framework.
Change-Id: I9dc7a0a4c4f5a23d9bedda368d407612c9cd21cd Signed-off-by: Pascal Paillet <p.paillet@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 0c16e7d2 | 17-Sep-2020 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): re-order drivers init
SYSCFG can be initialized later, after console is up, to display the warnings or messages it could issue. PMIC should be initialized earlier, before SYSCFG
refactor(stm32mp1): re-order drivers init
SYSCFG can be initialized later, after console is up, to display the warnings or messages it could issue. PMIC should be initialized earlier, before SYSCFG init.
Change-Id: Icc3a1366083a1b1fde7f0e173645449b4c04c49b Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 33667d29 | 30-Aug-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st): use newly introduced clock framework
Replace calls to stm32mp_clk_enable() / stm32mp_clk_disable() / stm32mp_clk_get_rate() with clk_enable() / clk_disable() / clk_get_rate().
Change-Id:
feat(st): use newly introduced clock framework
Replace calls to stm32mp_clk_enable() / stm32mp_clk_disable() / stm32mp_clk_get_rate() with clk_enable() / clk_disable() / clk_get_rate().
Change-Id: I15d2ce57b9499211fa522a1b53eeee9cf584c111 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 847c6bc8 | 13-Oct-2020 |
Gabriel Fernandez <gabriel.fernandez@st.com> |
feat(clk): add a minimal clock framework
This is mainly a clock interface with clk_ops callbacks. Those callbacks are: enable, disable, get_rate, set_parent, and is_enabled. This framework is compil
feat(clk): add a minimal clock framework
This is mainly a clock interface with clk_ops callbacks. Those callbacks are: enable, disable, get_rate, set_parent, and is_enabled. This framework is compiled for STM32MP1.
Change-Id: I5119a2aeaf103ceaae7a60d9e423caf0c148d794 Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 2c791499 | 20-Dec-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(versal): add UART1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xili
feat(versal): add UART1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: Ifcd3c331cf6ce4afb0074357c92fc4addb9438b6
show more ...
|
| ea66e4af | 20-Dec-2021 |
Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> |
feat(zynqmp): add uart1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xili
feat(zynqmp): add uart1 as console
Currently only UART0 is handled as console device, fix the code to support UART1 as console also.
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I08f69b65b78b967ceb7159f4a467aa5982b1f791
show more ...
|
| 24dd5a7b | 22-Nov-2021 |
Rex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com> |
feat(plat/mediatek/mt8186): add reboot function for PSCI
Add system_reset function in PSCI operations.
TEST=build pass BUG=b:202871018
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-
feat(plat/mediatek/mt8186): add reboot function for PSCI
Add system_reset function in PSCI operations.
TEST=build pass BUG=b:202871018
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I41001484f6244bd6ae7dedcfb6ce71cd6c035a1e
show more ...
|