From patchwork Sun Oct 28 12:35:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10658579 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 0566813A4 for ; Sun, 28 Oct 2018 12:39:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E297E29C78 for ; Sun, 28 Oct 2018 12:39:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D36FB29C7E; Sun, 28 Oct 2018 12:39:02 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,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 6C24629C78 for ; Sun, 28 Oct 2018 12:39:02 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=fjirD18URCBhPHO/ftTKEqFf3EeKk0wz3Nm1sfPeBT4=; b=VayB57ta00vHKY VzKf9m9vLMTnZ69DdWkVHNH0f/dwhYhL+jd0eYoLrieVr31DALVDnQTnxCzYLj2HM/QDoI/fUimmH CoNqdNawcANkQWra4FchSlRjhY6DS0gZbPi2EboRlBniimE/JkVKKYApxSV2I/I+56SRZwVSrnuHx KKkhj438AVMLqQH/TWGnubo3eD32mgd+PNHg63sH2PLOF668OLPlOpsEuyI9ZOf263/dwfn/lgZLj B/ALhuB/f3yH4lxdmIR4vFELiMkByDj9PG1zMTgC6od1TIWEaDN3Qrttn9HtBkYmjS5mN4jjOuy9S 1Ym+OwR8kM/PrtSoO/5w==; 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 1gGkLK-00046S-GP; Sun, 28 Oct 2018 12:38:58 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gGkIF-0002ew-7N for linux-amlogic@lists.infradead.org; Sun, 28 Oct 2018 12:36:08 +0000 Received: by mail-wr1-x443.google.com with SMTP id t10-v6so5698652wrn.10 for ; Sun, 28 Oct 2018 05:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2t78/SUQR+q6mmH59JtPh7Y2LhFbNWZPZ1sQQ6xqhxs=; b=cvOkChk7vCW5j+HpaFLTRxivO3bnSPapp1gaCRFghEfhjpkaq2jgihpvrBBE9jjQPY 8pWYi+8xBHqWWgtr8rhw9Uf5dr2HR2AT3SlW3vFLJESKGLMhuq+PJYB6Hz1jgg/zFRyT OurYvf2Mmd668nQ9Kh2g2cBDqQX5icK36CJUKPJR9BrbxsfooNDFWaZj0jALQQIoxadH KVEHt+9OmfD4D39gE8FeoLUJcnOfvNrYRMu8+/YzMv95QnpQyx2ou6zHx5y05UM+P1rq nH7ynQ5fjJnTL95GF/A1nhqoCJI1XAFzBZztsl+w54k5Dv7d7L2JdeAFQnWty9rt8VVq dfeA== 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:mime-version:content-transfer-encoding; bh=2t78/SUQR+q6mmH59JtPh7Y2LhFbNWZPZ1sQQ6xqhxs=; b=ARbc2VBEtDjsogyP2nIkqTa4iJ7uKHDUnPH0gHz9wSuehxNxIV8HphHT7w77TIUdH0 cgd6NjttwRfHFOnQtUN0Pdic16GzyrdILHQyNiDhxhh/dPmiYtdmMeBRtbxJ8r/ASLdq dKAg8XSMqzB0mf36LN8AKNA8oPomtPLfyCBh//MapvhBtnq2+s+9gmmzMdfcszfGP/o0 NhhvlxAEBECGDnoVEJbC+fYYwnKWGSza/vAuM850y+AQP4ZmRvAuiFpSQyhV3UFu/2cF 7y26CJpsAEPUNc3cVWxMFRzIKU5Zkda8T7mnTRv4vwPEYVPgGR0ozyZbkXkx94BFG9HL Q4Dg== X-Gm-Message-State: AGRZ1gIoCuOV5B5upnPZ1RCRmDVXOZKaCSTneZMgeHdseEH5b54S9EbP OHf0noe5Iywq9rJKkSM6jbYgMaKs X-Google-Smtp-Source: AJdET5cupbSQ7d3jJY5l+zf2YTiTx4n3Lxw7AdZj6s9SykJ6k+HO6NnrfemUa1YKcoYZyFr/uWRlug== X-Received: by 2002:adf:8909:: with SMTP id s9-v6mr6752689wrs.309.1540730135236; Sun, 28 Oct 2018 05:35:35 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD7072200691979D1FB980407.dip0.t-ipconnect.de. [2003:dc:d707:2200:6919:79d1:fb98:407]) by smtp.googlemail.com with ESMTPSA id u10-v6sm13731533wrt.59.2018.10.28.05.35.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 05:35:34 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, tglx@linutronix.de, daniel.lezcano@linaro.org Subject: [PATCH 2/2] dt-bindings: timer: meson6_timer: document the clock inputs Date: Sun, 28 Oct 2018 13:35:14 +0100 Message-Id: <20181028123514.12660-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181028123514.12660-1-martin.blumenstingl@googlemail.com> References: <20181028123514.12660-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181028_053547_367467_A16AFFE3 X-CRM114-Status: UNSURE ( 9.16 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , khilman@baylibre.com Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Meson Timer IP has two clock inputs: - pclk which is used as "system clock" timebase of Timer E - xtal which is used for the 1us, 10us, 100us and 1ms timebases of Timer A, B, C, D and E The IP block has four internal dividers (XTAL is running at 24MHz): - "xtal div 24" for 1us resolution - "xtal div 240" for 10us resolution - "xtal div 2400" for 100us resolution - "xtal div 24000" for 1ms resolution Suggested-by: Jianxin Pan Signed-off-by: Martin Blumenstingl --- .../devicetree/bindings/timer/amlogic,meson6-timer.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt index dbdda92cffb7..a9da22bda912 100644 --- a/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt +++ b/Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt @@ -5,6 +5,8 @@ Required properties: - compatible : should be "amlogic,meson6-timer" - reg : Specifies base physical address and size of the registers. - interrupts : The four interrupts, one for each timer event +- clocks : phandles to the pclk (system clock) and XTAL clocks +- clock-names : must contain "pclk" and "xtal" Example: @@ -15,4 +17,6 @@ timer@c1109940 { , , ; + clocks = <&xtal>, <&clk81>; + clock-names = "xtal", "pclk"; };