From patchwork Fri Jan 18 10:34:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 155912 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3094139jaa; Fri, 18 Jan 2019 02:34:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN7/goy+Nm+520St1IhRfc+Ns4lfjyMDkaWYimjxk3E1VyUm0vvM39Ym6UjqIDxBNCLVTCNn X-Received: by 2002:a65:64c8:: with SMTP id t8mr16924620pgv.31.1547807684282; Fri, 18 Jan 2019 02:34:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547807684; cv=none; d=google.com; s=arc-20160816; b=ZnqGNAqS2NqaYq6Ee2rbeJpiRqxJDLn2bf7XNz4q0QidnpSTRVkuMoQQLVXWWLETiL K/AmW+3LKkZJofbNGhME9wyhjAsnlDIUIvT+UpLC1Q9KkclaOlR4f9kvFBmPlmn0mwCN MhCTrE5+H5AmJhWImS7z0klfUXEmZwiSIqQtjjkHrSHJ860qlWJVAyKslATpEbZlXnJz IVJ0W7qYp0nbgVvRHyhBt8ZAhc3XALEHFlvMCNM5vrT/XxT8dROrzZOnNURR/wmPYiWY JFT15HfffmAWs+msD/JJReo7rvJo44Wn+y8K7DctbOMW8ab5AeYQAH+APw/zzUYTUEET yY0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J19q6XdK6LukgFHT/iRLr1xXTdkoFW905MZs5kCf7/Y=; b=LaixJn620SxjtmJsS/cn3qq8oVcQRvqGL8zNVsFeeVmh2/rd7XSvCGjKqs38bspnh5 MXW964QtW3D4n2DWYQt2bgbiX5d9NBeMrkJ9mrRN/Plkyn0EKnkYnI6qa7lqchZBcB7Z ynuk6U8LA2XZ8TxYX3jfM2dVQqVn0OA1tvS2nuShkA/sHqm81ipM48POuIWjw/Nm3L90 JVGqBf6rpadRAcsJUKNPyZQsP4xs3SYduvVxhlZov0SmN1QDViNsZRd0zkvCEIKXbnFW OGdevkUS3LQkFvpG+Pe4BkpWfkruXkd2TneCmdtf9+1m7KqNG4U9yDRWI0NhJAt5Nv2r POdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=eCZWO6rH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s2si4315936pgj.60.2019.01.18.02.34.44; Fri, 18 Jan 2019 02:34:44 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=eCZWO6rH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727213AbfARKen (ORCPT + 14 others); Fri, 18 Jan 2019 05:34:43 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42216 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726834AbfARKej (ORCPT ); Fri, 18 Jan 2019 05:34:39 -0500 Received: by mail-wr1-f67.google.com with SMTP id q18so14388348wrx.9 for ; Fri, 18 Jan 2019 02:34:38 -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=J19q6XdK6LukgFHT/iRLr1xXTdkoFW905MZs5kCf7/Y=; b=eCZWO6rHH72af+VdL5LwDKyZbSgPO2gBTQGiGbgpuF208XE0Ju9jIeA/cfzIOHN6kC hjo8teM6DQSUfZ38WCEgmvtBeAl0rsJfrU/2OFLtr5ezu03G/oE2+788/cWstIrMISA0 CUrBZ9NrE/KowsrXxbgLPGRjnvXlMWDcQhHiqzM08sLhEwX62Nw27FyKIUX4O0uKdq/S qrd4uRA+fjggEXVZIW146BUdAvszXrFzy261u0LFvhyzKT3pfHezpICJwyZFzTVSTX5A /evBNqmWmjKTX+0aSB2nVgwhYTlmWE9qeOd308eYtT2jYFZTfbW46e3W0UAg4KYSpRUa yZnQ== 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=J19q6XdK6LukgFHT/iRLr1xXTdkoFW905MZs5kCf7/Y=; b=otiSO/Pu4PcTm1wZezUjJav0f8/q9Eb0N+qczISUPz6qg8qKckutnlmBwdKr4cywzU 5x8UCyEF6HwR4YmGOwYUfY5/Cykxc5j1pQ5ePeFBWeJf+NjD2OZPmLikfDYDtycnqVCp RypMcC5Fg0gEm5xLaBvSTliE8X3FlGagUNxUS+dyw/JFX8DSrq0R1HGzOwODa8ckSc2I j96WTiSp+jJBMB0hjKfsXS8U+Vce3cBP4SDLezCWjn/I9DagXfqWLnM8Phg5mY1dkqlA j+kdxXoBCyYVedsA0yCi86Z6nGAlnXfBL4czB/+dNPZKXZ0OGEHBNJwoAaa65b2Omkgg OijA== X-Gm-Message-State: AJcUukf5KDGbZ928tN36rAxWxshrb5qCaoKRJWCUDpTVYpeqUBsYNcev Vx4Y1SjhYSFGtzFZDq+0JwC/jQ== X-Received: by 2002:a5d:4ac7:: with SMTP id y7mr14996128wrs.196.1547807677748; Fri, 18 Jan 2019 02:34:37 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id s16sm67066247wrt.77.2019.01.18.02.34.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 02:34:37 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH v2 1/4] dt-bindings: amlogic: add new compatible devices to clk_measure Date: Fri, 18 Jan 2019 11:34:20 +0100 Message-Id: <20190118103423.15075-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118103423.15075-1-jbrunet@baylibre.com> References: <20190118103423.15075-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the axg and g12a SoC family compatible to the clock measure bindings Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt index 205a54bcd7c7..6bf6b43f8dd8 100644 --- a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt +++ b/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt @@ -9,6 +9,8 @@ Required properties: "amlogic,meson-gx-clk-measure" for GX SoCs "amlogic,meson8-clk-measure" for Meson8 SoCs "amlogic,meson8b-clk-measure" for Meson8b SoCs + "amlogic,meson-axg-clk-measure" for AXG SoCs + "amlogic,meson-g12a-clk-measure" for G12a SoCs - reg: base address and size of the Clock Measurer register space. Example: From patchwork Fri Jan 18 10:34:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 155915 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3094369jaa; Fri, 18 Jan 2019 02:35:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN6nBloNn2UNp3oiOIuqxpSQcOVFIilCOqK6tA5Xi3Re0PbsaARY/smeam/N1Yal33nJ1DcA X-Received: by 2002:a62:9657:: with SMTP id c84mr19226942pfe.77.1547807699982; Fri, 18 Jan 2019 02:34:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547807699; cv=none; d=google.com; s=arc-20160816; b=YJWoGCQZNCNW/Qt/0uTzPoptSza9+7ziP2z1J0P8pXpxvJfkEhulqkMojQvHOgO3ZT wJHvHALECPp0N9n6OV+FMIStjBxxyMns9fNHMeaq2DXQ76aJy2DXvTY54yb6NiQ63qqy AhXZ0yJICRz5/agz+6aFApXGHiS6hr3GJcKAhtk0c3HE6bMZjY6IhFQ5ojK8nUDXrW4i CKt/8yaawjPsKTjsO6k2scM/HwlUjAJFcU9iGm7ZwF6hOccm2CIJvVFlHXWH3c3nSkYm 1RYudyPpNeZcZ8Ato/JVW5j2VkBL/ITH8NtXq7mZX+wE+oMIIfpmdd3Qe+6vRKdyIw3d LBFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WdeB7J3piuy6ZDKjEl32ympFqvEDkNjVRULX9ObH+Ww=; b=o0a82V3rYBMseW4inkSl5lbg8cet+LSyf8tXQ9y/iFuFHSdZOfhMipT1fYYRoy8mBb xFZ8G2JtwHpLmje6AeulM3Fs0wcKKzysuntjCTjue3NKaZs6NWH0QUOkqWyeEpcpSHOK Z9Xz1AjnzHSXvuys1pkvmcVxNdBwWNpgm8ejC05Uk8ooUAv8tKd1pehWfgNWv+2d6hQR NJqYY2iZUKw78D4vsipKeUVsqykUkCvNVOF4/8eZccLWzYlbstrUDNUcLTEzkzIAKRPs FDFl61KAx7wyRr7SYrq87HZMtQcWR4gSaXZgce/6U2hIcxE4ddNbR/Frvm/5O8mZxK23 MjVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=VdIjtsE2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si4159837pgm.14.2019.01.18.02.34.59; Fri, 18 Jan 2019 02:34:59 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=VdIjtsE2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbfARKe5 (ORCPT + 14 others); Fri, 18 Jan 2019 05:34:57 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34392 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727066AbfARKel (ORCPT ); Fri, 18 Jan 2019 05:34:41 -0500 Received: by mail-wr1-f67.google.com with SMTP id j2so14487167wrw.1 for ; Fri, 18 Jan 2019 02:34:39 -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=WdeB7J3piuy6ZDKjEl32ympFqvEDkNjVRULX9ObH+Ww=; b=VdIjtsE2ZFVwl/fkTypw7k9OPEFSEZCOzzE4hIuAXBBa+w5BanA3IKJf3LbsoGPRCQ jJ3WwNqdX85gXDH81JqmZI5nbjp5qtVRkvKkEYG6v8ieuFCNyRrZPyAiSlIuOSrJTKwS 61QFYaIQ1vlad8KLDFMXRQJV3NnfDr3k6ioMHHp1ZhGS288Xfx+X+A1LlaJ2yChy3jvf IPWBJSkWsB/fNhyClVQ93bbuRGFFjOMFqkPI8Q1mMOh3lXzVGW4yTwLAsLyfLO22LIS3 qm6a0hqnc7FzmYux12q3LEZTyiitit0EBgXhh7VzqP6qaBP60GhTaRdvdljwzq5KWUw9 xUIQ== 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=WdeB7J3piuy6ZDKjEl32ympFqvEDkNjVRULX9ObH+Ww=; b=V6F30lVaalWR/wTsVtsCdN86PwTY5mtgajr8rwhzM+J/lBSU4PErXtDqaVmXLIqo1o 6hHO1Q+fXgcLKKtNdiZnxkx3+J++kUSOr3TR245WS9FdcQBQ6SwZKEHH6KwFf109Dqtu u9XHpdYqxMQHLBukeJuWfRwilSFo+RGc+vsypz3SXNXX5sOJz6/TffbFVWdMqrIwzsX5 mwDDBkLt1GDXj8df1O1tTb2lzZlOSJLX9tXCOkXU19c5g3Ceu/AHMMpVlWBSC5Gsva/E WmuZKa0serKzsCL8kHL06IjgOHAKX5zkB3EUoHcnWz6e9pBNEWO8lO1l9qZVUsz2KUYU 6ayw== X-Gm-Message-State: AJcUukcXsjZh96d62D0p2cbUbTdGHc1gp9hlC9TyyVwrh9y3fpZHFDBc xaDxXKgqITQjAvjCO9h6iQCqhQ== X-Received: by 2002:adf:9061:: with SMTP id h88mr15636747wrh.65.1547807679136; Fri, 18 Jan 2019 02:34:39 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id s16sm67066247wrt.77.2019.01.18.02.34.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 02:34:38 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH v2 2/4] soc: amlogic: clk-measure: add axg and g12a support Date: Fri, 18 Jan 2019 11:34:21 +0100 Message-Id: <20190118103423.15075-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118103423.15075-1-jbrunet@baylibre.com> References: <20190118103423.15075-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the axg and g12a SoC family in amlogic clk measure Signed-off-by: Jerome Brunet --- drivers/soc/amlogic/meson-clk-measure.c | 194 ++++++++++++++++++++++++ 1 file changed, 194 insertions(+) -- 2.20.1 diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measure.c index daea191a66fa..5570180b94a1 100644 --- a/drivers/soc/amlogic/meson-clk-measure.c +++ b/drivers/soc/amlogic/meson-clk-measure.c @@ -165,6 +165,192 @@ static struct meson_msr_id clk_msr_gx[CLK_MSR_MAX] = { CLK_MSR_ID(82, "ge2d"), }; +static struct meson_msr_id clk_msr_axg[CLK_MSR_MAX] = { + CLK_MSR_ID(0, "ring_osc_out_ee_0"), + CLK_MSR_ID(1, "ring_osc_out_ee_1"), + CLK_MSR_ID(2, "ring_osc_out_ee_2"), + CLK_MSR_ID(3, "a53_ring_osc"), + CLK_MSR_ID(4, "gp0_pll"), + CLK_MSR_ID(5, "gp1_pll"), + CLK_MSR_ID(7, "clk81"), + CLK_MSR_ID(9, "encl"), + CLK_MSR_ID(17, "sys_pll_div16"), + CLK_MSR_ID(18, "sys_cpu_div16"), + CLK_MSR_ID(20, "rtc_osc_out"), + CLK_MSR_ID(23, "mmc_clk"), + CLK_MSR_ID(28, "sar_adc"), + CLK_MSR_ID(31, "mpll_test_out"), + CLK_MSR_ID(40, "mod_eth_tx_clk"), + CLK_MSR_ID(41, "mod_eth_rx_clk_rmii"), + CLK_MSR_ID(42, "mp0_out"), + CLK_MSR_ID(43, "fclk_div5"), + CLK_MSR_ID(44, "pwm_b"), + CLK_MSR_ID(45, "pwm_a"), + CLK_MSR_ID(46, "vpu"), + CLK_MSR_ID(47, "ddr_dpll_pt"), + CLK_MSR_ID(48, "mp1_out"), + CLK_MSR_ID(49, "mp2_out"), + CLK_MSR_ID(50, "mp3_out"), + CLK_MSR_ID(51, "sd_emmm_c"), + CLK_MSR_ID(52, "sd_emmc_b"), + CLK_MSR_ID(61, "gpio_msr"), + CLK_MSR_ID(66, "audio_slv_lrclk_c"), + CLK_MSR_ID(67, "audio_slv_lrclk_b"), + CLK_MSR_ID(68, "audio_slv_lrclk_a"), + CLK_MSR_ID(69, "audio_slv_sclk_c"), + CLK_MSR_ID(70, "audio_slv_sclk_b"), + CLK_MSR_ID(71, "audio_slv_sclk_a"), + CLK_MSR_ID(72, "pwm_d"), + CLK_MSR_ID(73, "pwm_c"), + CLK_MSR_ID(73, "wifi_beacon"), + CLK_MSR_ID(75, "tdmin_lb_lrcl"), + CLK_MSR_ID(76, "tdmin_lb_sclk"), + CLK_MSR_ID(77, "rng_ring_osc_0"), + CLK_MSR_ID(78, "rng_ring_osc_1"), + CLK_MSR_ID(79, "rng_ring_osc_2"), + CLK_MSR_ID(80, "rng_ring_osc_3"), + CLK_MSR_ID(81, "vapb"), + CLK_MSR_ID(82, "ge2d"), + CLK_MSR_ID(84, "audio_resample"), + CLK_MSR_ID(85, "audio_pdm_sys"), + CLK_MSR_ID(86, "audio_spdifout"), + CLK_MSR_ID(87, "audio_spdifin"), + CLK_MSR_ID(88, "audio_lrclk_f"), + CLK_MSR_ID(89, "audio_lrclk_e"), + CLK_MSR_ID(90, "audio_lrclk_d"), + CLK_MSR_ID(91, "audio_lrclk_c"), + CLK_MSR_ID(92, "audio_lrclk_b"), + CLK_MSR_ID(93, "audio_lrclk_a"), + CLK_MSR_ID(94, "audio_sclk_f"), + CLK_MSR_ID(95, "audio_sclk_e"), + CLK_MSR_ID(96, "audio_sclk_d"), + CLK_MSR_ID(97, "audio_sclk_c"), + CLK_MSR_ID(98, "audio_sclk_b"), + CLK_MSR_ID(99, "audio_sclk_a"), + CLK_MSR_ID(100, "audio_mclk_f"), + CLK_MSR_ID(101, "audio_mclk_e"), + CLK_MSR_ID(102, "audio_mclk_d"), + CLK_MSR_ID(103, "audio_mclk_c"), + CLK_MSR_ID(104, "audio_mclk_b"), + CLK_MSR_ID(105, "audio_mclk_a"), + CLK_MSR_ID(106, "pcie_refclk_n"), + CLK_MSR_ID(107, "pcie_refclk_p"), + CLK_MSR_ID(108, "audio_locker_out"), + CLK_MSR_ID(109, "audio_locker_in"), +}; + +static struct meson_msr_id clk_msr_g12a[CLK_MSR_MAX] = { + CLK_MSR_ID(0, "ring_osc_out_ee_0"), + CLK_MSR_ID(1, "ring_osc_out_ee_1"), + CLK_MSR_ID(2, "ring_osc_out_ee_2"), + CLK_MSR_ID(3, "sys_cpu_ring_osc"), + CLK_MSR_ID(4, "gp0_pll"), + CLK_MSR_ID(6, "enci"), + CLK_MSR_ID(7, "clk81"), + CLK_MSR_ID(8, "encp"), + CLK_MSR_ID(9, "encl"), + CLK_MSR_ID(10, "vdac"), + CLK_MSR_ID(11, "eth_tx"), + CLK_MSR_ID(12, "hifi_pll"), + CLK_MSR_ID(13, "mod_tcon"), + CLK_MSR_ID(14, "fec_0"), + CLK_MSR_ID(15, "fec_1"), + CLK_MSR_ID(16, "fec_2"), + CLK_MSR_ID(17, "sys_pll_div16"), + CLK_MSR_ID(18, "sys_cpu_div16"), + CLK_MSR_ID(19, "lcd_an_ph2"), + CLK_MSR_ID(20, "rtc_osc_out"), + CLK_MSR_ID(21, "lcd_an_ph3"), + CLK_MSR_ID(22, "eth_phy_ref"), + CLK_MSR_ID(23, "mpll_50m"), + CLK_MSR_ID(24, "eth_125m"), + CLK_MSR_ID(25, "eth_rmii"), + CLK_MSR_ID(26, "sc_int"), + CLK_MSR_ID(27, "in_mac"), + CLK_MSR_ID(28, "sar_adc"), + CLK_MSR_ID(31, "mpll_test_out"), + CLK_MSR_ID(32, "vdec"), + CLK_MSR_ID(33, "sys_cpu_ring_osc_1"), + CLK_MSR_ID(34, "eth_mpll_50m"), + CLK_MSR_ID(35, "mali"), + CLK_MSR_ID(36, "hdmi_tx_pixel"), + CLK_MSR_ID(37, "cdac"), + CLK_MSR_ID(38, "vdin_meas"), + CLK_MSR_ID(39, "bt656"), + CLK_MSR_ID(41, "eth_rx_or_rmii"), + CLK_MSR_ID(42, "mp0_out"), + CLK_MSR_ID(43, "fclk_div5"), + CLK_MSR_ID(44, "pwm_b"), + CLK_MSR_ID(45, "pwm_a"), + CLK_MSR_ID(46, "vpu"), + CLK_MSR_ID(47, "ddr_dpll_pt"), + CLK_MSR_ID(48, "mp1_out"), + CLK_MSR_ID(49, "mp2_out"), + CLK_MSR_ID(50, "mp3_out"), + CLK_MSR_ID(51, "sd_emmc_c"), + CLK_MSR_ID(52, "sd_emmc_b"), + CLK_MSR_ID(53, "sd_emmc_a"), + CLK_MSR_ID(54, "vpu_clkc"), + CLK_MSR_ID(55, "vid_pll_div_out"), + CLK_MSR_ID(56, "wave420l_a"), + CLK_MSR_ID(57, "wave420l_c"), + CLK_MSR_ID(58, "wave420l_b"), + CLK_MSR_ID(59, "hcodec"), + CLK_MSR_ID(61, "gpio_msr"), + CLK_MSR_ID(62, "hevcb"), + CLK_MSR_ID(63, "dsi_meas"), + CLK_MSR_ID(64, "spicc_1"), + CLK_MSR_ID(65, "spicc_0"), + CLK_MSR_ID(66, "vid_lock"), + CLK_MSR_ID(67, "dsi_phy"), + CLK_MSR_ID(68, "hdcp22_skp"), + CLK_MSR_ID(69, "hdcp22_esm"), + CLK_MSR_ID(70, "pwm_f"), + CLK_MSR_ID(71, "pwm_e"), + CLK_MSR_ID(72, "pwm_d"), + CLK_MSR_ID(73, "pwm_c"), + CLK_MSR_ID(75, "hevcf"), + CLK_MSR_ID(77, "rng_ring_osc_0"), + CLK_MSR_ID(78, "rng_ring_osc_1"), + CLK_MSR_ID(79, "rng_ring_osc_2"), + CLK_MSR_ID(80, "rng_ring_osc_3"), + CLK_MSR_ID(81, "vapb"), + CLK_MSR_ID(82, "ge2d"), + CLK_MSR_ID(83, "co_rx"), + CLK_MSR_ID(84, "co_tx"), + CLK_MSR_ID(89, "hdmi_todig"), + CLK_MSR_ID(90, "hdmitx_sys"), + CLK_MSR_ID(94, "eth_phy_rx"), + CLK_MSR_ID(95, "eth_phy_pll"), + CLK_MSR_ID(96, "vpu_b"), + CLK_MSR_ID(97, "cpu_b_tmp"), + CLK_MSR_ID(98, "ts"), + CLK_MSR_ID(99, "ring_osc_out_ee_3"), + CLK_MSR_ID(100, "ring_osc_out_ee_4"), + CLK_MSR_ID(101, "ring_osc_out_ee_5"), + CLK_MSR_ID(102, "ring_osc_out_ee_6"), + CLK_MSR_ID(103, "ring_osc_out_ee_7"), + CLK_MSR_ID(104, "ring_osc_out_ee_8"), + CLK_MSR_ID(105, "ring_osc_out_ee_9"), + CLK_MSR_ID(106, "ephy_test"), + CLK_MSR_ID(107, "au_dac_g128x"), + CLK_MSR_ID(108, "audio_locker_out"), + CLK_MSR_ID(109, "audio_locker_in"), + CLK_MSR_ID(110, "audio_tdmout_c_sclk"), + CLK_MSR_ID(111, "audio_tdmout_b_sclk"), + CLK_MSR_ID(112, "audio_tdmout_a_sclk"), + CLK_MSR_ID(113, "audio_tdmin_lb_sclk"), + CLK_MSR_ID(114, "audio_tdmin_c_sclk"), + CLK_MSR_ID(115, "audio_tdmin_b_sclk"), + CLK_MSR_ID(116, "audio_tdmin_a_sclk"), + CLK_MSR_ID(117, "audio_resample"), + CLK_MSR_ID(118, "audio_pdm_sys"), + CLK_MSR_ID(119, "audio_spdifout_b"), + CLK_MSR_ID(120, "audio_spdifout"), + CLK_MSR_ID(121, "audio_spdifin"), + CLK_MSR_ID(122, "audio_pdm_dclk"), +}; + static int meson_measure_id(struct meson_msr_id *clk_msr_id, unsigned int duration) { @@ -337,6 +523,14 @@ static const struct of_device_id meson_msr_match_table[] = { .compatible = "amlogic,meson8b-clk-measure", .data = (void *)clk_msr_m8, }, + { + .compatible = "amlogic,meson-axg-clk-measure", + .data = (void *)clk_msr_axg, + }, + { + .compatible = "amlogic,meson-g12a-clk-measure", + .data = (void *)clk_msr_g12a, + }, { /* sentinel */ } }; From patchwork Fri Jan 18 10:34:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 155913 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3094164jaa; Fri, 18 Jan 2019 02:34:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6UvUCB5z4DvmshZIVbw5lTnfZT7K0MOut/9dS82LVDF4CPZODKrkSmFvhi1swia/r0YpM8 X-Received: by 2002:a62:4641:: with SMTP id t62mr18578499pfa.141.1547807686408; Fri, 18 Jan 2019 02:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547807686; cv=none; d=google.com; s=arc-20160816; b=aEn6fQl3SD2sFGnoZ8j6HAe4SvXP2flBNRuKkj//NEmRel00c8dUVTs4B9WeNvY5Fu C3jsVUe9KoPhCELoTl1/g4BbrnDxk6sEKDt/w1BbWv4oOtD6CtkAQWveNusIO/93tvr/ KBn1+k5YXiylYdmGT+d4uvJpH5qLNN+7j93mbObsT+XDrB06bCH38ZngbCZrUuUAnODJ kkIDp6B2xW1uveZy9XwC+iTBm7+4PlmSXV0p7Tft/mVSSH/ZgNrsWksZ3Tss+06UEr9E sonZ3fU0aJCneVMSW2ksiYZ5avnBN/UK9RVzJm6VqvLRVm78jkPa7VGHwbcgS+DDEEfI DtWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P9AjnAWzF1joho7fIkFSGa6Vz8VBjxoU9IlCRi8abS4=; b=Mw0ngz7p7hhhCR0incUR8ft959VlJCYqE7spjcv7eCLDPyKTdF3OdsAj+iq4udSTyU m86w7ewhgB1uM9FL0tUmAo0weyUsgcj5xnZpX9C/anP9uCLIXRe5w5aBvSoELdVN8PdX 6iTgSZtGg78AJIg+1Z1MwEIq9BX9cK0/L1Jxi1nuLH94A8y1dZnfJQzdG3IBgHS15XsY PYcPn+9IaB9Dk2KZrg5ccOV2R9uPl8UuMxjclbGiglk7+qWVIV2b/UOz7b30Vr8tRbue CiT4zoMpOu/jlgt9GtNvdKqrHyZXeK8wmGbfJLrPZNP3L5OtuoHjbslMrcrT5q6u0lPY dTog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=tDMMMXak; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 44si4275594plb.57.2019.01.18.02.34.46; Fri, 18 Jan 2019 02:34:46 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=tDMMMXak; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727278AbfARKeo (ORCPT + 14 others); Fri, 18 Jan 2019 05:34:44 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43559 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbfARKem (ORCPT ); Fri, 18 Jan 2019 05:34:42 -0500 Received: by mail-wr1-f65.google.com with SMTP id r10so14370503wrs.10 for ; Fri, 18 Jan 2019 02:34:41 -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=P9AjnAWzF1joho7fIkFSGa6Vz8VBjxoU9IlCRi8abS4=; b=tDMMMXakZ2OKycxV63R0kDoca3W+5RsF4yYMPAY5/VGS3twWcTA3vTJYyzqe+6L5OW vKmPWUZqYNKtIkoQIyPtvypB4SbGzZDrP037Y16eDj/i0SIlX+5+X75d2bDoPnvuj25F igllX71zAQkQFmfbAizRoWOUTVut8TwGbQDtiSX7K3/mVzjmKngqrBklbeduDTHdXETb agXdfHF24nAzTqQ9/wem+vRrgSScvmXbPw2DC3S6Qa/uXb4jjGFHGsVe3PIupCyMw+As JnNkYftWgnbfqsDoTTkfYPZfft4rtq0styc1YRvVRWVUMm4YlkALzXGa1Cmlk3wYlqj+ GROg== 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=P9AjnAWzF1joho7fIkFSGa6Vz8VBjxoU9IlCRi8abS4=; b=CIw7JWhfRkAvzI8HF5sYpsV4pSFgHCYqQ9zSmOaKa4QM0cBArUuGEZ1z08KlEztmUt yaOz41/OEdh5UfspCDA5ycf7zASmoO0JQ+pA1KwbvI47Xv1eViopR6QIxWHKYKsXolEl V74l67Z4gYbnQwfyb6s1oLlorb7EOQJszJXNktIwx3/NBPP+oaMZmkzP0z2kNS0DDbij +uBszW4Vb/9GDNO55L7KjOUsNu7nBt+x3ek2+kO/C5ruUGySQHjARgvULNxMUMuzyDl3 oe+4cCjmOfadeM2HqhhXZEjpqp3ovnxHycreW9bbiQl1f4xLvTaZSm8NucLr2U5k+lDZ ZnxA== X-Gm-Message-State: AJcUukeiB1gAfmle+9INigrytI+MevjbGdMuMEQ5LCiHdbiP6eHfBBL3 GAf33BtgZtbEorN4tQslZEUC9dNiltM= X-Received: by 2002:a5d:4382:: with SMTP id i2mr15808334wrq.172.1547807680464; Fri, 18 Jan 2019 02:34:40 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id s16sm67066247wrt.77.2019.01.18.02.34.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 02:34:39 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH v2 3/4] arm64: dts: meson: axg: add clk measure support Date: Fri, 18 Jan 2019 11:34:22 +0100 Message-Id: <20190118103423.15075-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118103423.15075-1-jbrunet@baylibre.com> References: <20190118103423.15075-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the clock measure device to the axg SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index f044473dc7d0..398b7ac1b107 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1610,6 +1610,11 @@ status = "disabled"; }; + clk_msr: clock-measure@18000 { + compatible = "amlogic,meson-axg-clk-measure"; + reg = <0x0 0x18000 0x0 0x10>; + }; + i2c3: i2c@1c000 { compatible = "amlogic,meson-axg-i2c"; reg = <0x0 0x1c000 0x0 0x20>; From patchwork Fri Jan 18 10:34:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 155914 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3094232jaa; Fri, 18 Jan 2019 02:34:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN64BtOXp9ak39+vl+WpNIlbYoA1xfsHlv418SOz3qck1u4P2ariCMZeyNEI1wfg0xDb1pNa X-Received: by 2002:a17:902:5588:: with SMTP id g8mr18811898pli.22.1547807690494; Fri, 18 Jan 2019 02:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547807690; cv=none; d=google.com; s=arc-20160816; b=pLQ32s5OBJEK/ff5LGYAYAUGSKppBXSADlMzAwzAxAN9969qNCa+ClP0c8cPp/cFht 2Mh/1a6cCF7vXq1f8GzHs0tehJqYA0VY5mWJs5tJHExfE5vHR5JPjbGDSzdr6/Xe6sie hbiGLRmAcrrRTKwn4uu5sU1JlvoJn50hfk0tYacA1z3zqBtNVJyiZLseCkRS5tTRQmXz YrPzFYd6/cAvh7ymQnOCFoxfeVYE/Q/P8shC8Z1RSKYfw9aOEAcuF8ckgBAyE91GB4J9 qmcyWvQ74cuIwYpF/M11YMpBFT3ZurULOpwULXEpA61aM4ghCi1pAaZ/ckUeomYIKZeQ rcBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Sx5kHS4kmd+hNzvZDxwBBsz8nNk2fnwFetGiR9GhdQA=; b=fDfuPqN/jw1Ds357X0xsTTmcGjmXoDxRdrNRL5THjz7pEstmKjCZ3tibNtjOQu1mXm 8/yt+tGp3shQ2Qmeb19PBV7BJyAtmhEdHyERd2osy2pFipc470b7jeXbD6I/hM9EYv6x 9vo1PW+2xISoYhS9VAowJJ6/9JBhFR24vw0fTht5+HCFFsOcjIrjrWBI8Z2bz5zksORv WN0SBxr4i3zhmWOotu5EV7iHeMlaXEeO7xoC85sZX323ArpRp6HKVGjxJduUbid5dRAy kfaapdDOJ2VDcp7bbyPn5W0yRr2hDCD0R4ucjL1Rhd04LhS9nqdt5jdB2wciaSEXO0kZ hRng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=IVslo9x0; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 44si4275594plb.57.2019.01.18.02.34.50; Fri, 18 Jan 2019 02:34:50 -0800 (PST) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=IVslo9x0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727330AbfARKes (ORCPT + 14 others); Fri, 18 Jan 2019 05:34:48 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45304 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727187AbfARKen (ORCPT ); Fri, 18 Jan 2019 05:34:43 -0500 Received: by mail-wr1-f68.google.com with SMTP id t6so14361129wrr.12 for ; Fri, 18 Jan 2019 02:34:42 -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=Sx5kHS4kmd+hNzvZDxwBBsz8nNk2fnwFetGiR9GhdQA=; b=IVslo9x0IqXExyg8jC62O3Uv52+uI2i8twr+lPmhlFgnpm4e2n8Ki21cPmGIWDDP8W ZzgfS+bF/Magm0/l7xxW3QEYQvwNDI8xb6ioqY0E0ZFQqfsbr9I2EAYopHycSgGJFYaH nBaiT2eJV9nFkHjj8rfBSqrhQwQKzZzMSJJsf+Zm42OFJyksd3AQl9zdMIPaZY4mGG/k k/5QbjKyC0WWgUOh3KvXhVBJmGI8owGt5dw4lh4J9GQTDR5TQK9NqSSds7uGTxMLKUWd 3zs6T80vJH0kJ5aJmKtI+HBOQnsz0c1g7ApxBxSzjeQJGLC0loEA49A2lhuDJlyvWfUZ 77NQ== 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=Sx5kHS4kmd+hNzvZDxwBBsz8nNk2fnwFetGiR9GhdQA=; b=bUJAW6f78Lnm7BbMBkoMi4mMFR0StK0nUc9Cv1FiVx9P16gUOTEU2xg24xwvClLozM 8MSKGN7+l8GjfF3XnvNWd+2kmqAMNy8nAeXlsP3djFvlfA/xczvOiAHkuWyK0ZGrtgVj bKzZb4Vpoj/fvSzyMHoHlfYBw7fwDZCz1R7qhkNO6Qkr/pNM+Ehkw/TaKBufR0oRPOh+ Sem19YXfUp19WAf6r973uacOpI80acAZ+p2gVOjVVIUFkoyetN09w1bB+IsXnnwJ/tMX jtWI2hgWN1Og1oiLlTO3UFRVr8TTtsvl5U4sj4OOyC/2mWVonWVMJJJgBuoUdBBHmmA/ /Uqw== X-Gm-Message-State: AJcUukf1j10vt8/fYJMamDJuZJyBiAE7Cv7iWNDxafq0IzKDk7bYpSPx yMeIUxVMkdlfaLoIVyqwauJzwQ== X-Received: by 2002:a5d:4202:: with SMTP id n2mr15671977wrq.260.1547807681752; Fri, 18 Jan 2019 02:34:41 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id s16sm67066247wrt.77.2019.01.18.02.34.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 02:34:41 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org Subject: [PATCH v2 4/4] arm64: dts: meson: g12a: add clk measure support Date: Fri, 18 Jan 2019 11:34:23 +0100 Message-Id: <20190118103423.15075-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190118103423.15075-1-jbrunet@baylibre.com> References: <20190118103423.15075-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the clock measure device to the g12a SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index bd24de947a5b..59900ddb7b43 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -193,6 +193,11 @@ #interrupt-cells = <3>; #address-cells = <0>; }; + + clk_msr: clock-measure@ffd18000 { + compatible = "amlogic,meson-g12a-clk-measure"; + reg = <0x0 0xffd18000 0x0 0x10>; + }; }; timer {