From patchwork Sat Feb 23 13:06:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 159117 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp33425jad; Sat, 23 Feb 2019 05:08:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IYAgYWJmfNfoo5dyMXCB9S1/dHj+mcC6T7JaVvDCrgMfmd4rmHHiy7iZqLVnPWrSTIUiijY X-Received: by 2002:a63:f30d:: with SMTP id l13mr8798923pgh.399.1550927298384; Sat, 23 Feb 2019 05:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550927298; cv=none; d=google.com; s=arc-20160816; b=YFp4Uqj/Ct/oDjfXB5wJ6Yc2PRBrl6ymdrD94y2XunHSBWKnZBfFk4B9tkX1h9fB7A belJgKV0KpH0UoWEHFcTOM9kZRiIvJQHZOyvcmapOQibJuBr1KzdHyG8lTuAWbbF0n6y p8CASe2gHDBavrEhAK5GohLn5pxksz3bqBu5G8YaYGvTU3NpnZFAwhFII3E6oLavHzU3 O/dImC6y6Yw/i4qv7fo4wTnhESXDgzI0kgAruuTusccLE2IS9KAOeHLfm6mxsz2oyiWc HlJ2lzCxFp0mpS+BTA8tawANdtX3m+C7zjd/F94eMh7NCNT1Rh9CMaeJJfuZES1OUeX3 vsGA== 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=aFmdTDn+1DhlKxKeSwBRQMFH12sZspvNOM68gN8DFWg=; b=NQYyZXj1/vE9JzCdBdj9+mh61JiBNvsc2YIRs+Wwyun0J/Dyv7HS84PhlkGJzGn4PY cG8m05jxGqpyO+DGZOUdyVnqmBM7ZBXGjua6SoVCQhuO4ooDxME8L5nqhjjxksW5w1Vv iV9VbG+mlRQO91PkxoT4mSrrf5yXSv163sePc7BLSvVG0f8KkIN+EUxQrx27A8QbnZqS NQc9z8594DB6cTYVcmT4GpFWj908kz+klZ2nZfq8l1z/gnvmNmH2FoqOIXB+T04bQy2Z WRJ8Abm//nvAVs4ZewTbXx9dV1ESX0OhdVF53c3ExSGBiGu4GerYIT8Xyw7hHU4qrufk l2Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G2vB15Nm; 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 q20si3787228plr.136.2019.02.23.05.08.17; Sat, 23 Feb 2019 05:08:18 -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=G2vB15Nm; 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 S1727980AbfBWNIQ (ORCPT + 32 others); Sat, 23 Feb 2019 08:08:16 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37849 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727942AbfBWNIN (ORCPT ); Sat, 23 Feb 2019 08:08:13 -0500 Received: by mail-wm1-f68.google.com with SMTP id x10so4238303wmg.2 for ; Sat, 23 Feb 2019 05:08:12 -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=aFmdTDn+1DhlKxKeSwBRQMFH12sZspvNOM68gN8DFWg=; b=G2vB15NmEEv1XB4bfYMuhjNctr2a70JxJ/zvx37GB5wt6WquYw51tBA5XktIKFO8jn NAWphxrJ9A8/QNRxoSA718uc6c8JC2jm0e935vqXuJ5hliVk0DnSma0qM2H8UhKv+kR0 joZolxC9lDojsCEZVIE60Lh5jcviPtz1FA+o34mBDNd+fQIk8FjpxNCmdNnNJ4kA6ydq kcMVV+jlIQl+xurqKehMsHmV5c9NYCxz0cLnXQyC2+sHphT/Iq1Tsh43LuseU0s25/GY 3qx35JLiDY0ZlJ9ao0LTez0vlvUQnlHJ1r2exuuLIvFIxNgNz5yVeIFpGodzzD2OPI9b NjaQ== 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=aFmdTDn+1DhlKxKeSwBRQMFH12sZspvNOM68gN8DFWg=; b=A3XHNAtLUSLG8wXx8BQRQn09gWq9DRuF4J1gULEO+RqSG3rspwI7+UfHFJ812DIoCV m9MAM/wj011WOnbSASAK4EIwOpIGoa/xx/zHQgKQSGXuf8XaI/U99gU8RUy/VIRihXLm p3Ge0lJCgWJa/VpzVgwskhDDD4Knh/VSBwfGHkotKIIi6HsDvcfOE28uGM64RvGErDr8 t2pcuFXRukUWlTLZFbMmoCpl5g0oS9naDkK504o5sgmQZJNcCXs2zYLhYr/fTYPHU0s8 s50MWYlmjLrR8OunsJTRyJS0pXdrsdMvXSMNbtQNvv0xyOEJw9gSDSkjMcTigBOcfb2A vGWQ== X-Gm-Message-State: AHQUAuZXFrNe+vlpayLMCrSzPhCuFC72Hh2IFiA7t6QomD42y/CoGJYq +UYuau/fRAguLG/xbwIx79LpQA== X-Received: by 2002:a1c:740d:: with SMTP id p13mr2192011wmc.46.1550927291672; Sat, 23 Feb 2019 05:08:11 -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.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Feb 2019 05:08:10 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, Ryder Lee , Rob Herring , Mark Rutland , Matthias Brugger , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCH 10/18] dt-bindings: timer: mediatek: update bindings for MT7629 SoC Date: Sat, 23 Feb 2019 14:06:58 +0100 Message-Id: <20190223130707.16704-10-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: Ryder Lee Update the binding for MT7629 SoC, which uses fallback compatible to MT6765 SYST, so add more descriptions to distinguish it from the other SoCs that use GPT. Signed-off-by: Ryder Lee Cc: Daniel Lezcano Signed-off-by: Daniel Lezcano --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt index 18d4d0166c76..ff7c567a7972 100644 --- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -1,7 +1,7 @@ -Mediatek Timers +MediaTek Timers --------------- -Mediatek SoCs have two different timers on different platforms, +MediaTek SoCs have two different timers on different platforms, - GPT (General Purpose Timer) - SYST (System Timer) @@ -9,6 +9,7 @@ The proper timer will be selected automatically by driver. Required properties: - compatible should contain: + For those SoCs that use GPT * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT) * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT) * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT) @@ -17,7 +18,11 @@ Required properties: * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT) * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT) * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT) - * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST) + + For those SoCs that use SYST + * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST) + * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST) + - reg: Should contain location and length for timer register. - clocks: Should contain system clock.