uart-render-controller: Use new sysfs paths
The kernel now contains a patch "drm/aspeed: Add sysfs for output
settings" that has been merged to mainline for 5.11. This patch has the
required files under the drm (GPU) device, so the paths have changed.
The openbmc kernel carries this in dev-5.8 as of f43cef68025d. For now
both old and new paths will work, but the old path will be removed in
the future.
(From meta-phosphor rev: 39db01c017971cee5ac2e9db025e3574041e208c)
Change-Id: I558abf50d5251d473d83aba2e2e8ba837e86e7b0
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service b/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service
index bc1e99e..9fcca01 100644
--- a/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service
+++ b/meta-phosphor/recipes-phosphor/video/uart-render-controller/uart-render-controller.service
@@ -6,8 +6,8 @@
[Service]
ExecStart=/usr/sbin/obmc-uart-render-controller \
- /sys/devices/platform/ahb/ahb:apb/1e6e2000.syscon/1e6e2000.syscon:scratch/vga0 \
- /sys/devices/platform/ahb/ahb:apb/1e6e2000.syscon/1e6e2000.syscon:scratch/dac_mux \
+ /sys/devices/platform/ahb/ahb:apb/1e6e6000.display/vga_pw \
+ /sys/devices/platform/ahb/ahb:apb/1e6e6000.display/dac_mux \
fbterm.service
[Install]