Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6047879rdb; Thu, 14 Dec 2023 07:06:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5vhDb5L7ew2y3P68m2aDM1ynnthcFVSNr+sHvLVTdMcoh3Q0eNeIu91+qu2GMTTtnzydY X-Received: by 2002:a05:6a21:3289:b0:190:5e28:ad52 with SMTP id yt9-20020a056a21328900b001905e28ad52mr6167544pzb.67.1702566409004; Thu, 14 Dec 2023 07:06:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702566408; cv=none; d=google.com; s=arc-20160816; b=R0VSt7Y7ugvoP0Vc0xZSQLFBAyb29NxvqWnE7zjBHj+wbD7VI4peOBceq7w8LGMvM6 yCKr+3YOgnSqUCnBmgqO3puU2alzxh8Ew+aurwh+YB3ANLdpeYZtOECk6X7lSiY04v6K MUqLpuAursGOTlOfOhsN8jYwb7G3AvhKMKEdT/NjXe624bKiUQIV8jSHYRq71j8ypFvi M0KlYicf+RL7VBFd3V44hhrZKZBSQ5lfPOANef3bqruJCChY9cOp4EEzSTQj3hGO/JPd FSJywX1AQYUCdp2ceMKblryQjAPb1nR93QbW8zhsXhlI/9szzPSALowv7uKZstcf7A+H ZZKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nuCTvLv1hEiBtVDRf9IkTWr4PLGW6KCIaFlBnMtgA7s=; fh=dL9f/xHvgVnr6QFQUAJZzVbl+smN3GTOkS9N8wZvDUQ=; b=ieQMULGzVu4wkuFRXVs/HfZsojPsMhpKuOkUz/EvQA9FlHUUkzKqT8wSVN+rRVj1aE jdRUUwrTlYz1sr548MNO22Vr2ZObrDEXGNVut5zeu4SKtV3CKQeNw+mCQw+5fwpMm/Ih duWLcYrBmLaKVKBbqkv5tMdactoMOCjnxADmyL1hcmSSJWF6Tc0UsLNhZdraQ5340Z7z WIZr9mSS2j1GwZSnMp2TzXzAuum1RlyfkApPN4Yj2RosugGTFbPyVrOJx928/Q6eLl5N ZE83NYbecSCzj09ADqw4peEVoR/6f0PnEhXN0n/UOSxRiuWZGtJ4/+hwqXFLSyOVDpYN py4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=MRuaR3JN; 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=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id a22-20020a656416000000b005b3d703ca05si11376272pgv.780.2023.12.14.07.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 07:06:48 -0800 (PST) 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=@marvell.com header.s=pfpt0220 header.b=MRuaR3JN; 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=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D47E080EFC54; Thu, 14 Dec 2023 07:06:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573641AbjLNPFU (ORCPT + 99 others); Thu, 14 Dec 2023 10:05:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573628AbjLNPFS (ORCPT ); Thu, 14 Dec 2023 10:05:18 -0500 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9695C8E; Thu, 14 Dec 2023 07:05:24 -0800 (PST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BE9LR9u002199; Thu, 14 Dec 2023 07:04:23 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=pfpt0220; bh=nuCTvLv1 hEiBtVDRf9IkTWr4PLGW6KCIaFlBnMtgA7s=; b=MRuaR3JNtNCoywy4odo1u1C6 Dy2upz9T1DLA/8ZDK5GSFku3LrGspV2Za3SGU4fwHAiee+iCDTZSyK4C73deDFBK uIpu6CIOC7NsIEmgNj1Omw42SkhFzPdWzoUNToxTSqwm85y2qJVb0rK+g1QHzbwk m5wVh4ELywTBI+DDUlvq7Ory5XNZz0kYku6BYk0H/NaV+DAGjrJd6mmu8CgWPKG3 eWxlP011bF3lg56PHPejDv4KT/C4f0RwbNRPm2rfjKRqoSdbzUqKCrDORfQMbspF 47P/Up0H9V2x614FwhzD1VLhq4lGiXAjmQnkBErulLc7jCwzRFTuaw0jauYOcA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uyy0m93t0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 07:04:22 -0800 (PST) Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 14 Dec 2023 07:04:21 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 14 Dec 2023 07:04:21 -0800 Received: from dc3lp-swdev041.marvell.com (dc3lp-swdev041.marvell.com [10.6.60.191]) by maili.marvell.com (Postfix) with ESMTP id 06B023F7085; Thu, 14 Dec 2023 07:04:16 -0800 (PST) From: Elad Nachman To: , , , , , , , , , , , , , , CC: , Subject: [PATCH 0/3] watchdog: sbsa_gwdt: add support for Marvell ac5 Date: Thu, 14 Dec 2023 17:04:11 +0200 Message-ID: <20231214150414.1849058-1-enachman@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: d39ptV3d-6NQ6WrNs6UhFmrKMspK0cKi X-Proofpoint-ORIG-GUID: d39ptV3d-6NQ6WrNs6UhFmrKMspK0cKi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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]); Thu, 14 Dec 2023 07:06:02 -0800 (PST) From: Elad Nachman Add support for Marvell ac5/x variant of the ARM sbsa global watchdog. This watchdog deviates from the standard driver by the following items: 1. Registers reside in secure register section. hence access is only possible via SMC calls to ATF. 2. There are couple more registers which reside in other register areas, which needs to be configured in order for the watchdog to properly generate reset through the SOC. The new Marvell compatibility string differentiates between the original sbsa mode of operation and the Marvell mode of operation. Elad Nachman (3): dt-bindings: watchdog: add Marvell AC5 watchdog arm64: dts: ac5: add watchdog nodes watchdog: sbsa_gwdt: add support for Marvell ac5 .../bindings/watchdog/arm,sbsa-gwdt.yaml | 52 +++- arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 14 + arch/arm64/boot/dts/marvell/ac5-98dx35xx.dtsi | 8 + drivers/watchdog/sbsa_gwdt.c | 247 ++++++++++++++++-- 4 files changed, 298 insertions(+), 23 deletions(-) -- 2.25.1