Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp234696lqr; Wed, 5 Jun 2024 04:45:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXaqoVmpJrked3DdM/BC6C4nNCMfMeX3rUcuFoXwFK70giLS1R6+Z+qPBDb8lMZwed5dzRCyR9PN2omCFSFcFpuKYpWfJAxqVpPEAX1dA== X-Google-Smtp-Source: AGHT+IGtTekMLREMWZG+kq4om2tiQxW6QhTTqWBiZUzNJsOkJ/dtgmlHuA7YJ2oA4JOCOyWJvtHO X-Received: by 2002:ac2:5967:0:b0:52b:9476:2f1c with SMTP id 2adb3069b0e04-52bab4dd083mr1105489e87.19.1717587930319; Wed, 05 Jun 2024 04:45:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717587930; cv=pass; d=google.com; s=arc-20160816; b=LGCFzItKd/19CzypAvokfjkobE6hWZdxGZLdGhc9WRgbmfJjfXe2lKTic2DAayo/Xm TDlVq3cz3k2Gxw4b0ze3z8tmfrwhmpxLDPUDJGGOmZbNABRHP2NCO3kjwJ8G/QCp+5ut u+uADVs0DqOUTdFd9hkydV5sZ4hrqJFvKa5/k3rdBMtqqZ63J5Lyvf0hdIlO2cRITDuJ eWJ6cKoZt0rf/KqrUzookPN6mo07KW7zCag+wH0SGrYi/SA7fqTZ42a1zRpI93QCuuBo w+h82/BhjslrWmNc8xbCOHUSY3d4kowhp1LW6zSJkgsmvUB8Y7cZBAn06qW63Bcgu1za 7CHg== 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=zNZcbSzlByI67PsmGACJiLmqC3BU0QVfeHAMyiGnADo=; fh=EWj0x6cRIL1L1sNbgdLK8TMpCMHcWKiAItUp0hVap5Y=; b=x9fNyXTX9qQW4D5q3Tz/lHQDRhWylZzdzbi9tlTpOeUaDtfxsUrgIcI++NBbmWcLhd 0xsHnB4OrEPGSnOMtIXAlEt+Xglv+YLD0Kb8ENljo3sHV8L3Ey/3CmAwB310aKlj3X60 hbP24ZOJsHiN8FWkE6J2uWqN83SSwVcybkrS67vZHbQv0JNhOVF43M/1DNSXqVMd3eSI OMjmr4wwLOGN4ROWDElG0X9sajBqt+jKb+ce7TFDfco0D2ZaXkz2yAXYEq7KIw9oqkJn Z/sgxLNZHuEagItooy93dMeegI7BPvZxE9IlQ2mfKr/iPTqD5ygK2la0kwNhW8Vu2OW7 0msg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MkfrmZBy; 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-202291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202291-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 a640c23a62f3a-a67eb81843asi564968966b.1003.2024.06.05.04.45.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 04:45:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202291-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=MkfrmZBy; 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-202291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202291-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 05FC81F24810 for ; Wed, 5 Jun 2024 11:45:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 44D151667C1; Wed, 5 Jun 2024 11:44:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MkfrmZBy" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 AEAD67346E for ; Wed, 5 Jun 2024 11:44:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717587896; cv=none; b=kydxvmrXLTSxcAwfsaVMguu1qNnfBf0Duf3QVqQ7Gx4XtlgWKzIHuIa2rX2oOouR0ZAF541mXQbEgU/0hFucDXIjVBl7P8IneDZwY21QJlJxa5gk2P1wt+rRy2rZyXJcIrJh4mq7Wn9RceSyd3j/9DOjXNa7aQVpQHLkupE7JS8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717587896; c=relaxed/simple; bh=10uX0pnm175pZfInro+zFADnM8oOID6XHqWA+aC+5pI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Ix/sMtVFXFVw70CwbFUGdlepEPISVoSB74z14Dvv3dwoQXHKnHkMnnFBPoMxK/bpt73mfHPXhiMUI3mA9P38F9nJaTanJjmp9GhItajKJU3OBz8NiIMPbTmFSxq3tbl0XysvkyYUkAmQo6Urdn+C0ogVncyWcz/VxB74+lx7NfA= 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=MkfrmZBy; arc=none smtp.client-ip=209.85.218.49 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-f49.google.com with SMTP id a640c23a62f3a-a6265d3ba8fso206852466b.0 for ; Wed, 05 Jun 2024 04:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717587893; x=1718192693; 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=zNZcbSzlByI67PsmGACJiLmqC3BU0QVfeHAMyiGnADo=; b=MkfrmZBy4nTaZ8k/EThi3M3HjAVgdCwITrP/cIeOgMYTB6qM+4SA5QpGmMaYy4GWuc R4q4mo8lZZkqCQWtkfqm/trjGcga0mCppP/lfphGoJun1PkjmPhkVqPr6Oa/A8C6N5kY O/hwG/9I4I1H4apNXjbQAWPKPQeEXQonSOsQe+Pydwh0O1bUypj6pxB+95Da48NoYr3h HlGEV5r0476pT04fOVgntOrrxAbds+8wGV83esmvR4ycOnn/rhovqCvylwQ9EiTkmf2q AA5MAr7RV0DRZ4eqWViW2/ci2mkHLCo1/E9jTPQ/+4UQMeE/PLx3SSm4WbyHd8euCB06 2SEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717587893; x=1718192693; 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=zNZcbSzlByI67PsmGACJiLmqC3BU0QVfeHAMyiGnADo=; b=v58ZdWcCobK9oBanpsO11hcvmrOLNyy181v1LlUm+6UA8yjZA+SJ2rrF7h1EuRgtus u5Ii+Eqwk5KjinlxCyoAWIApdSwj2nbQRMAMKAp4jVirhfxdoK0mxELdIGNdymXZKYb/ F4qU5qq4+4T7YQO5qH/kY5GNBuHlWdGfBJXt06AMRX/fQhPCIa+TDt1TazZRYDqLxeE1 LHwsW7BIx83/HvsXy5a07tzFMQu+5m+4Shn+RpS8Bd8RrkIQ2KwScvZbFGNn/tgI9Os1 8pXm1be5197Rt8Dau+EAdQm7BaX4oxihsEK6n80VEjm3uAgDeqGZLQzwMIpKdabOkOLy qi+Q== X-Forwarded-Encrypted: i=1; AJvYcCUoLe2DCbPBRblaitT+kwGMcfRVLso2HYNneLKT92wgRVxfsVWtju8NVgXcj15YvHxdZVB+blxFffgNhvbLWHRhche5pL2N7FWtjcI9 X-Gm-Message-State: AOJu0YzZHepQhH/GYCsK1zS79gL8intbi7QT16SD0ANaPAaVjq9kQf8l P/FA+gRFCeaXzacrCOsKbkDaIjeRY0FK26sC/ztMjpYCE45/DAu+Me0w9jShhdw= X-Received: by 2002:a17:906:698:b0:a6c:7221:60e6 with SMTP id a640c23a62f3a-a6c72216263mr4448166b.57.1717587893061; Wed, 05 Jun 2024 04:44:53 -0700 (PDT) Received: from ?IPV6:2a02:8109:aa0d:be00::8090? ([2a02:8109:aa0d:be00::8090]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a67e73fa49esm759342166b.87.2024.06.05.04.44.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jun 2024 04:44:52 -0700 (PDT) Message-ID: <791c4a62-aa7f-4b62-ac71-b7ec66b0c996@linaro.org> Date: Wed, 5 Jun 2024 13:44:50 +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 2/2] arm64: dts: qcom: qrb4210-rb2: 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-2-946f5d6b6948@linaro.org> Content-Language: en-US From: Caleb Connolly In-Reply-To: <20240605-rb12-i2c2g-pio-v2-2-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 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 Reviewed-by: Caleb Connolly > --- > 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..cb8a62714a30 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 { > }; > }; > > + 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"; > > @@ -190,7 +201,7 @@ zap-shader { > }; > }; > > -&i2c2 { > +&i2c2_gpio { > clock-frequency = <400000>; > status = "okay"; > > -- // Caleb (they/them)