From patchwork Tue Sep 18 20:54:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10604859 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E943E157B for ; Tue, 18 Sep 2018 20:55:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC2392B713 for ; Tue, 18 Sep 2018 20:55:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC9DF2B62C; Tue, 18 Sep 2018 20:55:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 087502B62C for ; Tue, 18 Sep 2018 20:55:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=m/dtOoZG8BFUSAfLZ98Q3DWI2w8+6fbK6dVvi6mDIFk=; b=dZz 6OSKocW6zvLn76CIyznDXsO0p3NYusTklW8F8j/kqfJF8Cv5zw7GlXhGyaBD1aanKUF2KfntsfOdT tWdrETz9Gf4ic2aGct2YNx5MFrF21i3RyXHAOyer81AiQiGAL8NExs5D8Csa+QFHzjRxltl+n4n16 bi4PIUr12vTTAL+CQQzCipZgf6z4FRUSvM0C+oLRH5SYvCWcXcYwtyhP34kLEGOrLalNKP5z4VnzC kAxCNY99nLZCrHP0/NkA6naqIdfGfL63QAcgebs+3ifcr/uKRbfhahHlBSwB7yQLg5TWnZ3akdLtD AN+a9fpsRBAsOFKiSB8dTM0PSDAUJSA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2N1w-0001c8-Ja; Tue, 18 Sep 2018 20:55:32 +0000 Received: from shell.v3.sk ([90.176.6.54]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2N1r-0001FX-C0 for linux-arm-kernel@lists.infradead.org; Tue, 18 Sep 2018 20:55:29 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180918_135527_597914_80D932A3 X-CRM114-Status: UNSURE ( 5.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Eric Miao , Daniel Lezcano , Russell King , Haojian Zhuang , Rob Herring , Thomas Gleixner , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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