Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2809326imm; Mon, 16 Jul 2018 14:46:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf83yxUdzxcUNNIOqx6+BFp0Z47UuZX2uopJY0aKOHwXiZksRCMdikESQlgEvSq5ZivvtfF X-Received: by 2002:a17:902:1007:: with SMTP id b7-v6mr17894108pla.277.1531777568447; Mon, 16 Jul 2018 14:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531777568; cv=none; d=google.com; s=arc-20160816; b=Ygdlc0kA/krcgpB3X14sfEZ4jEGJoWtL0QyAjNw3J/ofG4v+Yku6Ryf0mUzcqYY+CY vRzufQwOvI1nShlmEZoy4V6+qL4kLcESKjEge83RUQnOpngu3JrLRNObTD4SuHTzhxI9 ncDwLeH+VHBFitsmnC0ZxoyFtr6xG9dNccBw+QusNIRd8HKgSOY27SJuvWm/9JF9yHA6 jXxjmQqlnhF27W6LJDzamLMZCqPa6CjxKk/3ZMGIgJ4wedunt+VANn1xqp7j9x5v1POh TUAo2UVDuLvy7HFFyr7LoZ644hxl88DNBxhd5Weaz7/DwzYIuLpv920vR8YmL2Pb/6Kb S+ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=KXyaFNm4FzYa/u6i0VUST7NzYpJ/i6ZkI5VwEONsaW8=; b=eFrdOZWMBgpZN0CGsWz8WNZkErAhY0Tg9q+en80wM6onh+EnfnjKESQgwWNAi66J3A fPq8YPW2ln43h97nzz+PbeLUAPCGCHDwQREaDngkK8EuyWrQjFOvChfVLCj7szZygVOH ZuPRdG5htgMKn1v6LMX0BiGEWNPlB4MvmSMGLBY6EFnONwYBt0Stkuw2xi8LvoZAfO5M u1hvR5WEgLb8clYIpcd9zTx9KBWpdAsa17LNjJ47GJ9Ox/MYJBs5FD+XB8g9nbMQGLOA 3DfZ2RZKETp4VpIBjDkwc4hGswliFGuupwp3GONWHUxdNbJlizCyyAp4JxjsLnykcHk+ jZtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si28555448pgo.630.2018.07.16.14.45.53; Mon, 16 Jul 2018 14:46:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730079AbeGPWOh (ORCPT + 99 others); Mon, 16 Jul 2018 18:14:37 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35780 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbeGPWOh (ORCPT ); Mon, 16 Jul 2018 18:14:37 -0400 Received: by mail-oi0-f66.google.com with SMTP id i12-v6so77720777oik.2; Mon, 16 Jul 2018 14:45:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KXyaFNm4FzYa/u6i0VUST7NzYpJ/i6ZkI5VwEONsaW8=; b=gwhkq43ulG9V++TwuwdepeDpGF4B/yeIuWrZhOkKsQE5sxIUnj9EZczBofyd9AKQRO z/y5B0BIIkzyCtlHaPrqVSBXrTmLHZBh4tLnKYO+Y7lppwANFlFYQSekclq6aqSejQ3F EaSp/55CxlyXgoAWRHDeESDILJ+jD1pMeXKcSrrdeQkkbG5komMJgBtrX1YXlbHo2MtH D4HGOO/6186zu4nciAmoIybLpIrngfw79Z5OkLwJGb3Ojxbb7lkFddSCjPA9mQcdIpCt gyFRf+2uXZWv33EoyIc6sRWXTYDc0UGPuru3cEgOXrle+xEL3jrJPhwJN8EwXVIZZRLb Ll5Q== X-Gm-Message-State: AOUpUlHxOTWMfL/k2hGfB/2Npq7OvW3AANFQi5q/2mNxuH0Z8DZXYOzy PHFGHGLQuHzlGnZWYoAezULQ63o= X-Received: by 2002:aca:417:: with SMTP id 23-v6mr1108530oie.90.1531777518412; Mon, 16 Jul 2018 14:45:18 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id q205-v6sm21233385oia.7.2018.07.16.14.45.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 14:45:17 -0700 (PDT) Date: Mon, 16 Jul 2018 15:45:16 -0600 From: Rob Herring To: Neil Armstrong Cc: khilman@baylibre.com, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 2/3] dt-bindings: amlogic: Add Internal Clock Measurer bindings Message-ID: <20180716214516.GA31738@rob-hp-laptop> References: <1530624110-4687-1-git-send-email-narmstrong@baylibre.com> <1530624110-4687-3-git-send-email-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530624110-4687-3-git-send-email-narmstrong@baylibre.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 03:21:49PM +0200, Neil Armstrong wrote: > 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. What a simple yet useful debug tool. > + > +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>; This doesn't really look like its own block though. Can't the parent device instantiate the driver for this? > + }; > -- > 2.7.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel