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: 10827489 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 111FC1575 for ; Sat, 23 Feb 2019 13:09:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED1C12F3ED for ; Sat, 23 Feb 2019 13:09:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E084C2F405; Sat, 23 Feb 2019 13:09:23 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 A7DBB2F3F1 for ; Sat, 23 Feb 2019 13:09:22 +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:References: In-Reply-To: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:List-Owner; bh=9DXhBcxd68GFJBfy7e53tD72PvXr+cOIn7VVHrnlDIo=; b=lAe9ThwKd9c74FpjHlZNomHMBU 47EWFbpJQXYpti0LpsUA4EatdNzUawF7BwsmCo2GixJdHX+Pup+GTpCqGJklOk8KqVxI2ZHThcEPC XH1YaP8q30dCegbHpqrZ1u4wpJooSF8BpkPKbgmjPmKmCpYkw7eXZlLJgZqN93+MPG/t2lu3aedEA Iuu7VSIeVxW9/feuOTF/W13514M5TPRx3XTt19XoVfCDB4vrSEFu94VE+OlEGQu7Lot6HIOgARV9x wcvWzC+vHj1Fey3c/P8vI5TaOGz9+n5ILYQM+GRfBxNF0wI6C845z7cC+7tIe+tOJkJbJ3ibjt1X3 Fb8q0Xhw==; 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 1gxX3E-0002Xx-2i; Sat, 23 Feb 2019 13:09:08 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gxX2L-0001Vz-5y for linux-mediatek@lists.infradead.org; Sat, 23 Feb 2019 13:08:18 +0000 Received: by mail-wm1-x343.google.com with SMTP id n19so4242937wmi.1 for ; Sat, 23 Feb 2019 05:08:13 -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=AyFKCs2Y3m8g1ckkM8GPm76vwozhRIc/fPNbpYlC5C4JihVp5iVnOacYtcQ9DHRWKf CrfzZWbuasomH8MoIXfkaeEyYPz9+o/XFNlPyXxlNUjs+xDmey3/thToSBxQTrQ6v6nG OiDWT8mEXNkwkw52TjJZKFzqTvAep5PW+rT3QyCDW0srW705tzPQTU0p+PjO8KhcOWDn r0gHKsM39ElCzwB/IOHfCNMVzCkcqMA4Eh5a5M4DTOjghhOHlza3KLZIDzzfDck9xu8f QNoxvm9zIEfYOi1BIU1po5oAjz+aRf+HsBZ2YN1H4M14R071Bt2ny8IhIRRS1JsPSxpr WMaw== X-Gm-Message-State: AHQUAuYXvjUbVKmgskqc/3C5GAxu+sw39cFPT4xY5Gm0qIAfYeLAIzR/ IV15jfzMx6ANiihyYNRPpp6PEA== X-Google-Smtp-Source: AHgI3IbE3e7b7DmxlFI6vJD7yNqU/qn8vC/LHML6Oc7tO9WjRks1opAdike7HqSq8I4x0oVa83U+iQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190223_050813_793456_0482BCE1 X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-mediatek@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 , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Ryder Lee , linux-kernel@vger.kernel.org, Rob Herring , "moderated list:ARM/Mediatek SoC support" , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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.