Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp165044pxb; Mon, 2 Nov 2020 17:28:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzctwVFyhcr9+5pv8Duxbozm1+m0QVMiZOtYw0YdyR0O4OPK6KfwMm3etmfXW8bJaWwELG X-Received: by 2002:a17:906:52c6:: with SMTP id w6mr16931350ejn.199.1604366886709; Mon, 02 Nov 2020 17:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604366886; cv=none; d=google.com; s=arc-20160816; b=cO8j1ssOyh54B96E1eaW7QN5jPkphLe4+d1smE60sG6BtBX/3sRNJwfrI6noOmbNlB dedsp8XuQJObnwn+5s/C13Jg6dnG37HlnUtX+x8TI5EuZu3ayy6w9S4ndvrWs2WX8FqM eHbidYmhH1ZZrvCbf4Di+FC/qVnMxP7lmHPEAqBhutoQb+04vDe+KI0kFeBkcAsAzLsM VQy9KJdtNng3jse9r93uN9N91++92JC9lHSibepXDSbgS4VYh1+Ox+oYcMTwRVY/jpcR OO2qBPYGC/zez8GcJl11cyGCrJN/cCocpbN18kBRQxGDoshK95gbCYUcQcR2qXmQWS+/ aNiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/IPv//RTr24YsYCEtKW19J5XTt5h1i73z4vF5m81qMs=; b=lwHPFAQFqS6yjlFfv/wNwyOlTelB5ybWk7gvoBntRCKjWbh8vLP+aoaUwD6Bh0+dDa uCvju4uxTSXmJaOV3AjLHbF5JpvqHE3OQyESFil0HYgAUA4M5mDCArCrQtaebLD9p03d zXnVotwQTwzTMwRDM4Mhv5nuRuQrkMHL66EC3PFJj2eigjDjmVoAFw0JVaMUSPvu+Ln4 Q2r1Nsiu6qmBYXOO1uQiEutEV4nXig6JHmDmlLS9ptduL4joJiGyxQLCiDtxnjDtd/bX TnbxjnMbGfl3EDLOqMYPmqz2YYqojCzpsGpMhcG7CAsoFoY2sdDO5SRz5q38ptM+/eTr BrkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U4z3Fbwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw7si11543977ejb.149.2020.11.02.17.27.44; Mon, 02 Nov 2020 17:28:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=U4z3Fbwe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728360AbgKCBYh (ORCPT + 99 others); Mon, 2 Nov 2020 20:24:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:34778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728029AbgKCBUO (ORCPT ); Mon, 2 Nov 2020 20:20:14 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2564223EA; Tue, 3 Nov 2020 01:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604366413; bh=sLdD2WHhyZznq7z3KqCeqdwr5+xOdL5zrp3tEJEMszE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U4z3FbweP6ZigvdgS6MsbXOkCzTANY0acU1ECLFZmBlj93PAn9hTzIun3bVjecMws sftvN9u3dQdWXCHo045qFbKqPwBSVvgy2AOuZsAtPvDcuwDMIRT0iZjsIgn7xK19Bl ARpe2+GK55X1QtUsYfDX9e69IlA3Dza8njePyGW0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Scott K Logan , Neil Armstrong , Kevin Hilman , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH AUTOSEL 5.4 04/24] arm64: dts: meson: add missing g12 rng clock Date: Mon, 2 Nov 2020 20:19:47 -0500 Message-Id: <20201103012007.183429-4-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201103012007.183429-1-sashal@kernel.org> References: <20201103012007.183429-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Scott K Logan [ Upstream commit a1afbbb0285797e01313779c71287d936d069245 ] This adds the missing perpheral clock for the RNG for Amlogic G12. As stated in amlogic,meson-rng.yaml, this isn't always necessary for the RNG to function, but is better to have in case the clock is disabled for some reason prior to loading. Signed-off-by: Scott K Logan Suggested-by: Neil Armstrong Reviewed-by: Neil Armstrong Signed-off-by: Kevin Hilman Link: https://lore.kernel.org/r/520a1a8ec7a958b3d918d89563ec7e93a4100a45.camel@cottsay.net Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 1234bc7974294..354ef2f3eac67 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -167,6 +167,8 @@ apb_efuse: bus@30000 { hwrng: rng@218 { compatible = "amlogic,meson-rng"; reg = <0x0 0x218 0x0 0x4>; + clocks = <&clkc CLKID_RNG0>; + clock-names = "core"; }; }; -- 2.27.0