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: 151464 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp666278vqb; Wed, 11 Oct 2023 09:34:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEmi4WrcFvoQToPizmp6rxPI7psnN+7BuaKDMWWEhryyKlnxVZp7MQm/Fu+Cj+uLZ6yGnmU X-Received: by 2002:a05:6a20:daa8:b0:171:947f:465b with SMTP id iy40-20020a056a20daa800b00171947f465bmr7357897pzb.4.1697042070372; Wed, 11 Oct 2023 09:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697042070; cv=none; d=google.com; s=arc-20160816; b=kzm7aVHAoPJWiNE4gYFBACc9icVpHSz/DJun0DVkFF2yymeJxxg73k3BpvyUa3um7m CnEX9mL17W7jLtX2TcqCBUCIlRQTyPLs0AjyYPu8KnP3sGGuaWNIqCXdLdh7UpRNH+QS g5IVnhOqbpouUp+hyZZUFqGMkLZj8plpSDWX/i0YW6kJxWLzrVD3cRswuVLjl9RRGIfg SH94+oIRPea44AtCebgXpWrYqQoGvhjPEkr1sDaOcqOJz2yfn7TZe9WXQ0HMAVlEV4hf JgpoqcX1uyRQAoyX6jMILHl/27kIDj62VEV5tWrvwlSKAqCWBH4JfD8kAu1dJQl6wYun UvGw== 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=Bujb5ug6TxHYjaWB/Vhauf6fhXixJXEDhK8DqouFqJk=; fh=AntIqxgid4h/DhDg45Gv7v9zCDfMVV0K7+NFmx/aFCY=; b=hgFbr/UyRZj438KSugvZQt02MVD1WRvCB0uiPP67/UY49efX7zBmRN8OLn5+k+xUvB T6yO45QrKw0dYyoMkjyWA3HXW40li45/q8dBb84eKPx0Be/5hw/zQfHcSCTa06+4PZ95 cUVQ1XG+UgVt26goEjCD2rPmRgwadkXh2c/bpbGVAAa6iPZXaYq7n6mvIpj4YnariBq3 +wxElJkMH9LosxYinibgM6NTojQRa4GcF+nUsloSZ17juoU9lZJw9+gGGqGn1ggHBhJY EHwjDHED25oRVtW8i0MOtKtsyKL2400HyOPRunIayUmPZLFJiKD11htuIIHN0OoWXNbe eJrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b="x/YFwaEE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id v34-20020a634822000000b005859b2d8d7asi145334pga.4.2023.10.11.09.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 09:34:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b="x/YFwaEE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 67E2A80BCE98; Wed, 11 Oct 2023 09:34:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346965AbjJKQeN (ORCPT + 18 others); Wed, 11 Oct 2023 12:34:13 -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 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 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 11 Oct 2023 09:34:27 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779477585918627474 X-GMAIL-MSGID: 1779477585918627474 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: 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>; 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: 151461 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp666007vqb; Wed, 11 Oct 2023 09:34:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTEMu/jh5KXoCBMlHSeBv/O3Oc8PhjmK6dUfj9WCTxXyaHtJ5U427ZxEinKGix+uI7YEVK X-Received: by 2002:a05:6a20:1595:b0:163:ab09:195d with SMTP id h21-20020a056a20159500b00163ab09195dmr25180122pzj.0.1697042047999; Wed, 11 Oct 2023 09:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697042047; cv=none; d=google.com; s=arc-20160816; b=ltFGyR76mslP2OVKziSncKcFB3qwRFwxG/8Xp7bfoqWInsZ1rbjN9E5c2vO8jcfvEO ThrbVo/NgewTylDHym2y7HdWr8eDM/YjaDRV/lCsBx5nxwu9z5HLphQiw/9D+euI9OM1 /QbiZYmTDnObQAXpoCymu2a+Q7me/P2aijJ+a+VNDoTK0fFmAOwas79x83dltihdPUtq J2lGSqc/0KRvj3ZlukQNVIOue6pt1yEdF4LW7vtLPWAnxTJFCiBZ+eVdz/2ueTv08F59 obzQ/PIQHPw6FRHajjE9fnaKfnSVbRrbMa5QhJ3Iqml3EUHCe49PSd7DrwyQKcdKLuPE vv3A== 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=9uqohkfoyA4bhBjUJv3eYr6WR8Qk6/ua9bmYLyxbeS0=; fh=AntIqxgid4h/DhDg45Gv7v9zCDfMVV0K7+NFmx/aFCY=; b=jgNKzLfkuKEuXscmxcT0E4ZhUqD4cXwDiOgUCN7pSJ7YH+73Ca2rWX4Q4RGkF9TfJh hea1Fha+UmXI214g2jx65fJ9OA2mVy+4vjI/p6lQ5snjF3iO5KMevnw2OCRcaF6TJik+ Cfp/hP4zBKE0Os5DRHtRjGpiUd1vzFoebPAlhX6qWEHdWU3/n1Wk3goyFe1ApoRk2Z/G Wz8RDFS0tc76zCHi3Nn1kzwj0fMxDM/fNJ2F+25wtD7GJswKGtiAz1miMEHkMfn6Wxa0 KCLx6gMWAXMP/tcn1lL+c/oVPIjEBTYXJU3KnHXn5MxpBni7oIyvz1ZS1dYms+IuRVf8 a+jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=vwldJMw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t14-20020a1709027fce00b001b878f9e11csi89545plb.54.2023.10.11.09.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 09:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=vwldJMw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 01F7380BCE9A; Wed, 11 Oct 2023 09:34:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346859AbjJKQdr (ORCPT + 18 others); Wed, 11 Oct 2023 12:33:47 -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 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 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 11 Oct 2023 09:34:05 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779477562326318895 X-GMAIL-MSGID: 1779477562326318895 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>;