From patchwork Sat Aug 12 18:43:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 109940 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2442544qge; Sat, 12 Aug 2017 11:43:54 -0700 (PDT) X-Received: by 10.98.155.153 with SMTP id e25mr20478541pfk.109.1502563434514; Sat, 12 Aug 2017 11:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502563434; cv=none; d=google.com; s=arc-20160816; b=SqJoHBdnZ4v6edZc4c5uqfI0ZdYOsjeif56FINiIM1F+DmcFJD++PAp6cl9VpEMCO3 TWfTnoOPFJglWHgrT7yGtZsKl+ANNcU597TpV/NIKY0l/n7sktEsda7bGeWhFUKMErY/ zPHbeBhqsr2ouS+HfffGUQWfaXtmWz760BLRA+JOUWRn0ix6fM21T5iBqQDxjpcrjay5 zNr6Ekh5mdPj1GGSi1OWEJEoktEG6DbYTZ4DdGIPHkOXFuIfVTHW8qXbV+4gnGXmcdXo isJczLVJkjrKC16jWJHCeJzIeW3AZ2DWAlAhxJbkpYHWzdZhZ2EJflvN8nYDY92T5ZHS Pv2A== 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:arc-authentication-results; bh=CuydwPTsZLrc7bMqBMztaOJOGyyo7Fmve6xOsCgk9g4=; b=DIpMgiEVbwaxD/N0NvOR0Olnb74rNVjYYXUF4IugTh1bv4xsCE1IdUv1XMT8zUAaoU Z/VF/WhqKLAMw0QJgmOP9ZAxmm1XAw1dxESqJrGS7e52K57UkSy5TXqGnUP/UzDOKaSc lM++0hbHUQVjslQquBTwHlwBlrjooPEXAGELimU6PmGsCBgXujooJR6xC4G40Ulr7jwb TD9zdvbKxNBykQYnQ6HuBHPX9qxU5D97EH/0nr2eAWRm+x4yESP1owsmm+PibaBtp6sB Nb3c+XcoUqKDJa0CjPlCGUUwhWVHHIx02O3vWGVFcYDiweLw6reOjsZ8h/STDjCsrtkW 7tlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LdLxgD4v; 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=fail (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 p24si2288117pli.501.2017.08.12.11.43.54 for ; Sat, 12 Aug 2017 11:43:54 -0700 (PDT) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LdLxgD4v; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751703AbdHLSny (ORCPT ); Sat, 12 Aug 2017 14:43:54 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:36323 "EHLO mail-lf0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751624AbdHLSnx (ORCPT ); Sat, 12 Aug 2017 14:43:53 -0400 Received: by mail-lf0-f49.google.com with SMTP id o85so26909236lff.3 for ; Sat, 12 Aug 2017 11:43:53 -0700 (PDT) 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=ZO2LWjRKQrK7hUO2iVUElMs6qbWniSok1D7WfAavIN0=; b=LdLxgD4vTyu5tpzWacIK8BBKpjiQHv/5llOhvIzkwLkQBrT77h2V9YyvGmrEJya3Rr Z1/H2RuNxQcDj8IN3stDlRVuw+o7aqjocfDRxpa+RN6r9gbNIjt5SU39sIji45J73lVW 6lBibjFyPFABkzHQVbOQ2pCbSHhbZFJz6UM3o= 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=ZO2LWjRKQrK7hUO2iVUElMs6qbWniSok1D7WfAavIN0=; b=fx06IdqqyTfAWxkq8NVuVKqMgSq7Rw0GUbINX7RjPNZNuRlZwktBIO0jnddcxqST8z 81Ds1wXWLN/WITYs7lvSAGc4yV33fXXeHGZLfTaeRtd9eXY0JVN5qtmyUzbnhbjiUGtn ClwvZRjr1KNszBdIdgSIC+k/sd/XVxyfSCICf2KFlQRgkVcJMxkI+bljEoLxjTxWbZdE hHA38ogB6SWLX4lEgwb6nhM2Dhv01jYFknJd7fwMWJIgFfUKxTUBRmkQD70LW8TzBaZZ 9DmpvL1onoesigo0VozUJ5JlZb6VsJ9NhABYOq4D/BuW+r9Ya7zmjXH4dOAT/5C++XsV l4Mg== X-Gm-Message-State: AHYfb5i8lOd2NU1wU+kVAKcLeF4mKWy+CrZc91kYUzCdkkjNd8Gl6zz/ nhi7mSV38iOjowQwfHU+ig== X-Received: by 10.25.18.151 with SMTP id 23mr6046549lfs.95.1502563432378; Sat, 12 Aug 2017 11:43:52 -0700 (PDT) Received: from fabina.bredbandsbolaget.se (c-277e71d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.126.39]) by smtp.gmail.com with ESMTPSA id d64sm696628lfg.22.2017.08.12.11.43.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 12 Aug 2017 11:43:50 -0700 (PDT) From: Linus Walleij To: Wim Van Sebroeck , Guenter Roeck , Jonas Jensen , Andrew Jeffery , Joel Stanley Cc: linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, Linus Walleij Subject: [PATCH 10/11] ARM: dts: fix PCLK name on Gemini and MOXA ART Date: Sat, 12 Aug 2017 20:43:17 +0200 Message-Id: <20170812184318.10144-11-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.4 In-Reply-To: <20170812184318.10144-1-linus.walleij@linaro.org> References: <20170812184318.10144-1-linus.walleij@linaro.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org These platforms provide a clock to their watchdog, in each case this is the peripheral clock (PCLK), so explicitly name the clock in the device tree. Take this opportunity to add the "faraday,ftwdt010" compatible as fallback to the watchdog IP blocks. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/gemini.dtsi | 3 ++- arch/arm/boot/dts/moxart.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.13.4 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index c68e8d430234..f0d178c77153 100644 --- a/arch/arm/boot/dts/gemini.dtsi +++ b/arch/arm/boot/dts/gemini.dtsi @@ -145,11 +145,12 @@ }; watchdog@41000000 { - compatible = "cortina,gemini-watchdog"; + compatible = "cortina,gemini-watchdog", "faraday,ftwdt010"; reg = <0x41000000 0x1000>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; resets = <&syscon GEMINI_RESET_WDOG>; clocks = <&syscon GEMINI_CLK_APB>; + clock-names = "PCLK"; }; uart0: serial@42000000 { diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 1f4c795d3f72..da7b3237bfe9 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -87,9 +87,10 @@ }; watchdog: watchdog@98500000 { - compatible = "moxa,moxart-watchdog"; + compatible = "moxa,moxart-watchdog", "faraday,ftwdt010"; reg = <0x98500000 0x10>; clocks = <&clk_apb>; + clock-names = "PCLK"; }; sdhci: sdhci@98e00000 {