From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org Cc: "Emmanuel Gil Peyrot" <linkmauve@linkmauve.fr>, "Ash Logan" <ash@heyquark.com>, "Jonathan Neuschäfer" <j.ne@posteo.net>, "Rob Herring" <robh+dt@kernel.org>, "Michael Ellerman" <mpe@ellerman.id.au>, "Benjamin Herrenschmidt" <benh@kernel.crashing.org>, "Paul Mackerras" <paulus@samba.org>, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Date: Wed, 19 May 2021 11:05:23 +0200 [thread overview] Message-ID: <20210519090525.1788-3-linkmauve@linkmauve.fr> (raw) In-Reply-To: <20210519090525.1788-1-linkmauve@linkmauve.fr> 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 <linkmauve@linkmauve.fr> --- .../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
WARNING: multiple messages have this Message-ID (diff)
From: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org Cc: "Emmanuel Gil Peyrot" <linkmauve@linkmauve.fr>, linux-kernel@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>, "Paul Mackerras" <paulus@samba.org>, "Ash Logan" <ash@heyquark.com>, "Jonathan Neuschäfer" <j.ne@posteo.net> Subject: [PATCH 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Date: Wed, 19 May 2021 11:05:23 +0200 [thread overview] Message-ID: <20210519090525.1788-3-linkmauve@linkmauve.fr> (raw) In-Reply-To: <20210519090525.1788-1-linkmauve@linkmauve.fr> 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 <linkmauve@linkmauve.fr> --- .../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
next prev parent reply other threads:[~2021-05-19 9:05 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-19 9:05 [PATCH 0/4] nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP Emmanuel Gil Peyrot 2021-05-19 9:05 ` [PATCH 1/4] " Emmanuel Gil Peyrot 2021-05-19 9:05 ` Emmanuel Gil Peyrot 2021-05-19 9:05 ` Emmanuel Gil Peyrot [this message] 2021-05-19 9:05 ` [PATCH 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Emmanuel Gil Peyrot 2021-05-19 9:05 ` [PATCH 3/4] powerpc: wii.dts: Expose the OTP on this platform Emmanuel Gil Peyrot 2021-05-19 9:05 ` Emmanuel Gil Peyrot 2021-05-19 9:05 ` [PATCH 4/4] powerpc: wii_defconfig: Enable OTP by default Emmanuel Gil Peyrot 2021-05-19 9:05 ` Emmanuel Gil Peyrot 2021-05-19 9:45 [PATCH 0/4] nvmem: nintendo-otp: Add new driver for the Wii and Wii U OTP Emmanuel Gil Peyrot 2021-05-19 9:45 ` [PATCH 2/4] dt-bindings: nintendo-otp: Document the Wii and Wii U OTP support Emmanuel Gil Peyrot 2021-05-19 9:45 ` Emmanuel Gil Peyrot
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210519090525.1788-3-linkmauve@linkmauve.fr \ --to=linkmauve@linkmauve.fr \ --cc=ash@heyquark.com \ --cc=benh@kernel.crashing.org \ --cc=devicetree@vger.kernel.org \ --cc=j.ne@posteo.net \ --cc=linux-kernel@vger.kernel.org \ --cc=linuxppc-dev@lists.ozlabs.org \ --cc=mpe@ellerman.id.au \ --cc=paulus@samba.org \ --cc=robh+dt@kernel.org \ --cc=srinivas.kandagatla@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.