From patchwork Thu Feb 7 13:26:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 157755 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp643935jaa; Thu, 7 Feb 2019 05:26:37 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia1YOEqHsf9pU7pedrLEamKlbqy/ERzAv8QhZOff8Q1VNS7xxSdu4r6mB5yyMjgy4nmSv7w X-Received: by 2002:a62:a209:: with SMTP id m9mr16365728pff.218.1549545997362; Thu, 07 Feb 2019 05:26:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549545997; cv=none; d=google.com; s=arc-20160816; b=lW4Jxs3l/gxC5Kh53o98VEjNFOhfbvzsxr3j9WLudf7aPiz7956uNNigIs/GYRGCe+ xb9hYgc+jA8+mmgUH/H3TNIHqfbX4XrT2KlzFKKvJQsq+0KWSN9SfbOoK+UnAFc2eyZI 3xSazFmadC7dmXX3k4a3oBIg2FyO4QBID6iGOlxKIpVXj/jUfw9sfCCyntxSIxpNBQc5 aYCt3g4wvsd6mvT3Lh6hWzLnceYCk6HhP2PX4VRf0T7wIQ46Rv0fyGJq7nLZBdCr47wj ecGkf5v8YrhczERwWqHHcq0JZa+2aLvxOMp5IHb7AckD9mF7uA/so2he05fsiNusfyg6 M0mQ== 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=irDAtFzSD44qLeuz7xjCo1buACjRBJTzikViM/uGxI0=; b=sH8m/MU8PZtCAOr61AyhB0kN1hg5ikR0j8vr0AkNA3stjqL6d7MXXnfIbT0SCE0dTi tWr+kPdFnomtP2j4MOkXx4P3Q3g0h4zNc+3bM6ylmTf2xse3NSIPs0w2UftrOyJ6VKHH 4PwaN6PNf3POV3gUp45tOWMtG0utq0EYNlASfn/vurrPN/FTQA/y3W8zBoiCjCtmhGtf 9pfeQBdHkMspoHQv7+cdRQuksqz8zf3ZkFkRCtoQrT7BtrS7cP/eTDhnqvgTH8CDhdds gSG+bEBtK/qCOmn1J+TXUy2G9taUFcwf3VQZWIBpN7q+Cu6gBn7XAFX20ZEUVEK01nhT 4slQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=S5Da9fZB; 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 a23si1302558pls.384.2019.02.07.05.26.36; Thu, 07 Feb 2019 05:26:37 -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=S5Da9fZB; 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 S1727082AbfBGN0a (ORCPT + 31 others); Thu, 7 Feb 2019 08:26:30 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40621 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727057AbfBGN02 (ORCPT ); Thu, 7 Feb 2019 08:26:28 -0500 Received: by mail-wr1-f66.google.com with SMTP id q1so1550817wrp.7 for ; Thu, 07 Feb 2019 05:26:26 -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=irDAtFzSD44qLeuz7xjCo1buACjRBJTzikViM/uGxI0=; b=S5Da9fZBJtEVAWWpk+jta2WSGqpAaCJdGgrZTstXL7WFAb2jyq8mKFO41p2tZoHp7d jHxRFGxUHbmWUhrOXy80xupoIv1ONEALGDpqgyPhNbZAc7wpS/B40GqfLttcMqguAo72 a23fq+kqTsWDfAClOwNS73XURxWD1cJ7xbhCBpRjCZWw7XrxOzRtHsY+WSs3JVtvWU3k 7+D4uMk3IRvN25RuVMScTUnwxHTpT1XJQiwUwy+LYpqkZZ2uC94WLRBiqvMGhBvVv4cB A8cJMnI5lBAO9ZGgN/DDYKjEN1z0YZevqJuvpqJUpm2n4yLiIChMUy66fMDZpzzPIcZn 4sag== 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=irDAtFzSD44qLeuz7xjCo1buACjRBJTzikViM/uGxI0=; b=pWhBO23oOOjryKhoPIc1ScHyM/jakSoOz6ThkCLSbkaPHTnGxusu9KECC9yGIWKCUL bEG94Jsg4bplYqF3+FDL2FVx9Pqk8Bbu8brOePb2gBQ5Y6oQZ/dYqMPRy0TXcK4oQE2y xQmcusz9wNobbkfYTqDPersUwGlvsAbTZ80KehUaqhWNsflznJBQkn87F7cvrLvyymVw PVmC4H30vh06w0lbKJLWzRX31Xg9kvB3swD5LxXsuMu2CM9PJ2GJ4e2/OvSJyLPyQn7u 7gWH+CkBet3OB38djWkH6rzOfPHZ2jVCOw8+Pan2RtageYvU6hZcTT5XOKB01CynBxBx bwPw== X-Gm-Message-State: AHQUAuaKVVt+PumR6gG4CTbPOb06obxUXQFd8Qd1yWO94G9TLlnC9RqV FWaktxKnCHlEwObhO0JCoM3qnA== X-Received: by 2002:a5d:6b05:: with SMTP id v5mr3684072wrw.76.1549545986212; Thu, 07 Feb 2019 05:26:26 -0800 (PST) Received: from boomer.lan (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id v22sm11061612wml.37.2019.02.07.05.26.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 05:26:25 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Martin Blumenstingl Subject: [PATCH 2/2] soc: amlogic: clk-measure: fix-up some clock definitions Date: Thu, 7 Feb 2019 14:26:03 +0100 Message-Id: <20190207132603.694-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207132603.694-1-jbrunet@baylibre.com> References: <20190207132603.694-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 As pointed out in review, a few clock are not properly defined. Reported-by: Martin Blumenstingl Fixes: 2a4c63e080cd ("soc: amlogic: clk-measure: add axg and g12a support") Signed-off-by: Jerome Brunet --- drivers/soc/amlogic/meson-clk-measure.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measure.c index 5570180b94a1..19d4cbc93a17 100644 --- a/drivers/soc/amlogic/meson-clk-measure.c +++ b/drivers/soc/amlogic/meson-clk-measure.c @@ -202,7 +202,7 @@ static struct meson_msr_id clk_msr_axg[CLK_MSR_MAX] = { 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(74, "wifi_beacon"), CLK_MSR_ID(75, "tdmin_lb_lrcl"), CLK_MSR_ID(76, "tdmin_lb_sclk"), CLK_MSR_ID(77, "rng_ring_osc_0"), @@ -268,6 +268,8 @@ static struct meson_msr_id clk_msr_g12a[CLK_MSR_MAX] = { CLK_MSR_ID(26, "sc_int"), CLK_MSR_ID(27, "in_mac"), CLK_MSR_ID(28, "sar_adc"), + CLK_MSR_ID(29, "pcie_inp"), + CLK_MSR_ID(30, "pcie_inn"), CLK_MSR_ID(31, "mpll_test_out"), CLK_MSR_ID(32, "vdec"), CLK_MSR_ID(33, "sys_cpu_ring_osc_1"), @@ -303,8 +305,8 @@ static struct meson_msr_id clk_msr_g12a[CLK_MSR_MAX] = { 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(68, "hdcp22_esm"), + CLK_MSR_ID(69, "hdcp22_skp"), CLK_MSR_ID(70, "pwm_f"), CLK_MSR_ID(71, "pwm_e"), CLK_MSR_ID(72, "pwm_d"),