Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2927221imm; Mon, 10 Sep 2018 08:24:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbsQZ02QXefV6Xx5wyKHtM39hSI+7nrv/iwab/TICic0LcpnitThEGPQNu5GnPZVs37xhCE X-Received: by 2002:a63:b44c:: with SMTP id n12-v6mr23410893pgu.337.1536593065621; Mon, 10 Sep 2018 08:24:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536593065; cv=none; d=google.com; s=arc-20160816; b=X3t8f56h/pNS3nQgrZS6xB8tsvP5U01hWK6f46S+Et74EMIVuDvxpmtV4Oa+kTkR9p 0j6jsQr6AdjRtL4Ey+y3UGawomUd4ornAxtDCafYSy/hZQeXb3yH7jbxTvAdlDWmQx7K 60Jc846yxzPuR+fzUJkEInanzlhv1lFHsviB4J2TvTMGC0a37OqtS05H/4WgSqcjvnFw 66dXaP3Dmv2fAgViV04hGD4W+3TZnXKsj/5r9mex9Rmu6+7OVZEts6xd/mMvQ+XZ5DFN cyMgl44CMk69q4mUrOFpXdp/PO9ekgiCyap6egTR86kMaT4MQw9Ys/UZP/s6LR+cJpYh t+5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2LsTV/cOfkIOkn1zNgtdJ8JnBQS3gkkmGCtVU7a4lbI=; b=kmcT1+TB1gcRZsEtuRmem1E31KwnAM88yVor7tOZ7AcsFgG9WrHUe+AwOO3ekbSjTy 7o4eKuDdarOB36tBADLB2kY08GCDqY2KeMAX6Q3S9m17/RzXwmtYDgGCPW0kAYRkUyjr IKqPDhoU/87UWHLBZF6wZflX11/B4UDBrWlhsSjd0tR4vyM+D/KoiE+PkTR9qdUjQjGp NqFOuGaSrOr34WaA0AxyL5asZFMAnnaAGhsWJteT0oApqUhQDrYw0gYKGRyph+bXiOHt uTeISBet1GmbDMkQCdhoXCv6Puzh4fjPsk605RWQ2FslfpK7pV3+6oa7BhBQ+VRv/6L5 42Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pxy8NG14; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a143-v6si18169166pfd.241.2018.09.10.08.24.09; Mon, 10 Sep 2018 08:24:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=pxy8NG14; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728233AbeIJUQi (ORCPT + 99 others); Mon, 10 Sep 2018 16:16:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:43068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727810AbeIJUQi (ORCPT ); Mon, 10 Sep 2018 16:16:38 -0400 Received: from mail-qt0-f180.google.com (mail-qt0-f180.google.com [209.85.216.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 27A262088E; Mon, 10 Sep 2018 15:22:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536592923; bh=bFHWoKVEm3ZGwpuHiEtzyinbwNTlvpJOwpjDs6Ah4I8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=pxy8NG141GnwbPf4lg//lYDEkhJByrr8qiGWM/IqFDbWATGAkvGxYHLQOez3agPRx 50UQrv4lT4/g0NYz7vxSlhw9dNxE/5kpO4sxngqHfTInan7LOQxvIildTgsDJNStSs R38feHdc/SRA7Gfi5t88oxzvs4gBoqmJiiKGohkM= Received: by mail-qt0-f180.google.com with SMTP id x7-v6so24559485qtk.5; Mon, 10 Sep 2018 08:22:03 -0700 (PDT) X-Gm-Message-State: APzg51AUGU1blyiqsTxAQLgMeP8JJPBP38JJDXSXS5ODjqd2YARIDsFM PCSWvbUt2usNj72hG4rq1ixLkf7lQjvxTgQcRQ== X-Received: by 2002:a0c:db87:: with SMTP id m7-v6mr15044219qvk.90.1536592922305; Mon, 10 Sep 2018 08:22:02 -0700 (PDT) MIME-Version: 1.0 References: <20180910113031.42634-1-lkundrak@v3.sk> <20180910113031.42634-2-lkundrak@v3.sk> In-Reply-To: <20180910113031.42634-2-lkundrak@v3.sk> From: Rob Herring Date: Mon, 10 Sep 2018 10:21:50 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/4] dt-bindings: mrvl,mmp-timer: add clock To: lkundrak@v3.sk Cc: "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , devicetree@vger.kernel.org, Daniel Lezcano , Thomas Gleixner , Mark Rutland , Eric Miao , Haojian Zhuang , Russell King Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 6:30 AM Lubomir Rintel wrote: > > The timer needs the timer clock to be enabled, otherwise it stops > ticking. > > Signed-off-by: Lubomir Rintel > --- > Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > index 9a6e251462e7..a2ede0bd12ca 100644 > --- a/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > +++ b/Documentation/devicetree/bindings/timer/mrvl,mmp-timer.txt > @@ -4,10 +4,12 @@ Required properties: > - compatible : Should be "mrvl,mmp-timer". > - reg : Address and length of the register set of timer controller. > - interrupts : Should be the interrupt number. > +- clocks : Should contain a single entry describing the clock input. So now pxa910 and pxa168 dts files have errors because they are missing a required clock. Plus somehow other MMP2 platforms either worked without a clock or have been broken. You can't add new required properties to a binding. That breaks backward compatibility. Rob > > Example: > timer0: timer@d4014000 { > compatible = "mrvl,mmp-timer"; > reg = <0xd4014000 0x100>; > interrupts = <13>; > + clocks = <&coreclk 2>; > }; > -- > 2.17.1 >