summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2022-08-29 21:44:35 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-30 18:17:15 +0000
commit170c8e2f851d9da570430a1e3a915890c1023d14 (patch)
treec30cadd135379e9884561ddd7318f445ac66d369
parentdb64262582a461637fd486b5a5b5b95826b2fa45 (diff)
downloadchrome-ec-170c8e2f851d9da570430a1e3a915890c1023d14.tar.gz
rex: Fix the gpio pin type for ec_edp_bl_en
The gpio device tree node for ec_edp_bl_en was being configured as an open-drain signal, but this should be a TTL with low as its initial state. This CL corrects this error. The GPIO spreadsheet that's being used as an input for pinmap needs to be updated. This CL provides a fix to enable the display panel to work until the tool that creates the input for pinmap is updated. BRANCH=none BUG=b:243919230 TEST=zmake build rex Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: I4f8db1e150572df58c1a97d1f509a556383eb0d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3863925 Reviewed-by: Madhu P <mparuchuri@google.com> Reviewed-by: Subrata Banik <subratabanik@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org>
-rw-r--r--zephyr/projects/rex/generated.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/rex/generated.dts b/zephyr/projects/rex/generated.dts
index fe21051eab..348df75926 100644
--- a/zephyr/projects/rex/generated.dts
+++ b/zephyr/projects/rex/generated.dts
@@ -56,7 +56,7 @@
gpios = <&gpio7 3 GPIO_OUTPUT>;
};
gpio_ec_edp_bl_en: ec_edp_bl_en {
- gpios = <&gpiod 3 GPIO_ODR_HIGH>;
+ gpios = <&gpiod 3 GPIO_OUTPUT_LOW>;
enum-name = "GPIO_ENABLE_BACKLIGHT";
};
gpio_ec_gsc_packet_mode: ec_gsc_packet_mode {