Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1487210

Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT

From Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT
Date 2016-09-20 12:30 +0200
Message-ID <sjqtk-1J4-7@gated-at.bofh.it> (permalink)
References <sjeit-2pw-3@gated-at.bofh.it> <sjeiu-2pw-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <paul.burton@imgtec.com>
>
> ---
>
> 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 = <GIC_SHARED 3 IRQ_TYPE_LEVEL_HIGH>;
>  	};
> +
> +	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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 09/14] MIPS: Malta: Probe RTC via DT Paul Burton <paul.burton@imgtec.com> - 2016-09-19 23:30 +0200
  Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-20 12:30 +0200
    Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT Paul Burton <paul.burton@imgtec.com> - 2016-09-20 12:40 +0200
      Re: [PATCH v2 09/14] MIPS: Malta: Probe RTC via DT Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-09-20 13:00 +0200

csiph-web