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: 10650621 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-2.web.codeaurora.org (Postfix) with ESMTP id 7A32117D4 for ; Sat, 20 Oct 2018 21:35:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6947F286D0 for ; Sat, 20 Oct 2018 21:35:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D598286D5; Sat, 20 Oct 2018 21:35:57 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 0F58D286D0 for ; Sat, 20 Oct 2018 21:35:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbeJUFrq (ORCPT ); Sun, 21 Oct 2018 01:47:46 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36853 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbeJUFrq (ORCPT ); Sun, 21 Oct 2018 01:47:46 -0400 Received: by mail-pg1-f196.google.com with SMTP id f18-v6so17288750pgv.3 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=lF2Cm1Df34yWQCXLSY0LNIpPRPTM0DEbF89KIo8N2yHSvChrA0VJNA2s2FlnRol9HJ JK3kZJPvPewwnLYkr02qgppeA95kTzipUVBTTsVWX6vDAIGw3uSg6E5cTfrWF76Gjg4R LACKLOh5PUfSbluETq3+WO2owXOkYnpFe1uVaVwn0F0RHORCr5m7dF4K3FWXeMzPm7z+ P/alxGpJmicI9H9HpzaKEfBQWX3VhQq99GhFLr5nCezxeAW/e8u2VfoNvhW/hCoRN4vN Ps6SPopFVlN+5+uwws8gWyBESyoKLGR2ple2uP4jJBBtE+Ke0u1/am+Pe2ybPe8BH0pj HHcg== X-Gm-Message-State: ABuFfojgDB/mMnfAgUwDztsTepX2soxCu0G2PEkgRW561m21A4f0qeSx kk02JKz75F4+8zqdE9ubYb58KR/w 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 Cc: Simon Horman , Geert Uytterhoeven , Magnus Damm , linux-arm-kernel@lists.infradead.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 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 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>;