From patchwork Wed Nov 21 17:27:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 151703 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2214536ljp; Wed, 21 Nov 2018 09:27:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/WfhmTHiu6u6r85JzPeIHqLuG/b0iFcN79+2hhQz4SAJKoKactKbP09PTA0qQLTUX7IGCQx X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr7589481plb.46.1542821273724; Wed, 21 Nov 2018 09:27:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542821273; cv=none; d=google.com; s=arc-20160816; b=E90uryY7Nx7gt6I7+ovsFCmQm28PcuY+dT2PTgUCqdWw2b2dUTNJrv3aH6baT1h3B8 zsBoK0W/MzEfePX07WRsiYEpgmgm4jRqoLj+IccF0IpX8VyH6ccgPS2+FNLlPkf4wltj 1qEtRRxSUDb0t9JvqqL3IrqeFp2ox23WSKDvSXbtsCmdjdwvL+R0aTCOwe1Whp+VZw64 EhyBb1L9xzvGWZKLQ7NZv8GtE+HlneScZgTwXS+o6LMsME+DPN0Fib5AO1zaj/VYc8ZF upaulFJa193msD9HsG3Z9JgI3l3Q805S8JsiYFlWydOpwqqoGn8O2uhCChemIf1rUvTd Wcvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=0GF47o1RZ6FumYGmsfb2MBxaOSgeiCBGqUODrEGpVNQ=; b=Qs/zYxEI3m4MBPaDtoatSAl43kaWqTPMBwnX2Gyw64b8EuwE0MczbtZths0Bp0u9jv mjSQd3wg5sILqNHpsQ2NC6j6NK39lUNSrt99QrTWDW2ZtXnZjQX1H4snhs6WkkNv6qn0 MLbesbWf/6Fk/v0khw7k6RlbPGRKMnZgHBqCgrOz+O3R6aykKwYdgA7dgPKXDwRxU0Oc VwSquvwbv5H83Rel4OAcra0bAEoAz4Frk6X3PiS6DZgGdHoiBkvmkWcabqVlLBo3jaNv rhIkNQF5x3tWf3kAc6j+6+2g/FBVOLDIVJ5sn3MKpeysWL9QsSq4n/CtxkeAq9rzMn28 xiFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fLh6uhWJ; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f124si17276904pfa.1.2018.11.21.09.27.53 for ; Wed, 21 Nov 2018 09:27:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-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=@linaro.org header.s=google header.b=fLh6uhWJ; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730830AbeKVEDK (ORCPT ); Wed, 21 Nov 2018 23:03:10 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:39182 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730705AbeKVEDK (ORCPT ); Wed, 21 Nov 2018 23:03:10 -0500 Received: by mail-wm1-f67.google.com with SMTP id u13-v6so6587854wmc.4 for ; Wed, 21 Nov 2018 09:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0GF47o1RZ6FumYGmsfb2MBxaOSgeiCBGqUODrEGpVNQ=; b=fLh6uhWJESvaCJlbuNCQh4IsPTjL0zyBKK05Gkv/h+lvGMEpiqaaIwrX4LwG5YjpbU 2tzCyxsz8LtQ/A8YNqh9MrIAm8jcUe+1QNoRMVE6HfhHSlALyomM11XNjRk8ryhag34Y Sj3ZI2sepGA/1Nxs9NUCwbfP3zV4zLPvbvqs4= 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; bh=0GF47o1RZ6FumYGmsfb2MBxaOSgeiCBGqUODrEGpVNQ=; b=J/zY5SjVC0aWQQvcVtergdBrS8CgARGC/v6Rlk8kM6ZDS7/pNPvx7VGd7VtrMVHgLH HTpXOTRa6GxBThL13GuVODRoUgK5mqETWuaZtRSrcj1xFzcnacPMj0J8ucPW8JmDUEJE n8Aq9UoAN1H2ZIxXLT+mrEkPDwwi8W5FYQ9BuXs3GZ2K0jsxhHSRNZHjmLqsWa2SjYyu w3hHkc4zg0Bc0r74j9b8/Xkiw6WGNGbMqufvrpll6Jh1mnVH0Md00JCIiy/VA/UtO2ym 3m95EiU+JBRbE7W3F9FS6Acncj8WRY7uBpfKXjQYQI15w98PtLAUneiZrtJcxSfZKkXW 7/Tg== X-Gm-Message-State: AA+aEWawN8e52MZD0zTPC77Tw0H2jI5FvWqp3B9SZLpBmLSHLR0uaYzz X68jRo5/UkaDYTrozwR3Iab8Dg== X-Received: by 2002:a7b:c34b:: with SMTP id l11mr7080844wmj.30.1542821271402; Wed, 21 Nov 2018 09:27:51 -0800 (PST) Received: from lpoulain-ThinkPad-T470p.home (atoulouse-654-1-394-222.w90-55.abo.wanadoo.fr. [90.55.193.222]) by smtp.gmail.com with ESMTPSA id f15sm1065423wrt.10.2018.11.21.09.27.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Nov 2018 09:27:50 -0800 (PST) From: Loic Poulain To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, andy.gross@linaro.org, Loic Poulain Subject: [PATCH v2 3/3] arm64: dts: qcom: pm8916: Add PON watchdog node Date: Wed, 21 Nov 2018 18:27:44 +0100 Message-Id: <1542821264-9200-3-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542821264-9200-1-git-send-email-loic.poulain@linaro.org> References: <1542821264-9200-1-git-send-email-loic.poulain@linaro.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Add watchdog child node to the PM8916 PON device. Signed-off-by: Loic Poulain --- v2: add timeout and interrupts arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index a05ebaf..3230b88 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -32,6 +32,12 @@ bias-pull-up; linux,code = ; }; + + watchdog { + compatible = "qcom,pm8916-wdt"; + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; + timeout-sec = <60>; + }; }; pm8916_gpios: gpios@c000 {