From patchwork Wed Oct 11 16:33:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13417585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0028DCDB463 for ; Wed, 11 Oct 2023 16:33:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235108AbjJKQdp (ORCPT ); Wed, 11 Oct 2023 12:33:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbjJKQdf (ORCPT ); Wed, 11 Oct 2023 12:33:35 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F18EB6; Wed, 11 Oct 2023 09:33:31 -0700 (PDT) Received: from [192.168.178.23] (k10064.upc-k.chello.nl [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id AD4F4CD2DE; Wed, 11 Oct 2023 16:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697042009; bh=8g/YfES0v8t05diXHUePZLF5PXaN9mElmGUtMj35Yks=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=vwldJMw6ldNwjX5oSI6KMeA3dFITSEaXb9KFRUYhNJSsckpBSpOnKbObQSawYcWCr 0cxr3RBEfzf5VrtQjh6wnfU6LftAf/mcw/hSy2fIafSr1MoIqLJG1HLaa8cNelYA/e Fv+cjNMc7zuwXUX6DSRt9OsBjVQ5LaoDMCfaMwmE= From: Luca Weiss Date: Wed, 11 Oct 2023 18:33:15 +0200 Subject: [PATCH 3/3] ARM: dts: qcom: msm8974: Add watchdog node MIME-Version: 1.0 Message-Id: <20231011-msm8226-msm8974-watchdog-v1-3-2c472818fbce@z3ntu.xyz> References: <20231011-msm8226-msm8974-watchdog-v1-0-2c472818fbce@z3ntu.xyz> In-Reply-To: <20231011-msm8226-msm8974-watchdog-v1-0-2c472818fbce@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sai Prakash Ranjan Cc: linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , =?utf-8?q?Matti_Lehtim=C3=A4ki?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=901; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=E+F/Hhj1CB9aUX5EIjUXqb42IcC8Koc3Sj2dk06Hdx8=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJs5YtpYca/hMJceIqPYwj1svU5pSsXLWDgf94 40V5T76iIWJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbOWAAKCRBy2EO4nU3X VuuID/951JcQECOWy/t86yCyh2v2PPNrcv2msiFH+P4EIAo7tRkj7F9xpPyi0P5OSEsDNuARfyF n5FEgov7+x3zkuBFDmeVRvYuIvVd2CPaLnV6Lj3L3cHrdqq9bbGK4avzVGJYP/z1kJIXxbfanG6 woPPHE002XNIABIwQRlORgguFbf5fSBAfxi7lNRtz9vMtn7HWePYrYLIAZ4mNUAjXFZlyrvaoc5 KzCnCLuB/JzuZwJhO+hjYiKWXHevUTiuKUvjuVzYMvLDMsP6c3vezv/SZBtmiDs4vC/LubrqIaQ 2mSawN/werlLYgUFG7Vk8CxXxiJ5FfylDOSiq/upjhfMpksls4lo7UWwq0vsV7dPUg2nTzSBU0z wLtecla8QYbVfIn9/+J/4T565c/pNhJj0J6B1SG/Gm1o3HkCbKbT2Aln4IIx9Ac1KSvnGF3Ie+o oqoRJKNj/u0ponJT38AYbzpJhvs5RulDLpHwe4+EO2S6rQ7GOJHJWjssFab3rI426ial6fVIMh/ CtrgdRDp9PZoj2FV94KEE7KfxE+YXfgmX0NSxXTx3WqRPi44Bc18nyBx3bP6c7qCS57W3lg9H/J bqkbYht0CUoAYpselD4MzU6OUNDHqEqo3N+CSbks5mDU2H3OK5igoQ9kV1VDTkfzOh017sfklJn N+yG3u3seS1w3Cw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org From: Matti Lehtimäki Add watchdog for MSM8974 platform. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8974.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi index 0bc2e66d15b1..fbeadd43c9ad 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974.dtsi @@ -346,6 +346,14 @@ apcs: syscon@f9011000 { reg = <0xf9011000 0x1000>; }; + watchdog@f9017000 { + compatible = "qcom,apss-wdt-msm8974", "qcom,kpss-wdt"; + reg = <0xf9017000 0x1000>; + interrupts = , + ; + clocks = <&sleep_clk>; + }; + timer@f9020000 { #address-cells = <1>; #size-cells = <1>;