Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6488733imm; Wed, 27 Jun 2018 08:26:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcJZeRbDBJr/MDJTyJJXzsaFattrPDsRoMFP55vMACdjuFsMs9a/o09HrFqd3V9yveKYsj2 X-Received: by 2002:a62:9419:: with SMTP id m25-v6mr6321967pfe.120.1530113184382; Wed, 27 Jun 2018 08:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530113184; cv=none; d=google.com; s=arc-20160816; b=xkwZcJQ/uVBD5zM/QSJ2W6zZU1OlpE5+4briqug5VMyYc80OYvJH5NByIyzMJa+aWZ AGpaupWjoGD5WJAGUpMMdVb2ihsY8ZCQARmSKHS91bG5epWemghhJAZEsuaWfrAGJyYh K7RLThW6DR5mQ2oBTmo5tm9jrVxouyVWIz+ayDNGun2lS/zitppTM1vRg42MSb58XMIH DdDRz8lhtjfWf2/OhfAYRR7cw8I1RZgk99dLcH3yUCQDrDR9/VxAzLQnkdhdhZmT51m+ b2fMtSfIZ4znGakEnZzAp9SUIaelYkE65faYYhL9DnEwslnyHZ5jgZVuhegWRg8oVo+w /WNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=QJAY2o9QJsplCLvCk77PYW295OXcD2G14CGU2RLef4U=; b=M+wA+AY8XVr3b4vvbvJqeE3zQVSbIUW+OERd94qRbo6i68sR0rcwFFu1I3ufoce1VW HliownQrT7WLrNZerLXKGvVxkY2YT9uFkoyWh44bbKz62kfHVIluGYIdBKPppu+KR6D9 STfSsVhItfgfa4xMLNr/S2m+0lt3wPr21ABJLgH2/KYwpdrojpdJvgjvFNwixC2eAsUu 4TgjJy1YHXkBhhGdI2QwIm7gu8EKHtfkT7DZ/HusVd7Rw0UTksLxHze77uDWiWranX7n MflBVKtqlw1nIl7VXo+6fkivIsd9o94nwo/IErRvvv+g2+rHbR6kW5QNTv5IR2Cyu+Uc llMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5-v6si3394637pgn.419.2018.06.27.08.26.10; Wed, 27 Jun 2018 08:26:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933204AbeF0PQl (ORCPT + 99 others); Wed, 27 Jun 2018 11:16:41 -0400 Received: from mail.bootlin.com ([62.4.15.54]:43857 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753013AbeF0PQk (ORCPT ); Wed, 27 Jun 2018 11:16:40 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id AD95720702; Wed, 27 Jun 2018 17:16:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from windsurf.home (AAubervilliers-681-1-87-188.w90-88.abo.wanadoo.fr [90.88.29.188]) by mail.bootlin.com (Postfix) with ESMTPSA id 4C74C203EC; Wed, 27 Jun 2018 17:16:27 +0200 (CEST) Date: Wed, 27 Jun 2018 17:16:27 +0200 From: Thomas Petazzoni To: Robert Jarzmik Cc: Daniel Mack , Haojian Zhuang , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v3 2/2] ARM: dts: pxa: fix the rtc controller Message-ID: <20180627171627.592849b5@windsurf.home> In-Reply-To: <20180627150150.23951-2-robert.jarzmik@free.fr> References: <20180627150150.23951-1-robert.jarzmik@free.fr> <20180627150150.23951-2-robert.jarzmik@free.fr> Organization: Bootlin (formerly Free Electrons) X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, 27 Jun 2018 17:01:50 +0200, Robert Jarzmik wrote: > The RTC controller is fed by an external fixed 32kHz clock. Yet the > driver wants to acquire this clock, even though it doesn't make any use > of it, ie. doesn't get the rate to make calculation. > > Therefore, use the exported 32.768kHz clock in the PXA clock tree to > make the driver happy and working. > > Signed-off-by: Robert Jarzmik > --- > Since v1: change the dummy clock by the actual 32.768kHz > --- > arch/arm/boot/dts/pxa25x.dtsi | 4 ++++ > arch/arm/boot/dts/pxa27x.dtsi | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/pxa25x.dtsi b/arch/arm/boot/dts/pxa25x.dtsi > index 95d59be97213..78a413ea0e88 100644 > --- a/arch/arm/boot/dts/pxa25x.dtsi > +++ b/arch/arm/boot/dts/pxa25x.dtsi > @@ -80,6 +80,10 @@ > #pwm-cells = <1>; > clocks = <&clks CLK_PWM1>; > }; > + > + rtc@40900000 { > + clocks = <&clks CLK_OSC32k768>>; Double closing bracket, doesn't look good. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com