Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1487858ybv; Thu, 20 Feb 2020 21:39:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxUaX/AzMrWtAScaWInv+UbWOqKNCnfmuDXP9UHW8ew/StfePi8inGtYgDIzoz6iBt+DWIx X-Received: by 2002:a9d:76d6:: with SMTP id p22mr27292344otl.37.1582263542614; Thu, 20 Feb 2020 21:39:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582263542; cv=none; d=google.com; s=arc-20160816; b=wLvj1BNtj466DCOriIlWSCwDHBzy7un3BClDP4Zjzkqah8IdepHPzJD9Wz4V1jcPLD M74k1Y2RXe1KSvOa0Oiz1tVqjZZEy0KuC3SLxZ6NPRF6O+tDapP1tWNwY9WEi8c8jtCe 5RoiOn5hmZ3w+LlpAEs6fDy/VVQyqRiAqAHuTlJYoxShlmxIVYUfjeTQJJVSGmNY0hCz nmJa0yeDJYiZkGx8Uvvt5gF5owCwQJe/+Z1PTmPikOmTb+1lhLGNwv5pcHMoNbG4MrqF iTn+x0NPbUnKfWc9Dz57UvKqwMRk6CN/34LIK1k99KGBShylBrx9ATqIM9OEekf9SIER g8cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=CapMNX7pjr8MkESV5PbFvA3nh0aG4lhz0SRP146DeOk=; b=WEWZTer+5ccz5Nbuj1Jsgtu/6pnmqTKCYFlWo5SqP4JJLTvuyx+sVMJgjzmFuDHUgZ Pi42Ivn+84gk7ZWko3MRfIK7B9LZ5404R1oUC4TMZhI/OTSJ+gj3BR/8gtovyFdseYqS SB3NVplaviHHfzIL7ntVkOBL05Rq8mlaX7ocwby9DEz3aJema16IgEiueuo4zeaQG3a5 v921NINAZuE4FXAbaEKtK3FtY3YzHU0yqUNADAh0/OzmT8udFNvBFxMp81l7MoiAhslp nga5n2iXCM+024INR1FKJQ1mcNHkYTIuB6rv4d33C6jJT0O0A3nLnmdTB0nSc2d2onba pjfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NHBlsLvE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si964256otq.31.2020.02.20.21.38.50; Thu, 20 Feb 2020 21:39:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NHBlsLvE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbgBUFic (ORCPT + 99 others); Fri, 21 Feb 2020 00:38:32 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:36158 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726088AbgBUFib (ORCPT ); Fri, 21 Feb 2020 00:38:31 -0500 Received: by mail-pj1-f68.google.com with SMTP id gv17so240888pjb.1 for ; Thu, 20 Feb 2020 21:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CapMNX7pjr8MkESV5PbFvA3nh0aG4lhz0SRP146DeOk=; b=NHBlsLvEzhPsV9lVrqrxLfj46dzf+dfvYfal/9H20MGjw4nLWWSVa8v81TGtfCiHGG UNImlkJ6xyOWAA6l1H1xA2JqGLXbVDYYjArPqkFMKmwUZffHJaGPMeXaVTJX8lG24W7Z 1BH97JwtFsJ//+S0hygIEpEECdThBP537UmUQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CapMNX7pjr8MkESV5PbFvA3nh0aG4lhz0SRP146DeOk=; b=Jud3WHCVnpQs+NCm+KG0MbLb/EWRNncwB48GcfyZqCJy/IOP/gYg7R7TwFuIRE88Us Bq+0L8iM7iVLj9JxTkoTib4c0JB5nDTljq8tOnjSxj9YQmBzMQ8UisGVFbCQfmnw9eph ayeoeOuCLhz5DWatCanJAkOZea0mXLBtNFpPW+jnewBg0/nFfaj0OHU42Ux+UD6FseUe zdtAye6Rdht21SzyqoeCXhTfslfTFN0JauoRieBLBkmKypqRlLezl/lSfhL/nQGfJ5FZ kjsusvuohgZW6Y9HPt37WJH2NXV0/r3LC40vuXVIT6OoYvY/GuOoXwwMoYtlxpz5AKYi bTHg== X-Gm-Message-State: APjAAAXm7Gf9AvcfjFpf+H2zG/+bPRK6FUTZ91Ua10FPxn+9Os6hkMdh VfNdtg5+e+XDB9rXHjk8788VKKWX6Qrifw== X-Received: by 2002:a17:90a:804a:: with SMTP id e10mr1046782pjw.41.1582263510005; Thu, 20 Feb 2020 21:38:30 -0800 (PST) Received: from localhost ([2401:fa00:9:14:1105:3e8a:838d:e326]) by smtp.gmail.com with ESMTPSA id m12sm1324157pfh.37.2020.02.20.21.38.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Feb 2020 21:38:29 -0800 (PST) From: Evan Benn To: LKML Cc: jwerner@chromium.org, Evan Benn , "David S. Miller" , Greg Kroah-Hartman , Guenter Roeck , Jonathan Cameron , Mark Rutland , Matthias Brugger , Mauro Carvalho Chehab , Rob Herring , Wim Van Sebroeck , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-watchdog@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: watchdog: Add mt8173,smc-wdt watchdog Date: Fri, 21 Feb 2020 16:38:01 +1100 Message-Id: <20200221163717.v2.1.I02ebc5b8743b1a71e0e15f68ea77e506d4e6f840@changeid> X-Mailer: git-send-email 2.25.0.265.gbab2e86ba0-goog In-Reply-To: <20200221053802.70716-1-evanbenn@chromium.org> References: <20200221053802.70716-1-evanbenn@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This watchdog can be used on ARM systems with a Secure Monitor firmware to forward watchdog operations to firmware via a Secure Monitor Call. Signed-off-by: Evan Benn --- Changes in v2: - Change name arm > mt8173 .../bindings/watchdog/mt8173,smc-wdt.yaml | 30 +++++++++++++++++++ MAINTAINERS | 6 ++++ 2 files changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml new file mode 100644 index 0000000000000..ff45e13bc548b --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/mt8173,smc-wdt.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/mt8173,smc-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Secure Monitor Call based watchdog + +allOf: + - $ref: "watchdog.yaml#" + +maintainers: + - Julius Werner + +properties: + compatible: + enum: + - mt8173,smc-wdt + +required: + - compatible + +examples: + - | + watchdog { + compatible = "mt8173,smc-wdt"; + timeout-sec = <15>; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index e48ab79879ace..59e8779363c12 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1421,6 +1421,12 @@ S: Maintained F: Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt F: drivers/irqchip/irq-al-fic.c +ARM SMC WATCHDOG DRIVER +M: Julius Werner +R: Evan Benn +S: Maintained +F: devicetree/bindings/watchdog/mt8173,smc-wdt.yaml + ARM SMMU DRIVERS M: Will Deacon R: Robin Murphy -- 2.25.0.265.gbab2e86ba0-goog