From patchwork Sat Oct 20 21:35:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10650625 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 A7DE614E2 for ; Sat, 20 Oct 2018 21:36:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 965A828696 for ; Sat, 20 Oct 2018 21:36:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A913286CA; Sat, 20 Oct 2018 21:36:31 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 2B83E28696 for ; Sat, 20 Oct 2018 21:36:31 +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: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:In-Reply-To: References:List-Owner; bh=FbN1R2YRlq18jFFyEMyq8J6G0GBCtIGAIhJeobFHg44=; b=YZD ZjEqqCgH0Ek7OpNb52FmD4HY4XMFV1EtmTJ8OcMJUodR6tFu+u28RkC0wH63Taljs4CYIcuC509vg ukiIoU5MAd3qTnu0CPl5Yt3V+muVKY9BIz2smv57pJcbl0W41lrfUifVzJkQIpXcL2af077Woo58K EEytFbiqvOrDL8LFx9jh0dZMfnef5R6javiHackRSMaEoMiZu2DdDBhjABgRTYLVSuDE5Ocl+URxR Izyf7/k1oXWSqD5AZsVB0EqR513+sb/iS3i9zTJpkJmoisV7wpuOGZsDnUS/7/lapl68Os0m5uOxD elTOy9ZGWk9zqSqoFdigqlg9LUpSUHQ==; 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 1gDyuy-0002qd-90; Sat, 20 Oct 2018 21:36:20 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDyuk-0002bU-9w for linux-arm-kernel@lists.infradead.org; Sat, 20 Oct 2018 21:36:14 +0000 Received: by mail-pf1-x442.google.com with SMTP id f29-v6so18070053pff.5 for ; Sat, 20 Oct 2018 14:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Rg4SKxvAEztxPWe8SOp/3c46DO5S1EYHRSN0vJ+fJy0=; b=oeqhbfnqJ8Alnf4FqZOCI8P9eYC36KG0s81fhHwn4SsCSF9G1VrLSqBlTmlgkLf7uK YPdGuhABykar+G0Zd0IS0YmOZmmisFWIqMD04rmF/0CbHoPmqrgI7EFCiG+qNumsYbSj CLxTTzxYtTp7IAV2Reg6nXflxNqJ7PpkgLax4qRzRrvmYTt13dl27pqMSjFgSR6VU1mg LuBwc2kdnz9AoHxo9Tle2fgsAD+eJQZIBs9nQYeIVSPAP2ihTRuEGAgTHxhSKnpsAQQ+ LMkRGm0DjUg8+Xjb0A7U6vcO4hBCFhd1Q37vE7KtrGAfVymnwKG3CF5F56xko68kQoxU cvnA== 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; bh=Rg4SKxvAEztxPWe8SOp/3c46DO5S1EYHRSN0vJ+fJy0=; b=S66ctUIF//zoPjpCDEeiRuEyPM0VitzmMdde/SqVeYLuflorkDVH+IjotH4TFP51Fs SrFt2m6HQ1YL0bAwuIX6PEesAyuUMMsdWk5YNsrHNdQky+0URxFffo3+J9Oisdict2o0 KsXAF5TgM3DiMAQdKTE972cU4M6wsCFk38YgN7Wui6rIbNVtwkbMhRLJnbq0RAGSFo0o FCRuRKsKBXlJW+nRs9rJz+tne0h9jb/CxsYNhQ50wKnoPkEdOeJpHn5IcvmvC0rNcHZV 4rV2kXKssPjYmVqKcw+akN5yl2zYoGlZCnN7c414Qnd6SNJWdJzCLWZUW+J3103UMGu1 bEig== X-Gm-Message-State: ABuFfohNSalbu9QzPr8vEsG/jBnUzB3Xx1WgZuwou3DvWpA5qWp7hlFO 4w1rI1jNEQ9Xh7se+E53k7U= X-Google-Smtp-Source: ACcGV60iY+YCiHLuh4Pm3wMQMoSIdZI7OFJCkqk+ZMFwYVJ0JZD8/G0GF6FLdERcIGS2Yvbq832fzQ== X-Received: by 2002:a62:5f05:: with SMTP id t5-v6mr39819250pfb.223.1540071355393; Sat, 20 Oct 2018 14:35:55 -0700 (PDT) Received: from localhost.localdomain (KD118155013174.ppp-bb.dion.ne.jp. [118.155.13.174]) by smtp.gmail.com with ESMTPSA id y144-v6sm40249757pfb.81.2018.10.20.14.35.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Oct 2018 14:35:54 -0700 (PDT) From: Yoshihiro Kaneko To: linux-renesas-soc@vger.kernel.org Subject: [PATCH/RFT] arm64: dts: renesas: r8a77990: Add I2C-DVFS device node Date: Sun, 21 Oct 2018 06:35:49 +0900 Message-Id: <1540071349-27483-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181020_143606_359501_60B7C9CB X-CRM114-Status: GOOD ( 14.96 ) 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: Magnus Damm , Simon Horman , Geert Uytterhoeven , 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 From: Takeshi Kihara This patch adds I2C-DVFS device node for the R8A77990 SoC. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko --- This patch is based on the devel branch of Simon Horman's renesas tree. arch/arm64/boot/dts/renesas/r8a77990.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index 9df0751..5d9905f 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -22,7 +22,8 @@ i2c4 = &i2c4; i2c5 = &i2c5; i2c6 = &i2c6; - i2c7 = &i2c7; + i2c7 = &i2c_dvfs; + i2c8 = &i2c7; }; cpus { @@ -337,6 +338,22 @@ reg = <0 0xe6060000 0 0x508>; }; + i2c_dvfs: i2c@e60b0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a77990", + "renesas,rcar-gen3-iic", + "renesas,rmobile-iic"; + reg = <0 0xe60b0000 0 0x34>; + 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>;