Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1302708pxj; Fri, 21 May 2021 10:49:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJO/zVBBNOWQDWHWgS0w3ABC4nRiizdRpa5+mmi5U5Ew2alj4ifOGbDuEjueu58L1mbGzf X-Received: by 2002:a17:907:9606:: with SMTP id gb6mr11790836ejc.399.1621619360429; Fri, 21 May 2021 10:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621619360; cv=none; d=google.com; s=arc-20160816; b=ABnGDFL2UyLSWp+LV4P/0yU4J0uYtZmauqZ4Z+DU5yX+V9AU5IVJc3/0Wgbk2q4EAf u4SzhWYFIlAvb+4+qcmJ9mUJUWiHZs3IP74bIDD4EoLsSUbk3bQlqu4ffQUM2PzFphzy BLafG4p/KXTbhVBSSwaNq4cWCdi6nwzM03eDOsudQcl/EebsmEla4Femy23yTPMtJG4G eyG7VBaKtxHMfqcNE2ZInGNp8YB99ESL/LJgAMzmxT1eMdVnMzW5J+9BXvdErhNb1mBC 22zSBrqbug+4Zm35wxXpVIzIjijNlxt1OEOuM67Aphp/trlAUspK0Je18UhSkRsG1vCb kCFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=PU0wqAPlfXa5ioTwymYq6yRTqRxt/LLzW8WseVv/Exo=; b=b8FDM4h7l1jSJgSMY+Ng2Mdj8q2X8JU9FM6tJFGdHK1c/zrNOy9HO0ClCHsnBB7XmE 8QILJZ0Ik7Z8BKngp3crcz440a6ThNiPPJO6NNqD/CkkzDSjmbad42n+z9+bjJZwvZ15 Nfya1V1NFvNBTQz28En3yiRX9MuQGVOM9t5HTQwQENKaYjw2tUw+XDlYFdD8M5RBiV94 9aVCspAGP95HH/iFgXK5QXhg2aG0A+fIz5HWL+ttG7+SRqxyjuAfbKFOTYEnLH/uABZQ uIgXQv8gXANIX+U97QLi6/OS2jgktWKKw9KkqtInmobmaBqCeNSCDRfsX3hR4KAzZt6e pBSg== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bv14si3890301ejb.737.2021.05.21.10.48.56; Fri, 21 May 2021 10:49:20 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237024AbhEUBiq (ORCPT + 99 others); Thu, 20 May 2021 21:38:46 -0400 Received: from mail-ot1-f48.google.com ([209.85.210.48]:38667 "EHLO mail-ot1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237001AbhEUBiq (ORCPT ); Thu, 20 May 2021 21:38:46 -0400 Received: by mail-ot1-f48.google.com with SMTP id i14-20020a9d624e0000b029033683c71999so5460661otk.5; Thu, 20 May 2021 18:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=PU0wqAPlfXa5ioTwymYq6yRTqRxt/LLzW8WseVv/Exo=; b=OnOtA/et5fM4nxVYg+tzAMcAJz+RkA8+gPpa0KT2EWbeXoRplAFRJCdQSs0IjofrQQ C0b5jO71wymfHnGesiT87nET8YVTETC/S5qDlStO8nhBxII4cJAZYF3r/KB818hEA1gs tXsqYsaLjeVHy3FxANpe5bFwu6qFna3NbrqP4OzMUgHQWo8iNCRcflrXCx/96q9SOAoQ COmyXOd1FS4/HA7GwvazzX7WzZUGBotFDHQUkWHFHOF3gRk/VbKozQTREsiTryHRUfSe fOQ5V2Gkcv2U71eACO9lIfUQ8tvj6gjEPm5d2cwHvyrP0j7hWAl1cHnq2fjMpztpg/gu +ZiA== X-Gm-Message-State: AOAM531gi9KpopRP+u7yvi2vbKnqwgtjDd3ixZ/Ud345erLvuIVtSjHe M1z1l3kwA+sDRpyblv+GTw== X-Received: by 2002:a9d:470e:: with SMTP id a14mr6173715otf.236.1621561043894; Thu, 20 May 2021 18:37:23 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f8sm857214oos.33.2021.05.20.18.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 18:37:23 -0700 (PDT) Received: (nullmailer pid 2455951 invoked by uid 1000); Fri, 21 May 2021 01:37:22 -0000 Date: Thu, 20 May 2021 20:37:22 -0500 From: Rob Herring To: Emmanuel Gil Peyrot Cc: Srinivas Kandagatla , linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, Ash Logan , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Message-ID: <20210521013722.GA2454145@robh.at.kernel.org> References: <20210519095044.4109-1-linkmauve@linkmauve.fr> <20210519095044.4109-3-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210519095044.4109-3-linkmauve@linkmauve.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 19, 2021 at 11:50:42AM +0200, Emmanuel Gil Peyrot wrote: > 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 Bindings should be in DT schema format now. > > 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 >