Message ID | 20220906210324.28986-1-macroalpha82@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Add Anbernic RG353P and RG503 | expand |
On Tue, 6 Sep 2022 16:03:21 -0500, Chris Morgan wrote: > Add the devicetrees for the Anbernic RG353P and RG503. This enables > all the hardware that is currently supported via mainline Linux. > The remaining hardware (for both devices) includes the display panel > and the battery. The RG353P also requires drivers to be written and > mainlined for the touchscreen. > > Changes since V2: > - Renamed buttons to be consistent with their externally labelled > function. Internal labels (such as sw11) would not allow for reuse > of as many buttons in the rgxx3.dtsi tree. > - Removed pinctrl for LCD related functions. These will be re-added > when the panel drivers are ready. > - Changed name of cw2015@62 to power-monitor@62 to keep it generic. > > [...] Applied, thanks! [1/3] dt-bindings: vendor-prefixes: add Anbernic commit: fff05e5af2247205f2ae4f93d1943d0938d8b2c3 [2/3] dt-bindings: arm: rockchip: Add Anbernic RG353P and RG503 commit: 22eed92492e4a390da87196d55b1da0af4154595 [3/3] arm64: dts: rockchip: add Anbernic RG353P and RG503 commit: 523adb553573db46593724fd1cd617339f2e9009 Best regards,
From: Chris Morgan <macromorgan@hotmail.com> Add the devicetrees for the Anbernic RG353P and RG503. This enables all the hardware that is currently supported via mainline Linux. The remaining hardware (for both devices) includes the display panel and the battery. The RG353P also requires drivers to be written and mainlined for the touchscreen. Changes since V2: - Renamed buttons to be consistent with their externally labelled function. Internal labels (such as sw11) would not allow for reuse of as many buttons in the rgxx3.dtsi tree. - Removed pinctrl for LCD related functions. These will be re-added when the panel drivers are ready. - Changed name of cw2015@62 to power-monitor@62 to keep it generic. Changes since V1: - Corrected node names to always have only dashes (no underscores), except for ones that require hard-coded names (the rk817 PMIC). - Corrected all node aliases to always have only underscores (no dashes). - Appended "regulator" to all the regulator node names, except ones that require hard-coded names (the rk817 PMIC). - Corrected name of RG353P. Previously was called RG353. - Changed name of sound node from rk817-sound to just sound. - Changed name of gpio-keys to gpio-keys-control and removed volume buttons. - Added new node of gpio-keys-vol and added volume buttons. This is so we can do autorepeat on these two buttons. Note that buttons under gpio-keys-control remain labelled in ascending order for the GPIO in use. - Added note to adc-keys node that we deviate from the BSP kernel to comply with Linux input guidelines regarding gamepad menu buttons. - Added note to sound node that audio is reversed for both speakers and headphones. - Added additional hardware details to commit message for devicetrees. Chris Morgan (3): dt-bindings: vendor-prefixes: add Anbernic dt-bindings: arm: rockchip: Add Anbernic RG353P and RG503 arm64: dts: rockchip: add Anbernic RG353P and RG503 .../devicetree/bindings/arm/rockchip.yaml | 10 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile | 2 + .../dts/rockchip/rk3566-anbernic-rg353p.dts | 94 ++ .../dts/rockchip/rk3566-anbernic-rg503.dts | 87 ++ .../dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 831 ++++++++++++++++++ 6 files changed, 1026 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg503.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi