From patchwork Fri Sep 22 10:42:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 13395522 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7852CD4F57 for ; Fri, 22 Sep 2023 10:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=j3ScTZhaJZ6Ac4LXaxCOdtXXKoyRO8xJflqN82PqBRQ=; b=HVtALLGpSr5dF+ adHCfa87QDT8lIp3JypoxV4FMC1ScEXFUPxIw3K3lP147IukIydPA1viOWgKGH1n3hYvLRcwkaZiL paAWuFkUxf6XgfTF6ncm1oDlcOSu44lOZ8u4/40IFUzZEj6sAqHhruk0KASsfgHqaUBPu2/Qntqmf wYbtu2GB8ADx7eiDpGdaZG+LELFrfgaU/qDKwpksQOWY3WxHuWFzJELsWAPa8F7TdI6k1LubfXZYp 2m56jLkJryJDAoutq1l2d1vHUbz5Zm8zL9jUIXkIfed/ZSoTD5/Jg/Gl96icvWA2fvFis8BRLxyNM S2X0sKCCeNWxXEQsTtEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qjdcl-008sn1-0O; Fri, 22 Sep 2023 10:43:03 +0000 Received: from thorn.bewilderbeest.net ([71.19.156.171]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qjdcc-008skj-2H for linux-arm-kernel@lists.infradead.org; Fri, 22 Sep 2023 10:42:56 +0000 Received: from hatter.bewilderbeest.net (unknown [IPv6:2602:61:7e5d:5300::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 6859F71B; Fri, 22 Sep 2023 03:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1695379370; bh=38Kbb7gGkyqodA4KPBC9VNUY13Zo33fOgrid7RcPgZk=; h=From:To:Cc:Subject:Date:From; b=HYc56Al+GgE8ZqC0VehhO511PydhQ4g4f5KY6ViILEw0QgrT2tblOlRIzu0eUZHGa 7fraUyodeYrjrGDHc6K/tF7pQyj6TifG6UbfnIi3QllNLMaCNKGia/7HQAtQrmuYF4 0/JyPoFfJ92u+7u5RNG7qbRzDTYPrlEOouyh66Oo= From: Zev Weiss To: Andrew Jeffery , Conor Dooley , Guenter Roeck , Joel Stanley , Krzysztof Kozlowski , "Milton D. Miller II" , Rob Herring , Wim Van Sebroeck , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, openbmc@lists.ozlabs.org Cc: Zev Weiss , Eddie James , Ivan Mikhaylov , =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Subject: [PATCH 0/2] watchdog: aspeed: Add aspeed,reset-mask property Date: Fri, 22 Sep 2023 03:42:32 -0700 Message-ID: <20230922104231.1434-4-zev@bewilderbeest.net> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230922_034254_742581_94E2248C X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, These patches add a new aspeed,reset-mask DT property for the Aspeed watchdog timer, which specifies exactly which peripherals should be reset by the watchdog timer. This series is a replacement for a patch I sent earlier [0], though using an entirely different (DT-based) approach and hence not exactly a v2. I've tested these patches on ast2500 hardware and a qemu ast2600 model; test results on actual ast2600 hardware would be welcome. Thanks, Zev [0] https://lore.kernel.org/linux-watchdog/20230922013542.29136-2-zev@bewilderbeest.net/ Zev Weiss (2): dt-bindings: watchdog: aspeed-wdt: Add aspeed,reset-mask property watchdog: aspeed: Add support for aspeed,reset-mask DT property .../bindings/watchdog/aspeed-wdt.txt | 18 +++- drivers/watchdog/aspeed_wdt.c | 11 +++ include/dt-bindings/watchdog/aspeed-wdt.h | 92 +++++++++++++++++++ 3 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/watchdog/aspeed-wdt.h