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: 151463 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp666317vqb; Wed, 11 Oct 2023 09:34:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjWxqRuTNTWxgJsWzf5yt789ZyZ/NghLlsvE7MBUfyQXHuF+V9DED+qX5pHX46zX4lA8ki X-Received: by 2002:a05:6870:5250:b0:1be:ec3c:1ef with SMTP id o16-20020a056870525000b001beec3c01efmr24049182oai.0.1697042073407; Wed, 11 Oct 2023 09:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697042073; cv=none; d=google.com; s=arc-20160816; b=hV6slYPHBx2gsnnrafUcZNJpLMiErt8TsnniwV422r3sNUdCrsfTFoSpBIept9e37Q 261jTY+VA08HaVlpHWL1FaMj6CIsc05fDlNos23qaZqu/WvSnvBwkhPKdqTr9L16dh9g 5HZhQ1Z3NFy5TAWXeR2aGnE29vchc4w4JbZ5qfask1E8tX2vXM9uoUbCuQeDnaiBTZKT iyqiU2zAnJXBDtI9SFvxeT+/py9lx2vS4Ukst2wZywdcu3tYwY43LvYVwCChOx4mE4m4 CkDdD2/mW0jQQxrtrNd1mtxvlawfzXNPsFfbn6abpklsuZ4JN5SmThRUebhFQrksXrf3 3VYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=pEAwSNZKAAclaDgrr69xIJYzI+bz8FWk0EJ5IRxdRbg=; fh=AntIqxgid4h/DhDg45Gv7v9zCDfMVV0K7+NFmx/aFCY=; b=vqFdaUcbQpsB3Dh4+O8yYuhW0WxeMQWi5R/jftpFNc01BMjD9RADZq+RMXJZBR5M26 2COlD+qwdeIIPwlfZ32XKNqqAELcP6/EnQwjxqX8JlGfEJMebe4p4exEA33QyQuzU30U zQfvF8tgXzOxdI42YVal+OG6EdSol43bi/LR8ufW8vudND6UsYOpVkLIsnwsTLL6M9F8 mwvCNXZwQxLA44MtsFyYItMsd23+g2GYiXowa6OXWOz41y45Q2n1qqFejWAs+1IyGtMN xmqvP+Tpxl6g/L72UnHDFJrgrmSaTXD8pTvp8QtPUbe9O/OJJOl6QfGypHh8Wpv2iCKz VsGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=y0Vq9lxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bs184-20020a6328c1000000b005897bfc2ed1si137753pgb.215.2023.10.11.09.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 09:34:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=y0Vq9lxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 76A2681355E0; Wed, 11 Oct 2023 09:34:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235130AbjJKQeL (ORCPT + 18 others); Wed, 11 Oct 2023 12:34:11 -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 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 11 Oct 2023 09:34:31 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779477589309086815 X-GMAIL-MSGID: 1779477589309086815 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>;