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: 10225929 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 1CA2A601D4 for ; Sat, 17 Feb 2018 02:08:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AA0C289A0 for ; Sat, 17 Feb 2018 02:08:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F31BD28A5F; Sat, 17 Feb 2018 02:08:03 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, 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 CA265289B2 for ; Sat, 17 Feb 2018 02:08:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750948AbeBQCIC (ORCPT ); Fri, 16 Feb 2018 21:08:02 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:33645 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbeBQCIB (ORCPT ); Fri, 16 Feb 2018 21:08:01 -0500 Received: by mail-wr0-f196.google.com with SMTP id s5so4613825wra.0; Fri, 16 Feb 2018 18:08:00 -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=fAj+MxnudnjpncGOPfCO5jniJBaXBvhs6zF+bgh/2bCkNfYF90bA/AcHi0BPVt1y/y Qz49XzdJcPc1QE7Ki6mgXfCbzsc7NszMRBxZdu6aU579bk70yhq1mJrxqGKIPhZzjQ5a pEr5SrDiMpHXgT3h+AQE0x1rWv8eayK6pe/RKaMwWEa+CGmg6rHclZf8JQ+wntZ2KNWz 2Sab6U3/GQcSVaNOZRiCGIvONM3/fqLsx8iSvJ1L5ClfSDjBCVmbgzqDNDV/hBXXS5/P yy8HLF3XBXqhSsUFbiH7h0yK5T26LW4dUznq41u5BPErSkV5DH21OQdVpOXa84o+8/1+ WABA== X-Gm-Message-State: APf1xPCFmm1XqT+mYHuwZ3Ltx3HRe0iulxCB3hqGBgl5XJqyVbMF4NJ1 Qee4Nib3t8L2AOn3gHX8NwwyUx8X 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 Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Kuninori Morimoto , Simon Horman , Wolfram Sang 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 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 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";