From patchwork Fri Nov 23 08:44:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 151844 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1798382ljp; Fri, 23 Nov 2018 00:44:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/WLJKQyBrQpH3Y7iP4GoIlA7VmeYJYKWKt+UjmS4bYqk02OUKtygEflVJgDzXakUZqkaLpk X-Received: by 2002:a17:902:201:: with SMTP id 1mr13750761plc.62.1542962685680; Fri, 23 Nov 2018 00:44:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542962685; cv=none; d=google.com; s=arc-20160816; b=CFjjrWTdM1mbtLS06Ku8OnAyxPZsG3JVowRaL+3C/xRwwCmHXn6oqc8FJg4HnN+JLK hfEvG8uPf4NcvTDrnB2XM6GZjVBocONhiSel6FPlXc0qoYa3JAXr/pmuMPBtKNA6rL1N 2S00rGHOidVhOFsmzwyLImA3N0x2G/VIAcirfCSXH6qnplt/0tgjSuHEKqVtqKF0ooU1 xSepFbUXgaQVYWAKRZ7y4rbvHFfaNhxGxky1M85NgdufMD9cW0E334q10dM+fXFH4BKA B1/XCAGhftjkIhFWqNN9FF4qMkDuzxT+d7o7Pt3xCXG4lEIcje0+Ipc6NYcqOTFejogZ QqgA== 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=XdszViqpweHkRWgdDWlwT5KE8l58SOerppnSjTBDrIM=; b=PjSSNwQfji9QJmQAtqCPulOKolYAW8Ch7dlNZa7jESlSQY3TZ1gwePoytsj+oaK55G XEZjXDipYhs1lpxSoPQJc6CCDy2Jp8I4T7Ab1FiiUC8RicTC2/20e52wJ5L8M/2+6FTz iJRQQxq5s9UC9qe1mkiqvu9qcZRjsavsIGZ9Si7E6P/rclw6qlHNrSOXp8UIyoX4VnJY wYdCjxTdBn/GdzAlrush9zdWRYN7AJmN3PAVU/5zzSEoBMMJLmhvpwNSh7ByD64mH3HA V1c+Mi6xgx93e6cYJtPaViK8tUolpcMmqATwFQ7fJtlwoOI0RnsbVS3FYIwUAIejBuxq mmRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eN8D37YG; 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.45; Fri, 23 Nov 2018 00:44:45 -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=eN8D37YG; 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 S2393716AbeKWT2A (ORCPT + 15 others); Fri, 23 Nov 2018 14:28:00 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37480 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393803AbeKWT2A (ORCPT ); Fri, 23 Nov 2018 14:28:00 -0500 Received: by mail-wr1-f66.google.com with SMTP id j10so11493815wru.4 for ; Fri, 23 Nov 2018 00:44:43 -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=XdszViqpweHkRWgdDWlwT5KE8l58SOerppnSjTBDrIM=; b=eN8D37YG4eRV3t0nQeCJ+ZAHITYUsJ04dLdWmusw2t+SR0JO7J9fEh1N0GRc4pXtYN CuOEODxQFMXWESthb+6McC1o8q0gWxii6K2ekouqpCfr4tWYyqJUoT3bnXPuyVYOId1R dSPOvdz9KJiG7K5CncsFzWu5r1fABB9ygj/hs= 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=XdszViqpweHkRWgdDWlwT5KE8l58SOerppnSjTBDrIM=; b=pObOe+jqZvGa5xJvMf1iTXfil4T20zTFSAHCxn8sxlCNbAu03esk2ENPRXqo6zHIro 9GBHj4JQUzFcvJb6Ky6E2Ek/rNEhNI/x9o/MBKEjfBgQtGI2RF3nzBbyliIPWZuMaDjF sQeCqm+AmMhyJ8Yrox9Zx7YoCmwtuD74X8pmd3ZcfctppVPcAjlKvkek1yX5tqy4fTMF MslixF5+E92muR6fKLxF0QXfmLITXDFw02pM3f7uWJiJj9YkNAbGAOvsz8z9Qfuy1D5B srD8fkaTauzjGn1r+io2N99w55x/aTkB2iROqGa7XoUjR8YEC7iFQyOOkgeCpQB7xT5L GMvg== X-Gm-Message-State: AA+aEWZvB56ifwDVJeoRKnSMQXuza3x4aL8RmcH7OQH1aSCE+a2mQPRM izeVLm5stKqNbKu28iJvBKSePA== X-Received: by 2002:adf:ba05:: with SMTP id o5mr8400181wrg.325.1542962682650; Fri, 23 Nov 2018 00:44:42 -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.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Nov 2018 00:44:42 -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 2/3] dt-bindings: watchdog: Add Qualcomm PM8916 watchdog Date: Fri, 23 Nov 2018 09:44:37 +0100 Message-Id: <1542962678-13697-2-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 Document support for the Watchdog Timer (WDT) Controller in the Qualcomm PM8916 PMIC module. Signed-off-by: Loic Poulain --- v2: Add interrupts and timeout-sec props v3: Reword props summary .../bindings/watchdog/qcom,pm8916-wdt.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt -- 2.7.4 diff --git a/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt b/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt new file mode 100644 index 0000000..6fb984f --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/qcom,pm8916-wdt.txt @@ -0,0 +1,28 @@ +QCOM PM8916 watchdog timer controller + +This pm8916 watchdog timer controller must be under pm8916-pon node. + +Required properties: +- compatible: should be "qcom,pm8916-wdt" + +Optional properties : +- interrupts : Watchdog pre-timeout (bark) interrupt. +- timeout-sec : Watchdog timeout value in seconds. + +Example: + + pm8916_0: pm8916@0 { + compatible = "qcom,pm8916", "qcom,spmi-pmic"; + reg = <0x0 SPMI_USID>; + + pon@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x800>; + + watchdog { + compatible = "qcom,pm8916-wdt"; + interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; + timeout-sec = <10>; + }; + }; + };