From patchwork Wed Aug 16 16:13:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 714348 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 944EEC04FDF for ; Wed, 16 Aug 2023 16:16:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344598AbjHPQPn (ORCPT ); Wed, 16 Aug 2023 12:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344644AbjHPQPV (ORCPT ); Wed, 16 Aug 2023 12:15:21 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 045152D41; Wed, 16 Aug 2023 09:15:00 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5233deb7cb9so8391524a12.3; Wed, 16 Aug 2023 09:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692202498; x=1692807298; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=93TiF+9sn07ORbH6WQDY7fYtgvsRXMMvS+8C6cxP9kA=; b=Nr30s0gMPBSxq8W5w+EZrKS03TIoU7UjUvzKpewzNgCGF7KQgepxMFVsXCwkARxSEK hKf7VzLx9LCksfGRunoE452zkUgrTaKYRvz4ZJt22qSzyxBFweT9sPy0B+p0y5lsx2Sv g13qIxWE4CljyX9cJXdJxCwQyd2FwZwBsr8NBv06M8K18bW6w9oM8tTzqerUzdjyBwro cc5mj3psYFiCNpH/9sz63D1erGL12M2i8NRbdcd2mrdwwysbbXjcr/+6z/bl6+fDsthU 6Sl/NJRYg2hqpp2TsBHE2Ulaahd8SRk0IUVX3KPfqtbE9DYw5uiE9N4LFF8AQpSXl7BZ /PKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692202498; x=1692807298; 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=93TiF+9sn07ORbH6WQDY7fYtgvsRXMMvS+8C6cxP9kA=; b=SPnFveYvuXvWGAf07RScAr1Lfw5bSLbY2WbobU5fykRvQw430stFLrdppXuStnpIVs VKTOUxE8gA+mv2ZBWNdSTbFTjEOmUWUZCjyDWUCFD5B78DnHJUB0sShUndl31N+briJN /RDxdZBQPpfv70uE3sTadyDH/qtCplxWwoLPlU5lu1cU0zUr67FFiMuWwSs2SQQcAMsc 795XPKW+aSDOl4mjFflLQDd6KvkjtalD6W5SkIcQu+qRwgR556EMIkPCcJdMXf7YnMPL ychcWNFTUlmSPrTcePa/JH6PIASm5pLPENz33d1EMgmE8Z/XEvGh+ScqoRDm11yTH1UC kmxw== X-Gm-Message-State: AOJu0YwS4fq8umrw+4mplNJ9XNmvEqk2i6jcnuz0/R4bDDDUvoX8uQrr 5o3aO/ySe1bUVt68+apnaq4= X-Google-Smtp-Source: AGHT+IHMoWEIRQSK1r8uMbRYQ6sz8eFxgajzrkGiMrfauxoqRqWW7KP+u0+Cvl3dtqohhK5rRmtQfQ== X-Received: by 2002:aa7:da11:0:b0:523:3e7e:451b with SMTP id r17-20020aa7da11000000b005233e7e451bmr1744282eds.37.1692202498254; Wed, 16 Aug 2023 09:14:58 -0700 (PDT) Received: from fedora.. (dh207-98-254.xnet.hr. [88.207.98.254]) by smtp.googlemail.com with ESMTPSA id bo6-20020a0564020b2600b0052574ef0da1sm2536733edb.28.2023.08.16.09.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 09:14:57 -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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko , Conor Dooley Subject: [PATCH v2 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Date: Wed, 16 Aug 2023 18:13:59 +0200 Message-ID: <20230816161455.3310629-1-robimarko@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Document the IPQ5018 watchdog compatible. Signed-off-by: Robert Marko Acked-by: Conor Dooley Reviewed-by: Konrad Dybcio Reviewed-by: Guenter Roeck --- 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 Wed Aug 16 16:14:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 714991 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 AC12DC04FE1 for ; Wed, 16 Aug 2023 16:16:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344608AbjHPQPn (ORCPT ); Wed, 16 Aug 2023 12:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344650AbjHPQPW (ORCPT ); Wed, 16 Aug 2023 12:15:22 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 353AC2D48; Wed, 16 Aug 2023 09:15:01 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-523100882f2so8809020a12.2; Wed, 16 Aug 2023 09:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692202499; x=1692807299; 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=MRo0wEOJdVr9FA/EkBIE4ny8xfP0f3fZo+lmUorR//E=; b=EASagsdEq1KtdOkLHAqPqNj2uQcHAXKB7YwY9qYO3vgXGxlMUsqkbGNQ1+wk//wD+4 boPrK/9hhwh1DcGJnN1ko3Pw/pfjS79JlbjtUmiK2phLRQ5qiQZEXG6QYg8/vMXeZW2n Mws7KDeJ+A7tKfliMYArO39D7tyAX+jgIY//AZJPch9v8RapOAcB6U1NwnOuMllCXIyV TD0QvaY8l+jkSc93IiC6PC196nSqSEutBq6OjVDrId8Mjp/4wb7PGB0CxfcNtaiI+pjU 9S6lrC4jhWxi6JEHL+YBqZMNfZ8m8lgwaNyzCdPLc/CSveRaY2JaSwTMATtYSTo4DO3o 8ZYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692202499; x=1692807299; 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=MRo0wEOJdVr9FA/EkBIE4ny8xfP0f3fZo+lmUorR//E=; b=BPd4SM7Xzyq9gqQzgbOnJKvI8Lfr1/pTo/W5xq6kCBOBX30tZIFuabHpTXtXfDc6OQ 7AaZKozn/R5qTFF07zdsBHQbb1FeCLxWX3+axMNQ0Eb6vCLgDeQz38Lsfd9lbxf4bkzz JRYdojHlhD2JC2IqBh//JVef1ZzWrDtHlwaUWjL+NTKLW3/ZZBu0TLIv/Dh/HVaJ4QLV AMxo7EJc7AsrcDoE4Dwv9VYunBlsEng0o5+e7rJXt95ru0F3oiDh+fG2Vv4l6xnvh+B1 9+69KUXOPe67nU/4RB3OWdwRCnO+zGKP/jqcApAOC0svT5UiRuJdP8fX0EgpYun9pt2Z FW6A== X-Gm-Message-State: AOJu0YynoXDdo/inRgTtEwzbCXdFSFaRMBl3baGHF48Wjs3pg+0RfdOI eU6DyecEsT/BdXMiwHP6C3s= X-Google-Smtp-Source: AGHT+IHDWW53CVY1YSIMx8RTzPqBIOpg4G2M/Enrgr0AHd1W2mdUUoAT0mjUn93SnLQ05/EFxGJKVw== X-Received: by 2002:a50:fc10:0:b0:523:4d60:71c0 with SMTP id i16-20020a50fc10000000b005234d6071c0mr2037441edr.33.1692202499564; Wed, 16 Aug 2023 09:14:59 -0700 (PDT) Received: from fedora.. (dh207-98-254.xnet.hr. [88.207.98.254]) by smtp.googlemail.com with ESMTPSA id bo6-20020a0564020b2600b0052574ef0da1sm2536733edb.28.2023.08.16.09.14.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 09:14:59 -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, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: [PATCH v2 2/2] arm64: dts: qcom: ipq5018: add WDT Date: Wed, 16 Aug 2023 18:14:00 +0200 Message-ID: <20230816161455.3310629-2-robimarko@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230816161455.3310629-1-robimarko@gmail.com> References: <20230816161455.3310629-1-robimarko@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add the required DT node for WDT operation. Signed-off-by: Robert Marko Reviewed-by: Konrad Dybcio --- Changes in v2: * Put the reg property as second in node --- 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..b3fa7911788c 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"; + reg = <0x0b017000 0x40>; + interrupts = ; + clocks = <&sleep_clk>; + }; + timer@b120000 { compatible = "arm,armv7-timer-mem"; reg = <0x0b120000 0x1000>;