From patchwork Tue Jul 3 13:21:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10504073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B1188601D3 for ; Tue, 3 Jul 2018 13:22:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FB3228878 for ; Tue, 3 Jul 2018 13:22:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92FB1288B8; Tue, 3 Jul 2018 13:22:16 +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_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 4350728878 for ; Tue, 3 Jul 2018 13:22:16 +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=jx9PezpBl6vpCm73vLIqSOqbBbM9ux56rAHLnx1OrhM=; b=sPgr/plSXpeXHVU0QXp6fZeeMf G0rjse0FwRBqf8BLzkY6YV6OjXwdm2GkGCgndGapYt5GBaw4IhlASmsI7LyfFRch8Nbg4OBxI9Gui itWP6XKk4x2U6l8hJTTkUPnHPDRxiVMCN7JVKrrTQqL2wojAIk+OHcP0ZeaynrkmRXo8g6ST11l6Q ADktrLPzVcHJcKtr15dPwI99ykM9cgCinpujJ74Yp1lfweaDF5pXdagRvplzc25DD2yX7q0ez3hG0 OT/PCaU+I7dp+FeKwunPuOknsDVUh73Qxd+DvUCBC8cFVDLXUJ/yf5kx3Zi4elP3fP43sa0gmHFz6 6cB0sIGQ==; 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 1faLFy-00060M-BK; Tue, 03 Jul 2018 13:22:10 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faLFu-0005wb-4D for linux-arm-kernel@lists.infradead.org; Tue, 03 Jul 2018 13:22:08 +0000 Received: by mail-wm0-x244.google.com with SMTP id w16-v6so2328796wmc.2 for ; Tue, 03 Jul 2018 06:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tkK3C1UrBnti+H2QppFf2GLhNc93Zu2JdxR+HIhyXEQ=; b=X7wskQ2Aq04Ns1AeaHS4WOyzfF8RM2TEBFOHGUXSyufzkiOE4WzDsB2U1Xn4j7ZFe4 Qm5Q53c4GSZMHy1KqsXFEvWl02FthNM8DBAMCDGkK0jBnPHhOfY1bEqOJ7ayVm4BKt6t MZDZgwa08aylClpXJRgwS8/Qm6kxomhvsFJc5qy/SIL8eAR/kfVvCxP6SSwCP4pMRDM2 AVGG/RrFkcOuyifqsNLqdGyToQ4F0Y62ZSGMay1a2LHwkPPOjgBuJndzgHY+VOVEnL/B RZ+widJqSJE0BBdFEpmFrwOHpF/tgCl8zJP3Tir1aFK0REuv6gDokSXGoTcZRwHGY/Xz 5idg== 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=tkK3C1UrBnti+H2QppFf2GLhNc93Zu2JdxR+HIhyXEQ=; b=hp5yXaaUwN8ATTeZmvag6zs3hOUczjg+n3I0+lRrF1lDaiO2VefIVsPwyFx7Ji6Tmu L6RB2KzI+WrOC+dnUZQeMM6tKZeGomDhWMtQq7oCO7b/u8QIOK2nPF7vG7xq9HHjLvQL mwLWS0VFqYJlXK9TYOTE3+PREjySK2qoHtutU1mKtCR7sWSfhvlr+8eVYjeG2lWqbyK7 D9/WO+LPrKDE4ewOsI+9NrUDHAFQQuh3Vz5I7yJQk+gbDhnLe9GQ6vKEDCh5RAalz2zA 8VB9fZfB8WCWC+Va1J+/WFFzxvBHGZhmat9HwTal1scNB+hOwR1iKMnymrV9syYEPTX5 fExg== X-Gm-Message-State: APt69E2TxV8AKasT8uvPQC5HEOn2t6qnPC7xK9saOM2PEnwWbwmNE2WT +LWSQqVYzAAcZX7++WAov++8Hw== X-Google-Smtp-Source: AAOMgpfWSKaIFbALqYPQPZRVXjIafTBYbupUyX3heZTnoN1pmGKgMIfsJRv2XFaKEJ9mnXTdTra3iA== X-Received: by 2002:a1c:f902:: with SMTP id x2-v6mr10389774wmh.116.1530624114814; Tue, 03 Jul 2018 06:21:54 -0700 (PDT) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id l17-v6sm2019844wrh.45.2018.07.03.06.21.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Jul 2018 06:21:53 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, devicetree@vger.kernel.org Subject: [PATCH 2/3] dt-bindings: amlogic: Add Internal Clock Measurer bindings Date: Tue, 3 Jul 2018 15:21:49 +0200 Message-Id: <1530624110-4687-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530624110-4687-1-git-send-email-narmstrong@baylibre.com> References: <1530624110-4687-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180703_062206_257985_F09C50E2 X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/soc/amlogic/clk-measure.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt diff --git a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt new file mode 100644 index 0000000..ba9183a --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt @@ -0,0 +1,15 @@ +Amlogic Internal Clock Measurer +=============================== + +The Amlogic SoCs contains an IP to measure the internal clocks. +The precision is multiple of MHz, useful to debug the clock states. + +Required properties: +- compatible: Shall contain "amlogic,meson-gx-clk-measure" +- reg: base address and size of the Clock Measurer register space. + +Example: + clock-measure@8758 { + compatible = "amlogic,meson-gx-clk-measure"; + reg = <0x0 0x8758 0x0 0x10>; + };