From patchwork Mon Sep 29 00:23:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 38049 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DF7EE202DB for ; Mon, 29 Sep 2014 00:24:13 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf1737162wiv.9 for ; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=7ytpUp1B25HmsbQjMIpnpIJIvW4wWO6+VvkkG6niGuk=; b=OrS44mp+S54I/a2xWMTl0TltKK2kIzHes/fNPUE7LSK/rR7REkARKAWTzsDuatfwFi /RWJPlpDJgY/e+yyRUzeADEPUGNFallHqUcGsHN69PSBzehMJNiN4hhBhm9rnMEtBhaJ GT51OKhtX382O7i8UMT3xDzvKkMAH976mUrUGppA9HipEl6N+Z6t/vtPc9Dj/Foei9zf bdTidnBdbLwRLlSDrlZz2cvA6ytgZnUORXm0c7Q9ykFnatvQ2hLlOGat+3FvBfqFVftp fp9SmRnoZQ0FzoXqHvR0XazHoM7PMI4FIXMh3AR56l69WjZFrjRPaolJbaxgy4ZUBR9/ AReg== X-Gm-Message-State: ALoCoQkAlj05K9huej/KFQxVN26j1bdk4ifbJH/Zb7oLA76vnWkqzLEpHB5U0GJzf8v2mLWw8U53 X-Received: by 10.194.7.199 with SMTP id l7mr5174263wja.2.1411950252906; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.235 with SMTP id kt11ls588849lac.83.gmail; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) X-Received: by 10.152.27.200 with SMTP id v8mr35921141lag.53.1411950252646; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx.google.com with ESMTPS id u1si16423606lae.37.2014.09.28.17.24.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Sep 2014 17:24:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id w7so224802lbi.36 for ; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) X-Received: by 10.112.171.202 with SMTP id aw10mr33281797lbc.52.1411950252566; Sun, 28 Sep 2014 17:24:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp98590lbb; Sun, 28 Sep 2014 17:24:11 -0700 (PDT) X-Received: by 10.70.132.37 with SMTP id or5mr10097936pdb.149.1411950250009; Sun, 28 Sep 2014 17:24:10 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gh7si20314320pbd.204.2014.09.28.17.24.09 for ; Sun, 28 Sep 2014 17:24:09 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753914AbaI2AX5 (ORCPT + 27 others); Sun, 28 Sep 2014 20:23:57 -0400 Received: from mail-we0-f182.google.com ([74.125.82.182]:46898 "EHLO mail-we0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752485AbaI2AXx (ORCPT ); Sun, 28 Sep 2014 20:23:53 -0400 Received: by mail-we0-f182.google.com with SMTP id x48so911807wes.13 for ; Sun, 28 Sep 2014 17:23:51 -0700 (PDT) X-Received: by 10.194.83.6 with SMTP id m6mr39761050wjy.90.1411950231504; Sun, 28 Sep 2014 17:23:51 -0700 (PDT) Received: from localhost.localdomain (AToulouse-656-1-925-235.w90-55.abo.wanadoo.fr. [90.55.46.235]) by mx.google.com with ESMTPSA id h5sm14014311wje.8.2014.09.28.17.23.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Sep 2014 17:23:50 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 03/13] clocksource: sh_tmu: Document r8a7779 binding Date: Mon, 29 Sep 2014 02:23:36 +0200 Message-Id: <1411950226-21598-3-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411950226-21598-1-git-send-email-daniel.lezcano@linaro.org> References: <5428A559.5050908@linaro.org> <1411950226-21598-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Simon Horman In general Renesas hardware is not documented to the extent where the relationship between IP blocks on different SoCs can be assumed although they may appear to operate the same way. Furthermore the documentation typically does not specify a version for individual IP blocks. For these reasons a convention of using the SoC name in place of a version and providing SoC-specific compat strings has been adopted. Although not universally liked this convention is used in the bindings for a number of drivers for Renesas hardware. The purpose of this patch is to update the Renesas R-Car Timer Unit (TMU) driver to follow this convention. Signed-off-by: Simon Horman Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart --- * I plan to follow up with a patch patch to use the new binding in the dtsi files for the r8a7779 SoC. commit 471269b790aec03385dc4fb127ed7094ff83c16d v2 * Suggestions by Mark Rutland and Sergei Shtylyov - Compatible strings should be "one or more" not "one" of those listed - Describe the generic binding as covering any MTU2 device - Re-order compat strings from most to least specific v3 * Suggested by Laurent Pinchart - Reword in keeping with a similar though more extensive patch for CMT --- Documentation/devicetree/bindings/timer/renesas,tmu.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.txt b/Documentation/devicetree/bindings/timer/renesas,tmu.txt index 425d0c5..7db89fb 100644 --- a/Documentation/devicetree/bindings/timer/renesas,tmu.txt +++ b/Documentation/devicetree/bindings/timer/renesas,tmu.txt @@ -8,7 +8,10 @@ are independent. The TMU hardware supports up to three channels. Required Properties: - - compatible: must contain "renesas,tmu" + - compatible: must contain one or more of the following: + - "renesas,tmu-r8a7779" for the r8a7779 TMU + - "renesas,tmu" for any TMU. + This is a fallback for the above renesas,tmu-* entries - reg: base address and length of the registers block for the timer module. @@ -27,7 +30,7 @@ Optional Properties: Example: R8A7779 (R-Car H1) TMU0 node tmu0: timer@ffd80000 { - compatible = "renesas,tmu"; + compatible = "renesas,tmu-r8a7779", "renesas,tmu"; reg = <0xffd80000 0x30>; interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>, <0 33 IRQ_TYPE_LEVEL_HIGH>,