From patchwork Fri Dec 13 10:33:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 11290393 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F653930 for ; Fri, 13 Dec 2019 10:33:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E19762077B for ; Fri, 13 Dec 2019 10:33:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="jHR12tbM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725989AbfLMKdY (ORCPT ); Fri, 13 Dec 2019 05:33:24 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46874 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfLMKdY (ORCPT ); Fri, 13 Dec 2019 05:33:24 -0500 Received: by mail-wr1-f67.google.com with SMTP id z7so6027514wrl.13 for ; Fri, 13 Dec 2019 02:33:23 -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:mime-version :content-transfer-encoding; bh=vFvEZv4fCEfnBjZuHaDEzhBGea5XsffkSnNCT16fvYU=; b=jHR12tbM06VD1AOyR9O5gcHoAjUBra8//xez4RFLOUxKSeZDIjslV5etdOMPGeDCm9 e2HF6yTZBYeuXFOfepN5F1XNTW9ytm6jii1vfCNdrfx4Ldc9hM9GAqD5IbKj6evY4qjH HpBTF8Vpx7EpHBwrbGf0zpzNKC3P4h071RgRBXJQn/1k1lUr4o1FnSkrD7e8htNvApHu ABPDaeDWiml/L8mpAS3Bg7B2ZzIG2etXzL/fGi+AFqQcJ8ztKqZb4OiCkgDIU/Cz7ltf StZ5QYewoyP5dpAx7CxnpmhSfGpEljAO2sfvURWlydTJ4uBDiIGHZIaA9vXDlsFoY2bj EDiA== 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:mime-version :content-transfer-encoding; bh=vFvEZv4fCEfnBjZuHaDEzhBGea5XsffkSnNCT16fvYU=; b=p4gBNBfB1Toi+lmpQ5AsMwbI/Pr63GzB/YeI+cuN9mKixE26POTqYgIYv2pJ2WmHJC /PS451ZvMuwSJ72TESbnIMy919cSv1/B7HAXsaJUx3jAzHiVg8ztjVc1o6/juczAniwm Zwts0NW8tGfK+XP2086coI+VZFE5x6fBTFy7Mi9dl2jbEne0lnbebhogV7qI6Fta12zW f0sxIjTXiJRRJKsNat6f7OcW4ohrsaxqzY4f4Q8TDTQS0mc3DqL6g1nbmZjv1flPF1DX tJV1scjt1M9qXMsYy3WEeX4dmwlzyLrf+0bcBw08IGSqljwufpYQK5EfLjpnwEAsZRcF nF5w== X-Gm-Message-State: APjAAAUfr/3MFeIbJT4TQ8CUJfGwJsIvX8QJBQxXkdCo3wnd0egdvy12 uJnqvZ76bKHtW4o8UwvTNgjNdQ== X-Google-Smtp-Source: APXvYqz1VjXHLIdrv97zx5XQLMgpiEieswi1vjrpZ4azFHtBa2vKvdYyT7xQsTMMNMs1NvsK4hcUBA== X-Received: by 2002:adf:dc06:: with SMTP id t6mr12183832wri.378.1576233202363; Fri, 13 Dec 2019 02:33:22 -0800 (PST) Received: from localhost.localdomain (cag06-3-82-243-161-21.fbx.proxad.net. [82.243.161.21]) by smtp.googlemail.com with ESMTPSA id x132sm13375213wmg.0.2019.12.13.02.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2019 02:33:21 -0800 (PST) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Shmidt Subject: [PATCH] clk: meson: g12a: fix missing uart2 in regmap table Date: Fri, 13 Dec 2019 11:33:04 +0100 Message-Id: <20191213103304.12867-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Patchwork-Bot: notify Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org UART2 peripheral is missing from the regmap fixup table of the g12a family clock controller. As it is, any access to this clock would Oops, which is not great. Add the clock to the table to fix the problem. Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") Reported-by: Dmitry Shmidt Tested-by: Dmitry Shmidt Signed-off-by: Jerome Brunet Acked-by: Neil Armstrong Tested-by: Kevin Hilman --- drivers/clk/meson/g12a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index 66cf791bfc8c..cd1de3e004e4 100644 --- a/drivers/clk/meson/g12a.c +++ b/drivers/clk/meson/g12a.c @@ -4692,6 +4692,7 @@ static struct clk_regmap *const g12a_clk_regmaps[] = { &g12a_bt656, &g12a_usb1_to_ddr, &g12a_mmc_pclk, + &g12a_uart2, &g12a_vpu_intr, &g12a_gic, &g12a_sd_emmc_a_clk0,