Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp517788lqb; Wed, 29 May 2024 02:48:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXSF9d2Pu83wGIspLGdl2Amk6SrRhWsXxB+BtAYFr0oX1qkWwdCofDMEENl021ldMhl8aO/H769f95U6WVIeBxagTWKRbX338J1JOjcw== X-Google-Smtp-Source: AGHT+IHzmSwpn2QVoDArMY+CENkc2PVc7JUr7gwAN6hpbG7R1lOLjBAIZtYjFlRNhX5ENJaTORbU X-Received: by 2002:a17:902:dac1:b0:1f4:6093:66c with SMTP id d9443c01a7336-1f460930bbdmr148045655ad.30.1716976091679; Wed, 29 May 2024 02:48:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716976091; cv=pass; d=google.com; s=arc-20160816; b=uXMr7+lXZzBFilSOLq3bZX/xRyBrDfh6PwESJEq1Uggqf+ACw74TN9vG2MAiTdj/SC rZrnAbXTCHuqM+HUDis6WFm4HFEuXA7M4la6AFipG7zo/mfjUBgDORdlKU5lP7gI8t+t SEB/kkZKzBqY9Nka80XZXaZyWiiw1scpRMpKay2rUpIDEG96YBah2LUPEjP8XW7gD/fn 8Gdq0fnON68kAro6ZQ1qvJDOTSGXcdErYs2V2V3yDt+Vbe3ZuTL+hae33xKnGf+wtkSP 4Zf1X6qyse4gIGiCRcbJNUfQdlSVy/VpuCJhoB3m70D4XWRzNfy5pAXfCgdrMHCZOjQf UZdQ== 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=brN6DEKKdwxofYnSVGflzkas0icBXcmWbdWduUwquK8=; fh=msgp+xUPEz0xyigvUkGz9hDJ5AXwYawWa4rmQvkIKPA=; b=lqSu8TPDCfomKzNsGY8gy8rAJcagkr7rH84aJdQ0xsE7d99AvL1tBGFDBGxeXJvFh7 0S5S7mF9cYqnAMMvrQDtxRNSiRVzx+lnm2Z+A2uCtxT864E4q/aXBdd5g8O/l7RrtVru d4nOIFJ/v77VtJkNNLalW6Af9MFg34m4yYenGuH5o/e07fUg5DvNI2jX1Hh9PpopQZV9 +Bk5EBMo5HeNq/dQv4Yb8D5oSFMwWX9qfZK7YHsh1YvA4fEESoTR2cZTUhYzE0am+58K wUBgvyQq8hlbw518JqfBingorS1SPmCHuOMdFv/VRVjllF2ZxJlyVQ68TRmcP9n4gsSu lEeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-193842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193842-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-1f44c9bb747si77428505ad.473.2024.05.29.02.48.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:48:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193842-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-193842-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193842-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 2E19AB26509 for ; Wed, 29 May 2024 09:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9509A16EBF5; 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 0E5F216A381 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=ocTEImOShMQHOi2d8h3LTWrdt+Kbrmb1gXVJmALrLF2TzSM9mJ0qnt+OaMR/RZw/DwpQgbV6cuEkPKFsj9L0G3U2034pdeMH+8efxBUyuVgiK+8OhEj+Kmt4iA93ik+6hSwB9nOcmqh8LGehawJPjSVJFCfz5nxBlccoy050zFU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716974988; c=relaxed/simple; bh=Fimg7RAC7/UiTVwu8Mu0fP7Gwstf2zrA/lN7Pjti7Oc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e1LEaEg5ldzIXbiezhKTDFAOYElDz/chQ+URC7jBbOQ92cQZ2SFecyGjNqB8U1EJ4XHT5HfkDh8bdSJAaDH22PuE+Vw52Y4Vh0/dKZJhdpiXcOmFt2KglUIrDTNoK2NQlmyg12/KNhB4kXyailRpnh+K67FUnGicrQZCd/FSjJ4= 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 UxVg2C00i3VPV9V01xVgkg; 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-00GHKc-WE; Wed, 29 May 2024 11:29:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sCFcq-008wRx-DK; 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 2/8] dt-bindings: fuse: Document R-Car E-FUSE / OTP_MEM Date: Wed, 29 May 2024 11:29:31 +0200 Message-Id: <436506babe4ce468fda19380d9373470468e3752.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 OTP_MEM on R-Car V4H and V4M. Signed-off-by: Geert Uytterhoeven Reviewed-by: Yoshihiro Shimoda --- v2: - Add Reviewed-by. --- .../bindings/fuse/renesas,rcar-otp.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml diff --git a/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml b/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml new file mode 100644 index 0000000000000000..d74872ae9ff378f9 --- /dev/null +++ b/Documentation/devicetree/bindings/fuse/renesas,rcar-otp.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/fuse/renesas,rcar-otp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: R-Car E-FUSE connected to OTP_MEM + +maintainers: + - Geert Uytterhoeven + +description: + The E-FUSE is a type of non-volatile memory, which is accessible through the + One-Time Programmable Memory (OTP_MEM) module on some R-Car Gen4 SoCs. + +properties: + compatible: + enum: + - renesas,r8a779g0-otp # R-CarV4H + - renesas,r8a779h0-otp # R-CarV4M + + reg: + items: + - description: OTP_MEM_0 + - description: OTP_MEM_1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + otp: otp@e61be000 { + compatible = "renesas,r8a779g0-otp"; + reg = <0xe61be000 0x1000>, <0xe61bf000 0x1000>; + }; -- 2.34.1