From patchwork Tue Aug 13 12:47:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 1146318 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="qtLC0+Fj"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 467CDl0yMqz9sDQ for ; Tue, 13 Aug 2019 22:48:07 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728693AbfHMMry (ORCPT ); Tue, 13 Aug 2019 08:47:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:54158 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbfHMMry (ORCPT ); Tue, 13 Aug 2019 08:47:54 -0400 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2A922085A; Tue, 13 Aug 2019 12:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565700473; bh=fK5hDNjRuNS77RPfIT+JYLABnTrKkRRYlSzM051qvLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qtLC0+FjMtX2PpANrFFwlrg4UdEHF35C/aYylTdp4pgcxiabgIKoggv6/ddaYKRvJ 76EwtZduy6hKmfgMtvjH5UcQVZ9KhKtxJtFOlBIZ81CTArvajcEsYpVn0TbqefLFbO qWNppVCDVmLxWVrD8LrMtgrkrekxWNuK8DZ5GQ64= From: Maxime Ripard To: linux@roeck-us.net, wim@linux-watchdog.org Cc: linux-kernel@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Mark Rutland , Rob Herring , Frank Rowand , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Maxime Ripard Subject: [PATCH 3/5] dt-bindings: watchdog: sun4i: Add the watchdog interrupts Date: Tue, 13 Aug 2019 14:47:42 +0200 Message-Id: <20190813124744.32614-3-mripard@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190813124744.32614-1-mripard@kernel.org> References: <20190813124744.32614-1-mripard@kernel.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Maxime Ripard The Allwinner watchdog has an interrupt, either shared or dedicated depending on the SoC, that has been described in some DT, but not all of them. The binding is also completely missing that description. Let's add that property to be consistent. Signed-off-by: Maxime Ripard Reviewed-by: Rob Herring --- .../bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml index 93df27ec1664..4ace89f129b4 100644 --- a/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml @@ -28,6 +28,9 @@ properties: reg: maxItems: 1 + interrupts: + maxItems: 1 + timeout-sec: $ref: /schemas/types.yaml#/definitions/uint32 description: @@ -36,6 +39,7 @@ properties: required: - compatible - reg + - interrupts additionalProperties: false @@ -44,6 +48,7 @@ examples: wdt: watchdog@1c20c90 { compatible = "allwinner,sun4i-a10-wdt"; reg = <0x01c20c90 0x10>; + interrupts = <24>; timeout-sec = <10>; };