From nobody Fri Feb 13 01:42:33 2026 Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F963144D07 for ; Tue, 4 Jun 2024 10:15:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496104; cv=none; b=o/uVhOuvNmsp67BLRVJVfrboxBgAgtbMH54ONNFIuidQ4Z3CKhENPyodev5lVSQxaX6jkN8amCRcGcK12gizbRcaMe5d7Sf8ufbH1szvXmCRXkhE6ZJZrGjLtJuKswb6ncDHw+2a3aAALOn/rzaOsv8QO0hHE7u3ZH/e9e+/v7o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496104; c=relaxed/simple; bh=scD+dGiDyNpJ4sWuTvdh5EOAvP3KNqTJknwA15cdGWM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AapTZWB1OR0ebjJZPKXCVNIlNdbOH69/Pb1jmRZHZM9PTo9Ec3zOpdRVCLxDJXfBk11ow5o8OgGiDX/JYVT5xuYpXBv7fUS/NzMsAGs2LSjxuSZpivB6wTx0UEgGdgSymgaH0wnZ027Zl+ttaY506Hsm2N6ouDn9+PZ1Bcu2w1A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ilVR7qqq; arc=none smtp.client-ip=209.85.208.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ilVR7qqq" Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2eabd22d404so7846051fa.2 for ; Tue, 04 Jun 2024 03:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717496101; x=1718100901; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=iWRYHNIz7cDrSKmhye0o4WWteyziY/kqhGbKNfRqkTA=; b=ilVR7qqqw4oyy9MUe30PeZ29+Kn/FxBL3zgY+aKuC0AArGcKTJnySDgvw7szZ2BXY7 JxayRp70unYY9Z9d+P1oJjtQvYJMISKubWXZNFu6YaxtKjeq+KhCzlpiuEjMuvweOk0f iuHr0UCV9gwxmdrXyROtUMXe6LSxjkTMinyq8vWF2/Sg/w4eX6hDvhjcH4ZaBVh3fy4X tVRuVvBWGcAjLFmtFmXVzEAFpaTlroLOln1dw/++u2qFbduCCDsfCFCZWMkUKfa7Nf1P dTE1kPi6s5bQuFu7F8PlMcbZ5I7gpgoIG2EgP+B4UIrxYUyiD4Xi8T8tiil3p6C5P3AI 7Wfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717496101; x=1718100901; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iWRYHNIz7cDrSKmhye0o4WWteyziY/kqhGbKNfRqkTA=; b=Q//tKqPskw/L4n2KYdSC25NdffVG34F3DnOj9yBXFBHzEeabntE26459uUctm78gTM 0HmCjCiQYdiYBaBuyEVCDW451S5eSpcbrwAc5sNxgIgZnMqSVcjNaOMtxAfQOuKYktIA BpMi4i4hcS0GF85cC6zdEihl0GLYC5UYFbhuJojfWZkvs7R4DDzKdvPWcM4d6YkecQbB HPy1gHZset62iIFSnhS4oM0LIvWYNE/8q4cENYnmFetzOnHDfK4DhqrfB5l2QYbo7gkF P8NhIrE7wHNrg1XIAmY1K6Q1mYrvHs0o3dvDkidAqlvviw5Vfte7nY0QuhquP0E01O+M YEkA== X-Forwarded-Encrypted: i=1; AJvYcCW6AsJ3JrJg3EspSXxByFy1M5a2IPiDnRxQuTBXAuDGaqCqXQUU9tYSrOypUXQLvzWrig85khdi9nH+bIH2MS7LQ7N3ULym2auz8df1 X-Gm-Message-State: AOJu0Yyy1Zz7BXO9Vy/LTF3C0f1EhEky7xEl3qJh6b5CrXifUnmukaOY oKO9klmQWBAAZFcQ9BopNWtAwJNqbazrLRtQOzhw0n1fXmP38zuvdonBEoFX/LY= X-Google-Smtp-Source: AGHT+IE0o5wFNFSh1APZI0tIkFTcrMwYK5v6W2l0UTCrKg+lzbv00TlNdZxY/ks2vmMyJxVzGpEvow== X-Received: by 2002:a2e:a787:0:b0:2ea:7e51:5166 with SMTP id 38308e7fff4ca-2ea951e7dedmr90130041fa.41.1717496100610; Tue, 04 Jun 2024 03:15:00 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ea91cf0bcdsm14715451fa.120.2024.06.04.03.14.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 03:15:00 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 04 Jun 2024 13:14:58 +0300 Subject: [PATCH 1/2] arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240604-rb12-i2c2g-pio-v1-1-f323907179d9@linaro.org> References: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> In-Reply-To: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Caleb Connolly , Alexey Klimov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , stable@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1518; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=scD+dGiDyNpJ4sWuTvdh5EOAvP3KNqTJknwA15cdGWM=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmXukiQWa1h2pORFoJ+ElWi699MmLRddJoQMnJ3 TFOBZnsSZyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZl7pIgAKCRCLPIo+Aiko 1QrjB/wNap8dDews1vQfjsdlimM1Npij8lenSbLzMrIE7o68iK+ajP1vz+qPiuuE3kk/LSqNA8F JB0gRaZbRRultq8kt1td3/0KqkuibuMpWfaPjc1n7Fxaqk/FMnWgasjiZddauS7O9ec87LxNIAT qIFHoPfJsLhXfh/zhxdDf4f0WztadbBMQXqcMOUYx5qEFMcCpm1VZbIyp2SOhwlYxZLcvpYVXyF 1B0HdyZSwm4zCbM+IPAwemQuKP2LbepkprMcfnAhV/TIqA5xAF0pW357PFrqnWtDFVGhVKceEYK eXSz1BDR2Al/RRs36lcNTm26HDPrSsDgS9R4M9FU5IauiyB8 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the Qualcomm RB1 platform the I2C bus connected to the LT9611UXC bridge under some circumstances can go into a state when all transfers timeout. This causes both issues with fetching of EDID and with updating of the bridge's firmware. While we are debugging the issue, switch corresponding I2C bus to use i2c-gpio driver. While using i2c-gpio no communication issues are observed. This patch is asusmed to be a temporary fix, so it is implemented in a non-intrusive manner to simply reverting it later. Fixes: 616eda24edd4 ("arm64: dts: qcom: qrb2210-rb1: Set up HDMI") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts= /qcom/qrb2210-rb1.dts index bb5191422660..7ab55337cdfd 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -59,6 +59,17 @@ hdmi_con: endpoint { }; }; =20 + i2c2_gpio: i2c2-gpio { + compatible =3D "i2c-gpio"; + + sda-gpios =3D <&tlmm 6 GPIO_ACTIVE_HIGH>; + scl-gpios =3D <&tlmm 7 GPIO_ACTIVE_HIGH>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + status =3D "disabled"; + }; + leds { compatible =3D "gpio-leds"; =20 @@ -199,7 +210,7 @@ &gpi_dma0 { status =3D "okay"; }; =20 -&i2c2 { +&i2c2_gpio { clock-frequency =3D <400000>; status =3D "okay"; =20 --=20 2.39.2 From nobody Fri Feb 13 01:42:33 2026 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C609144D0C for ; Tue, 4 Jun 2024 10:15:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496106; cv=none; b=DYgMHt4ZxtBJJYKw276IDoFoZK0ESkUEr4eRgHF5bnvZEohWWxae1UAti+jiuzENTGxVXtcPSTpM5Mt+rC8msTMkJPXxTSXGsrb7Tt1lB4u4k1b/pJAAca2CzrZOgmd/c7hoBZF4CCVQ5bcjH7e/r1Ex2KL9OLp6VKPWCtqerm0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717496106; c=relaxed/simple; bh=Kdcf4gyifMvsfIuC5jmydzekNdCdDS2WOulnau3ZpVE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=F4zoZ2/AnCAP5tU8w6/8ryktDEscDk9wefDKhfOMt7NgU5cIFGzpZydlv9knxkgudjbFLSfrDJV1Xbs1n1BzThKTDwKOowvlMRzdt8XAaOq6eaU9TYwxKjqr6HSKg86sRJLPi+5uoaibVdMJkhVC0fUob/vkxt99UvwVPh+12vg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Qll63JQM; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Qll63JQM" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2e78fe9fc2bso75264021fa.3 for ; Tue, 04 Jun 2024 03:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717496101; x=1718100901; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=j1FiKRjpwxHYIU9bA81jIkxWG1M5TraYGBQQXJ18994=; b=Qll63JQMrbnkAZSyxy4Ek00jhjwNQr41IPkTpnsMrqJocxCm0XYkl/1/hwSqHTiHEh p8KTmBl1uOm0N4NCPVYEfUZBeS6ctv3Q/Ebl6dhlAuGGvcL8dCYaa5kqdsk1PmshsTCn FyvHOxfzPJ0MrMVnKqMsDS0dC4NF+SOQrvum4ELLh/z1cCYZ3BQSpfdVa1uqNb1vuvZl htibsb7fOu+pgnqTtLpBA8+6r2QsmDvBGq8BAPXOg6AfAGzaj9/8B2DT0MNwvJOL9vQJ 7njgsWaHSagiKXquoG/kXsqAvrh/YlPMuB/V7FDAG47Fp1IIlvaMHCRbv314xdD6quQr JcWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717496101; x=1718100901; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j1FiKRjpwxHYIU9bA81jIkxWG1M5TraYGBQQXJ18994=; b=R7FjWCwC3xDvy8Utpr8PljO5dJLAckmZlywsvMQRcvRBZw8Ml/mjhUIv8jKd0conX/ 7u1oKKbFE1VJ+KpDNgP26EgiIuuSGmtBiayC9ayPBp4fzri/pgpaPX619tIUgsekwMEg yVQY3YQa4JtLGZpydqP9M1HC2JFXJPez1oVM2xHVISbWqFWdl/g0Csf9YJP8skgxD9Kq 9RRdFbnhuBE6+6UhCiQYsFlMVQDuqPWrfDt7OMP8vAS4J8u44ZWE5C3YuOXekCCNKzeM AggeI6k1c0AF6ixWi5kB7MDoBX3S/VbkMQgx2LKQHGJ1iwXHTxcRON0XgOdD+VPi8Bct OvMg== X-Forwarded-Encrypted: i=1; AJvYcCX/94D2M2qvOmB9dRm7hFtTNlCtKd3o4A24lIf4adMcRH1tD+lz1VK01fsY/9yhYm2E1EOLhJZbSku0JlmO8L/ZF0+AcVY1tymIRr0I X-Gm-Message-State: AOJu0YxGZC3BpyMAf9xfukW0bxt5qP8nEthTdEoe9p5yV+9f1hazBQjg yeoGlLGZrEy3R9nzK8NyWe+Rmcz8RvdsC2wWBgFDGZwW7YtKdgorUfptZRzCGCA= X-Google-Smtp-Source: AGHT+IHqunSpSEno7XIpTMSA1ZqbhFUvvCLc6ZuqU+J8t9dY5ZulvB+57VicGIOgT1SORhXY0R0a8w== X-Received: by 2002:a05:651c:d:b0:2ea:81cc:b146 with SMTP id 38308e7fff4ca-2ea9512b1a0mr74966371fa.18.1717496101503; Tue, 04 Jun 2024 03:15:01 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ea91cf0bcdsm14715451fa.120.2024.06.04.03.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 03:15:01 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 04 Jun 2024 13:14:59 +0300 Subject: [PATCH 2/2] arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240604-rb12-i2c2g-pio-v1-2-f323907179d9@linaro.org> References: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> In-Reply-To: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Caleb Connolly , Alexey Klimov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , stable@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1512; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=Kdcf4gyifMvsfIuC5jmydzekNdCdDS2WOulnau3ZpVE=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmXukiGa2sOetdv23AiU1xg+flJKQkPu/8mVACg aEuNfzvQsSJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZl7pIgAKCRCLPIo+Aiko 1V0kB/4zi4Phlou1SrTZg8LRE6lrnUqLb8X5a1e/4rXTNWVNqN0zxEMWco5Slv+rZ2R2uOQAU5A xuW4zvkMAbHqi3W9924qQa3wbD41H/yZaSHAAYkDH46HVMISE65ngNFLCxMlrFZaeq2GY73blk7 xkHaJK2dyFbj1x2eF7dNCEM5E3Zk3FQ8IJQXfsXORVp2hFQNEcEPce3Y8mv35040kujixVkzFL9 VodjV+/aGp4oGVk11S9uRoUnjMOYfVl9WbLr+SdxswZ29Hap6hKERn4TFIdWCaia2pPC/vgQwxP r3Pg2tsr3L9lJcYDBD/84gC5dA0ymRS3CYGWdg2ma/x335oO X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On the Qualcomm RB2 platform the I2C bus connected to the LT9611UXC bridge under some circumstances can go into a state when all transfers timeout. This causes both issues with fetching of EDID and with updating of the bridge's firmware. While we are debugging the issue, switch corresponding I2C bus to use i2c-gpio driver. While using i2c-gpio no communication issues are observed. This patch is asusmed to be a temporary fix, so it is implemented in a non-intrusive manner to simply reverting it later. Fixes: f7b01e07e89c ("arm64: dts: qcom: qrb4210-rb2: Enable display out") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts= /qcom/qrb4210-rb2.dts index 2c39bb1b97db..5bfbd81db032 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -60,6 +60,17 @@ hdmi_con: endpoint { }; }; =20 + i2c2_gpio: i2c2-gpio { + compatible =3D "i2c-gpio"; + + sda-gpios =3D <&tlmm 6 GPIO_ACTIVE_HIGH>; + scl-gpios =3D <&tlmm 7 GPIO_ACTIVE_HIGH>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + status =3D "disabled"; + }; + leds { compatible =3D "gpio-leds"; =20 @@ -190,7 +201,7 @@ zap-shader { }; }; =20 -&i2c2 { +&i2c2_gpio { clock-frequency =3D <400000>; status =3D "okay"; =20 --=20 2.39.2