1 From 92dab9ea5f389c12828283146c60054642453a91 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Wed, 16 Aug 2023 18:45:38 +0200
4 Subject: [PATCH] dt-bindings: firmware: qcom,scm: support indicating SDI
7 IPQ5018 has SDI (Secure Debug Image) enabled by TZ by default, and that
8 means that WDT being asserted or just trying to reboot will hang the board
9 in the debug mode and only pulling the power and repowering will help.
10 Some IPQ4019 boards like Google WiFI have it enabled as well.
12 So, lets add a boolean property to indicate that SDI is enabled by default
13 and thus needs to be disabled by the kernel.
15 Signed-off-by: Robert Marko <robimarko@gmail.com>
16 Acked-by: Mukesh Ojha <quic_mojha@quicinc.com>
17 Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
18 Reviewed-by: Brian Norris <computersforpeace@gmail.com>
19 Link: https://lore.kernel.org/r/20230816164641.3371878-1-robimarko@gmail.com
20 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
22 Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 8 ++++++++
23 1 file changed, 8 insertions(+)
25 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
26 +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml
27 @@ -89,6 +89,14 @@ properties:
28 protocol to handle sleeping SCM calls.
33 + Indicates that the SDI (Secure Debug Image) has been enabled by TZ
34 + by default and it needs to be disabled.
35 + If not disabled WDT assertion or reboot will cause the board to hang
40 $ref: /schemas/types.yaml#/definitions/phandle-array