From 170c8e2f851d9da570430a1e3a915890c1023d14 Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Mon, 29 Aug 2022 21:44:35 -0700 Subject: 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 Change-Id: I4f8db1e150572df58c1a97d1f509a556383eb0d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3863925 Reviewed-by: Madhu P Reviewed-by: Subrata Banik Commit-Queue: Scott Collyer Tested-by: Scott Collyer --- zephyr/projects/rex/generated.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.1