From patchwork Tue Aug 15 14:17:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 714142 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 6C992C0015E for ; Tue, 15 Aug 2023 14:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237267AbjHOOTc (ORCPT ); Tue, 15 Aug 2023 10:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237565AbjHOOTO (ORCPT ); Tue, 15 Aug 2023 10:19:14 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EAA5173F; Tue, 15 Aug 2023 07:19:13 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99bfcf4c814so728419466b.0; Tue, 15 Aug 2023 07:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692109151; x=1692713951; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nhmVvg06wbI8jqCZG20CjBaE/opAQ91Hl7ndYxBDBhQ=; b=f37BCx5cn3Ke5BGSr8QDfFO5rmMbMw7eoJnI2c6Y9SMyGZBTlXxnupL/hM4G34rHEZ nT4XrOZA0GX6F9kUArQLnPYgT3rN5vY4cZyg6T6odxf0y9byEfo4l9fbTkaNLXgKqybh EJBOKAHtbIyhRu7kjv395V5VWchcZSAm78kJ5SenkuUv57B5pr+5XgrQvLHxb9Awg6cH feUBew6pe4AdEDkPBBVAlKOJ3PjP8Tb3InAVXCCYonucmzIW4Rf7OQ/Ei4+7lLAFo64j ckiOG1H1lRf5vTHLiQZ5b4biVB+QcnWAB81H7mQnulIZ2ovIb5iQYIBYPuQRW2J81bv6 YGXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692109151; x=1692713951; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nhmVvg06wbI8jqCZG20CjBaE/opAQ91Hl7ndYxBDBhQ=; b=fsIRaPy1xZOPE9Uq+JSUsL2CkssKylx3gEQVBxsuERTnRtZjAPTcGVAWc5rFoEc6H8 uzXq2oBuBUCN+R0XKwfMgFZOqGG75rGG3ylK510Cl+zAziUXuSW3ihCqJGq/fjLJxcny 7pgqFp0IYYO2aEj5IRnYXiofujPafKUQbXsaM4LAt59W2VmgXWmPAPnIS1+UgE9e08Hc IDF09jPCPRnG7jSElM1u5GXoM1NZK3EPhiMLP/rUXXrpZsrF4cHeYr4cQZ7i+u+gHCN/ UHlMx7WanEAiOBg68/cl86s8razhj18Z9NZZvNbFVDO7ue4wjmRbwzFvmBJpNyjwyFj6 LbgA== X-Gm-Message-State: AOJu0Yyq3P516n7Lm7mk1tq5xxCO41dVqV0/Ozu73cYUJ+5k4/0ZLq+B 4L77GmitD2dHzseLpuRtf1g= X-Google-Smtp-Source: AGHT+IFhEEj+3Bu5Z3UwjEfEbtPfZLCwxJ1ns6kTyOOhp+h1AhvwBTnbkEkbhItRwiu18ULe5xTOTQ== X-Received: by 2002:a17:907:b1a:b0:99c:e38d:a824 with SMTP id h26-20020a1709070b1a00b0099ce38da824mr10170567ejl.37.1692109151491; Tue, 15 Aug 2023 07:19:11 -0700 (PDT) Received: from fedora.. (dh207-96-14.xnet.hr. [88.207.96.14]) by smtp.googlemail.com with ESMTPSA id j15-20020a170906278f00b009926928d486sm7078743ejc.35.2023.08.15.07.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 07:19:10 -0700 (PDT) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, quic_saipraka@quicinc.com, linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Date: Tue, 15 Aug 2023 16:17:50 +0200 Message-ID: <20230815141908.1084893-1-robimarko@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Document the IPQ5018 watchdog compatible. Signed-off-by: Robert Marko --- Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 6d0fe6abd06a..5046dfa55f13 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -18,6 +18,7 @@ properties: - items: - enum: - qcom,kpss-wdt-ipq4019 + - qcom,apss-wdt-ipq5018 - qcom,apss-wdt-ipq5332 - qcom,apss-wdt-ipq9574 - qcom,apss-wdt-msm8994 From patchwork Tue Aug 15 14:17:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 713834 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 D0A0DC41513 for ; Tue, 15 Aug 2023 14:20:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237500AbjHOOTd (ORCPT ); Tue, 15 Aug 2023 10:19:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237567AbjHOOTP (ORCPT ); Tue, 15 Aug 2023 10:19:15 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9AB1989; Tue, 15 Aug 2023 07:19:14 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99c1d03e124so672995166b.2; Tue, 15 Aug 2023 07:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692109153; x=1692713953; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gbxPwjT8x5u7zIuMPUNe2aimwgkFJxO3k4uTJwZgBjA=; b=se7QNAkYDV3GPEvxCiDX9Sm/lAe9TdH6WKOs3qyrrb1AxdQT3b7u/m09csKrM9NdUz Mq0AVfCIq66b8LT9GL/mOjB3Teiy+3w6t0xSH5Wq2QPkzapvfHm/7qSSwLhxd4Q6nvZx lwchPsDcau6ti05T0ngTGEcn2uCTYhDs6AuHTFn9i/x7UR3QsuNvvr/0kG0zcwS2HIE2 rbOQ6glEl7DUq1OmRxaEhNFAQ5XK+hu1O5J+52NhoLzNrtLUuI6dAEStfSBxYAfM1ctp gUttARpaatspb9JZMoig+L8SBkYRS5br90Pu/C84GuwKodyEehjUe+TTITZwFuVHE8H/ 0ufg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692109153; x=1692713953; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gbxPwjT8x5u7zIuMPUNe2aimwgkFJxO3k4uTJwZgBjA=; b=i9kL1B2aB+WmbNKopakrOIKEgeGAtsOv+6m4oIWDi8oGlfS0QBT3OsVVU1liJOgI82 IcdX+aGZ9haoglKZWdclUcPrLFNqj8veDrG2YiuwH4HQvbyNG+Jm/6SKW3vATkD4kOF/ AJWTLC6Zb4Ld00PKGFscjan5cjN8RYsrMZDah3/kd4BCRj6UHATlCAoS7+WN1LvOcGZV WnfJlQBmP6F4jVgw2KArpyOb4/lLSQ8xQlH5ZvDUaMYczLe6PH7JWLBwOeXvJRz9c5SN yWihBcAJMBpzfzBPNaPkYNq2Esq2vQnHvL9wgI2Wiq8dQnnDyIvbi34GAIxiLYdxazux z8BQ== X-Gm-Message-State: AOJu0Yyc29TFYlu7Jyu+IzRJG/2oCCnoe34K8SuDfBWL8BOdTFBWC+nJ JDygL0eCPdt0KzZcxF1/wTt3rG/UNnMScg== X-Google-Smtp-Source: AGHT+IGWYtMxgvkHLBbgNs8+ORFbo/eGF2AelkQWKbuBVYLgTfDFpye106F2LaKPNb0Po11Qh0FCaA== X-Received: by 2002:a17:907:2cd4:b0:991:c842:2ca2 with SMTP id hg20-20020a1709072cd400b00991c8422ca2mr9359758ejc.15.1692109152778; Tue, 15 Aug 2023 07:19:12 -0700 (PDT) Received: from fedora.. (dh207-96-14.xnet.hr. [88.207.96.14]) by smtp.googlemail.com with ESMTPSA id j15-20020a170906278f00b009926928d486sm7078743ejc.35.2023.08.15.07.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 07:19:12 -0700 (PDT) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, quic_saipraka@quicinc.com, linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT Date: Tue, 15 Aug 2023 16:17:51 +0200 Message-ID: <20230815141908.1084893-2-robimarko@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815141908.1084893-1-robimarko@gmail.com> References: <20230815141908.1084893-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the required DT node for WDT operation. Signed-off-by: Robert Marko --- arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi index 3285c86824cf..168322bfb11c 100644 --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi @@ -182,6 +182,13 @@ v2m1: v2m@1000 { }; }; + watchdog: watchdog@b017000 { + compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt"; + interrupts = ; + reg = <0x0b017000 0x40>; + clocks = <&sleep_clk>; + }; + timer@b120000 { compatible = "arm,armv7-timer-mem"; reg = <0x0b120000 0x1000>;