ARM: mstar: Initial Miyoo Mini support
Subsystems (3)
cover ARM: mstar: Initial Miyoo Mini support
Add a few device tree bits to support the Miyoo Mini which is retro emulation device based on the SigmaStar SSD202D.
http://linux-chenxing.org/infinity2/miyoomini/
Daniel Palmer (3):
dt-bindings: vendor-prefixes: Add prefix for Miyoo
dt-bindings: arm: mstar: Add compatible for Miyoo Mini
ARM: dts: mstar: Add a dts for Miyoo Mini
.../devicetree/bindings/arm/mstar/mstar.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ arch/arm/boot/dts/Makefile | 1 + .../mstar-infinity2m-ssd202d-miyoo-mini.dts | 25 +++++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 1/3 dt-bindings: vendor-prefixes: Add prefix for Miyoo
Add a prefix for "miyoo". The only details I can find about the company is their aliexpress store "miyoo global store":
https://www.aliexpress.com/store/912663639
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -757,6 +757,8 @@ patternProperties: description: MiraMEMS Sensing Technology Co., Ltd. "^mitsubishi,.*": description: Mitsubishi Electric Corporation + "^miyoo,.*: + description: Miyoo "^mntre,.*": description: MNT Research GmbH "^modtronix,.*":
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Rob Herring
maintainerRe: [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for Miyoo
Quoted 9 lines · Daniel Palmer
Add a prefix for "miyoo". The only details I can find about the company is their aliexpress store "miyoo global store":
https://www.aliexpress.com/store/912663639Signed-off-by Daniel Palmer <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:./Documentation/devicetree/bindings/vendor-prefixes.yaml:762:4: [error] syntax error: could not find expected ':' (syntax)
dtschema/dtc warnings/errors:./Documentation/devicetree/bindings/vendor-prefixes.yaml: while scanning a simple key
in "<unicode string>", line 760, column 3
could not find expected ':'
in "<unicode string>", line 762, column 4
make[1]: *** Deleting file 'Documentation/devicetree/bindings/vendor-prefixes.example.dts'
Traceback (most recent call last):
File "/usr/local/bin/dt-extract-example", line 45, in <module>
binding = yaml.load(open(args.yamlfile, encoding='utf-8').read())
File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/main.py", line 434, in load
return constructor.get_single_data()
File "/usr/local/lib/python3.8/dist-packages/ruamel/yaml/constructor.py", line 119, in get_single_data
node = self.composer.get_single_node()
File "_ruamel_yaml.pyx", line 706, in _ruamel_yaml.CParser.get_single_node
File "_ruamel_yaml.pyx", line 724, in _ruamel_yaml.CParser._compose_document
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 889, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 891, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event
ruamel.yaml.scanner.ScannerError: while scanning a simple key
in "<unicode string>", line 760, column 3
could not find expected ':'
in "<unicode string>", line 762, column 4
make[1]: *** [Documentation/devicetree/bindings/Makefile:25: Documentation/devicetree/bindings/vendor-prefixes.example.dts] Error 1 make[1]: *** Waiting for unfinished jobs.... /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/vendor-prefixes.yaml: ignoring, error parsing file
warning: no schema found in file: ./Documentation/devicetree/bindings/vendor-prefixes.yaml
make: *** [Makefile:1413: dt_binding_check] Error 2
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1567228
This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:
pip3 install dtschema --upgrade
Please check and re-submit.
PATCH 2/3 dt-bindings: arm: mstar: Add compatible for Miyoo Mini
In reply to Daniel PalmerThe Miyoo Mini is a SigmaStar SSD202D based retro emulation device.
Add a compatible for it to the list of infinity2m devices.
--- Documentation/devicetree/bindings/arm/mstar/mstar.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mstar/mstar.yaml +1 -0
@@ -25,6 +25,7 @@ properties: - enum: - honestar,ssd201htv2 # Honestar SSD201_HT_V2 devkit - m5stack,unitv2 # M5Stack UnitV2 + - miyoo,miyoo-mini # Miyoo Mini - const: mstar,infinity2m - description: infinity3 boards
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
A message that is not in the archive (sent off-list or not yet received): CABgxDo+8VK+HQVfts6gxLnm1xW5fBog5rEfvoLN+tjk6KYwMTw@mail.gmail.com
Re: [PATCH 2/3] dt-bindings: arm: mstar: Add compatible for Miyoo Mini
Hi Romain,
Quoted 6 lines · Romain Perier
Quoted 2 lines
'Link:' should not be used for that purpose. Usually it is used for referencing discussions or patches on lore.k.o . This is typically what I used in the last pull request I sent to Arnd for 5.15.
I sort of remember having this pointed out somewhere else and then looking at the text in submitting patches and thinking it background info seemed to be what Link was for with the note that if it's a link to an on list discussion to use a link to lore:
`If related discussions or any other background information behind the change can be found on the web, add ‘Link:’ tags pointing to it.
....
When linking to mailing list archives, preferably use the lore.kernel.org message archiver service."
mmm I need to send a v2 anyhow as I messed up the vendor prefix commit so I'll move the links out into the message.
Cheers,
Daniel
Re: [PATCH 2/3] dt-bindings: arm: mstar: Add compatible for Miyoo Mini
In reply to Daniel PalmerQuoted 11 lines · Daniel Palmer
The Miyoo Mini is a SigmaStar SSD202D based retro emulation device.
Add a compatible for it to the list of infinity2m devices.
--- Documentation/devicetree/bindings/arm/mstar/mstar.yaml | 1 + 1 file changed, 1 insertion(+)
PATCH 3/3 ARM: dts: mstar: Add a dts for Miyoo Mini
In reply to Daniel PalmerMiyoo has released a portable retro games machine based on the SigmaStar SSD202D. Add the initial device tree for this machine. Just enough to get to an initramfs shell.
--- arch/arm/boot/dts/Makefile | 1 + .../mstar-infinity2m-ssd202d-miyoo-mini.dts | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1468,6 +1468,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb dtb-$(CONFIG_ARCH_MSTARV7) += \ mstar-infinity-msc313-breadbee_crust.dtb \ + mstar-infinity2m-ssd202d-miyoo-mini.dtb \ mstar-infinity2m-ssd202d-ssd201htv2.dtb \ mstar-infinity2m-ssd202d-unitv2.dtb \ mstar-infinity3-msc313e-breadbee.dtb \
arch/arm/boot/dts/mstar-infinity2m-ssd202d-miyoo-mini.dts new file +25 -0
@@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer <[email protected]> + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "Miyoo Mini"; + compatible = "miyoo,miyoo-mini", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +};
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel