From: Hauke Mehrtens <hauke@hauke-m.de> To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, rafal@milecki.pl, musashino.open@gmail.com, Hauke Mehrtens <hauke@hauke-m.de> Subject: [PATCH v2 1/3] dt-bindings: mtd: brcm,trx: Add brcm,trx-magic Date: Sun, 18 Apr 2021 23:46:14 +0200 [thread overview] Message-ID: <20210418214616.239574-2-hauke@hauke-m.de> (raw) In-Reply-To: <20210418214616.239574-1-hauke@hauke-m.de> This adds the description of an additional property which allows to specify a custom partition parser magic to detect a trx partition. Buffalo has multiple device which are using the trx format, but with different magic values. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- .../devicetree/bindings/mtd/partitions/brcm,trx.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt index b677147ca4e1..c2175d3c82ec 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt @@ -28,6 +28,11 @@ detected by a software parsing TRX header. Required properties: - compatible : (required) must be "brcm,trx" +Optional properties: + +- brcm,trx-magic: TRX magic, if it is different from the default magic + 0x30524448 as a u32. + Example: flash@0 { -- 2.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Hauke Mehrtens <hauke@hauke-m.de> To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, rafal@milecki.pl, musashino.open@gmail.com, Hauke Mehrtens <hauke@hauke-m.de> Subject: [PATCH v2 1/3] dt-bindings: mtd: brcm,trx: Add brcm,trx-magic Date: Sun, 18 Apr 2021 23:46:14 +0200 [thread overview] Message-ID: <20210418214616.239574-2-hauke@hauke-m.de> (raw) In-Reply-To: <20210418214616.239574-1-hauke@hauke-m.de> This adds the description of an additional property which allows to specify a custom partition parser magic to detect a trx partition. Buffalo has multiple device which are using the trx format, but with different magic values. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- .../devicetree/bindings/mtd/partitions/brcm,trx.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt index b677147ca4e1..c2175d3c82ec 100644 --- a/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt +++ b/Documentation/devicetree/bindings/mtd/partitions/brcm,trx.txt @@ -28,6 +28,11 @@ detected by a software parsing TRX header. Required properties: - compatible : (required) must be "brcm,trx" +Optional properties: + +- brcm,trx-magic: TRX magic, if it is different from the default magic + 0x30524448 as a u32. + Example: flash@0 { -- 2.30.2 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2021-04-18 21:46 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-04-18 21:46 [PATCH v2 0/3] mtd: parsers: trx: Add support for Buffalo WSR-2533DHP2 Hauke Mehrtens 2021-04-18 21:46 ` Hauke Mehrtens 2021-04-18 21:46 ` Hauke Mehrtens [this message] 2021-04-18 21:46 ` [PATCH v2 1/3] dt-bindings: mtd: brcm,trx: Add brcm,trx-magic Hauke Mehrtens 2021-04-20 18:56 ` Rob Herring 2021-04-20 18:56 ` Rob Herring 2021-05-10 10:19 ` Miquel Raynal 2021-05-10 10:19 ` Miquel Raynal 2021-04-18 21:46 ` [PATCH v2 2/3] mtd: parsers: trx: Allow to specify brcm,trx-magic in DT Hauke Mehrtens 2021-04-18 21:46 ` [PATCH v2 2/3] mtd: parsers: trx: Allow to specify brcm, trx-magic " Hauke Mehrtens 2021-05-10 10:19 ` Miquel Raynal 2021-05-10 10:19 ` Miquel Raynal 2021-04-18 21:46 ` [PATCH v2 3/3] mtd: parsers: trx: Allow to use TRX parser on Mediatek SoCs Hauke Mehrtens 2021-04-18 21:46 ` Hauke Mehrtens 2021-05-10 10:19 ` Miquel Raynal 2021-05-10 10:19 ` Miquel Raynal
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=20210418214616.239574-2-hauke@hauke-m.de \ --to=hauke@hauke-m.de \ --cc=devicetree@vger.kernel.org \ --cc=linux-mtd@lists.infradead.org \ --cc=miquel.raynal@bootlin.com \ --cc=musashino.open@gmail.com \ --cc=rafal@milecki.pl \ --cc=richard@nod.at \ --cc=robh+dt@kernel.org \ --cc=vigneshr@ti.com \ /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.