Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp214832lqb; Tue, 4 Jun 2024 09:12:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrk7P5cBR/ABwD/iMYbVJfrVrfYHaWgvGAR9sCDcAw2CTcTfmwBJQXKAv0oq3NVTxdhSNM6HOhk2gPUvjlkSJty7JxmryZmHs2lBKrYQ== X-Google-Smtp-Source: AGHT+IGDUJjsd2qcf5hOvxdcs2F5Y8CJMv9SASlvqjC1OpKd3grzyRzcma8coNgmKqSnsFYsm9Vx X-Received: by 2002:a17:902:d548:b0:1f6:f05:3189 with SMTP id d9443c01a7336-1f6370357e3mr126992705ad.40.1717517570204; Tue, 04 Jun 2024 09:12:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717517570; cv=pass; d=google.com; s=arc-20160816; b=x7txd0NBRQh12Q/MZsR9yZdvyzt574Hbm01exYZM6CGylFlfwYB2KODnH/JquBGTwT H9oPi0NeuYN/HkjXc1Og6uqC4WbL6US+fGSyJt4OB1W2th0gwAE+ZWbfDBGjmRf2gIFI 8JI6faBn+l+qYi1fO7wjZgJsO9ODoAxDXl0/Lrym7d/bpMWK4ynaW7K7E1XPiOytg5yz PcW4pqZZtbJKZmgdgMkj8Zbi0QWQYjsL14WIFIE75/FJNqZgFHR3oPVXatUfrieH+wX1 Gy+sDL0TPnClP4oCYLTMqZ0adaE0/r8LxPVkZI9ehsayIDApXe5OGVt1KB4LfhSQLN9/ 7Mgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:message-id:references:in-reply-to:cc:to:from:mime-version :list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:date:dkim-signature; bh=b4YBu9yUfrU94hPAPy+fcUQS4yiFpU9WgeOfqYFO+14=; fh=ohX/GZYpihWO1owXUp5kmF5ce/gNQZN8WxOdPG9uFCU=; b=s1FkjXdKUXqmCh2KNmjh+hPBe4pC1A1q3cfVctDwzMawLAyyh9+GkjKsyHCyl1k9fx lArPyzZcRuyIh+ytCLoiGdq0lDirSE6/LBgt8MxXMu1P3Ff4nsv70ZE8t3LDWTj8XlO+ QLyzWCmA9hyG1R0bS15szYldvL4lT6anKPKJ+oWdgr7qqox1TdOKajlWfdiiSAltwKId hjsMaUCQi9uBtZhE2GyUF/9V4LH2uyxUWIvYHTxTQ8dV02rL1W30fJtDomt9yjVYnOzV PloZNkqy4Gulb4ezrrzO7JPngdjLJnUYS//96mmqN5qPnh0NBpD+gTa/0WI49Guqq2SO gqWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMYbQkL8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f681f9d224si32164205ad.599.2024.06.04.09.12.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 09:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMYbQkL8; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4028EB285F5 for ; Tue, 4 Jun 2024 15:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8DDE149C79; Tue, 4 Jun 2024 15:29:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZMYbQkL8" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED51D149C58; Tue, 4 Jun 2024 15:29:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717514946; cv=none; b=HxFnJJ0lOj5iDfjxNStthtC8rENY/ZCnIywGBTGiua68iviqjGWlx5J5tzE2FESvZXwEtm1MyfN4b24ZAkQHAJfSx4ZuC+5MGUzNsvnnaxmX6CpA2kstFabdzXfV0hsv7gPpNXbwMq6FHOOKLMtxG5zzndQzvyksDQnY61wOK/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717514946; c=relaxed/simple; bh=mfTb8/nIO2i2gRcje+LHHzecxszLMkpseLwAZu/HtWM=; h=Date:Content-Type:MIME-Version:From:To:Cc:In-Reply-To:References: Message-Id:Subject; b=Qjd6Y0VnjcVb4svOB57nky/jxEObx/w0xMg5O4dOtn8nf54fYF9UdtmLiL8/VudhpIbJwZq8vWIWRW+itxmxdbQ9njjDM3PZXEypQ1iDn7FqqMII3uJDgldddrQf/9L7jyKXDoP3WMRSNYwido+sKvsDOF88Rd+6O7KulUO3DLg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZMYbQkL8; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4667DC4AF08; Tue, 4 Jun 2024 15:29:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717514945; bh=mfTb8/nIO2i2gRcje+LHHzecxszLMkpseLwAZu/HtWM=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=ZMYbQkL8sB8prdLwR3LZ20wOCUuHUBC1pSjXFiEkqhcr8dOYg+pUW2WMGGDgVpKM8 oBJ8q9525y6f+Ay8GFp6ope2Hw19AJWo19jO3wrWWBq5kylKbCJqrl3SKKG9t9HoVv 4UcRnt+Cju03IvM7ewve7DnPEdcnLx1IDFuyDmWzQL0I2ly7ZHoImmEYHiYRyZYKZr NLj1lj4Bx4sLEyJCuoXovBdrsLGKfNyJE06zQWJ4PHmLE1xjIAQeiGnor29Q5/sGy1 9GGMMDkKFMCkY9fp6fFIUYiYoeo5Ad8qqguX6GqAenWAc68KEJXk3F0kzOawO2/NMh drtst/bT3P/Vw== Date: Tue, 04 Jun 2024 10:29:03 -0500 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rob Herring (Arm)" To: Dmitry Baryshkov Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Alexey Klimov , stable@vger.kernel.org, Caleb Connolly , linux-arm-msm@vger.kernel.org, Konrad Dybcio , devicetree@vger.kernel.org, Conor Dooley , Bjorn Andersson In-Reply-To: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> References: <20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org> Message-Id: <171751455130.786440.9645536291683303071.robh@kernel.org> Subject: Re: [PATCH 0/2] arm64: dts: qcom: switch RB1 and RB2 platforms to i2c2-gpio On Tue, 04 Jun 2024 13:14:57 +0300, Dmitry Baryshkov wrote: > On the Qualcomm RB1 and RB2 platforms 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. > > Signed-off-by: Dmitry Baryshkov > --- > Dmitry Baryshkov (2): > arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio > arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio > > arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 13 ++++++++++++- > arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 13 ++++++++++++- > 2 files changed, 24 insertions(+), 2 deletions(-) > --- > base-commit: 0e1980c40b6edfa68b6acf926bab22448a6e40c9 > change-id: 20240604-rb12-i2c2g-pio-f6035fa8e022 > > Best regards, > -- > Dmitry Baryshkov > > > My bot found new DTB warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y qcom/qrb2210-rb1.dtb qcom/qrb4210-rb2.dtb' for 20240604-rb12-i2c2g-pio-v1-0-f323907179d9@linaro.org: arch/arm64/boot/dts/qcom/qrb2210-rb1.dtb: /: i2c2-gpio: {'compatible': ['i2c-gpio'], 'sda-gpios': [[25, 6, 0]], 'scl-gpios': [[25, 7, 0]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'clock-frequency': [[400000]], 'hdmi-bridge@2b': {'compatible': ['lontium,lt9611uxc'], 'reg': [[43]], 'interrupts-extended': [[25, 46, 2]], 'reset-gpios': [[25, 41, 0]], 'vdd-supply': [[107]], 'vcc-supply': [[108]], 'pinctrl-0': [[109, 110]], 'pinctrl-names': ['default'], '#sound-dai-cells': [[1]], 'ports': {'#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'reg': [[0]], 'endpoint': {'remote-endpoint': [[111]], 'phandle': [[92]]}}, 'port@2': {'reg': [[2]], 'endpoint': {'remote-endpoint': [[112]], 'phandle': [[106]]}}}}} is not of type 'array' from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml# arch/arm64/boot/dts/qcom/qrb4210-rb2.dtb: /: i2c2-gpio: {'compatible': ['i2c-gpio'], 'sda-gpios': [[43, 6, 0]], 'scl-gpios': [[43, 7, 0]], '#address-cells': [[1]], '#size-cells': [[0]], 'status': ['okay'], 'clock-frequency': [[400000]], 'hdmi-bridge@2b': {'compatible': ['lontium,lt9611uxc'], 'reg': [[43]], 'interrupts-extended': [[43, 46, 2]], 'reset-gpios': [[43, 41, 0]], 'vdd-supply': [[178]], 'vcc-supply': [[179]], 'pinctrl-0': [[180, 181]], 'pinctrl-names': ['default'], '#sound-dai-cells': [[1]], 'ports': {'#address-cells': [[1]], '#size-cells': [[0]], 'port@0': {'reg': [[0]], 'endpoint': {'remote-endpoint': [[182]], 'phandle': [[127]]}}, 'port@2': {'reg': [[2]], 'endpoint': {'remote-endpoint': [[183]], 'phandle': [[177]]}}}}} is not of type 'array' from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml# arch/arm64/boot/dts/qcom/qrb2210-rb1.dtb: i2c2-gpio: $nodename:0: 'i2c2-gpio' does not match '^i2c(@.*|-[0-9a-z]+)?$' from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# arch/arm64/boot/dts/qcom/qrb2210-rb1.dtb: i2c2-gpio: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'clock-frequency', 'hdmi-bridge@2b' were unexpected) from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# arch/arm64/boot/dts/qcom/qrb4210-rb2.dtb: i2c2-gpio: $nodename:0: 'i2c2-gpio' does not match '^i2c(@.*|-[0-9a-z]+)?$' from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# arch/arm64/boot/dts/qcom/qrb4210-rb2.dtb: i2c2-gpio: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'clock-frequency', 'hdmi-bridge@2b' were unexpected) from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#