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: 10548921 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 3B81F1751 for ; Mon, 30 Jul 2018 11:17:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28BF129628 for ; Mon, 30 Jul 2018 11:17:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1CA7A29632; Mon, 30 Jul 2018 11:17:56 +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 BFAB429628 for ; Mon, 30 Jul 2018 11:17:55 +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=2qy71Nfjq5bsOaXevKEVaZcgYN8JLX324XMyzpDJ+AU=; b=LNy qt47OpV78nfrtMWQdgXNdwoJNKjJ08jTEJn9ZVeD0Pfb38dv14A9AE9J37CWguMWh+N1OfVxYt4s6 8lgL/14teUF2jML4kYocUESt6s74iKq2E9Lcce/MHaJ7+RxdTOix/JgUB/Y12eeENBdY8PNlglmPz 2dfWsp97wu9s1k01jsUcGiK6wSm+aQitfvAzoWXFZ/y+pbooDhTpDAGrNw7javG2LTBljJrJyVKJc 6i9/fFdHxe4pX3e5yexcJJ06CxRwGdyQrfpOpbNc2paIu1W/vciyJxoVzVwItJJXCMtEISRX19RuC ujP7vOIIRqYBHvpl6NjGCdi9WcwUtEg==; 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 1fk6BS-0004Wy-L3; Mon, 30 Jul 2018 11:17:50 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fk6BQ-0004Wd-8U for linux-arm-kernel@lists.infradead.org; Mon, 30 Jul 2018 11:17:49 +0000 Received: by mail-wm0-x241.google.com with SMTP id s14-v6so13365605wmc.1 for ; Mon, 30 Jul 2018 04:17:37 -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=KDukJrQqRBeEIuKSZhczhnC2nSws58YoGBVF3wTKrO+pEf6Ab28fXkuvq/OloMKJlA RvU2mqJa3g7GurZBVrD/k6juYpE9RDqtMeg1uI4WKr6NDEVpS+eegPR875rOkmItQG2f mRouUA7cJrWCltmQEEAjFyngE/skN0aew2f24o/M8PlzKt+e3tdtIUUFxibX55QOn5Vp sgUfX/z7tqKnf9ZGXKIqpjhmTl2SWwbAEOubAIDmYVdlnipTfmdLRWlnC3uSp2XpHx7j OrjOQZ2r2aJmMyVS3cfSGWJ8D8sLjr+doHH844IysqAk9drFl1vvH1U1n9Qnscj7YsYo noOA== X-Gm-Message-State: AOUpUlG0D+yvQahj6dhBcQFh9Jm7TIO/iY7OlvqktYBPZSPoour9mDYe eO95sIFHGq4MxTAO8NT65l8VKh0t 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180730_041748_327971_725317B2 X-CRM114-Status: GOOD ( 12.08 ) 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 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 {