From patchwork Wed Nov 14 13:16:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10682587 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 B2AD7109C for ; Wed, 14 Nov 2018 13:17:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2BA02836F for ; Wed, 14 Nov 2018 13:17:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6C4028678; Wed, 14 Nov 2018 13:17:03 +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 762252836F for ; Wed, 14 Nov 2018 13:17:03 +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=YuHMuZodQrhCcZaDZgPDgF42uIZHq5Fd7h4gMC+6cE8=; b=PKc7eLOHQPBMJ4 W2S+Rkd6gU7oowIvrsDFpeWS45KzsIpXHz6Dcm2dJgCw9rqZrYePyZqcBoX5Mp1HSDu0gUj62iD1b ADv/hgeHSy0O/5Nro3Kjdw9mXg0/buuoIntc650oPb7sdtIfscLSvlcmb065E+vqweludzrzjui5X BfVoGdYU0zzHK92XVbcgtnQfbWz9lj0x0qvKFd1XUYe++PawE2nIG6KVUAzM/8BZLlnA5sA8hv59/ gno50HxwVelCImWY++haLm8ZnbpXdyYCFoxqJzSP+cA+5AYwPrZCsrMQGJlbPv0o9ir1W9IyKnpeA bCPy8ex98DXdwsBSnBhw==; 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 1gMv2J-0004yB-2w; Wed, 14 Nov 2018 13:16:51 +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 1gMv2A-0004sT-J3 for linux-arm-kernel@lists.infradead.org; Wed, 14 Nov 2018 13:16:45 +0000 Received: by mail-wr1-x444.google.com with SMTP id j17-v6so17220878wrq.11 for ; Wed, 14 Nov 2018 05:16:32 -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=pgKVcQTS0Dv7S1Mc2VdYYbFDx3oeYWl2gIMRZsO6SZU=; b=tyYMzBdNX5cR36EE6Ssr7Rf0mFGRktykuDw4WKKZFBGppoL31FRPe5JEj9cr4aAMgL 5YofpuCEK+mFP7Gbec5c2t4jA+GpuuKOctnaiV6HBhNs9IeTVOHc50DE/v3rFrm6ngWR hfdFlDvmIhgPKKFAU0ghXcQAz7qha4Y3MUvnXH1P9shZRQZcfGbxVYPVha6u5xuGS226 4OYrTUMUaJe022D4xAOvrzEtJicqgRcGXbLivCBOYG4PZt8N65r3pQ9TCjeKVwcqMdbt hQuJqBVbBYBkDluK3k3kUwyUjlpnkSmTJC223uZShuUHpPoaj9FbGmcz6y+3+akVv5s3 tRRQ== 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=pgKVcQTS0Dv7S1Mc2VdYYbFDx3oeYWl2gIMRZsO6SZU=; b=YEETOfPQoazCVfC2c4CKYLK/FMqMIzz9K6LPHOE7NHMZkKk45nDA/TyCHy0sqHIdkf 3dui2IV7Or2rSZmvS3fxva/94jdISMsv8iG2AjZtHJaOS2E5mJDqmc5mOcLozEmwXTJQ 6flVOTPheTpYotp5RQHXkteR3eLqzjk8yibaJIq5jBvpijxD+FgpXASRfRuZ0lGA/ksN V9EXOD7xecOUbHQVPBtnZycumK4EoDUZQAD7kz2jzcE7uLi+uJV3y0yJi6cwJGmV4cb1 dkULrfhFlUrWNnc8i7UOvGvGcShTncxJTtMoILpjKWNua8ZcPzf5yBYh4fk1QLeGXArG AfHQ== X-Gm-Message-State: AGRZ1gJqHEAyJqoZD43yucrU0R1nEJRUK+YJXeTkJsIDqiosaN/pbLAC zW2W2wVLOUkqWN5hOsgXh+Afow== X-Google-Smtp-Source: AJdET5cnSxLlH4PclEF/AfKHG6Khgq8cXN3ywZMP6uGg+MWK3EidmaKjSq9r7b5UAPsSldMUQBEGBA== X-Received: by 2002:a5d:69ce:: with SMTP id s14-v6mr2035025wrw.177.1542201390632; Wed, 14 Nov 2018 05:16:30 -0800 (PST) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id z7-v6sm22715225wrv.21.2018.11.14.05.16.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Nov 2018 05:16:30 -0800 (PST) From: Neil Armstrong To: khilman@baylibre.com, devicetree@vger.kernel.org Subject: [PATCH v2 1/3] dt-bindings: amlogic: Add Internal Clock Measurer bindings Date: Wed, 14 Nov 2018 14:16:25 +0100 Message-Id: <20181114131627.17766-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181114131627.17766-1-narmstrong@baylibre.com> References: <20181114131627.17766-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181114_051642_632055_BD836E0C X-CRM114-Status: GOOD ( 11.69 ) 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 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 Reviewed-by: Rob Herring Acked-by: Martin Blumenstingl --- .../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 000000000000..ba9183a42032 --- /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>; + };