From patchwork Wed Dec 20 12:14:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10125615 X-Patchwork-Delegate: horms@verge.net.au 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 7FBD360245 for ; Wed, 20 Dec 2017 12:14:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7636E29730 for ; Wed, 20 Dec 2017 12:14:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67E8129733; Wed, 20 Dec 2017 12:14:53 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9C2D29730 for ; Wed, 20 Dec 2017 12:14:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755058AbdLTMOw (ORCPT ); Wed, 20 Dec 2017 07:14:52 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:56322 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755023AbdLTMOw (ORCPT ); Wed, 20 Dec 2017 07:14:52 -0500 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 667F425BE99; Wed, 20 Dec 2017 23:14:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1513772090; bh=atCfQKmZh30SPOUH/0XaGzXJ6XrxRR6hN+ykqtAQjVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DePjn0pXq68PeHWrP6oMzjg8Ju7sMQWc4dt5JX3oyGKiPQBGfg7ALQXG1xaPu+ZoT vBk6slOPgLuWlI8TL+2xIiXSDC5bEhUTrcHX58uFIXm66TPW1gSGkAt+ENJ7pZ4aeX IEg5SxuVPKTZI5dc/4k2uREbGNfirjotGUnVMd9U= Received: by penelope.horms.nl (Postfix, from userid 7100) id B89DEE20748; Wed, 20 Dec 2017 13:14:46 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Geert Uytterhoeven , Simon Horman Subject: [PATCH 2/3] ARM: dts: r8a7791: Reduce size of thermal registers Date: Wed, 20 Dec 2017 13:14:44 +0100 Message-Id: <20171220121445.31896-3-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171220121445.31896-1-horms+renesas@verge.net.au> References: <20171220121445.31896-1-horms+renesas@verge.net.au> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reduce size of thermal registers in DT for r8a7791 (R-Car M3-W) SoC. According to the "User's Manual: Hardware" v2.00 the registers at base 0xe61f0000 extend to an offset of 0x10, rather than 0x14 which is the case on the r8a73a4 (R-Mobile APE6). This should not have any runtime affect as mapping granularity is PAGE_SIZE. Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7791.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi index 008a260f86a5..8266a9b7cafd 100644 --- a/arch/arm/boot/dts/r8a7791.dtsi +++ b/arch/arm/boot/dts/r8a7791.dtsi @@ -240,7 +240,7 @@ compatible = "renesas,thermal-r8a7791", "renesas,rcar-gen2-thermal", "renesas,rcar-thermal"; - reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; + reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>; interrupts = ; clocks = <&cpg CPG_MOD 522>; power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;