Home
last modified time | relevance | path

Searched refs:tamp (Results 1 – 13 of 13) sorted by relevance

/optee_os/core/arch/arm/dts/
H A Dstm32mp257f-dk.dts10 #include <dt-bindings/tamper/st,stm32mp25-tamp.h>
75 &tamp {
76 st,tamp-passive-precharge = <2>;
77 st,tamp-passive-nb-sample = <4>;
78 st,tamp-passive-sample-clk-div = <16384>;
82 tamp-button {
85 st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
86 st,tamp-id = <3>;
H A Dstm32mp235f-dk.dts10 #include <dt-bindings/tamper/st,stm32mp25-tamp.h>
67 &tamp {
68 st,tamp-passive-precharge = <2>;
69 st,tamp-passive-nb-sample = <4>;
70 st,tamp-passive-sample-clk-div = <16384>;
74 tamp-button {
76 st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
77 st,tamp-id = <3>;
H A Dstm32mp257f-ev1.dts9 #include <dt-bindings/tamper/st,stm32mp25-tamp.h>
80 &tamp {
81 st,tamp-passive-precharge = <2>;
82 st,tamp-passive-nb-sample = <4>;
83 st,tamp-passive-sample-clk-div = <16384>;
87 tamp-button {
90 st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
91 st,tamp-id = <1>;
H A Dstm32mp135f-dk.dts14 #include <dt-bindings/tamper/st,stm32mp13-tamp.h>
531 &tamp {
532 st,tamp-passive-nb-sample = <4>;
533 st,tamp-passive-sample-clk-div = <16384>;
537 tamp-button {
539 st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
540 st,tamp-id = <2>;
545 tamp-active {
547 st,tamp-mode = <TAMPER_CONFIRMED_MODE>;
548 st,tamp-id = <3>, <1>;
H A Dstm32mp15xx-dkx.dtsi578 &tamp {
579 st,tamp-passive-nb-sample = <4>;
580 st,tamp-passive-sample-clk-div = <16384>;
H A Dstm32mp231.dtsi589 tamp: tamp@46010000 { label
590 compatible = "st,stm32mp23-tamp";
H A Dstm32mp131.dtsi409 tamp: tamp@5c00a000 { label
410 compatible = "st,stm32mp13-tamp";
H A Dstm32mp251.dtsi666 tamp: tamp@46010000 { label
667 compatible = "st,stm32mp25-tamp";
H A Dstm32mp151.dtsi439 tamp: tamp@5c00a000 { label
440 compatible = "st,stm32-tamp", "syscon", "simple-mfd";
1998 st,syscfg-rsc-tbl = <&tamp 0x144 0xFFFFFFFF>;
1999 st,syscfg-m4-state = <&tamp 0x148 0xFFFFFFFF>;
H A Dstm32mp235f-dk-ca35tdcid-rif.dtsi151 &tamp {
H A Dstm32mp257f-ev1-ca35tdcid-rif.dtsi162 &tamp {
H A Dstm32mp257f-dk-ca35tdcid-rif.dtsi159 &tamp {
/optee_os/core/drivers/
H A Dstm32_tamp.c1466 static TEE_Result stm32_tamp_configure_int(struct stm32_tamp_tamper_data *tamp, in stm32_tamp_configure_int() argument
1473 tamp->mode |= (mode & TAMP_MODE_MASK); in stm32_tamp_configure_int()
1474 tamp->func = cb; in stm32_tamp_configure_int()
1479 static TEE_Result stm32_tamp_configure_ext(struct stm32_tamp_tamper_data *tamp, in stm32_tamp_configure_ext() argument
1483 enum stm32_tamp_id id = tamp->id; in stm32_tamp_configure_ext()
1488 if (!(tamp->mode & TAMP_IN_DT)) in stm32_tamp_configure_ext()
1491 tamp->mode |= (mode & TAMP_MODE_MASK); in stm32_tamp_configure_ext()
1492 tamp->func = cb; in stm32_tamp_configure_ext()