From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932822AbcITKVX (ORCPT ); Tue, 20 Sep 2016 06:21:23 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36158 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932418AbcITKVU (ORCPT ); Tue, 20 Sep 2016 06:21:20 -0400 Subject: Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT To: Paul Burton , linux-mips@linux-mips.org, Ralf Baechle References: <20160919212132.28893-1-paul.burton@imgtec.com> <20160919212132.28893-10-paul.burton@imgtec.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland From: Sergei Shtylyov Message-ID: <55c977d1-21dd-4cf8-d0f9-10d96b452573@cogentembedded.com> Date: Tue, 20 Sep 2016 13:21:16 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160919212132.28893-10-paul.burton@imgtec.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On 9/20/2016 12:21 AM, Paul Burton wrote: > Add the DT node required to probe the RTC, and remove the platform code > that was previously doing it. > > Signed-off-by: Paul Burton > > --- > > Changes in v2: > - Remove rtc DT node label Haven't you also renamed the node? > arch/mips/boot/dts/mti/malta.dts | 15 +++++++++++++++ > arch/mips/mti-malta/malta-platform.c | 21 --------------------- > 2 files changed, 15 insertions(+), 21 deletions(-) > > diff --git a/arch/mips/boot/dts/mti/malta.dts b/arch/mips/boot/dts/mti/malta.dts > index af765af..fecbca8 100644 > --- a/arch/mips/boot/dts/mti/malta.dts > +++ b/arch/mips/boot/dts/mti/malta.dts > @@ -49,4 +49,19 @@ > interrupt-parent = <&gic>; > interrupts = ; > }; > + > + isa { > + compatible = "isa"; > + #address-cells = <2>; > + #size-cells = <1>; > + ranges = <1 0 0 0x1000>; > + > + rtc@70 { > + compatible = "motorola,mc146818"; > + reg = <1 0x70 0x8>; > + > + interrupt-parent = <&i8259>; > + interrupts = <8>; > + }; > + }; > }; [...] MBR, Sergei