From patchwork Mon Jul 30 11:17:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10548919 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 CF92D1751 for ; Mon, 30 Jul 2018 11:17:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF0C0294E1 for ; Mon, 30 Jul 2018 11:17:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B35D029A4E; Mon, 30 Jul 2018 11:17: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=-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 E6C1B294E1 for ; Mon, 30 Jul 2018 11:17:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbeG3MwH (ORCPT ); Mon, 30 Jul 2018 08:52:07 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:39400 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726993AbeG3MwG (ORCPT ); Mon, 30 Jul 2018 08:52:06 -0400 Received: by mail-wm0-f65.google.com with SMTP id h20-v6so13266390wmb.4 for ; Mon, 30 Jul 2018 04:17:36 -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=XNSq27gW9Bo+TAGxOPWfPshR8b/SSUNOGkGCK7C0KW4=; b=UHgA6gfQbmZW7JfAeXp/V7AiqucJjVV4e9IuOkDwAw5GOOSUjtC9ISt2chpQaTKCvR fXIBtZAe5SdXqCqHAh2Sq2+6Rcg57YZJY60hIR7j8zUfp8BLDLv2cjIIWQ9zo4N6HElp Y8OlcJiZcMbmnSocBea2fu1Z7l678nHZeS63DBc3hmxCZ9vRVHevUqi5RjjHNCeFY54V F19W+4SsePKWp/4kB/xqE2+1OaByoOqMEkZgmypb6iWowdToHVatwIJDy4CV4pm4DxNA 9dK8uwFiGXlkoJ6cjFttL4kgn2bVKkKbzTOkGXm/sQOXW542LynNlMRc0canV10ywD1M DRKg== 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=XNSq27gW9Bo+TAGxOPWfPshR8b/SSUNOGkGCK7C0KW4=; b=q3LDdtQUuCDDAGyybiHoo+YZPnO486nV4R0Kef5F+4bRWTwEvuczWQvkgOrRhqyiBb 7NzZsfzIqQ9139bwMdNZHGYjgoCLWlZOrIbRBDDnfGpNjHEB6L9kZ8VlOtFw2MA4zeJw M0r01k/i+qwEeq4kUPWGUcfYN4hnG41EkJMBzakaeTPQ9sRGPzNBZKgypgXx4CMOJEY+ M70w36sp9uhomlRFeT3xTLksWI3Ay1rG63c4FB2z1q+Mtqrl6K4WZRqk6Ng/KZn3qoI9 /3jgOM3sL6Yw1De05jG6tXKR1yAT8DfslPHXDwo8K48wrvTiTvpZJnF0FwUFH1ypEy2E mQJA== X-Gm-Message-State: AOUpUlGWjOFHx4cgZN3P2YraSU0lWuTA2OEk59y4nJ2OHKh8+1+SK/Gm AAsG0oZYONSelL7b5Uaqi1I= X-Google-Smtp-Source: AAOMgpeTNCKgFCHEdeIMM9Ov5sj/LKeJE/wIEPiraP2NMr9Q9ubRvfRARL5zvOo+dRdpdmAWQG/ULg== X-Received: by 2002:a1c:5e48:: with SMTP id s69-v6mr14639524wmb.19.1532949455752; Mon, 30 Jul 2018 04:17:35 -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 e7-v6sm23719730wrm.14.2018.07.30.04.17.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 04:17:34 -0700 (PDT) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Geert Uytterhoeven , Kuninori Morimoto , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH] ARM: shmobile: gose: Add DA9210 node for CPU DVFS Date: Mon, 30 Jul 2018 13:17:26 +0200 Message-Id: <20180730111726.5526-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.16.2 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 DA9210 DVFS node to the I2C bus and link it to CPU0 for DVFS. 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/r8a7793-gose.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index 6b2f3a4fd13d..f51601af89a2 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -596,6 +596,10 @@ status = "okay"; }; +&cpu0 { + cpu0-supply = <&vdd_dvfs>; +}; + &rwdt { timeout-sec = <60>; status = "okay"; @@ -725,6 +729,18 @@ 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; + }; }; &i2c4 {