From patchwork Wed May 23 11:43:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10421003 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 05AC560224 for ; Wed, 23 May 2018 11:44:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E881D28D5F for ; Wed, 23 May 2018 11:44:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB90428EB5; Wed, 23 May 2018 11:44:12 +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 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 5281D28D5F for ; Wed, 23 May 2018 11:44:11 +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=BWDIsDYpJ4uZldsbzWRVCnMddNGy+RuPEsNK7ZGKF7g=; b=J+G CWtBTOqh4YdTz874rpU3iX638XXZtpe4t+vKL1LxqFgQ+3+eI1NGkkHEluY2wEWBmBwEpres7CKAq ZWfp8rsAdXJjEwcGZaphyytC1OsOKxW/sG33rAKl3HoBqIlgv8fMJ7OaHJdTqxpRKVg4Gsiwbq7pS TODE2oQ/QUI58yFC10cdr61CcH1pXWxeL5eDtW9PLDAPI+dFvrPIumLvHi3yeJ8Q4fxWFKaoRAx/B XrUOnXZUuPHKpDDy7+K5h8iOxUf1TwZeigrL5tYeyXPQTxKJYBiIiuVzD5U2coPc6Wo0euGCeFbIK +mfxHh+7iptuYTT/3IJSqYvPy6F9I8g==; 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 1fLSBa-0001Ti-Qd; Wed, 23 May 2018 11:44:06 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fLSBX-0001T1-6L for linux-arm-kernel@lists.infradead.org; Wed, 23 May 2018 11:44:04 +0000 Received: by mail-wm0-x242.google.com with SMTP id l1-v6so8365671wmb.2 for ; Wed, 23 May 2018 04:43:52 -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=YItOzRKcMaCQZu6viizvM4XHY6Iisagsz61EsfR6eQ8=; b=n9MaQbxv6x1z92cmDWoLJvJKHY7T5u65BuySqSf0fk919H2bbp05dLsqTYdLuc1FNP zxguFi6NeIk05bpGoRxQWK+prL2r1p9odeExHNq18C8991S5QkaqqdP3tUqXD3uujqnG ZwlIH4rC1KDxvAJkCWxTF1kfQYS/vzUApGQnTh3Xx16Rs98K5XsW/uh29DSzH2qSUb58 lMhVCl2C0Zyp94MKpkR7c6jDpjtvb4GpOK7HlKQrfC1mnSGiYOLjlH8qlEtZVNm83Jg+ Rgcldu7SPR67Nw5/toAEqemM8oJabS3HP8dlgAAI0ZFySefvGzH11Mlz4H72ZA1Rt2Fz 5DRg== 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=YItOzRKcMaCQZu6viizvM4XHY6Iisagsz61EsfR6eQ8=; b=cNAflVq4lARUmbUaeCZJZmzrO0AUbKbxcr9ZqREJNlYN7CLPWBnyKG6AcNKUgZggmc ZPyzi0NLYLbTj8iwRTE1EKIkPWnSl/bDyLl0pbJV95lqtisUdGE4SBuLP5VVk++6L1Ds 4m6JOiPMiMCsMo2wIQOh2NtBJSexCuI+nHoLYLI0tRo0EnjVLeAb2KHmE7mcamreJV9g nPm2uTSAvBRUWm0YCZkm72yL0+qBgTRUnpkdXn9/ZyITf/umGNuCzmsznEZSqXs3i6nF vHwZ09NupHWNW36jYZoL3RGxPklF28Ke/6LgSYqd5/cQN33MG8UCIcXwoW86Q2HwIQrF CsJA== X-Gm-Message-State: ALKqPwczchVIijqTt/r28Yc06OCkdKwLedkA0ybiSQIHOM22axMDibAq S48cTsYgq6hHNnOZyOHbpWZ3A0tg X-Google-Smtp-Source: AB8JxZrGGFeJPJJNq+KdbeP4Q0CHknhm9ppHLJFyCJfdtXeqFIfT9mGQSsIfALDR0wYOgwv0FWB/0A== X-Received: by 2002:a1c:f509:: with SMTP id t9-v6mr4662634wmh.13.1527075831106; Wed, 23 May 2018 04:43:51 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id z18-v6sm22867284wrc.36.2018.05.23.04.43.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 May 2018 04:43:50 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: porter: Add missing PMIC nodes Date: Wed, 23 May 2018 13:43:40 +0200 Message-Id: <20180523114340.10216-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180523_044403_268613_9EDD964E X-CRM114-Status: GOOD ( 13.28 ) 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: Geert Uytterhoeven , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org, Wolfram Sang , Simon Horman , 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 DA9063L and one DA9210 on Porter, the only difference from the other boards is that DA9063L 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 Cc: linux-renesas-soc@vger.kernel.org Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7791-porter.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts index a01101b49d99..5f77d73d7462 100644 --- a/arch/arm/boot/dts/r8a7791-porter.dts +++ b/arch/arm/boot/dts/r8a7791-porter.dts @@ -375,10 +375,43 @@ clock-frequency = <400000>; }; +&i2c6 { + status = "okay"; + clock-frequency = <100000>; + + pmic@5a { + compatible = "dlg,da9063l"; + reg = <0x5a>; + interrupt-parent = <&irqc0>; + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + + 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";