From patchwork Sat Dec 1 14:43:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10707719 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 2961B13AF for ; Sat, 1 Dec 2018 14:44:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18F132B2A6 for ; Sat, 1 Dec 2018 14:44:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BD142B430; Sat, 1 Dec 2018 14:44:24 +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 A3BFD2B2A6 for ; Sat, 1 Dec 2018 14:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726713AbeLBB4X (ORCPT ); Sat, 1 Dec 2018 20:56:23 -0500 Received: from mail-pg1-f171.google.com ([209.85.215.171]:42488 "EHLO mail-pg1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbeLBB4X (ORCPT ); Sat, 1 Dec 2018 20:56:23 -0500 Received: by mail-pg1-f171.google.com with SMTP id d72so3768994pga.9 for ; Sat, 01 Dec 2018 06:43:44 -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=oO8ompKbDpgC2V8RT/2nEV/t/n3TE41cjUx8pQHOg5o=; b=JJ58giBrCP0/1KsjA3neG+4Bud6977SYMrjvBa6jTHjVVLt3IOq2iPVGNO6heyCmBs MfAjAEotAobLTMKUbFSEfbnrXnNUW3h9SXhKkqz4KtWtmG0fp5hqip4/Q7jPYu1/BNyW WJJxFFI8UlBajBK57u5znqVseXh2sKfRAP9k6NrSYMz+8IuGjKXoE1EjnTq+50X0vFn3 6oRUH4bH5o42i7v3fGJiT0gIXIhg4LYARYsIx9DJqT7F3S8SUtXPAdswuN8i4w0soHiG ATuRDaCWbVJeWjRjk+LhP1zCwzHVGxEwORaIzaqDgYQbeaivrRPSzr8Jm5mC6BnX1O50 AQtw== 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=oO8ompKbDpgC2V8RT/2nEV/t/n3TE41cjUx8pQHOg5o=; b=Oud5q1ksQ3dhmQhj3h18LdF42PS8DUvDMEzOz27+0GLD2NOMPtcD5goyvqnk27KiFX e3cihPoUOXkeaUVN/0UkwUIjsPL4Z4DFCUuuAU0TQPq0wf4B4TCQmgqWlEba4f7pc69i dr7A44CXZvPpifDbe5lcIekFusjH0t7iGzCQWtDpLYm5WZFaq6YjdaNrH98qx9HP7REu YsHS4FDSZIgmiPKssbdgxnpi/6xOfvCEqt8XxWKdrnjmbunQ09F8nOmEL4l59sMf/X81 sGOF7vZz2dtkN9eU+ganqBAwGrHMlaVOWwjlW/70WweNXXjCp1maM4+gm6G/dCY1Ik8G 3y5g== X-Gm-Message-State: AA+aEWaUcqrTprML90p6/pwVixnkXdPY4glH97SkEqilGeEhIzYBi/KQ IH9Es2Erq3sSzB3lDT2IwX0AP+1+ X-Google-Smtp-Source: AFSGD/XjzjF1gfTw4epc/wp6Rv2gkhUo/mXaaN4G/croYOiIMmpMcI7Y+imQGTaAzq/BF+eoatJFeg== X-Received: by 2002:a62:d2c1:: with SMTP id c184mr9602360pfg.248.1543675423941; Sat, 01 Dec 2018 06:43:43 -0800 (PST) Received: from localhost.localdomain (p7732116-ipngn36501marunouchi.tokyo.ocn.ne.jp. [114.158.79.116]) by smtp.gmail.com with ESMTPSA id 15sm3491461pfr.55.2018.12.01.06.43.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 01 Dec 2018 06:43:43 -0800 (PST) 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-ebisu: Add BD9571 PMIC Date: Sat, 1 Dec 2018 23:43:28 +0900 Message-Id: <1543675408-11382-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 the regulator definition required for operation of S2RAM. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Reviewed-by: Geert Uytterhoeven --- This patch is based on the devel branch of Simon Horman's renesas tree. arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts index 62bdddc..3eee419 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +++ b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts @@ -425,6 +425,26 @@ }; }; +&i2c_dvfs { + status = "okay"; + + clock-frequency = <400000>; + + pmic: pmic@30 { + pinctrl-0 = <&irq0_pins>; + pinctrl-names = "default"; + + compatible = "rohm,bd9571mwv"; + reg = <0x30>; + interrupt-parent = <&intc_ex>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + }; +}; + &lvds0 { status = "okay"; @@ -480,6 +500,11 @@ function = "du"; }; + irq0_pins: irq0 { + groups = "intc_ex_irq0"; + function = "intc_ex"; + }; + pwm3_pins: pwm3 { groups = "pwm3_b"; function = "pwm3";