From patchwork Mon Nov 26 12:55:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10698379 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 823BB17D5 for ; Mon, 26 Nov 2018 13:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7057B28B10 for ; Mon, 26 Nov 2018 13:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64A2C29347; Mon, 26 Nov 2018 13:24:46 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 0483928B10 for ; Mon, 26 Nov 2018 13:24:46 +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=mcMgTy54SWjKO+/7EBbgO4jtB5NYmsBJxZriwqglZBc=; b=UKpOwoZn7d1t/ga7IQMkLfzPHC WqLz3VaMfvedEf4BitqqZUwBdZQAoT991yYgpFuzFN/G3xVfwGJXrnYSy+jRkXVjX0FDh6Rvjol/+ AWgK5o7XTp3G68tT8KBzlnlm7GGLGAj1Qq+nBFuoxeW4BSp/9SJpKGJDdt42m3IYI6JVz3ZZ1iuAo N1vjBtXeJ950gnKt10pSi0zG/1gIbY2KCGW2aiLx5mVWi95yE9dptj08Kueos9idMBivioAPPlbYC tVHLhzVYCRNT6WbpWoMGXR1hvKNVDp5eXK7dGtpq9z1BDmGP1qdBMPU5a7USccy+brhjJSO68GlmW UVM7ttEw==; 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 1gRGsV-0006km-0A; Mon, 26 Nov 2018 13:24:43 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGgI-0005GJ-9n for linux-arm-kernel@bombadil.infradead.org; Mon, 26 Nov 2018 13:12:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=LU/+/T1WuD8fyjp9PZRElt7eHSaCYBsImxMYzajVxhY=; b=dRxEWkn5JzNi+ARqhC8G1SUgG APZu6kUGbgVNNqDLms02M/09PtkKoQ8B5I53zvJjlrLGJ18XVyDrm43Q+qABQyn7N84aeatmy8arg 1Wd46dIeehrFZ8fZ+z1Awepo2hGisDqPfP5iSHFMHd4QwSQxbKE7cHyhGt5pqNfogI8mpWWqd8RSr kD6IYwlWTDCjKfZC6FkDxJUTIHY3THw2gmTcHrkMeI31VpTkjyaYPX4/inrBTQ7KPYEKEPr8BurDI e6+dyBxOx33cvK6CCwPv+Qf0PmGdksy5cOA4umN5GYw888OWSHhc6BY3mpsp05iFVSMY3NLjRCldW tCrLcn7QQ==; Received: from kirsty.vergenet.net ([202.4.237.240]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRGah-0005w7-Lz for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 13:06:22 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 41D9D25BF43; Mon, 26 Nov 2018 23:55:12 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1543236912; bh=HPYCawg2F/4tKUCM041mcNj4RcYvtWPZPU3DmZ+Qrxg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BS0nmkuCM+sOe8naUptV8XxITH8B+JSNOQ7Kc6hP0Y7uvNIDEvwT49qCXsCwgD6sG tYCgrR8OrV468FKy0zUZMQ7XQ5GxmvZAHUoQLTtAyTJLLttQ01l5RZPKaJ03qqsAYk /J+fkHuhqu+Arzs1tSkqyNd5CXyKU2CldP4rfhjI= Received: by reginn.horms.nl (Postfix, from userid 7100) id 0BD8E940BE9; Mon, 26 Nov 2018 13:55:10 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 35/40] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node Date: Mon, 26 Nov 2018 13:55:01 +0100 Message-Id: <44ea652a92d209045da9183981b55fd0c2c01971.1543229516.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_130619_983885_2263EA0A X-CRM114-Status: GOOD ( 12.00 ) 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: Yoshihiro Kaneko , Takeshi Kihara , Magnus Damm , linux-arm-kernel@lists.infradead.org, Simon Horman 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 From: Takeshi Kihara This patch adds I2C-DVFS device node for the R8A77990 SoC. v2 * Drop aliases update as in upstream it is not required to configure the BD9571 PMIC for DDR backup, nor is the use of i2c are aliases desired. * Do not describe the device as compatible with "renesas,rcar-gen3-iic" or "renesas,rmobile-iic" fallback compat strings. The absence of automatic transmission registers leads us to declare the r8a77990 IIC controller as incompatible. v2.1 * Reduced register range to reflect documentation Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index b0398e05e8ed..3b334be843f4 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -357,6 +357,20 @@ reg = <0 0xe6060000 0 0x508>; }; + i2c_dvfs: i2c@e60b0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a77990"; + reg = <0 0xe60b0000 0 0x15>; + interrupts = ; + clocks = <&cpg CPG_MOD 926>; + power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; + resets = <&cpg 926>; + dmas = <&dmac0 0x11>, <&dmac0 0x10>; + dma-names = "tx", "rx"; + status = "disabled"; + }; + cpg: clock-controller@e6150000 { compatible = "renesas,r8a77990-cpg-mssr"; reg = <0 0xe6150000 0 0x1000>;