Message ID | 20230607201641.20982-4-ddrokosov@sberdevices.ru |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp498637vqr; Wed, 7 Jun 2023 14:42:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LMnG8X41Ws0nIm8V+E3Gsnj5EuWfiDZR6nSWwdYJBknkvwFKrjBcB6BGQZGCBDrsIK1eg X-Received: by 2002:a05:6a21:3a8e:b0:114:6390:db06 with SMTP id zv14-20020a056a213a8e00b001146390db06mr2189090pzb.32.1686174132621; Wed, 07 Jun 2023 14:42:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686174132; cv=none; d=google.com; s=arc-20160816; b=MLwko5fIdImKHyAq94D8heUsurIziUSIxqnFFHQ/hj1U1F+V8fC9sT3M455YfPAGr5 H5XEMe3ceaNnAXfkfkfz6Pptd7micJwbIsj3DydUAG1qVDDoA/cbxjfviU4q2s0zAfIw GeZsC2jPng78QfivFmzHvSwjqce6LHEI+oPd+2vdY5EW+Yp/AsILnPhf0MAj54YyysXi 5n60taE0sYQ1y3NcnsFbIcL+slHfXyNZhVPH8N6APXY6tagqdzeMowM/6JpxSWR5kJsB UcgA4w6cE0fosCVaGkgeXHTX6s4GYwsqRAnK2zJhRvaRYetaI5gpL/Nt68z2hJFPmh1Q GZpQ== 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=UTZcZ6SqBjR1YEd2msrtjkp6jUwOSc8GxBbCJ0Tz6Xk=; b=DkYB9ntM8envmkczdMCyQbYivInV5oNoE3hLfW8synjOkgJVPaibSwtKWYTtItPxUe fE/7nQRIfksmRt3fuSQgoI1sT+WOqf1Ynw3BbzsrpupM5sHTUEXEvOSS5ft5S3kN0tYR QazNUeQKk4Jt+sob6D/qtTbCiVS8Lv2B6zViXt8ww/5X4mMcRJU5I4NrlrirW+slul5b E5FzFAHHkeehR/yWwVhsmSRO1BlhHlYDyuhSCB3dWCkMA2x3PFtEXyJvWtwnMpN2UjZc LFkdzae4uApTOOkwW7mbaOoFgU6OL9VX+XtA6adAFGlULp4+LXXT1dngUaitqUsws+XY U6og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=f+vaPMXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020a63b20a000000b0053487937119si9286658pge.351.2023.06.07.14.41.57; Wed, 07 Jun 2023 14:42:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=f+vaPMXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232171AbjFGUQ7 (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 16:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjFGUQ5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 16:16:57 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6D3C1FC8; Wed, 7 Jun 2023 13:16:54 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 1B3FA5FD70; Wed, 7 Jun 2023 23:16:53 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1686169013; bh=UTZcZ6SqBjR1YEd2msrtjkp6jUwOSc8GxBbCJ0Tz6Xk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=f+vaPMXGOJFDqj1KS3+wyVqC1kzG+ieLA8Dm/owf1lIlUeXjJT7/ImErFX/5E4XsQ LfvCGkqX3tgmD7Qp1YUTe8X/+Ie1Y1olNBCheCisMt71yJxI10I+CDkOqhpG20Iwpb ANmZxAaCA8Fxi+nvnSxsSAo+MxzY9k3cJoCSe+CBaZ7nrcNIbKGdQvCC8lxItjSKtF ALQ1iu6+tdAyLmh0pYpx33O+S7bBEy4UEnlw/DOmM5mK6AQoO793+9QUde5FbYL7Cp DTSpgFenmMhjy5PLrE2VUdsJJvKQek+0S3f6f+Qb/6bgvLqihDMUP9QZdpBaUHCiow O/NhnXkdGZLKA== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Wed, 7 Jun 2023 23:16:53 +0300 (MSK) From: Dmitry Rokosov <ddrokosov@sberdevices.ru> To: <neil.armstrong@linaro.org>, <jbrunet@baylibre.com>, <mturquette@baylibre.com>, <sboyd@kernel.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <khilman@baylibre.com>, <martin.blumenstingl@googlemail.com>, <conor+dt@kernel.org> CC: <kernel@sberdevices.ru>, <sdfw_system_team@sberdevices.ru>, <rockosov@gmail.com>, <linux-amlogic@lists.infradead.org>, <linux-clk@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Alexey Romanov <avromanov@sberdevices.ru>, Dmitry Rokosov <ddrokosov@sberdevices.ru> Subject: [PATCH v1 3/6] arm64: dts: meson: a1: enable efuse controller and setup its clk Date: Wed, 7 Jun 2023 23:16:38 +0300 Message-ID: <20230607201641.20982-4-ddrokosov@sberdevices.ru> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20230607201641.20982-1-ddrokosov@sberdevices.ru> References: <20230607201641.20982-1-ddrokosov@sberdevices.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH01.sberdevices.ru (172.16.1.4) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/06/07 16:55:00 #21454472 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768081727301345120?= X-GMAIL-MSGID: =?utf-8?q?1768081727301345120?= |
Series |
arm64: dts: meson: a1: introduce several peripheral IPs
|
|
Commit Message
Dmitry Rokosov
June 7, 2023, 8:16 p.m. UTC
From: Alexey Romanov <avromanov@sberdevices.ru> EFUSE A1 controller uses CLKID_OTP clock and PWRC_OTP_ID power domain. Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru> Signed-off-by: Dmitry Rokosov <ddrokosov@sberdevices.ru> --- arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
Comments
On Wed, Jun 7, 2023 at 10:16 PM Dmitry Rokosov <ddrokosov@sberdevices.ru> wrote: [...] > + efuse: efuse { > + compatible = "amlogic,meson-gxbb-efuse"; > + clocks = <&clkc_periphs CLKID_OTP>; > + #address-cells = <1>; > + #size-cells = <1>; > + secure-monitor = <&sm>; > + power-domains = <&pwrc PWRC_OTP_ID>; > + status = "okay"; If eFuse is always enabled then we can just drop status = "okay" as that's the default.
On Sun, Jun 25, 2023 at 10:50:37PM +0200, Martin Blumenstingl wrote: > On Wed, Jun 7, 2023 at 10:16 PM Dmitry Rokosov <ddrokosov@sberdevices.ru> wrote: > [...] > > + efuse: efuse { > > + compatible = "amlogic,meson-gxbb-efuse"; > > + clocks = <&clkc_periphs CLKID_OTP>; > > + #address-cells = <1>; > > + #size-cells = <1>; > > + secure-monitor = <&sm>; > > + power-domains = <&pwrc PWRC_OTP_ID>; > > + status = "okay"; > If eFuse is always enabled then we can just drop status = "okay" as > that's the default. Ahh, okay. I wasn't aware of that behavior. Thank you for pointing it out!
diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index b2563c7d3842..63faccfc1134 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -44,6 +44,16 @@ l2: l2-cache0 { }; }; + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + clocks = <&clkc_periphs CLKID_OTP>; + #address-cells = <1>; + #size-cells = <1>; + secure-monitor = <&sm>; + power-domains = <&pwrc PWRC_OTP_ID>; + status = "okay"; + }; + psci { compatible = "arm,psci-1.0"; method = "smc";