From: Chris Morgan <macroalpha82@gmail.com>
To: linux-sunxi@lists.linux.dev
Cc: devicetree@vger.kernel.org, airlied@gmail.com,
andre.przywara@arm.com, conor+dt@kernel.org, daniel@ffwll.ch,
heiko@sntech.de, jagan@edgeble.ai, jernej.skrabec@gmail.com,
krzysztof.kozlowski+dt@linaro.org, mripard@kernel.org,
neil.armstrong@linaro.org, noralf@tronnes.org,
robh+dt@kernel.org, sam@ravnborg.org, samuel@sholland.org,
uwu@icenowy.me, wens@csie.org,
Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH V4 0/8] Add Anbernic RG-Nano
Date: Mon, 28 Aug 2023 13:19:33 -0500 [thread overview]
Message-ID: <20230828181941.1609894-1-macroalpha82@gmail.com> (raw)
From: Chris Morgan <macromorgan@hotmail.com>
Add support for the Anbernic RG-Nano handheld gaming device
Changes since V3:
- Added PHY to the OHCI and EHCI nodes. Note that the PHY driver
currently forces the PHY to host mode always; a correction to
the PHY driver or removal of the phy values from the OHCI and EHCI
nodes are necessary to get otg mode working properly.
- Disabled SoC RTC in favor of external clock. The SoC RTC is not
set up correctly in hardware and runs fast, whereas the external RTC
keeps accurate time. This matches the BSP.
- Added labels to GPIO pins to aid in readability.
Changes since V2:
- Add display support.
- Add USB host support.
- Removed CPU frequency and voltage parameters, as CPU regulator may
be tied into additional areas that need further testing.
- Added regulator names back, as they appear to have been accidentally
dropped in v2.
- Updated notes to denote all hardware tested and working.
Changes since V1:
- Added additional pwm pin configs to sun8i-v3s.dtsi and removed
default config for pwm0 in lieu of defining it for each board.
- Noted in patch notes that additional hardware of UART debug port,
USB port (in gadget mode) also work, and that USB host mode does
not work.
- Identified GPIO responsible for enabling external speaker amplifier
and defined it, allowing onboard audio to work.
- Removed ac_power_supply node.
- Set regulator min and max values to the same value as defined in the
schematics.
- Removed definition for reg_ldo1. This regulator is hardware
configured so the value did not affect anything, however the driver
must be updated to support the correct value of 3.3v in this case.
- Removed usb0_id_det-gpios as I cannot confirm these are correct.
Chris Morgan (8):
dt-bindings: vendor-prefixes: document Saef Technology
dt-bindings: display: panel: mipi-dbi-spi: add Saef SF-TC154B
arm: dts: sun8i: V3s: Add pinctrl for pwm
dt-bindings: usb: Add V3s compatible string for EHCI
dt-bindings: usb: Add V3s compatible string for OHCI
ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts
dt-bindings: arm: sunxi: add Anbernic RG-Nano
ARM: dts: sunxi: add support for Anbernic RG-Nano
.../devicetree/bindings/arm/sunxi.yaml | 5 +
.../display/panel/panel-mipi-dbi-spi.yaml | 1 +
.../devicetree/bindings/usb/generic-ehci.yaml | 1 +
.../devicetree/bindings/usb/generic-ohci.yaml | 1 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/arm/boot/dts/allwinner/Makefile | 1 +
.../allwinner/sun8i-v3s-anbernic-rg-nano.dts | 284 ++++++++++++++++++
arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi | 35 +++
8 files changed, 330 insertions(+)
create mode 100644 arch/arm/boot/dts/allwinner/sun8i-v3s-anbernic-rg-nano.dts
--
2.34.1
next reply other threads:[~2023-08-28 18:20 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-28 18:19 Chris Morgan [this message]
2023-08-28 18:19 ` [PATCH V4 1/8] dt-bindings: vendor-prefixes: document Saef Technology Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 18:19 ` [PATCH V4 2/8] dt-bindings: display: panel: mipi-dbi-spi: add Saef SF-TC154B Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 18:19 ` [PATCH V4 3/8] arm: dts: sun8i: V3s: Add pinctrl for pwm Chris Morgan
2023-09-04 20:46 ` Andre Przywara
2023-08-28 18:19 ` [PATCH V4 4/8] dt-bindings: usb: Add V3s compatible string for EHCI Chris Morgan
2023-08-28 21:33 ` Rob Herring
2023-08-28 21:34 ` Rob Herring
2023-09-08 9:32 ` Andre Przywara
2023-08-28 18:19 ` [PATCH V4 5/8] dt-bindings: usb: Add V3s compatible string for OHCI Chris Morgan
2023-08-28 21:34 ` Rob Herring
2023-08-28 18:19 ` [PATCH V4 6/8] ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts Chris Morgan
2023-09-04 20:59 ` Andre Przywara
2023-08-28 18:19 ` [PATCH V4 7/8] dt-bindings: arm: sunxi: add Anbernic RG-Nano Chris Morgan
2023-08-28 18:19 ` [PATCH V4 8/8] ARM: dts: sunxi: add support for " Chris Morgan
2023-09-05 20:32 ` Jernej Škrabec
2023-09-07 15:39 ` Chris Morgan
2023-09-07 15:48 ` Jernej Škrabec
2023-09-09 20:42 ` Samuel Holland
2023-09-11 0:05 ` Andre Przywara
2023-09-11 13:35 ` Chen-Yu Tsai
2023-09-11 14:36 ` Andre Przywara
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=20230828181941.1609894-1-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=airlied@gmail.com \
--cc=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=jagan@edgeble.ai \
--cc=jernej.skrabec@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=macromorgan@hotmail.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=noralf@tronnes.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=samuel@sholland.org \
--cc=uwu@icenowy.me \
--cc=wens@csie.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).