From patchwork Sun Nov 18 13:53:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10687905 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 433CA15A7 for ; Sun, 18 Nov 2018 13:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31F6F285D3 for ; Sun, 18 Nov 2018 13:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25B2F28727; Sun, 18 Nov 2018 13:53:38 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 B4752285D3 for ; Sun, 18 Nov 2018 13:53:37 +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=74H3tmUywr/Ut8a6S024gqFLkHbOf+ZtDo3LDoWvF7U=; b=AoSW11+arfuvPe CuPTHsCxwiBewTj8/jMpBPaPSHachvtTjCwyb05YVYI3D6dAjkoj0FXHX+juJRx+dItMYLbPjFPD8 hxkzo9wB6AllTHMQfahyc/EfV+aAJCVqKdIH1W3D+0EHxltNvOV6Xsnekshy828syhqOXY63NE8kv thSkrzjlaVMGYedOUFRiEPPI1g7B0jyCFepwE8kiA1zmXttJ/gVrprB07pdNGlocthMzEOlNBqK9y BEI4tp0EUJiI+yjivKhz6isAM6PQvlviBdL72VsKq7qPn1zy1fc2EwBTF899SRNkR0MBaG00TqQMS 91ljDBvVbeudcNIB4AUw==; 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 1gONW4-0006K1-Ca; Sun, 18 Nov 2018 13:53:36 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gONVv-0006Bc-4d for linux-amlogic@lists.infradead.org; Sun, 18 Nov 2018 13:53:28 +0000 Received: by mail-wr1-x444.google.com with SMTP id j2so905013wrw.1 for ; Sun, 18 Nov 2018 05:53:16 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=R6warBK4AjkYFZ7MKEhC6ZGCgZpodJEII/OqLNckPO8=; b=PJOOpV0XoYz4KtqrUJunrRuwREBRs5gmFWyBXXCJExjL20NXJZ1Nyay8Qt1Y0MqoLJ 9oIATxhOyPn4ihlQeObmG9lYL4d/m4bhnrdOyvaP2MloARjxvRwxFsg7E2Fz3Iqpz12p oYFCK0jA9NGOATRv37ksxGHa0i7dRYFiYfQq2TIKvM0Ruknf3BzQZtSajReSTJozZcvB PlnDqnFxspmfrbEPTRTI48TpzJ14Cex2vx1xXA6C/WMXTWXvf/SeQhWsKzkLWRzX11RU mro3nQIDnnVEf31uzMMEBq53bbrAZFCkun/OhPjUZg/GWRg5a/Xj8ULT3DjzmRmOllKe zm6w== 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=R6warBK4AjkYFZ7MKEhC6ZGCgZpodJEII/OqLNckPO8=; b=U1iK60L5sHIJyIrFi4GqJLz0pyTLLhU+Bj0tPEMt4EsaFu74vmqf38rSCxA0LIFRQp Cy/MJMQbEKf/Xr4FHCnMedhtm1zOlTQQdGER23D6AOCH8vlGMsAW9IfZ/e9IvPWTXHny A36GsqMeKo7KgLhvQyWjyGCaP8N087nOhvEC5uirFu/siBpT3S9NiRpAe29oLm6uYj0B 4WmKPexDb0vO3ornYFRTK0UslS4t/Kf2nNyN4Yz7Z6tiS/Fu2GVs4jao3ZcCkfv5vmL8 NHSrTVXy+h9nyuHd5g8mrPFPCgW4Af/A4pG0ApcdxjlqZza4stXatGznxXKoLvhyNxhJ QrUg== X-Gm-Message-State: AGRZ1gIqaCh2oMuuffZDL3kOkf45UsOqlqNVAg1RpSPHuTWaxG1bLKDu nPRF5uwneLVGQXLvrKwhGrS3Pw== X-Google-Smtp-Source: AJdET5dX7zsWYM4SnCkA9mURcIl6V8Wq1v+aQe9gZzIfaRSan0/n6p3e0EYZmFUR+xGnQQ3n5OmbTg== X-Received: by 2002:adf:f04d:: with SMTP id t13-v6mr14727273wro.170.1542549195111; Sun, 18 Nov 2018 05:53:15 -0800 (PST) Received: from bender.home (lfbn-nic-1-84-209.w2-15.abo.wanadoo.fr. [2.15.173.209]) by smtp.gmail.com with ESMTPSA id t5sm14906385wmd.15.2018.11.18.05.53.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Nov 2018 05:53:14 -0800 (PST) From: Neil Armstrong To: devicetree@vger.kernel.org Subject: [PATCH v3 1/3] dt-bindings: amlogic: Add Internal Clock Measurer bindings Date: Sun, 18 Nov 2018 14:53:10 +0100 Message-Id: <20181118135310.31458-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181118135024.30720-1-narmstrong@baylibre.com> References: <20181118135024.30720-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181118_055327_181939_2B583D9A X-CRM114-Status: UNSURE ( 9.45 ) 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: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. Acked-by: Martin Blumenstingl Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring --- Rob, I didn't take your v2 Reviewed-by since I changed the compatible list, tell me if i can still keep the tag. Thanks, Neil .../bindings/soc/amlogic/clk-measure.txt | 18 ++++++++++++++++++ 1 file changed, 18 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 000000000000..205a54bcd7c7 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt @@ -0,0 +1,18 @@ +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 one of the following : + "amlogic,meson-gx-clk-measure" for GX SoCs + "amlogic,meson8-clk-measure" for Meson8 SoCs + "amlogic,meson8b-clk-measure" for Meson8b SoCs +- 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>; + };