From patchwork Wed Oct 11 16:33:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13417595 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 0EB59CDB46A for ; Wed, 11 Oct 2023 16:34:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235128AbjJKQeL (ORCPT ); Wed, 11 Oct 2023 12:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235117AbjJKQeD (ORCPT ); Wed, 11 Oct 2023 12:34:03 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CA28C4; Wed, 11 Oct 2023 09:34:01 -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 3CE64C88F4; 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=JWUwGDogpu1uH279Xj7i+R0l2O7xCsC50GV+X5eh6IQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=x/YFwaEEBKscI4zX8q93grF3T0i0mvvyM7FjWVhacceHDko5prY2Eyem9lZxgaA4H 6gOOwPQc0EPTlBZQjTc8kG67NOj1coBMW+lANIwI4m5lRY++EElzQB2UjWn4ELUsyH gMpq82+nwyWLOgf1PUU2mDHo7kZ9ShGC5ZcDddPU= From: Luca Weiss Date: Wed, 11 Oct 2023 18:33:13 +0200 Subject: [PATCH 1/3] dt-bindings: watchdog: qcom-wdt: Add MSM8226 and MSM8974 compatibles MIME-Version: 1.0 Message-Id: <20231011-msm8226-msm8974-watchdog-v1-1-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=968; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=wkSxJhg8qrUykyVIb0Ugy6zRVaxaLc1W6UllYSVedPY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJs5WPEgvNvr4S97QioveRiwYQAGeSUC0jq76+ GDm9Jig2mCJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbOVgAKCRBy2EO4nU3X VoS1EACXQF2iyKjzSb6rWh6MofKhPAbD9hzHyju9b2bIUJfe7jeu+ehsEms3wZcXyfYYhOLJQj7 R92SK7lXc/KZWidmBtkyIBQreI2WMU0ibOz9+aYLHH6PSkVXsLtBNvGaMMoEJHucF1hz99Fe7t5 6nyCaMAOjpiU6ivviVTOcYjb87TtFLJP9yv1zpHt4n3tM3TIxBMZhhaRpJOFu6S2QZ6n2o09lha jjW1Xbwdf7my0kdDX/2Rnu6xkFZDZfQGaccOpMdyxywOSCPwhzOs6r2HhWPZKaILnlonCjfGgNp zagLYC3452L+HqCObN6kuyq6pAwiq21DBcudxpQOOUq2uUJzbRInXUhcmsB49d3HqfpnRFmjixx ZAZdHPgy560FT+UMM5i21UzuqD0xkQUrfmkeWNxJEnTMHtRsEJsqcVvddvPy0U1DDizrKPixddt WLsdGmsCshMgVQo7U14pPtpdoBKnke4dM3tdLLXFMZTybOJSy6vYVkTbfZmWipjP+5qJbDPx4JK zX651RHAMtYKQi0I2uUKK0DbDdqI9MU+NaD/HL6nXPUmXlpt7jbICTcKfViOsoLTt/nIjOt6xRP GopBzN/FqHVSiOx8NQpBLH2Z5UY8Vqi4YTHqpLaYXkO19dYibpoFnFZc1ty+fWHGzWmSfYazEjH fcamqVxS5kcb4Uw== 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 compatibles for the MSM8226 and MSM8974 platforms to the Qualcomm watchdog binding. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss Reviewed-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 5046dfa55f13..c12bc852aedc 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -21,6 +21,8 @@ properties: - qcom,apss-wdt-ipq5018 - qcom,apss-wdt-ipq5332 - qcom,apss-wdt-ipq9574 + - qcom,apss-wdt-msm8226 + - qcom,apss-wdt-msm8974 - qcom,apss-wdt-msm8994 - qcom,apss-wdt-qcm2290 - qcom,apss-wdt-qcs404 From patchwork Wed Oct 11 16:33:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 13417586 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 6989CCDB467 for ; Wed, 11 Oct 2023 16:34:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235120AbjJKQeK (ORCPT ); Wed, 11 Oct 2023 12:34:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbjJKQeD (ORCPT ); Wed, 11 Oct 2023 12:34:03 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7665EC9; Wed, 11 Oct 2023 09:34:01 -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 7333EC8910; 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=7vvdhC6KAj7ZNdCmM8RVwUVEj98hfS/kjCzyhHOqUUY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=y0Vq9lxnBoUfhnUJzPzpqUG0A+xsaLC3WjTIubUGwdq0Dj9zwpnYM+p2jn5Cj+nbu BNidqwdUM650W7/GoPuHl35nJZfwx7H8E2kDRMm9nh23kp3dcZhiHQQvmvePsz7QgD +zO65A6GXqyi0V2tggeq6d+tneBOwkR6Xw/qOdGY= From: Luca Weiss Date: Wed, 11 Oct 2023 18:33:14 +0200 Subject: [PATCH 2/3] ARM: dts: qcom: msm8226: Add watchdog node MIME-Version: 1.0 Message-Id: <20231011-msm8226-msm8974-watchdog-v1-2-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=968; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=JPCqKraYdY5NCeEAImGjma+5khbva/kahDElRCRUJ9Q=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlJs5XzfhSiX2IZXKcJPxLRMCoZftWzxm6lVNzD cVhFx//Rc2JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSbOVwAKCRBy2EO4nU3X Vh5vD/0QM/pYNRwQD/CW/N0tgVPlzewH0I95dDI9FI5bKra8RwfnFH7OCyqGaj4Jqb81vuO71yG CimoFjWYP3HN5omUyeVvzueWuj3oh6yOft7h/If1jKYDD+rcTygIJ+3428jAgojzAx9tr40qHZ9 R6gtvmon0juO4M08ne7VM3WGQ3AcHXaIE0t9M74peg1FT89Z1Nc8v0jM7XERgPsIz8a7EBpZHKl 9D70hXJRBz6y8taoy21nMt8VFyvLKVRRYKVc2UM5lJN8BSSXHByTnn2wprYWMww+UINbZQ3NK4S ySoE7jm3icl+LOwNVEMw46Kh/Fn6c6oISFlPv/UpaDNiD+BOeDoh5ZhetKUndYmiF9qVwvKdjCd CvlSiiq3IDXm2ddB+iMueM5quvXjLUDUYJdBXOe4Tygkbw9Pom0PZPF3ocWRz+JekyfkWOsoyCl lzytRiA6QPCU2ReJ6bPqHVZndoGGLz1DM0uiGhgZFEZ1t2vxVsPlocGneLtJ03P6bxK7V29QwBk CKjk9h8BugSC+H3isgnMfuYSx6JqIg585mBnHLHNxTKUCXmOlLYqxNbau7CEc80oiWnWW05MaKI vZOXHpRVSr0wH8SKB/20VMC48HgQK9dGviOR37Xqj/wRJ4ToHD0Iv/OTVW5pl0Gjf9IbdD96zlP oRNbhZP67xUztmw== 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 MSM8226 platform. Signed-off-by: Matti Lehtimäki Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 97a377b5a0ec..b5e715858211 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi @@ -185,6 +185,14 @@ apcs: syscon@f9011000 { reg = <0xf9011000 0x1000>; }; + watchdog@f9017000 { + compatible = "qcom,apss-wdt-msm8226", "qcom,kpss-wdt"; + reg = <0xf9017000 0x1000>; + interrupts = , + ; + clocks = <&sleep_clk>; + }; + sdhc_1: mmc@f9824900 { compatible = "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4"; reg = <0xf9824900 0x11c>, <0xf9824000 0x800>; 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>;