Skip to content

Commit

Permalink
Pinctr dummy regulators (#6676)
Browse files Browse the repository at this point in the history
* Add files via upload

* Update series.armbian

* Update series.conf

* Update arm-dts-orangepi-one-pinctr-dummy-regulators.patch
  • Loading branch information
stephengraf authored Jun 1, 2024
1 parent fc5e987 commit 6b512ab
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Stephen Graf <[email protected]>
Date: Thu, 30 May 2024 18:19:07 -0700
Subject: adding dummy regulators in pinctr
arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts

Signed-off-by: Stephen Graf <[email protected]>
---
arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts
index 927fd1bab..1aee01494 100644
--- a/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts
+++ b/arch/arm/boot/dts/allwinner/sun8i-h3-orangepi-one.dts
@@ -207,5 +207,12 @@ &usbphy {
/* USB Type-A port's VBUS is always on */
usb0_id_det-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
usb0_vbus-supply = <&reg_usb0_vbus>;
status = "okay";
};
+
+&pio {
+ vcc-pa-supply = <&reg_vcc3v3>;
+ vcc-pc-supply = <&reg_vcc3v3>;
+ vcc-pd-supply = <&reg_vcc3v3>;
+ vcc-pg-supply = <&reg_vcc3v3>;
+};
--
Created with Armbian build tools https://github.com/armbian/build

1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.6/series.armbian
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,4 @@
patches.armbian/arm64-dts-allwinner-sun50i-h616-PG-12c-pins.patch
patches.armbian/arm64-dts-allwinner-sun50i-h616-spi1-cs1-pin.patch
patches.armbian/arm64-dts-sun50i-h618-add-overlay.patch
patches.armbian/arm-dts-orangepi-one-pinctr-dummy-regulators.patch
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-6.6/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -470,3 +470,4 @@
patches.armbian/arm64-dts-allwinner-sun50i-h616-PG-12c-pins.patch
patches.armbian/arm64-dts-allwinner-sun50i-h616-spi1-cs1-pin.patch
patches.armbian/arm64-dts-sun50i-h618-add-overlay.patch
patches.armbian/arm-dts-orangepi-one-pinctr-dummy-regulators.patch

0 comments on commit 6b512ab

Please sign in to comment.