From patchwork Mon Apr 16 02:40:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10342053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DDDB8601D3 for ; Mon, 16 Apr 2018 02:41:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCBBA20CCF for ; Mon, 16 Apr 2018 02:41:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C149C22BF1; Mon, 16 Apr 2018 02:41:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 28CF120CCF for ; Mon, 16 Apr 2018 02:41:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=S11pwSzEFi/hD6qFabI4yjVoX5fI/zibSWazoJBM8a8=; b=JdUzFrjDYDvzfYgEohkKXa7bZm G+1w+X3FG7RcxSxbcRPUJcjE1bjfnHevGpvZaJQDsmNLAPyrl+lmiM5g8Dekvs9/co8TuY0iJVm3F GlZIjLLp+g6AegraAy9HyxOTZ8y8GJFppM9I3+t0swcEou5wNeFWAB5mLAEMJi06UQIVVDuhYKX8h XvIClK4rYqZ6ikBXSNiGx3sPcp+DCoq8hTP0L2oQvsfIbTk5XeCjMHxmJf1dvT3HxkleH4CEffCdx NqVsZ/Q7WfZ3GxryyBC8oKxrCLsjfvrdz/F1vbCz6n1xYrQnUvFy9fdftLAiAqcM5yE/Esk4KGoG5 k/LPpXdw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f7u55-0003J8-33; Mon, 16 Apr 2018 02:41:23 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f7u4j-00033W-SU for linux-arm-kernel@lists.infradead.org; Mon, 16 Apr 2018 02:41:03 +0000 Received: by mail-pf0-x242.google.com with SMTP id p15so9814389pff.11 for ; Sun, 15 Apr 2018 19:40:51 -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 :in-reply-to:references; bh=y7jTzByuSs7LrWuoiyN/MrCYFHz5BWvCk0lc6U2RD0Q=; b=AhEWBQ31MHBwW7hoOwIpq2dDztLTZ6238xORnA2kehE0svhxBA9IbCE1Dz0exKsLhr JOXl630rRUZY5NILWXILxq/FduJxwQD4DD/pHRAL8fsWc87tsmpMZcLurpEPMZqRAtCU ug5xruzor+5veLZrxG98yK6GaE19FBmqsb7fc= 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:in-reply-to:references; bh=y7jTzByuSs7LrWuoiyN/MrCYFHz5BWvCk0lc6U2RD0Q=; b=tQMdyGMzqJGVfwvIC+MEXQR6IjjVzBc1ourEDgh0sUDfwuREX3la8l59OZptBxt5Nl sQx5YQOkoOebAqwwrwDUXJQNxfsUvLxDGKe0ZEytqf4aAUkwDpynNDhOvlhaRemFp4PF 28PduY72gMrbNZMsxAADUE97BmdOqNVucVFXfG6R+/y+AQXOU6lVR4Geacf0gbLldVJk P0f8Bu8iVIGRPi/oCojDj8jCMb51ehX1LLhUNsHByBfJU4UC0pY/mUc2kV4TDdTlPUy5 MtgCgnmOGwh+A3DAsXF8JR5IQSFlu+cbId6sxnr8kTjDgUN1xpY62sHEZ1r4uYOahXa2 1adQ== X-Gm-Message-State: ALQs6tCqlRnzPy9L7mL2NAVJImxFm9zVTNWa20Lf0iLAjUqJ45gudOGr VL3ut+j1kIe2xT2cGkf1hw4IMw== X-Google-Smtp-Source: AIpwx4+ObrYvYSJHze8IGL62QiX8wPD7RlBXN6jFgzuqHmI0Twfh5lG/b/zEfTL323v9kluE04Qlhw== X-Received: by 10.101.93.138 with SMTP id f10mr11651829pgt.25.1523846451365; Sun, 15 Apr 2018 19:40:51 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id k70sm20920418pga.72.2018.04.15.19.40.48 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Apr 2018 19:40:50 -0700 (PDT) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, orsonzhai@gmail.com, zhang.lyra@gmail.com Subject: [PATCH 2/2] arm64: dts: Add the rtc enable clock for watchdog Date: Mon, 16 Apr 2018 10:40:04 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180415_194101_954562_97EB866E X-CRM114-Status: GOOD ( 11.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, arm@kernel.org, baolin.wang@linaro.org, linux-kernel@vger.kernel.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the rtc enable clock for watchdog controller to make it work well. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index bf7e70c..e9db910 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -214,8 +214,9 @@ reg = <0 0x40310000 0 0x1000>; interrupts = ; timeout-sec = <12>; - clock-names = "enable"; - clocks = <&aon_gate CLK_APCPU_WDG_EB>; + clock-names = "enable", "rtc_enable"; + clocks = <&aon_gate CLK_APCPU_WDG_EB>, + <&aon_gate CLK_AP_WDG_RTC_EB>; }; };