From patchwork Wed May 19 09:05:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Emmanuel Gil Peyrot X-Patchwork-Id: 1480858 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FlWlP2M7mz9sRf for ; Wed, 19 May 2021 22:05:05 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FlWlN6TYQz3cFY for ; Wed, 19 May 2021 22:05:04 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linkmauve.fr (client-ip=2a01:e0a:828:c7c0:49:5ff:fe41:d261; helo=luna.linkmauve.fr; envelope-from=linkmauve@linkmauve.fr; receiver=) X-Greylist: delayed 284 seconds by postgrey-1.36 at boromir; Wed, 19 May 2021 19:10:33 AEST Received: from luna.linkmauve.fr (unknown [IPv6:2a01:e0a:828:c7c0:49:5ff:fe41:d261]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4FlRt14jtSz2xvF for ; Wed, 19 May 2021 19:10:33 +1000 (AEST) Received: by luna.linkmauve.fr (Postfix, from userid 1000) id C1694F40648; Wed, 19 May 2021 11:05:36 +0200 (CEST) From: Emmanuel Gil Peyrot To: Srinivas Kandagatla , linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org Subject: [PATCH 2/4] =?utf-8?q?dt-bindings=3A_nintendo-otp=3A_Document_the_W?= =?utf-8?q?ii_and_Wii=C2=A0U_OTP_support?= Date: Wed, 19 May 2021 11:05:23 +0200 Message-Id: <20210519090525.1788-3-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519090525.1788-1-linkmauve@linkmauve.fr> References: <20210519090525.1788-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 19 May 2021 22:03:54 +1000 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emmanuel Gil Peyrot , linux-kernel@vger.kernel.org, Rob Herring , Paul Mackerras , Ash Logan , =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Both of these consoles use the exact same two registers, even at the same address, but the Wii U has eight banks of 128 bytes memory while the Wii only has one, hence the two compatible strings. Signed-off-by: Emmanuel Gil Peyrot --- .../devicetree/bindings/nvmem/nintendo-otp.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/nintendo-otp.txt diff --git a/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt b/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt new file mode 100644 index 000000000000..b26d705ec52d --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nintendo-otp.txt @@ -0,0 +1,14 @@ +Nintendo Wii and Wii U OTP + +Required Properties: +- compatible: depending on the console this should be one of: + - "nintendo,hollywood-otp" for the Wii + - "nintendo,latte-otp" for the Wii U +- reg: base address and size of the OTP registers + + +Example: + otp@d8001ec { + compatible = "nintendo,latte-otp"; + reg = <0x0d8001ec 0x8>; + };