From patchwork Sat Feb 17 02:07:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10225937 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 25540601D4 for ; Sat, 17 Feb 2018 02:08:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12A5E296EC for ; Sat, 17 Feb 2018 02:08:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0785B296EF; Sat, 17 Feb 2018 02:08: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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 70301296EC for ; Sat, 17 Feb 2018 02:08:37 +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=yN/ApJRJe5TN5nmmpv+cUprd96Shc0t5B1EA9ErVA2c=; b=jwU qKlP4BzhM2LyaYa9QGzUiqjEsMW3Xe2lJtwfMRtbcQvjWwVfzrC898FgAIv/jyy6z72bf1DG18wLF +H5BlNMIXQonfTlRNmNtb1Ggj44G2p6X5viC6+Z/5BZmIUd0rhvbSNA6X0MO2TEzH46oE+t2b1h8h +qmcoiT0u7OCJp5+MscWdNxkmDj73nLq5MzmmN7ueh7KdLSRrFvgP85MLK/iZYpjQ47/5f6ooXpvZ Ck0Tuo2mRbtsjxdjlO6uH6WOMTAEmBOwckrwjB3tyyqjYJn9h13ufLcwKYcX/geymAh4Qd+25moss 2nJAZFroqTWE5WcgcB0uPdqo7j1EqKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emrvO-0003uA-I5; Sat, 17 Feb 2018 02:08:26 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emrvG-0003qA-Dt for linux-arm-kernel@bombadil.infradead.org; Sat, 17 Feb 2018 02:08:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Czo4v1DK3Odi3RjwQfUsqR/7SrJe005Bs0eHLTRXlYc=; b=B6QSi80GoJ3KF/WS2AiDVSz4l e+Onfl3ixX+lZjvFEJz1rDhKrrRw9XlIpq3piuw1n89fu/8w9YiSNPHWhfZrMQyD2FdSChx7JgJuL wysOBB4KWddMSMJH8OIn+/rcA3xzf+rozQvY+kMK4/rQUGiG2449jkmPQ20ZFTFs7AQSsrlhL/JfS TxCu1GhfxRXvTZoXBVZQcZgC3XYA6kcMZ3VIVqFXN8hPyADs8u0BJhTfSBVXFpwIYnInGzDWcAdp+ riFwrIyyhnRI8mkS0p++0o0QdIdqa77fxrk33vAD5jqz81gtWIumxnddO3hA7HS0rRlnshp2ziAI3 lW2WaXkVw==; Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emrvC-0006Ux-GS for linux-arm-kernel@lists.infradead.org; Sat, 17 Feb 2018 02:08:15 +0000 Received: by mail-wr0-x244.google.com with SMTP id k32so4598955wrk.4 for ; Fri, 16 Feb 2018 18:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Czo4v1DK3Odi3RjwQfUsqR/7SrJe005Bs0eHLTRXlYc=; b=Fd2HV3KMUb3cfqf0sjg8cT6Acbd0QYYatedzZR7oE51BXlTrXROxQlOXnkz+zzYthU SqZEhNK+dsr2h7zKx0rEnqIyLGMGlLPhR9CpN72e0aV24KGVw2Lgk0U7YOxS4uAhCWdE gYY9cP65yq3mFI0NJuwBOYQTJPMoSeBcu0r2PLNd3ZqcjQcUfwzJseKnyY2/4wVkAC29 TU76dTCfIe5XcZrcuYuy2yYgUtZIiaWRhikAvndle7yoFxqXQ4zn/YQD4JV9F867y8JA f1Vs8mtmOCZirfElJh9Ac7cUKj7/Sa1yguhfsv/zkBrA5qt52T+zCiB/AAm1tWmcxwsQ CpCg== 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=Czo4v1DK3Odi3RjwQfUsqR/7SrJe005Bs0eHLTRXlYc=; b=mq5Y1bxyKK9ItpBzGzWqr58irz1KHKPglDOKKgSFEJS1+U6c9FTLU/X58GKq2O2Int 6Z8hyR+pXDsH+XwJRckEaPkDZ+j5LV5+R1V4rj+4JrOi7Ma/0tnP23IU/XHPcicS+DDF f9KOhEBI6NWls8K8We5K0QacoP+ntHDE06IHOIVbDk/59dcvMcznRLm7sYklKzHndX4x L60UrVecO10nOBBdhveCwVT1tyq2oI2BQVFh8g2OsKBi7On8oF3NViEGBHMTQ2uX4tvD Vcj/v6poHpHEs5elsOHs8aOFzYk+4ieForTSeIiUpyu7kF0Rwlr41LJZrAuXtsECMRFW GVCQ== X-Gm-Message-State: APf1xPAEOwXhJcYAEcehHifEFwPzCZgJNQOCHiRtnfh8pbgajjBy6EVc +aIMzxX6PqqieG3jWUoMMKs= X-Google-Smtp-Source: AH8x226EOqLxosno/pI1DUpSRCA33LlcCdRV/1hGIc4wkptKh4EyyIvkGoy5B4W0iyziXeDQqy2qJA== X-Received: by 10.223.171.167 with SMTP id s36mr6821953wrc.52.1518833279952; Fri, 16 Feb 2018 18:07:59 -0800 (PST) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id f8sm9570540wrf.77.2018.02.16.18.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Feb 2018 18:07:59 -0800 (PST) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-renesas-soc@vger.kernel.org Subject: [PATCH] ARM: dts: porter: Add missing PMIC nodes Date: Sat, 17 Feb 2018 03:07:56 +0100 Message-Id: <20180217020756.21474-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.15.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180216_210814_596070_2F231DB1 X-CRM114-Status: GOOD ( 12.29 ) 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, Geert Uytterhoeven , Kuninori Morimoto , Wolfram Sang , Simon Horman , linux-arm-kernel@lists.infradead.org, Marek Vasut 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 PMIC nodes to Porter and connect CPU DVFS supply. There is one DA9063 and one DA9210 on Porter, the only difference from the other boards is that DA9063 is at I2C address 0x5a rather than 0x58 . Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Kuninori Morimoto Cc: Simon Horman Cc: Wolfram Sang --- arch/arm/boot/dts/r8a7791-porter.dts | 37 ++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts index a098d66292fb..116f30f54e04 100644 --- a/arch/arm/boot/dts/r8a7791-porter.dts +++ b/arch/arm/boot/dts/r8a7791-porter.dts @@ -354,10 +354,47 @@ clock-frequency = <400000>; }; +&i2c6 { + status = "okay"; + clock-frequency = <100000>; + + pmic@5a { + compatible = "dlg,da9063"; + reg = <0x5a>; + interrupt-parent = <&irqc0>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + rtc { + compatible = "dlg,da9063-rtc"; + }; + + wdt { + compatible = "dlg,da9063-watchdog"; + }; + }; + + vdd_dvfs: regulator@68 { + compatible = "dlg,da9210"; + reg = <0x68>; + interrupt-parent = <&irqc0>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-boot-on; + regulator-always-on; + }; +}; + &sata0 { status = "okay"; }; +&cpu0 { + cpu0-supply = <&vdd_dvfs>; +}; + /* composite video input */ &vin0 { status = "okay";