From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7CF2ECE564 for ; Tue, 18 Sep 2018 20:55:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89FBC20880 for ; Tue, 18 Sep 2018 20:55:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 89FBC20880 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730324AbeISC3i (ORCPT ); Tue, 18 Sep 2018 22:29:38 -0400 Received: from shell.v3.sk ([90.176.6.54]:55157 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730296AbeISC3h (ORCPT ); Tue, 18 Sep 2018 22:29:37 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 6374AB948E; Tue, 18 Sep 2018 22:55:13 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id j4638LJdWAKD; Tue, 18 Sep 2018 22:55:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 637B5B9486; Tue, 18 Sep 2018 22:55:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gNkWvBp6d36q; Tue, 18 Sep 2018 22:55:04 +0200 (CEST) Received: from odvarok.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 4713DB9482; Tue, 18 Sep 2018 22:55:04 +0200 (CEST) From: Lubomir Rintel To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Daniel Lezcano , Thomas Gleixner , Rob Herring , Mark Rutland , Eric Miao , Haojian Zhuang , Russell King Subject: [PATCH v2 0/4] Enable the timer clock on DT MMP2 Date: Tue, 18 Sep 2018 22:54:51 +0200 Message-Id: <20180918205455.25464-1-lkundrak@v3.sk> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes the timer work for me on an OLPC XO 1.75, which is a device-tree based MMP2 platform. Compared to v1 patch set, this makes the clock optional to keep compatibility with older device trees or platforms with a compatible timer that don't seem to require the clock. Lubomir Rintel (4): dt-bindings: mrvl,mmp-timer: add clock DT: marvell,mmp2: add clock to the timer ARM: mmp2: initialize clocks before the timer ARM: mmp/mmp2: dt: enable the clock Thanks, Lubo