Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6D8BC433F5 for ; Tue, 14 Dec 2021 09:56:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231285AbhLNJ4N (ORCPT ); Tue, 14 Dec 2021 04:56:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbhLNJ4M (ORCPT ); Tue, 14 Dec 2021 04:56:12 -0500 Received: from hall.aurel32.net (hall.aurel32.net [IPv6:2001:bc8:30d7:100::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FCD3C061574; Tue, 14 Dec 2021 01:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Content-Transfer-Encoding:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=hRdm0hDf8+odlarsU7FLIvo3kZ88Mi3L0AUJryy6A1Q=; b=czhIJkiDeNHhJX1y+bWq/xEhUc rcHUfVsS1cP8PkiIS9LlL5OJoz2EiZpoDdXGBNt0yhmRehtYFJ0aRa1U3bBthjnzFDHnSZUWOfEvE 7UrWGfp7KQZRLbI0+CPqGtnGViTyrt23DYITz31sUXPIuLcmJFZ5kcFdrst32eISLVRzLf1dw/o5W cvfu1yTKBNk2xDRPhFzGolgMJszaeK40uiaKOOYiOpjZuenMbKffE70InznhkHBbhzuJeSfGar+yB dMBsIwaKIUPx8EFSA0H+AnGfo7nraGNNWKThEWp2R4tXXkKtH8iQN87/NLids84WueF/gpwZC7x8a xFI0As5A==; Received: from [2a01:e34:ec5d:a741:8a4c:7c4e:dc4c:1787] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mx4XV-0005fV-SG; Tue, 14 Dec 2021 10:56:06 +0100 Received: from aurel32 by ohm.rr44.fr with local (Exim 4.95) (envelope-from ) id 1mx4XV-000uia-Ct; Tue, 14 Dec 2021 10:56:05 +0100 Date: Tue, 14 Dec 2021 10:56:05 +0100 From: Aurelien Jarno To: Palmer Dabbelt , Vincent Pelletier Cc: linux-kernel@vger.kernel.org, robh+dt@kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:RISC-V ARCHITECTURE" Subject: Re: [PATCH] riscv: dts: enable more DA9063 functions for the SiFive HiFive Unmatched Message-ID: Mail-Followup-To: Palmer Dabbelt , Vincent Pelletier , linux-kernel@vger.kernel.org, robh+dt@kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:RISC-V ARCHITECTURE" References: <20211108214629.1730870-1-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.1.3 (2021-09-10) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-12-13 18:13, Palmer Dabbelt wrote: > On Mon, 08 Nov 2021 13:46:29 PST (-0800), aurelien@aurel32.net wrote: > > The DA9063 PMIC found on the SiFive HiFive Unmatched also provides an > > RTC, a watchdog and the power button input. > > > > Signed-off-by: Aurelien Jarno > > --- > > arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > > index 2e4ea84f27e7..c357b48582f7 100644 > > --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > > +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > > @@ -70,6 +70,10 @@ pmic@58 { > > interrupts = <1 IRQ_TYPE_LEVEL_LOW>; > > interrupt-controller; > > > > + onkey { > > + compatible = "dlg,da9063-onkey"; > > + }; > > + > > regulators { > > vdd_bcore1: bcore1 { > > regulator-min-microvolt = <900000>; > > @@ -205,6 +209,14 @@ vdd_ldo11: ldo11 { > > regulator-always-on; > > }; > > }; > > + > > + rtc { > > + compatible = "dlg,da9063-rtc"; > > + }; > > + > > + wdt { > > + compatible = "dlg,da9063-watchdog"; > > + }; > > }; > > }; Thanks. However, wouldn't be better to merged this patch and the whole series instead: http://lists.infradead.org/pipermail/linux-riscv/2021-November/010234.html Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net