From: Gabriel Fernandez
Introduce new compatible string "st,stm32mp1-rcc-secure" for
stm32mp1 clock driver when the device is configured with RCC
security support hardened.
Signed-off-by: Etienne Carriere
Signed-off-by: Gabriel Fernandez
---
.../devicetree/bindings/clock/st,stm32mp1-rcc.yaml
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clock
resources cannot be accessed by Linux kernel when executing in non-secure
state of the CPU(s).
In such configuration, the RCC clock driver must not register clocks
it cannot access.
They are expected to be
From: Gabriel Fernandez
'ck_rtc' has multiple clocks as input (ck_hsi, ck_lsi, and ck_hse).
A divider is available only on the specific rtc input for ck_hse.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
Add ID to SCMI0 to exposes reset controller for the MCU HOLD BOOT resource.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Gabriel Fernandez
Acked-by: Rob Herring
---
include/dt-bindings/reset/stm32mp1-resets.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clocks and
IP resets can relate as secure resources.
These resources are moved from a RCC clock/reset handle to a SCMI
clock/reset_domain handle.
The RCC clock driver is now dependent of the SCMI driver, then we
From: Gabriel Fernandez
RCC clock and reset controller shared same memory mapping.
As RCC clock driver is now a module, the best way to register clock
and reset controller is to do it in same driver.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 157
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
Integrate the mux clock into pll clock will facilitate to have a more
coherent clock tree in no trusted / trusted mode.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 65
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 10 +-
1 file changed, 5 insertions(+), 5
From: Gabriel Fernandez
Adds support for probe deferral in way to prepare
integration of the security in RCC clock and reset
drivers.
Some kernel clocks will be provided by the SCMI drivers.
Since RCC clock driver create clocks which parents
are SCMI clocks, RCC clock driver probe can be
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware interfaces.
This change defines the SCMI clock identifiers used by SCMI agents
and servers.
Server SCMI0 exposes clocks and reset controllers for resources under
From: Gabriel Fernandez
st32mp1 RCC reset driver was moved into stm32mp1 RCC clock driver.
Signed-off-by: Gabriel Fernandez
---
drivers/reset/Kconfig | 6 --
drivers/reset/Makefile | 1 -
drivers/reset/reset-stm32mp1.c | 115 -
3 files
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI reset domains for
secure resources. This change defines the SCMI reset domain
identifiers used by SCMI agents and servers.
Stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware
From: Gabriel Fernandez
Include this .dtsi file to be backward compatible with old basic bootchain.
For example add:
include "stm32mp15-no-scmi.dtsi" in a stm32mp157c*.dts file.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp15-no-scmi.dtsi | 158 +++
1
From: Gabriel Fernandez
This change reflects board hardware configuration where RCC security
features are configured for RCC[TZEN]=1 and RCC[MCKPROT]=0, that is
RCC TrustZone is hardened and RCC MCKPROT is disabled.
Clock and reset controllers that relate to SoC secure resources are
moved from
From: Gabriel Fernandez
Introduce new compatible string "st,stm32mp1-rcc-secure" for
stm32mp1 clock driver when the device is configured with RCC
security support hardened.
Signed-off-by: Etienne Carriere
Signed-off-by: Gabriel Fernandez
---
.../devicetree/bindings/clock/st,stm32mp1-rcc.yaml
From: Gabriel Fernandez
Platform stm32mp15 relies on SCMI resources (clocks and reset domains).
This change adds SCMI resources description in the platform device
tree. SCMI resources uses a mailbox based on some shared memory and
a SMC mailbox notification.
SCMI0 exposes clocks and reset
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware interfaces.
This change defines the SCMI clock identifiers used by SCMI agents
and servers.
Server SCMI0 exposes clocks and reset controllers for resources under
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clock
resources cannot be accessed by Linux kernel when executing in non-secure
state of the CPU(s).
In such configuration, the RCC clock driver must not register clocks
it cannot access.
They are expected to be
From: Gabriel Fernandez
'ck_rtc' has multiple clocks as input (ck_hsi, ck_lsi, and ck_hse).
A divider is available only on the specific rtc input for ck_hse.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clocks and
IP resets can relate as secure resources.
These resources are moved from a RCC clock/reset handle to a SCMI
clock/reset_domain handle.
The RCC clock driver is now dependent of the SCMI driver, then we
From: Gabriel Fernandez
Add ID to SCMI0 to exposes reset controller for the MCU HOLD BOOT resource.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Gabriel Fernandez
---
include/dt-bindings/reset/stm32mp1-resets.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Gabriel Fernandez
st32mp1 RCC reset driver was moved into stm32mp1 RCC clock driver.
Signed-off-by: Gabriel Fernandez
---
drivers/reset/Kconfig | 6 --
drivers/reset/Makefile | 1 -
drivers/reset/reset-stm32mp1.c | 115 -
3 files
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
Integrate the mux clock into pll clock will facilitate to have a more
coherent clock tree in no trusted / trusted mode.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 65
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 10 +-
1 file changed, 5 insertions(+), 5
From: Gabriel Fernandez
Adds support for probe deferral in way to prepare
integration of the security in RCC clock and reset
drivers.
Some kernel clocks will be provided by the SCMI drivers.
Since RCC clock driver create clocks which parents
are SCMI clocks, RCC clock driver probe can be
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI reset domains for
secure resources. This change defines the SCMI reset domain
identifiers used by SCMI agents and servers.
Stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware
From: Gabriel Fernandez
RCC clock and reset controller shared same memory mapping.
As RCC clock driver is now a module, the best way to register clock
and reset controller is to do it in same driver.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 157
From: Gabriel Fernandez
This change reflects board hardware configuration where RCC security
features are configured for RCC[TZEN]=1 and RCC[MCKPROT]=0, that is
RCC TrustZone is hardened and RCC MCKPROT is disabled.
Clock and reset controllers that relate to SoC secure resources are
moved from
From: Gabriel Fernandez
Platform stm32mp15 relies on SCMI resources (clocks and reset domains).
This change adds SCMI resources description in the platform device
tree. SCMI resources uses a mailbox based on some shared memory and
a SMC mailbox notification.
SCMI0 exposes clocks and reset
From: Gabriel Fernandez
Introduce new compatible string "st,stm32mp1-rcc-secure" for
stm32mp1 clock driver when the device is configured with RCC
security support hardened.
Signed-off-by: Etienne Carriere
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
Include this .dtsi file to be backward compatible with old basic bootchain.
For example add:
#include "stm32mp15-no-scmi.dtsi" in a stm32mp157c*.dts file.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp15-no-scmi.dtsi | 158 +++
1
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clock
resources cannot be accessed by Linux kernel when executing in non-secure
state of the CPU(s).
In such configuration, the RCC clock driver must not register clocks
it cannot access.
They are expected to be
From: Gabriel Fernandez
st32mp1 RCC reset driver was moved into stm32mp1 RCC clock driver.
Signed-off-by: Gabriel Fernandez
---
drivers/reset/Kconfig | 6 --
drivers/reset/Makefile | 1 -
drivers/reset/reset-stm32mp1.c | 115 -
3 files
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
Integrate the mux clock into pll clock will facilitate to have a more
coherent clock tree in no trusted / trusted mode.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 65
From: Gabriel Fernandez
Adds support for probe deferral in way to prepare
integration of the security in RCC clock and reset
drivers.
Some kernel clocks will be provided by the SCMI drivers.
Since RCC clock driver create clocks which parents
are SCMI clocks, RCC clock driver probe can be
From: Gabriel Fernandez
RCC clock and reset controller shared same memory mapping.
As RCC clock driver is now a module, the best way to register clock
and reset controller is to do it in same driver.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 157
From: Gabriel Fernandez
'ck_rtc' has multiple clocks as input (ck_hsi, ck_lsi, and ck_hse).
A divider is available only on the specific rtc input for ck_hse.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
Platform STM32MP1 can be used in configuration where some clocks and
IP resets can relate as secure resources.
These resources are moved from a RCC clock/reset handle to a SCMI
clock/reset_domain handle.
The RCC clock driver is now dependant of the SCMI driver, then we
From: Gabriel Fernandez
This patch is to prepare STM32MP1 clocks in trusted mode.
This Merge will facilitate to have a more coherent clock tree
in no trusted / trusted world.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 10 +-
1 file changed, 5 insertions(+), 5
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware interfaces.
This change defines the SCMI clock identifiers used by SCMI agents
and servers.
Server SCMI0 exposes clocks and reset controllers for resources under
From: Gabriel Fernandez
Add ID to SCMI0 to exposes reset controller for the MCU HOLD BOOT resource.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Gabriel Fernandez
---
include/dt-bindings/reset/stm32mp1-resets.h | 2 ++
1 file changed, 2 insertions(+)
diff --git
From: Gabriel Fernandez
stm32mp15 TZ secure firmware provides SCMI reset domains for
secure resources. This change defines the SCMI reset domain
identifiers used by SCMI agents and servers.
Stm32mp15 TZ secure firmware provides SCMI clocks for oscillators, some
PLL output and few secure aware
From: Gabriel Fernandez
A copy of LTDC_PX and ETHCK_K (LTDC_K and ETHMAC_K) was introduced in
stm32mp1 dt-bindings file by mistake.
These bindings are not used and shouldn't be use to be conform with
convention name of the stm32mp1 clock IP.
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
Fix the bit width of the hse rtc divider because it's off by one.
Fixes: 2c87c9d33117 ("clk: stm32mp1: add RTC clock")
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Gabriel Fernandez
The divisor of ethptp_k and ck_hse_rtc clocks is: 'value register
plus one'.
Then CLK_DIVIDER_ALLOW_ZERO flag has no effect and is useless here.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
From: Gabriel Fernandez
ck_csi is used for IO compensation so it should be
considered as "always-on" and kept on.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
Changes:
v2:
- add more explanation in commit mesages
- add one comment to the code
This patch-set fixes minor corrections (fixes and documentation alignment)
- add missing parent clocks
- don't change parent on set rate for kernel clocks
- set ck_csi clock as critical
-
From: Gabriel Fernandez
STM32MP1 clock IP offers lots of Kernel clocks that are shared
by multiple IP's at the same time.
Then boot loader applies a clock tree that allows to use all IP's
at same time and with the maximum of performance.
Not change parents on a change rate on kernel clocks
From: Gabriel Fernandez
Fixes parent clock for axi, fdcan, sai and adc12 clocks.
Fixes: e51d297e9a92 ("clk: stm32mp1: add Sub System clocks")
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git
From: Gabriel Fernandez
The divider of HSI (clk-hsi-div) is power of two divider.
Fixes: 9bee94e7b7da ("clk: stm32mp1: Introduce STM32MP1 clock driver")
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Gabriel Fernandez
index 8: ck_mcu is divided by 256 (not 512)
Fixes: e51d297e9a92 ("clk: stm32mp1: add Sub System clocks")
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
LTDC_K and ETHMAC_K are not used.
Signed-off-by: Gabriel Fernandez
---
include/dt-bindings/clock/stm32mp1-clks.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/dt-bindings/clock/stm32mp1-clks.h
b/include/dt-bindings/clock/stm32mp1-clks.h
index
From: Gabriel Fernandez
This patch fixes the following static checker warning:
drivers/input/keyboard/st-keyscan.c:156 keyscan_probe()
error: potential zalloc NULL dereference: 'keypad_data->input_dev'
Reported-by: Dan Carpenter
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
This patch fixes the following static checker warning:
drivers/input/keyboard/st-keyscan.c:156 keyscan_probe()
error: potential zalloc NULL dereference: 'keypad_data->input_dev'
Reported-by: Dan Carpenter
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
This patch fixes the bit width of the hse rtc divider.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
This patch-set fixes minor corrections (fixes and documentation alignment)
- add missing parent clocks
- don't change parent on set rate for kernel clocks
- set ck_csi clock as critical
- fix divider configuration
Gabriel Fernandez (7):
clk: stm32mp1: parent clocks
From: Gabriel Fernandez
Don't change parent during a set rate for Kernel clocks.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
ck_csi is used for IO compensation so it should be
considered as "always-on" and kept on.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
This patch removes unnecessary CLK_DIVIDER_ALLOW_ZERO flag of
ethptp_k and ck_hse_rtc clocks.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
index 8: ck_mcuss divided by 256 (not 512)
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index 5b30e4eeca2c..385dac678a7f
From: Gabriel Fernandez
The divider of HSI (clk-hsi-div) is power of two divider.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
This patch updates parent clocks for axi, fdcan, sai and adc12.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
Clock driver is mandatory if the machine is selected.
Then don't use 'bool' and 'depends on' commands, but 'def_bool'
with the machine(s).
Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32
drivers")
Signed-off-by:
From: Gabriel Fernandez
Clock driver is mandatory if the machine is selected.
Then don't use 'bool' and 'depends on' commands, but 'def_bool'
with the machine(s).
Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32
drivers")
Signed-off-by: Gabriel Fernandez
From: Gabriel Fernandez
Don't disable the dbg clock if was set by bootloader.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
Don't disable the dbg clock if was set by bootloader.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index edd3cf4..35dabf1
From: Gabriel Fernandez
This patch adds reset binding file.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp157c.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi
From: Gabriel Fernandez
This patch adds reset binding file.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp157c.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi
b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc..7e91fd6 100644
---
From: Gabriel Fernandez
Clock driver is mandatory if the machine is selected.
Then don't use 'bool' and 'depends on' commands, but 'def_bool'
with the machine(s).
Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32
drivers")
From: Gabriel Fernandez
Clock driver is mandatory if the machine is selected.
Then don't use 'bool' and 'depends on' commands, but 'def_bool'
with the machine(s).
Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32
drivers")
Signed-off-by: Gabriel Fernandez
---
From: Gabriel Fernandez
This patch remove unused constant.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
It's recommended to use only clk_sys_dbg clock instead to activate
debug IP.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c| 4
include/dt-bindings/clock/stm32mp1-clks.h | 1 -
2
From: Gabriel Fernandez
fix bad copy / paste.
SAI3 & SAI4 used gate of SAI2 instead SAI3 & SAI4
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Gabriel Fernandez
This patch remove unused constant.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index 62f172c..9a67b1c 100644
---
From: Gabriel Fernandez
It's recommended to use only clk_sys_dbg clock instead to activate
debug IP.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c| 4
include/dt-bindings/clock/stm32mp1-clks.h | 1 -
2 files changed, 5 deletions(-)
diff --git
From: Gabriel Fernandez
fix bad copy / paste.
SAI3 & SAI4 used gate of SAI2 instead SAI3 & SAI4
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c
index
From: Gabriel Fernandez
This patch-set adds minor corrections
- sparse corections
- add tzc2 missing clock
- remove unused constant
- fix SAI3 & SAI4 clocks
- set stgen_k clock as critical
- remove not useful ck_apb_dbg clock
Gabriel Fernandez (6):
clk: stm32mp1: add
From: Gabriel Fernandez
This patch-set adds minor corrections
- sparse corections
- add tzc2 missing clock
- remove unused constant
- fix SAI3 & SAI4 clocks
- set stgen_k clock as critical
- remove not useful ck_apb_dbg clock
Gabriel Fernandez (6):
clk: stm32mp1: add missing static
clk:
From: Gabriel Fernandez
Add missing static for const parent names and clock ops.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff
From: Gabriel Fernandez
Add missing static for const parent names and clock ops.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 30 ++
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
stgen_k should be declared as critical to avoid blocking console
when ck_hsi is not used.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
From: Gabriel Fernandez
This patch adds tzc2 clock and rename tzc clock into tzc1
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c| 9 ++---
include/dt-bindings/clock/stm32mp1-clks.h | 3 ++-
2 files
From: Gabriel Fernandez
This patch adds tzc2 clock and rename tzc clock into tzc1
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c| 9 ++---
include/dt-bindings/clock/stm32mp1-clks.h | 3 ++-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git
From: Gabriel Fernandez
stgen_k should be declared as critical to avoid blocking console
when ck_hsi is not used.
Signed-off-by: Gabriel Fernandez
---
drivers/clk/clk-stm32mp1.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/clk-stm32mp1.c
From: Gabriel Fernandez
This patch adds the reset binding entry for STM32MP1
Signed-off-by: Gabriel Fernandez
Reviewed-by: Rob Herring
---
.../devicetree/bindings/reset/st,stm32mp1-rcc.txt | 6 ++
From: Gabriel Fernandez
stm32mp1 RCC IP 1 has a reset SET register and a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
activates the reset of the corresponding peripheral
Writing '0' on reset CLEAR
From: Gabriel Fernandez
This patch adds the reset binding entry for STM32MP1
Signed-off-by: Gabriel Fernandez
Reviewed-by: Rob Herring
---
.../devicetree/bindings/reset/st,stm32mp1-rcc.txt | 6 ++
include/dt-bindings/reset/stm32mp1-resets.h| 108 +
2 files
From: Gabriel Fernandez
stm32mp1 RCC IP 1 has a reset SET register and a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
activates the reset of the corresponding peripheral
Writing '0' on reset CLEAR register has no effect
From: Gabriel Fernandez
v3:
remove unused includes
fix status ops
fix from Fengguang Wu
for Kbuild test robot: symbol 'stm32_reset_ops' was not declared.
Should it be static?
use 'builtin_platform_driver' instead 'postcore_initcall'
v2:
Don't use reset-simple
From: Gabriel Fernandez
v3:
remove unused includes
fix status ops
fix from Fengguang Wu
for Kbuild test robot: symbol 'stm32_reset_ops' was not declared.
Should it be static?
use 'builtin_platform_driver' instead 'postcore_initcall'
v2:
Don't use reset-simple driver but a custom reset
From: Gabriel Fernandez
This patch enables stm32mp1 clock driver.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 24
arch/arm/boot/dts/stm32mp157c.dtsi| 48
From: Gabriel Fernandez
This patch enables stm32mp1 clock driver.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 24
arch/arm/boot/dts/stm32mp157c.dtsi| 48 +++
2 files changed, 28 insertions(+), 44
From: Gabriel Fernandez
stm32mp1 RCC IP 1 has a reset SET register and a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
activates the reset of the corresponding peripheral
Writing '0' on reset CLEAR
From: Gabriel Fernandez
stm32mp1 RCC IP 1 has a reset SET register and a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
activates the reset of the corresponding peripheral
Writing '0' on reset CLEAR register has no effect
From: Gabriel Fernandez
This patch adds the reset binding entry for STM32MP1
Signed-off-by: Gabriel Fernandez
---
.../devicetree/bindings/reset/st,stm32mp1-rcc.txt | 6 ++
include/dt-bindings/reset/stm32mp1-resets.h| 108
From: Gabriel Fernandez
This patch adds the reset binding entry for STM32MP1
Signed-off-by: Gabriel Fernandez
---
.../devicetree/bindings/reset/st,stm32mp1-rcc.txt | 6 ++
include/dt-bindings/reset/stm32mp1-resets.h| 108 +
2 files changed, 114 insertions(+)
From: Gabriel Fernandez
v2:
Don't use reset-simple driver but a custom reset driver.
add dt-binding documentation.
This patch-set enables the reset of STM32MP1.
STM32MP1 reset IP has a register to assert by writing '1' and another
register to de-assert by writing '1'.
From: Gabriel Fernandez
v2:
Don't use reset-simple driver but a custom reset driver.
add dt-binding documentation.
This patch-set enables the reset of STM32MP1.
STM32MP1 reset IP has a register to assert by writing '1' and another
register to de-assert by writing '1'.
The patch 'dt-bindings:
From: Gabriel Fernandez
The stm32mp1 reset driver is quite similar to simple reset driver.
The difference is that stm32mp1 has a reset SET register and
a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
From: Gabriel Fernandez
The stm32mp1 reset driver is quite similar to simple reset driver.
The difference is that stm32mp1 has a reset SET register and
a reset CLEAR register.
Writing '0' on reset SET register has no effect
Writing '1' on reset SET register
activates the reset of the
1 - 100 of 454 matches
Mail list logo