From patchwork Tue Oct 29 10:02:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13854644 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29575D2AB1C for ; Tue, 29 Oct 2024 10:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=dP0KAMyVWS6Yj9qu9bHMDh95jkCq6kFe5y2/InwDUyI=; b=3BzsbThVCtXlEhlbnqupkdx+Pg 8taaJ+4KCPG1xBYbseI8o0pYc4MDWMapTydaZ+ydtuPKjkkss24A6iZGH/nAWYI9hJuqZyu8JsqmD JkQ/wv0Jz+cxL7Ap80oubhwhYfraTjoH6JNMCL09sUGBIFEV+8s8VDZ2QHjzjfq0o0Be16d3wxUGL Op6uKnkcO5mA93lxNidj54lJYkxLd75wOsRAJ2U+JwhHCCpGfRQ5EOEgZIs8zJdc85MJzevaCadB1 qjqwqoSQmvuCak6RZ4+YdKnx87krDWzN1Pul6VIraYe3IfWJXzg9sA60pop8Yz6GOKah+dJj+EXEN g26JMEdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5jVn-0000000E2fC-2A60; Tue, 29 Oct 2024 10:31:43 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5j3Y-0000000DyD4-0OeY for linux-mediatek@lists.infradead.org; Tue, 29 Oct 2024 10:02:33 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-20cdda5cfb6so49869785ad.3 for ; Tue, 29 Oct 2024 03:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1730196151; x=1730800951; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dP0KAMyVWS6Yj9qu9bHMDh95jkCq6kFe5y2/InwDUyI=; b=Bxx+o7Uu+cdxTGrvAtbr9EZPFL1XtxBfOPpYhqBfL73jcRo0ltBLrxjnxRfiriiNO1 XmlEq5FAH/Rij6Iw8bNfKjW+yYQSBPts4kHWOsJDS3Ni0m72hnjHIYKMzNqx60COzJew BV3i/lE7RJHgQVDQXlSVMGIwu/h3wcZMAGiUY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730196151; x=1730800951; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dP0KAMyVWS6Yj9qu9bHMDh95jkCq6kFe5y2/InwDUyI=; b=u98fbN3Z7tP3woRIH+udTDm7hZ5RYzznv8PW0pX/Rd0J6nB2Hx8HrbX1/0ZUbNQTGL CJg91peFsyEMGm3Lswl9DEjc23Ry/F5erxQ9Jt+d6PwdrBWupMv/ngmGNvHNJwzeJgwB bh7MQRmNQokDy7tP6kY86yH3Ii0zsIQViUBg1IppCj9k7W8gJwRuBij3PA1LFTq1UwVM a6kvIxOt+4arGmVML9NwOorgLH/jIiopXJivFTIysXFbh1Jyl8eWaNehxH7MiaYcXW6c 0BBVpeQd3hRDwxTazy9LFIJw/l3xHBNM4iMpTZ7qFmAMWaorTSR6JQxseHyQ+iYzuuJQ 2+9Q== X-Forwarded-Encrypted: i=1; AJvYcCX135XmtAUhAJnGFT/2l7Nvmh0y0y0OOFJQoVCGRH+lelIcRlLYgDxhoZ5n+XJ6owZV4H3XF9/zcWCV7i0Wkg==@lists.infradead.org X-Gm-Message-State: AOJu0YwH5M7slfDDzotc/NmAjAAxpuW8JEKaA9EjdZ/0/fd+ff7iOXym RdUlvq6tyFGKF3r3HvBUM0zKEK9l8JL0QEp/xCxAUmAwvIncqcQsrOjvGQjaBA== X-Google-Smtp-Source: AGHT+IEVCUvA4kLgKRzZ3vDr/KBHeqsWpmQJtKxeUYRTf/PK4hHx+6K7t3YF7nEmIdBRHb+IdCV2Zw== X-Received: by 2002:a17:902:c411:b0:202:28b1:9f34 with SMTP id d9443c01a7336-210c6d3c766mr153604875ad.56.1730196150884; Tue, 29 Oct 2024 03:02:30 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:1fef:f494:7cba:476]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bc04532csm62785665ad.254.2024.10.29.03.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 03:02:30 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8186-corsola: Fix IT6505 reset line polarity Date: Tue, 29 Oct 2024 18:02:25 +0800 Message-ID: <20241029100226.660263-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.163.g1226f6d8fa-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241029_030232_181446_43E8EA09 X-CRM114-Status: GOOD ( 15.14 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org The reset line of the IT6505 bridge chip is active low, not active high. It was incorrectly inverted in the device tree as the implementation at the time incorrectly inverted the polarity in its driver, due to a prior device having an inline inverting level shifter. Fix the polarity now while the external display pipeline is incomplete, thereby avoiding any impact to running systems. A matching fix for the driver should be included if this change is backported. Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool") Cc: Signed-off-by: Chen-Yu Tsai --- The matching driver change can be found at https://lore.kernel.org/all/20241029095411.657616-1-wenst@chromium.org/ arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index e3b58641f2c9..43c83620e479 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -422,7 +422,7 @@ it6505dptx: dp-bridge@5c { #sound-dai-cells = <0>; ovdd-supply = <&mt6366_vsim2_reg>; pwr18-supply = <&pp1800_dpbrdg_dx>; - reset-gpios = <&pio 177 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 177 GPIO_ACTIVE_LOW>; ports { #address-cells = <1>;