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: 181533 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp442995ile; Fri, 13 Dec 2019 02:33:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwInAF/wwMj+n97ineZoYsv5b5b5OAxRJ9ch7ddm1O1GHD89OleuVTlaitxDn7ClkauVpnT X-Received: by 2002:a9d:6a5a:: with SMTP id h26mr14390732otn.103.1576233206248; Fri, 13 Dec 2019 02:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576233206; cv=none; d=google.com; s=arc-20160816; b=dTgOLTwZvr+/cCMKMO1gILIzGDJW7iOR1YEIIkkS413zDLdazVNT37qXTaSqZXcGRI MEBvq2kIJA4D+j/9LQ4qfbGU5Wb0rqubmJzKjkX3YFD0v13kqyvg5MWnrlCkzCqtK9mN SGfupmZKyRskOSETfpY4cjJPLxApTQiw1F4y9WMYsbsRpy/U/oCmduPHpfoIV72tohSi h78czq2DrD5uUlj4A9NA4Qrl5nrMPTCk6xmLvRvNNdVFRZHz4ZOFWrN2UJeDeFYp5GAB tuNTc9DmbTUFdJIjwh8jW32Igr/pCh7tXrl1nutgPk++o+jhO+l9g1mRGTadCdmBnKpg 2/wg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=vFvEZv4fCEfnBjZuHaDEzhBGea5XsffkSnNCT16fvYU=; b=z7oSGQ6pc3RhJ5ugmRpE1GNrHK4sIAIFBz5cTzMLjCkWwk9H23Y0upkvk95vVZ7eHT Q83gvh8n7I2cpxyFAs+PqHw+M2JxeURPQWs0RujFYlf32P8BJrZYK+xh1pZv213GL+Cx 7WpznpFEarfoG1pi0Xrs4xERHea7EZAIhKkYSIG9Y48ljVvlc0wyS4d+ThIVPcDUT2R+ jvhQ1iZrweY2UOeHH0NDtdrYrLef4kFEMx7hLZ6rMoEUljsjfxP5AfprdKe6hZz77llr kNeKNpGsZg4yC5/mt1FRIIwfgncebjjB/LGW2XKdui2Zqd4sfbNIO9g3ZpYdoQEL1Nef XxBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=jHR12tbM; 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 b20si4806060oii.169.2019.12.13.02.33.25; Fri, 13 Dec 2019 02:33:26 -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=jHR12tbM; 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 S1726494AbfLMKdY (ORCPT + 27 others); Fri, 13 Dec 2019 05:33:24 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34596 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725928AbfLMKdY (ORCPT ); Fri, 13 Dec 2019 05:33:24 -0500 Received: by mail-wr1-f68.google.com with SMTP id t2so6104662wrr.1 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=Qm+NyoK/2MEJGHvor21n3tVTFWMUF7sufBLGJzb1qOmMxo98Ktit5cpEHmhL6F6bHK LkOw/qZua5W6QQdp/jP6UJktsqeUqT/6yoEFRQGsTfHst5Dpco0I2RDyo4HedzkK7qPu PaqYRKLVtLW9Fsd1BNmDJDpLXGtuY2A++FHXmgg96/vgx7CCVog82GPA+wS21INltoQA gYXH7BZLpbu4glce3qciPEd/v+8WnAFsHg5KQkxG3v+OYWvc9EgZ3W1nrqj2KVgHSHsc EyYlq64QP4CLUIA7EYq54gQoBJGGBHPMKeaGw7nLeQEDUyA2FoGbn/1h1n4c8VhaRKdf 5x2w== X-Gm-Message-State: APjAAAXnF+4mwXB6j/ogQphDzvh/KVJNsE+E+Sbt+bvpq4r3mLYd11Sn U5kHuXTduVvoePjuAh4ByfLV/w== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- drivers/clk/meson/g12a.c | 1 + 1 file changed, 1 insertion(+) -- 2.23.0 Acked-by: Neil Armstrong Tested-by: Kevin Hilman 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,