Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp517865lqb; Wed, 29 May 2024 02:48:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6oQ/CeSfeOArcltdR/yMfNPyKIi1MT5w+5t/SK03R/f2bzWnAlUhLw6/R8kFu/T3SbYVBCRuxnLLimgWDfGstXkpzm7c+nXPODTPzsw== X-Google-Smtp-Source: AGHT+IGgtEFUqfFDcZJ+M6bcd2wICFFSpaRVsdvPeNFEkVNHj/XgbIYibPs6gtm0Saz/z11Ia8Yv X-Received: by 2002:a17:903:186:b0:1f3:3a05:1adf with SMTP id d9443c01a7336-1f4499092d7mr176005855ad.66.1716976104893; Wed, 29 May 2024 02:48:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716976104; cv=pass; d=google.com; s=arc-20160816; b=KnPLtMYyKY5FM8tPyhNPJSoMi4wwe8QApgbyz1KL7AOxKcbLf0yo5ph4OQWhaj0gYf +R8J6MmvHsz48H74BbvPx8/TTXqaoNCJEemgRNBg2HN6tfUogMvZTMBeX2Reim57mYOq FwgMsCOyvSeeZTunUR+jbCBYmBz5xxSLawIFRJeazy58cT6HnYcZdICm2rVVM84tmU6k rJ1ey8nrSqFIM3b+UqOB7VrGkNdGr6j3Mu/5MFkovx/6OBdKOIWsmESM9FVZRxAQwaEl cJQnrUpSmJ382sCkD75LZ/lw2Co+wiLZvkI5Go6D80jQhvrkfHph3+IkoXpmS0D2Vn5U uhlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=GUEBvA/iRinKXwqR5eG+xXzYzPLM6U7pIWGTcedd82A=; fh=msgp+xUPEz0xyigvUkGz9hDJ5AXwYawWa4rmQvkIKPA=; b=sqCvVCWjcGlp7xwasNrkzHZqe47AuTc4N1MQizbMcZbcs4E1c/5FnaX2VXK/hGeh5X QHht28WhrcgoBiV0iDpMz7edYx2IeRwPFAUcpIRUqHXCIZR9w4gdK1uNLRGpg/U8herq H9vO7mab730t4m7s/5c0OlZB0L3is9QMYuSfG2q01SR+dN4YeBWnbfZhuHP+EeX17Vz7 1DoXptbn5kgotc8f2vUyN+iqMG58uxC60SAEBkQb2Tm9nk+a96YanmVUsUqqFqgVU6f/ xxnSf7DEKsuHgBS9eB+CIO6FdRQoK9WVJjzZwFNe4U8d7o0U+VB26rpfsS4Pcr8nhuPK wFGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193844-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9aa82dsi94865575ad.424.2024.05.29.02.48.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193844-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193844-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AB40CB26797 for ; Wed, 29 May 2024 09:30:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E52E816F0C3; Wed, 29 May 2024 09:29:48 +0000 (UTC) Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5CE1716A386 for ; Wed, 29 May 2024 09:29:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716974988; cv=none; b=dQRodizqwLOJ0rykO66Emtk+EAUHPWJ+AuxA6l21u78JoJu3ycQgmFasHD5cCJdCtvhqvytKgVpatSW5idECa7pKYTpdfxgZDf9t+HICSKxJIRug6E5KvEVLRztwdjo+nf2HGyeouKGpeuVB78SpHP59My8cO0p6ijLIQYxr0PA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716974988; c=relaxed/simple; bh=K9JbpboeEVGszs4uTMo3Rfibhk0VjLLtBuNKn9PsLKY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IxzFLWK4YIVmhiBKLKuFUtp4mll8DN/yGev82vHihGa23tV9nZa1cv6BiaqQ7mSgcXL1ebPBCbFj90Lnbsu2jlgktnDxOzSlR5kWU6ITaDbEtVuQQxif0QXNlfe0jzt5Ib0yvs35D92HZJRRz4QqmfGO+u03B4oKin0U9hYGlf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:1b01:1838:131c:4de4]) by baptiste.telenet-ops.be with bizsmtp id UxVg2C00g3VPV9V01xVgkh; Wed, 29 May 2024 11:29:43 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sCFbt-00GHKZ-Vo; Wed, 29 May 2024 11:29:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sCFcq-008wRu-Cd; Wed, 29 May 2024 11:29:40 +0200 From: Geert Uytterhoeven To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Linus Walleij , Yoshihiro Shimoda Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 1/8] dt-bindings: fuse: Document R-Car E-FUSE / PFC Date: Wed, 29 May 2024 11:29:30 +0200 Message-Id: <03e43e97941df238ef1a618852aecd7be68adbb0.1716974502.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document support for E-FUSE non-volatile memory accessible through PFC on R-Car V3U and S4-8. Signed-off-by: Geert Uytterhoeven Reviewed-by: Yoshihiro Shimoda --- v2: - Add Reviewed-by. --- .../bindings/fuse/renesas,rcar-efuse.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/fuse/renesas,rcar-efuse.yaml diff --git a/Documentation/devicetree/bindings/fuse/renesas,rcar-efuse.yaml b/Documentation/devicetree/bindings/fuse/renesas,rcar-efuse.yaml new file mode 100644 index 0000000000000000..d7e289244e72cce1 --- /dev/null +++ b/Documentation/devicetree/bindings/fuse/renesas,rcar-efuse.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fuse/renesas,rcar-efuse.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: R-Car E-FUSE connected to PFC + +maintainers: + - Geert Uytterhoeven + +description: + The E-FUSE is a type of non-volatile memory, which is accessible through the + Pin Function Controller (PFC) on some R-Car Gen4 SoCs. + +properties: + compatible: + enum: + - renesas,r8a779a0-efuse # R-Car V3U + - renesas,r8a779f0-efuse # R-Car S4-8 + + reg: + maxItems: 1 + description: PFC System Group Fuse Control and Monitor register block + + clocks: + maxItems: 1 + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include + #include + + fuse: fuse@e6078800 { + compatible = "renesas,r8a779a0-efuse"; + reg = <0xe6078800 0x100>; + clocks = <&cpg CPG_MOD 916>; + power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>; + resets = <&cpg 916>; + }; -- 2.34.1