From patchwork Sat Feb 23 13:07:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 159119 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp33495jad; Sat, 23 Feb 2019 05:08:22 -0800 (PST) X-Google-Smtp-Source: AHgI3IbB137PeT84Sdn4HnLQZvUI7qDRH0ZWScWWKpM8Th3ReOMbukA5hopE3DdcGQkEW42rbfvb X-Received: by 2002:a17:902:e60e:: with SMTP id cm14mr9358092plb.192.1550927302193; Sat, 23 Feb 2019 05:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550927302; cv=none; d=google.com; s=arc-20160816; b=QEnvQWCZCg9AgiM0hF8eWFxjcU+5E6g7ZyvBMDppncgxK1dPBl0HmNpT0FHdoq1bdK tTj5cVjsnZv5vz4b0xQIjrShKoza5XYfe1lK6QWbBLWkJrIwruKXfxmS7me1frZI317I HTFdkRgXLWbDCdFztmBdJ0JT54HWdjdD9QUIybbaGFmMRrScA33h2CGyQZSBfCYwvo2B 3SI1L/aO88fyBRhtzyx2vFgn54h06nSzG1XozMSgoplxYf/a/31NlPEGTLg6w7uctWoT bzuB9G8ljB6iOyrDxDcf4PAAfHp8VE6fvJhvlM7D1ZRBkZ96oAGwZew5yyDE23s4G/y1 4hnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=XjmpIkemHWcDi0hPr+0l9SdJ/Rn9t0FUVqCSEcUng6w=; b=O4V41lRg1lVKO/q/Lpya2R1+iSf+d9M2F4dwfsVibPKhzh3JineARgbeWaYPwNfEii Ct4ZwbcCYFnqiiG6nYOpyoqqtYgvBX7jgMlZLUXOCqApmvl/o22r0u7CDA5kGxDBIToh VZC2WyeKyBhS2iHf9XHQ0gg/dMHv8mcD07kGPSzgw+5QOakLFg1STVc09X+I2RrKVc2A KOmCQguo3qTkVyrIta0HItSIZLMnny29cqZAOWEGXQgwqMbPCbNHcMEWaUHR+93faaOY E0xDftfAv3PhBP8YiYvt5t1PFxDsyNm5GKGoXbW6eJ1SYoSnjqOk0kcE6RGlgO4Nw6G0 EXGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uYBY1+0V; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si3819939plk.296.2019.02.23.05.08.21; Sat, 23 Feb 2019 05:08:22 -0800 (PST) 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=@linaro.org header.s=google header.b=uYBY1+0V; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728009AbfBWNIU (ORCPT + 32 others); Sat, 23 Feb 2019 08:08:20 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36733 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727987AbfBWNIS (ORCPT ); Sat, 23 Feb 2019 08:08:18 -0500 Received: by mail-wm1-f65.google.com with SMTP id j125so4275959wmj.1 for ; Sat, 23 Feb 2019 05:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XjmpIkemHWcDi0hPr+0l9SdJ/Rn9t0FUVqCSEcUng6w=; b=uYBY1+0V597dSQpz4WniThVRvTyvwxNQmN2z2gvRJ1xnclarOUNPhKCpdyUVVB6T3w vZzUa8/PxdtNDZTw+KW7AmPT626XXWC7pvvCGFdhm6DnPFqwSQsehc1yl3nSBazHTST3 HUtxs51TGrTzMIGwnw9eqgCO/6MdHlq8HNX9uZk1A3UPVe5+z5Gu4BVSdF2o2D7mj1Wt v2NDLHt2vTYa+4BKdxZyZcBAdRoSW95o60NgSOZ5rq0yfoZ2FxbPuJMkLp3i3okRrELt Imr7zabLmErsTIyF8V4BUim8q9PkPJT8rX33ykMJPWkhpUbK4yF1knxvr8W1YLyqAdCe SxKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XjmpIkemHWcDi0hPr+0l9SdJ/Rn9t0FUVqCSEcUng6w=; b=AB6JN8mD0MofHgJLZjo+zVVgYTkGITwxUVFvX3an6fFdN9m1Mxa7+1AAax4KSlwsu8 YZwF8/YzJdGodqMnI8WXHk7ninoAlYVpw3mgidNoC9Yr+0ypo+NriR2qqIQSKA5lbkKz EvYxNfDDtB37uzXKf6k9JYUhaw/dffhEHPN1z7LCKmJ3fzvHiMJhKAaMcGt7YoBymYys clsFTsSAt185z2MROgn7mhvIHLdRX7zrgve0j587vCj7CV7SP3oLT6c2uhMiL56Ezw9o 5/N06EPWPR8O5IRlTA7BcjAx1A/I7rWCzeYGREdc3x7W+9SRFtyov8QZ/3ic9ud2LQw7 hjLQ== X-Gm-Message-State: AHQUAublT3tkiGAR6YZowK4OOyzYnGnGgZx10K7opBLAt4Y1PR47XSIX Bi7jxlLSUMqMDE5ErqafYFOChg== X-Received: by 2002:a1c:6a18:: with SMTP id f24mr439569wmc.115.1550927296130; Sat, 23 Feb 2019 05:08:16 -0800 (PST) Received: from clegane.local (189.126.130.77.rev.sfr.net. [77.130.126.189]) by smtp.gmail.com with ESMTPSA id i12sm7830746wrq.21.2019.02.23.05.08.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Feb 2019 05:08:15 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Anson Huang , Anson Huang , Rob Herring , Mark Rutland , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) Subject: [PATCH 12/18] dt-bindings: timer: gpt: update binding doc Date: Sat, 23 Feb 2019 14:07:00 +0100 Message-Id: <20190223130707.16704-12-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190223130707.16704-1-daniel.lezcano@linaro.org> References: <20190223130707.16704-1-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang The i.MX GPT timer driver binding doc is out of date, update it according to current GPT timer driver. Signed-off-by: Anson Huang Reviewed-by: Rob Herring Signed-off-by: Daniel Lezcano --- .../devicetree/bindings/timer/fsl,imxgpt.txt | 39 ++++++++++++++++--- 1 file changed, 33 insertions(+), 6 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt index 9809b11f7180..5d8fd5b52598 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt @@ -2,17 +2,44 @@ Freescale i.MX General Purpose Timer (GPT) Required properties: -- compatible : should be "fsl,-gpt" -- reg : Specifies base physical address and size of the registers. -- interrupts : A list of 4 interrupts; one per timer channel. -- clocks : The clocks provided by the SoC to drive the timer. +- compatible : should be one of following: + for i.MX1: + - "fsl,imx1-gpt"; + for i.MX21: + - "fsl,imx21-gpt"; + for i.MX27: + - "fsl,imx27-gpt", "fsl,imx21-gpt"; + for i.MX31: + - "fsl,imx31-gpt"; + for i.MX25: + - "fsl,imx25-gpt", "fsl,imx31-gpt"; + for i.MX50: + - "fsl,imx50-gpt", "fsl,imx31-gpt"; + for i.MX51: + - "fsl,imx51-gpt", "fsl,imx31-gpt"; + for i.MX53: + - "fsl,imx53-gpt", "fsl,imx31-gpt"; + for i.MX6Q: + - "fsl,imx6q-gpt", "fsl,imx31-gpt"; + for i.MX6DL: + - "fsl,imx6dl-gpt"; + for i.MX6SL: + - "fsl,imx6sl-gpt", "fsl,imx6dl-gpt"; + for i.MX6SX: + - "fsl,imx6sx-gpt", "fsl,imx6dl-gpt"; +- reg : specifies base physical address and size of the registers. +- interrupts : should be the gpt interrupt. +- clocks : the clocks provided by the SoC to drive the timer, must contain + an entry for each entry in clock-names. +- clock-names : must include "ipg" entry first, then "per" entry. Example: gpt1: timer@10003000 { - compatible = "fsl,imx27-gpt", "fsl,imx1-gpt"; + compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; reg = <0x10003000 0x1000>; interrupts = <26>; - clocks = <&clks 46>, <&clks 61>; + clocks = <&clks IMX27_CLK_GPT1_IPG_GATE>, + <&clks IMX27_CLK_PER1_GATE>; clock-names = "ipg", "per"; };