From patchwork Wed Feb 14 21:46:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 201137 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:9f94:b0:17a:e0d6:c84d with SMTP id fy20csp125573rwb; Wed, 14 Feb 2024 13:47:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUl/D6Mgn80dVAth8ky13iCe4Z0lQbrEDpGeUBbvTHn2UYE2ohrFpyo3vJrWYLjXTvrZ4oiofclUEtiXJ52BEF8+DcYxg== X-Google-Smtp-Source: AGHT+IGtHwW1I1kYgz1+2CYe13ChlG7IMSIIXMiLfgvBpt/kPhbQR/k6EzbxDfPdIZegiZvNUycs X-Received: by 2002:a17:903:244d:b0:1db:4961:2234 with SMTP id l13-20020a170903244d00b001db49612234mr4952074pls.30.1707947225100; Wed, 14 Feb 2024 13:47:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707947225; cv=pass; d=google.com; s=arc-20160816; b=Cy2N6gyMJ5w2McWWhjCu77828riKdBqCXycIUKl/bSOuC2XdzqPh47BsGktphZ7WOA NriNbhfndKZ/xtJqiVOJqARA3StgOZwBEmExx5KY51SAnRBTWC8eBC2qLTZ2uzKFgMxw DJh9VHfGEPLNs4SEStCv9ZYKzlIeKKrCQ1s11QcTNMsXR/fMFxVCdiqD1sW80yZN2CYQ rCS/Y9qHJeBd/aLqHU7ntAXf7lFq9XBYkiIVNUQTF17ZSypvN1G9fr+3cai69mNM3utu mPb452RtEqvs1wcYcdUvdORGzZN/HUHC0yB6xrQfwc4MPoEMa1st6TAdStRwvkTlWIPh 95aw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=iyftfjH0nBpDRtxOebAV93qWn3vifCLfSJ1EjhAkYAg=; fh=66KB9pzXKqqOkpo5QKDYTRmZzuSYOD7lM7CROHkawrA=; b=j0iNxVOshxMJBmwWeBodjJ6/deW8CAFnxihxxNB+BvtQBufRpwLHUkI1hrAEQttiIP oV2zGNKVFJKmZhORpPc7ejAjHI6JU5/5R6h9ryCBIDOgmLvPtJ0E+voALZ/L2ipAeRLF gR3fSXA+YyJxeqqBGTcGLXlqiFGYVTRJPP3zwDHtR4JJRop98EOOfnWwoBSgDhena9bZ D7ZxWeBOZEI4VpE9O5gTE4+L4vmvDDJpilcj3ea7U874dJkgXb4y78zoEPq2vJMwaZrG E2UxMrqMnGIeb4TUmOtpQg57pq1f4uAt3DXjtpQPfIOwNjzaV1sim8YPImixF5A2XJPW j3Sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=ickAzGzd; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-66005-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66005-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz X-Forwarded-Encrypted: i=2; AJvYcCW4Bt8H7pOOh3rTFF03Lu411xvIHWOepCYP8OjAOUWXc+u3WhemiyRGljcKDZaoZLwcBu6oXuD52GXY9r0fgVpu4+JUDA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lk7-20020a17090308c700b001db2aedfceesi3352193plb.225.2024.02.14.13.47.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 13:47:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66005-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=ickAzGzd; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-66005-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66005-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D767C2824A9 for ; Wed, 14 Feb 2024 21:47:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1B8C13F003; Wed, 14 Feb 2024 21:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="ickAzGzd" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 936F513EFE8; Wed, 14 Feb 2024 21:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707947205; cv=none; b=hoHC6P9lWEhOj1m57xtplKyifsmmhytMIErsib5iMw24oJ9pxdQW/Y6/gjR5mKiyTuhHw+GqI4jk0IXO5DDjCB396VZvkCbNHdI8Cd6qrHkLxorbKwAwdvtOeh6MV8Ay5ye3VpHzk1wlwhxmepw/wyuM1dWScXi6+v6JwDCbNlg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707947205; c=relaxed/simple; bh=mx18EcUr2MAGAIuQ1w2o6Jn1dgMRzRLoWNz5y/ansH8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=FVBLFap07V36uNsIH+6XB8p1mNqxI2zC/vp4UDJJqvbd0mMQBG3dIVjpIMQAFBmevuaaGVgTiu5TjoOGQeXGM15hM5xEPUMwixefcoMTwqMI0hBwqZjJ2X5dt6SgVPYJrs8lhxryBQiQy7H1Znu6qLQdhTynv76s2jP6fqsyJIs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=ickAzGzd; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1707947195; bh=mx18EcUr2MAGAIuQ1w2o6Jn1dgMRzRLoWNz5y/ansH8=; h=From:Date:Subject:To:Cc; b=ickAzGzdjDmmrLVgLQd45xHj+Z2z1AoAgR9yh8zw06MJPPnHD3yK2h1TDtCPFhw0C OvefBTBL/WHIkMTvsfdtiD4upnYNW/TCbbO+rqsNCHxfNC+ZAVM3yr3KID7A4i49fH DIluQd08pNDpFqr3eXK0C5ZMPGH19qkCEfjRogHI= From: Luca Weiss Date: Wed, 14 Feb 2024 22:46:28 +0100 Subject: [PATCH v2] ARM: dts: qcom: msm8226: Add watchdog node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240214-msm8226-msm8974-watchdog-v2-1-a6b2f27a7e28@z3ntu.xyz> X-B4-Tracking: v=1; b=H4sIALM0zWUC/42NTQ6DIBSEr2LeujTwpJV21Xs0Lig+lYVowFJ/4 t1LOUFXk2+S+WaHQN5SgHuxg6dogx1dAjwVYHrtOmK2SQzIsRRcCDaEQSFec94qyT56Nn0zdkw rRfLSSkItIc0nT61dsvpZJ+5tmEe/5qcofu0f0igYZ2hkhUqo9mXosZVufp+XdYP6OI4vpI+A3 8AAAAA= 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, =?utf-8?q?Matti_L?= =?utf-8?q?ehtim=C3=A4ki?= , Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1311; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=d0RkSxDVWaD71ZNgKTWr7a55ePkgE3wWgDc8+5TsWCg=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlzTS3PoN8ow/AciksTfluD16ACO7NfIKkp21Dp s6yddR15ROJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZc00twAKCRBy2EO4nU3X VqjfD/937OI5+gfJ7DyApuB8tB6pdzqxXS57qeMQsfvukLVz1AJzA1Oxocb3GzhFNWhhzuDOdH4 6lwU52D3MsNGIL4rxk8h9bRNZlCqcJE+avG3slssQtf2YvJ1l6p60/RxtzwQ3DFrhLIt8Mo1DiQ VPRjCkJzWvl3gD8IbOdUveWF00Pz0lh8KhD0UxxPWPUZ6lcth9T++x7R+umXMwElQBU0cWuXWg+ ESc/3j+xsStF6s/29Nzbyn5gl5mDq48aGFh7DwHtSmVMBkuOtzWC1UhUVrNN9QKq9QkFESih3UP w831egyytwKcWgWqRqoby1Qrf5Xcn+8asAxUHIBBeHY+eX8TACrrTNEJaGc+WbA89kPTZpz5YGJ 98EyE+AoDJrpO3ZcJSSWPRuzB9+Y5rnL0XyKrIVTuPn2XpxPY5KbM4liwAjc7giEpY4yvELkbVi Do4/oOck4bJlE3AbMgW+qN6QZYi97I1FeLlyiVtOCkDz1YDgRhFjPlfeTBNTd4N4mLdi+iKaY8V SO1ltec8DAfqX6kg45Qn0CbNZi7OJJEpa1uqRGY+YjSlrTfq0KP3WKrgcOVtQlCyqZYs3GMly1/ QPMffy6PQJi4AykgDCSwbLOkNdAGfnlZHShtyJMxWFhbBPyShBM7+erSxitX/Z4u/41lmeYCgGD 7jKsAd39qF/GaUw== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790912469198845798 X-GMAIL-MSGID: 1790912469198845798 From: Matti Lehtimäki Add watchdog for MSM8226 platform. Signed-off-by: Matti Lehtimäki Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- Changes in v2: - Rebase on qcom for-next - Pick up tags - Link to v1: https://lore.kernel.org/r/20231011-msm8226-msm8974-watchdog-v1-0-2c472818fbce@z3ntu.xyz --- arch/arm/boot/dts/qcom/qcom-msm8226.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) --- base-commit: 2b3f57690f30a70ea87aab7169388956fd1932db change-id: 20231011-msm8226-msm8974-watchdog-a88e45f4e2a4 Best regards, diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi index 8fae6058bf58..270973e85625 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8226.dtsi @@ -241,6 +241,14 @@ saw_l2: power-manager@f9012000 { reg = <0xf9012000 0x1000>; }; + watchdog@f9017000 { + compatible = "qcom,apss-wdt-msm8226", "qcom,kpss-wdt"; + reg = <0xf9017000 0x1000>; + interrupts = , + ; + clocks = <&sleep_clk>; + }; + timer@f9020000 { compatible = "arm,armv7-timer-mem"; reg = <0xf9020000 0x1000>;