From patchwork Fri Nov 23 08:44:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 151845 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1798398ljp; Fri, 23 Nov 2018 00:44:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vq1U7M9ahOyXwHT1P7TADE23X47XpfY2BXORDK+1MyhSYq+HoaxbAoY13Uft3nZzfDeJ8Z X-Received: by 2002:a17:902:128c:: with SMTP id g12mr10743734pla.146.1542962686565; Fri, 23 Nov 2018 00:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542962686; cv=none; d=google.com; s=arc-20160816; b=rhueX1Q2HpL1I3X7o6QedomfJOc/jyQhx+uz3UMAV/swba4o/C4t2U7MPlrLUU9u6T KZGxRW/2f9N9FBiXRxWfAzzwmoVrLxfPQL+ItgJqS62gaeYikYHYec3D8TY0mpTb8hqK svWL/X5werK4PHvhZ0te8CaFF8GU/06LUu/AlLjWQahAoO/R9GoJShERuKUltnHVMx8v 3hKfMvTFogMa5i288lbjd2w9GiBXFeQ0Ghx4XMsBatHJgHt+iR8oNE2AQfB3m+tAi4Lm 5nEPLF1Q2hL9BOaI0gDQb8pTw9EyEEcD+SmL/xVFWg2+nVMEI8ojDw+XVX+b2E+rEnGn 2aqg== 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=ecTPdt2Os/PmmvbQ/dV6rRSfC0cTAAloWLuoB4Wyuuk=; b=UBOW9yt/SQCtZp34EJAmgkGlVUpXIki5o4HxFfAJMsPB0HappCcOab1AP7tFC9eDnU Um67ay+yF0zIxrh5fw3WraBcvZ1oCA9fzd18ls97gYfpOXXF4SWwKz7fbC2ugF/LR91h AauoWNpwgywUYIncn9EfPLvekAYnB0l91sTBRUxx0GQ5Cux3R3Lj2q8EDg/2pGpn5h26 kmE6rPhQRgbF22JSoGo9rdEW95KhSfUNvdoWOucXPZi3TSKV8VyFKoOQuV+ZUI7/cPQk jRjsPpkvjPXIoJVIEcjcluZNtI02lO4PsDKUwHGDAURC823IJUBQEERi2BUMdWz0e4Le 89cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R/e6/QVB"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 x3si43214356pgj.493.2018.11.23.00.44.46; Fri, 23 Nov 2018 00:44:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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="R/e6/QVB"; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S2393828AbeKWT2B (ORCPT + 15 others); Fri, 23 Nov 2018 14:28:01 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34087 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405146AbeKWT2B (ORCPT ); Fri, 23 Nov 2018 14:28:01 -0500 Received: by mail-wr1-f65.google.com with SMTP id j2so11517996wrw.1 for ; Fri, 23 Nov 2018 00:44:44 -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=ecTPdt2Os/PmmvbQ/dV6rRSfC0cTAAloWLuoB4Wyuuk=; b=R/e6/QVB1r74EhjTMAgKxfDV54RSp78gCxrSxZKrfR4Pw6OlHET8SkR7dYE0QoEQjA 4UcXZH4VJc7L9iHq68BpFlsIOjMs6XIYJyTjoqsQ/V2fY2xzxlrkhLE94PtTQXJ/yrM0 s3jmY9s8q/Rzn0W9sBh7vXBTOpdZ1mDwhQc0g= 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=ecTPdt2Os/PmmvbQ/dV6rRSfC0cTAAloWLuoB4Wyuuk=; b=SsE9sgQO4L2SkapYkpFuHvSBrEdMNxHE+gEfO/PNBJbZFdD2Pwb/rStGTRhjdNTDWS sygEZKxjJYb/SB2+fDYfnZQyX/FWrIDZSUjuZ3EauUlEDMc8wGoGayMuIekzd6asw9OS e9oLIKlWy5HiEQ38vQHi968Dl49viNgKOGxGvSVXmKgFFYNlQ9I32fvt0l2BJabZN4qp MaQuXaTP95dAiXvDz+CzMYxe+PtxaNxIlqDQvSHmkVnAho4JJg8UGE8QZp9eOsDw3L26 8ZjrzqH48zoDaJsLwrZ1a4KV7MmejU926UCiObaWPpFSOrGD0S8DFRH3/JAq6FMQgmAf iwtA== X-Gm-Message-State: AA+aEWbR37DMDVoluHN5UlTwJ9iwWBsTo7vBUS9g9F8yVbzYC1ZciljD vnuj856Lw+SRSTrp9dnZVSW4zQ== X-Received: by 2002:adf:d24e:: with SMTP id o14mr13253045wri.66.1542962683972; Fri, 23 Nov 2018 00:44:43 -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 y81-v6sm4283017wmd.11.2018.11.23.00.44.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Nov 2018 00:44:43 -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 v3 3/3] arm64: dts: qcom: pm8916: Add PON watchdog node Date: Fri, 23 Nov 2018 09:44:38 +0100 Message-Id: <1542962678-13697-3-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542962678-13697-1-git-send-email-loic.poulain@linaro.org> References: <1542962678-13697-1-git-send-email-loic.poulain@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add watchdog child node to the PM8916 PON device. Signed-off-by: Loic Poulain --- v2: Add interrupts and timeout-sec props v3: no change arch/arm64/boot/dts/qcom/pm8916.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 Acked-by: Guenter Roeck 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 {