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: 997737 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="tyYMzBdN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42w4lc363kz9sBN for ; Thu, 15 Nov 2018 00:17:00 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727837AbeKNXUK (ORCPT ); Wed, 14 Nov 2018 18:20:10 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41345 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbeKNXTp (ORCPT ); Wed, 14 Nov 2018 18:19:45 -0500 Received: by mail-wr1-f68.google.com with SMTP id v18-v6so17246250wrt.8 for ; Wed, 14 Nov 2018 05:16:31 -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=mfK/YMVZSxgDpHJpNOq39JGci37tHdVfMXmfDTZ4wNqZhLJKVrPHOkKD99zInKkA7l aOwFGMCnkBI7jz+upLPErVxT4rVvHhU9YPHtXmK7sM7eDZvSuxX3IPdNUNWA08qF3dq+ Nr0RfgJFdNVmpslLKxtcOONdbOZTX+Ak9eufMy5H0QnwKf+jdnRF9lnH5MhmTj4FK/+G n7FMaq6EAI5yycKhJ1eBl5iFI8ZwZSwMJEdr6YwZkykM9NMvdVAlE3aOaOB+tYtE5yhz kZUYFEcXhPmxhfCBWcl69lDJvKLKWw8azmssl7ucC17CAFeTAA581IBPAB9upJ69Bnaw gGhg== X-Gm-Message-State: AGRZ1gK6luhWeI6xS0VWVW+HzwJWDWhM4FsAVhgcSY5SvN2W9QnBlWJs Unnd3i7hYSGQGVtdp/1pV0yojg== 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 Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + };