Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1727350pxj; Wed, 19 May 2021 12:26:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi+8GTtDhiSDVjBeUhWYIxSHayTc5VyqdhiJ58K48I0EyQhrFDtCzOFW6cvAjbNwWbnCZN X-Received: by 2002:aa7:d74a:: with SMTP id a10mr610762eds.311.1621452408696; Wed, 19 May 2021 12:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452408; cv=none; d=google.com; s=arc-20160816; b=XXvz6YLpWzjeleAG7K28lLDd91mTSVEIedb03t1sYfhjmTGJ9R7W82YVxRPTeNr4oo wwK7eRlSE11Sapl//ZwTwxn8VDa1AUpXcWILYlLL3IhmebkOca54+8HnJzqY7NbjNC9K DVH0QVCGggljue/TvQ+aPuv+bwrXjpGmZtoXpSvu/PFQQDd8NUw9FaMAo2zBtijXjE3S qzR9Tg+vKHJvbbj2gHkrKf+45B180a7LAXF3cnkiYeQVkWdDbL/Lgj/l/4EUkAe9ifXJ d9yhFRjx46y6unx9NlmdMDPsxW2h7wGKWZGl98BwHvzm68d22cAxC5Cj/RKhexDqBqT/ ldnw== 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; bh=ir9TlPRH5B6Qgydh4Qk+kW05m0mUAgYTzcxx9cM/jhs=; b=axe+jju6jU/k0CfnbRahtKitAw44TYdXUmvj88UEFgiG1dkmwKVSsGVG1DnL+XdXbE TrvAuNOY9spVpTBkciZIuvnkg0/u8o2TbiyMSCMQ7ABMVDWX/tVdADL9bg+UAHP8KO5v KMBybt+CEkoPE+igHmpFz0QiF3kmJGrTnMJIJGV1VgTqvBTAtLYNPiViscMrrPpo/aUE VDCnQN54bIOpMf8ak1s076gjFKQc3zrB3T2QYXCwDGe7/LRAVjVHa2Cj5XPoc+SSbrL1 P2PG3tmbGxJYiKWjVHQcBAei7mRGcaf6cj/C+tfc2OSDWUIY0C2Ayou71hgSVOhulvgp EiIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gq9si502750ejb.720.2021.05.19.12.26.23; Wed, 19 May 2021 12:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346624AbhESJwa (ORCPT + 99 others); Wed, 19 May 2021 05:52:30 -0400 Received: from 82-65-109-163.subs.proxad.net ([82.65.109.163]:41966 "EHLO luna.linkmauve.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345053AbhESJwS (ORCPT ); Wed, 19 May 2021 05:52:18 -0400 Received: by luna.linkmauve.fr (Postfix, from userid 1000) id E3070F4066B; Wed, 19 May 2021 11:50:48 +0200 (CEST) From: Emmanuel Gil Peyrot To: Srinivas Kandagatla , linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org Cc: Emmanuel Gil Peyrot , Ash Logan , =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Rob Herring , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Date: Wed, 19 May 2021 11:50:42 +0200 Message-Id: <20210519095044.4109-3-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519095044.4109-1-linkmauve@linkmauve.fr> References: <20210519095044.4109-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + }; -- 2.31.1