Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4040609imm; Mon, 25 Jun 2018 08:45:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIJFyaa9oDVZgi8A9kx8PFNWYEt2mNvuqRy0BUqX5mUpxG/Wt02HyhrUp+O/8ZxthUMm/X7 X-Received: by 2002:a62:a646:: with SMTP id t67-v6mr6797629pfe.31.1529941538100; Mon, 25 Jun 2018 08:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529941538; cv=none; d=google.com; s=arc-20160816; b=ZI8yI5oMPa+IE7UNN0lbx5qpHbLykGaoETolpHGbGcN8ET2cye7I+EvEH8nV8WV2we 59N9Sm3Fw0O2RCgB8czP54Q8riI/mFBcEYM6JPCDC6s44YH6ztdRicY8mO3RCKVQrL0q XN+HrjbVOmnBjlGmBac48bUNcZKCf4mp6KoXXmpOAQEQ1f0WJhe/2mZGwps+IH2GUQ5J +RDRl5btkXJTHUmnbs78Cvo84wUwwoJtxlntYSDRo5zf8IXgjlQtfIvJkSBOVd1i9uDm BRtj8nVYn8j0oRbfVCpnOBoj1i/qSpv5ETBZehVnSnmBUiiFOK2nzlQZkYtFwI36Ihpz i63Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=+P78yFyi1oj93hywUg0nv2QtHX83aUHAIqP/fPzUG+U=; b=c3USkaUH0kuwOgR6n3RWb9IYV1VgkuvQ4blHqmXZIvEruJbJZ0HG0JpdWhTh/aGja0 rR2VpCSdEiTTfKvx4UDjEwuQ/UKLK4Q+ktuS1+vsu1SNZ2rHEguU4RH134/7f71ks9/r TtAxlBrfA/OtI1B3zlFxPo4ajOHRQ+vaaR9w3taQE1b8SMjIZa0uHoFmuPFMnfeCKxjd DyJ5kI/3glDp7ohE/1woHND+guwfMJBOqesycKbvPisz0rjtFPt40YecUSZej5llJcha x+fdoLKPkSg+k/UXN0XbhRvkKdHJ1D6VBal6jrNNuIx0fNynMRErVjsCIMC4dc1tPGTd M08w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p9-v6si2447068pgd.448.2018.06.25.08.45.23; Mon, 25 Jun 2018 08:45:38 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752561AbeFYPoD (ORCPT + 99 others); Mon, 25 Jun 2018 11:44:03 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:22687 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751381AbeFYPoB (ORCPT ); Mon, 25 Jun 2018 11:44:01 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w5PFdKXc018437; Mon, 25 Jun 2018 17:43:17 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2jtujuacc7-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 25 Jun 2018 17:43:17 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4D7A331; Mon, 25 Jun 2018 15:43:17 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 22E102872; Mon, 25 Jun 2018 15:43:17 +0000 (GMT) Received: from SAFEX1HUBCAS24.st.com (10.75.90.94) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 25 Jun 2018 17:43:17 +0200 Received: from lmecxl0923.lme.st.com (10.48.0.237) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 25 Jun 2018 17:43:16 +0200 From: Ludovic Barre To: Wim Van Sebroeck , Guenter Roeck , Rob Herring CC: Maxime Coquelin , Alexandre Torgue , , , , , Ludovic Barre Subject: [PATCH V5 1/5] dt-bindings: watchdog: add stm32mp1 support Date: Mon, 25 Jun 2018 17:42:59 +0200 Message-ID: <1529941383-8653-2-git-send-email-ludovic.Barre@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529941383-8653-1-git-send-email-ludovic.Barre@st.com> References: <1529941383-8653-1-git-send-email-ludovic.Barre@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.237] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-06-25_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ludovic Barre This patch adds support of stm32mp1. stm32mp1 requires 2 clocks lsi and pclk. Signed-off-by: Ludovic Barre --- .../devicetree/bindings/watchdog/st,stm32-iwdg.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt index cc13b10a..d8f4430 100644 --- a/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt +++ b/Documentation/devicetree/bindings/watchdog/st,stm32-iwdg.txt @@ -2,9 +2,15 @@ STM32 Independent WatchDoG (IWDG) --------------------------------- Required properties: -- compatible: "st,stm32-iwdg" -- reg: physical base address and length of the registers set for the device -- clocks: must contain a single entry describing the clock input +- compatible: Should be either: + - "st,stm32-iwdg" + - "st,stm32mp1-iwdg" +- reg: Physical base address and length of the registers set for the device +- clocks: Reference to the clock entry lsi. Additional pclk clock entry + is required only for st,stm32mp1-iwdg. +- clock-names: Name of the clocks used. + "lsi" for st,stm32-iwdg + "lsi", "pclk" for st,stm32mp1-iwdg Optional Properties: - timeout-sec: Watchdog timeout value in seconds. @@ -15,5 +21,6 @@ iwdg: watchdog@40003000 { compatible = "st,stm32-iwdg"; reg = <0x40003000 0x400>; clocks = <&clk_lsi>; + clock-names = "lsi"; timeout-sec = <32>; }; -- 2.7.4