From patchwork Tue Sep 12 12:25:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13381572 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2EB1CA0ECA for ; Tue, 12 Sep 2023 12:25:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QsCIca64jhRUDIAh1NvbXgdB8xabqpvd7gWku5JNlmc=; b=AHGDAp1dmNvFcV FIuYkrIlvzXnsHhOqh2BirzwFML74Ld3+1Prv8uVCI9gjlFYj/qBA8taVn7ennKFji4SCJHAxzWYg WZoIkl+G+U//kNvXRHGwn0HyPrMSI0+vAZHQ2i2VO1sncSxflU35JCUwpI/45ceRNyLhmB2hzE9MC iagjNMHwIf4bpz/XFfQSoSx1pb+yxvh5xcMZLUlEMEZrPQuYEgMzVxz5/vgF6pMgb3D0tcqtfcSFe Q043Uo3cOCk/4ITMvo3O55DdMEerFkiqYEihWFaHPebX7URQUamRz1987+XsstUGNfWsIojQ1pcwC qHyfjufLB7BOWroMv8AA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg2SK-003KFW-2B; Tue, 12 Sep 2023 12:25:24 +0000 Received: from relay06.th.seeweb.it ([5.144.164.167]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg2SH-003KDt-1M for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 12:25:23 +0000 Received: from [192.168.2.137] (bband-dyn191.178-41-225.t-com.sk [178.41.225.191]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 4EEB13F5C7; Tue, 12 Sep 2023 14:25:16 +0200 (CEST) From: Martin Botka Date: Tue, 12 Sep 2023 14:25:12 +0200 Subject: [PATCH v3 1/2] dt-bindings: nvmem: SID: Add binding for H616 SID controller MIME-Version: 1.0 Message-Id: <20230912-sid-h616-v3-1-ee18e1c5bbb5@somainline.org> References: <20230912-sid-h616-v3-0-ee18e1c5bbb5@somainline.org> In-Reply-To: <20230912-sid-h616-v3-0-ee18e1c5bbb5@somainline.org> To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Andre Przywara , Alan Ma , AngeloGioacchino Del Regno , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694521515; l=1027; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=1jMnpDdkp6KPQZuwmTj68b4NuaIjnRfs7Don6TWW4G4=; b=J8dj4lQj/lhG/fni06UPK7S8zEi/zaAQ9NYDRQTk4/C+LRz45lqwR5Z19vprDG4pnuAcvKzpM S6OeysOSUBDDHoowVtyio6W7rCmuYT8qxnJosQz8asVpIGIpUww7wee X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_052521_612761_0A81442B X-CRM114-Status: GOOD ( 11.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding for the SID controller found in H616 SoC Signed-off-by: Martin Botka Acked-by: Jernej Skrabec Acked-by: Conor Dooley --- Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml index 296001e7f498..0928ec408170 100644 --- a/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml +++ b/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml @@ -23,7 +23,9 @@ properties: - const: allwinner,sun20i-d1-sid - const: allwinner,sun50i-a64-sid - items: - - const: allwinner,sun50i-a100-sid + - enum: + - allwinner,sun50i-a100-sid + - allwinner,sun50i-h616-sid - const: allwinner,sun50i-a64-sid - const: allwinner,sun50i-h5-sid - const: allwinner,sun50i-h6-sid From patchwork Tue Sep 12 12:25:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13381574 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E168DCA0EC3 for ; Tue, 12 Sep 2023 12:25:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KivEDNq40s9M/VmOaKn9ZtuCBA+ka68zCEJxbPoChTo=; b=MINa3sHp/08L2S 8g3+9yc4IzH+pjUYvqKF67HAdfdGg8SBnlkMeHvYNcNm0N1UO/vP8vfvJFYTmLa7kJMl+HE3sKr8f QP/04OmMG29hZME4IL6z/MXz0g5009PLqKDeNpSx+k4rxVcJo36xhqRZiwM/rSHRnDTVZWZZlopB1 5A/lBKCN7Mm8a8I1VfeFstO/op5ssY62ogrp58pVuv3AK0W0lp7RAPpnLU1jTMrQpLtMr3J+LaWP1 z8ClFJiy6zf3XVc+vUtAYEDKx9hzU6Dawqpy2GbXUiPSxRqNS023nPozg27+RRofdbM1SM/FEl0s9 0uIjajm8NfTalCeLNM6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qg2SL-003KFd-0d; Tue, 12 Sep 2023 12:25:25 +0000 Received: from relay06.th.seeweb.it ([5.144.164.167]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qg2SH-003KDr-1M for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2023 12:25:23 +0000 Received: from [192.168.2.137] (bband-dyn191.178-41-225.t-com.sk [178.41.225.191]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id D33E13F5B9; Tue, 12 Sep 2023 14:25:16 +0200 (CEST) From: Martin Botka Date: Tue, 12 Sep 2023 14:25:13 +0200 Subject: [PATCH v3 2/2] arm64: dts: allwinner: h616: Add SID controller node MIME-Version: 1.0 Message-Id: <20230912-sid-h616-v3-2-ee18e1c5bbb5@somainline.org> References: <20230912-sid-h616-v3-0-ee18e1c5bbb5@somainline.org> In-Reply-To: <20230912-sid-h616-v3-0-ee18e1c5bbb5@somainline.org> To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Andre Przywara , Alan Ma , AngeloGioacchino Del Regno , Martin Botka X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694521515; l=864; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=ZkRao+SoGyLWR0re//2OndxkkGjlXhC9ot4zAnROi5I=; b=XrAr5Dq648hOA4X5B5E+GpIsCY3dbSG7kKzZxn5+eFGBJ06i8BZkVYBTB7ZNxYw5a3l9/uoxg nhUy0hjKKoyBIYjT+a/XbiD8lw1Eg61oXHapvFvRFoQt4npqjPcDPA5 X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230912_052521_615608_EA689C9B X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add node for the H616 SID controller Signed-off-by: Martin Botka Acked-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index 74aed0d232a9..d549d277d972 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -133,6 +133,13 @@ ccu: clock@3001000 { #reset-cells = <1>; }; + sid: efuse@3006000 { + compatible = "allwinner,sun50i-h616-sid", "allwinner,sun50i-a64-sid"; + reg = <0x03006000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; + watchdog: watchdog@30090a0 { compatible = "allwinner,sun50i-h616-wdt", "allwinner,sun6i-a31-wdt";