Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp234853lqr; Wed, 5 Jun 2024 04:45:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKbrC296OpyJf+Oo26Xrigl2acgKEmbCoyuWdPygLrgHDUrY809koxGucZLqPw29LKxyq2aQMBV7I1V1jBNy6hgkZhFZsOrS7LGHyRvQ== X-Google-Smtp-Source: AGHT+IGE1cq1hGzMVIjVzhxyDuBW/0hsskv3o8ea38H4e6rbqaWX1++04gq1LsTzkb/AAAjKfvsL X-Received: by 2002:a50:a68c:0:b0:57a:4b31:5d71 with SMTP id 4fb4d7f45d1cf-57a8bca482cmr1588281a12.26.1717587947170; Wed, 05 Jun 2024 04:45:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717587947; cv=pass; d=google.com; s=arc-20160816; b=F1zqz8XcS2B6eFtUAAXCio4lMVFS905g+lgleeC+ocqgOSHKkiJOuaOZxKNFih3vZU u7BAjdNJ2/B9SBzS0EkBSOkEXbIDYvjRHGVmuPeC8Qi4DRxiymY5juLT/ce3ePGOPNwn fM7+UvR1ll90WBefDhvm15P/ZTAaLzuoq8QsTIRP4NXZ209G1im7Wu6YJxNVxtgW79vN AF2F3LYXdcuhXEBGfCGiYiU3O+ErDRyy3J9BMBCGhZeFZexBVnc/UE2oTvtkLpb0zpUN W6so2379jFk83+5rG1OooMO3v2C0VUuTkv3ZNw83W1YpPGjVh4ea+wAVQWuGJdypQ1rZ u7bw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FIB7ujhSm4r4oHfWl29labezUCHSPo2rSBZvn+iBsPc=; fh=dKhTFszxtsEbHIeqmN2ho13dZ7IrcQHfKcyUkgttE3U=; b=d91kxTZP52bwFXTrmahtYIfzOypfMyHJQ0JrG19P+XI8Q9t+iBUJuwxpXbuJ/1CYFC /5pci+VQ9Idz53YjANbP+V5VGS+2KYLaLHhgZ+g8et6tn4mKWg4+ncz/8818BdKgeoDT vW8XsBaboDvFg1vj2cEoCvHnPf0jlwYGRH3HrSh6wmY71EZa1JSlBYBhDlYO2Wi9SN4I 5jH6ZWpiSFm547k/M1lC5N2wrpxpjgmLosPbWNqkkFQPDjwwYxE8QyiOP1yCJo5JxyWj VFMuTG2KUoPliA0rKxEV/c3WdvnH9OqnuwabvdR1zXnEqtcjhmFb6i8XABRfABYMy4iT rnog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XHrx8TH2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b819besi6322882a12.118.2024.06.05.04.45.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:45:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XHrx8TH2; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-202292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B60761F2426C for ; Wed, 5 Jun 2024 11:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BB8F14D433; Wed, 5 Jun 2024 11:45:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XHrx8TH2" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 24340144D0D for ; Wed, 5 Jun 2024 11:45:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717587923; cv=none; b=AlRNWyrYeRBU6h/vbqjj9q8TsaV5gIfQALwzKCmM4xDYx5saC27kGF2ExQLyT+DUnQunXlqSXnM1ZF+uojHDzyN7tq63TbJ/bevuy1VATDROyxoOQvXAviKI+2ACeocLaRQbriDTuucbPr7JqNIN523Y0B6QND7aky6um8KJQK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717587923; c=relaxed/simple; bh=F8KvKlp9bavX/llL9E6gFKVG+DJ59VczQJj9wnu+J8I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hpsj2o93zocPuHExjdXdfGYnnuOvxBKqYitAS3ZWIypBDZIQDC2zBm0jWJ3E14DA4c6iplY9m8DGrq4TQTmUlRlHoZDitaA3GGDc8LAZ1ahWBHh+jGU6LPinNIc6oqOggptncfbB9pAFHu17WRdtv+w/ls09UhAwMv6TNShyjHQ= 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=XHrx8TH2; arc=none smtp.client-ip=209.85.218.48 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 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a68ee841138so423332166b.1 for ; Wed, 05 Jun 2024 04:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717587920; x=1718192720; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FIB7ujhSm4r4oHfWl29labezUCHSPo2rSBZvn+iBsPc=; b=XHrx8TH2k6q83iY625U8yXpQYcTBiAVEFQjCZHCtSYnU7Gwq/4Y0eoP8Lnjcg3NgTa 5ccKQnqnZwn7jmCpzvztowLVib0f2vSHZBZjLTPGQ/DY5ot+y9cWEhXgDnr109yC6wzM x0C9R0s/UL0TOaSyJNDgCU4y7J5CNiHJIWSOiQ0ibCh2G/hojC4cShdM9D7E9iBdKq32 1DqI5b4HRACmlp7dbwJ3V7jBRcr2NCo8AscFX73+eRFcSDllMP/EYIMO5VTd4RQcB/ej VZRvdaf3eMS+PUVmiofRfGhUQ2FNZZYWJCaw9ik5EDc1gp+9fpG6F1qDWE4mx82OkEHu 02iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717587920; x=1718192720; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FIB7ujhSm4r4oHfWl29labezUCHSPo2rSBZvn+iBsPc=; b=dYtQTONQqT6IznH/WuINoDbQBWrCbvyUz0v6NnDWacBZbL3KnoXT7YG0iWHe4BHxYh ZC+jljqB8DWClC4y5RRJyI/ywZeV6kTDp8/XpVmUH3Z5vVJv+TV9jgLb8IrlBPR/cBgE iMx07JXng22tuwst0ttGPIA8SlzFlNigh/j4Uhqfw5PjVlgvKTSyu5DnIf0fzY89dKSF /Y4RIrTZV4C7ddjE59LJJl0FxZUHPdkIQf3Zc/JRGgUleKVU1Ay3bmTRr1bX6qvf7vKF +tZFtRb29lgDkgMYYcVByC37Ccq8FvoEQwe7OCczUT1TH/W4ktwr5CTRNWaVbnkL7oJ6 MoRw== X-Forwarded-Encrypted: i=1; AJvYcCXusXqdc2bXsdGOqHQZF6h9qeU4v4e5GWiqzv/WwoKe5qt50y/m7zkk9LtfCyUR3olPbbCvDzx9bxFIHU7ftkGqqEqvPnvZz7A2SheR X-Gm-Message-State: AOJu0YzYaiizIGU9eIjoY2VqVtaB6HQBglT5qZIlIp3Eragi4KPRk2E6 ejWCHvd2gFY5vRPqxy3e6AmlVpPJEUz736jhPeqdMoyBod5/yd9eIq5YlsqDKLxNsSELUWwv4HT 4MaAhZQg9 X-Received: by 2002:a17:906:fcc5:b0:a68:bae4:94d3 with SMTP id a640c23a62f3a-a699f680343mr167106966b.8.1717587920537; Wed, 05 Jun 2024 04:45:20 -0700 (PDT) Received: from ?IPV6:2a02:8109:aa0d:be00::8090? ([2a02:8109:aa0d:be00::8090]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a68fa49e66fsm491263966b.129.2024.06.05.04.45.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jun 2024 04:45:20 -0700 (PDT) Message-ID: <395ffca5-20b3-43fe-b443-7055eba574fc@linaro.org> Date: Wed, 5 Jun 2024 13:45:18 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio To: Dmitry Baryshkov , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Alexey Klimov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20240605-rb12-i2c2g-pio-v2-0-946f5d6b6948@linaro.org> <20240605-rb12-i2c2g-pio-v2-1-946f5d6b6948@linaro.org> Content-Language: en-US From: Caleb Connolly In-Reply-To: <20240605-rb12-i2c2g-pio-v2-1-946f5d6b6948@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 05/06/2024 10:55, Dmitry Baryshkov wrote: > 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 Reviewed-by: Caleb Connolly > --- > 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..8c27d52139a1 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 { > }; > }; > > + i2c2_gpio: i2c { > + compatible = "i2c-gpio"; > + > + sda-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; > + scl-gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + status = "disabled"; > + }; > + > leds { > compatible = "gpio-leds"; > > @@ -199,7 +210,7 @@ &gpi_dma0 { > status = "okay"; > }; > > -&i2c2 { > +&i2c2_gpio { > clock-frequency = <400000>; > status = "okay"; > > -- // Caleb (they/them)