Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp2961rdb; Sun, 21 Jan 2024 14:42:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOD2M6W7AvooRQtKKQNTLLK+4aiG390T9tCh+4SOPPauIli8raBZRjMb/ymIi86P0+/k+e X-Received: by 2002:a05:620a:bc5:b0:783:936d:7397 with SMTP id s5-20020a05620a0bc500b00783936d7397mr3980599qki.23.1705876929776; Sun, 21 Jan 2024 14:42:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876929; cv=pass; d=google.com; s=arc-20160816; b=ZpWI5c6KErnbCL4Moh16ugVNpvRGUYed5GW8y9XA433x5RsUSvHD2pF/iMTRb8Vi3d ETbSA7HhRvUtjK/irCn8x5HuYxBhLO1a5Tx8KJzdri5gkk/D5rObhw4L7dxYbDg9uXKi 1rccn6diQAsONOThlXSuIINg5BJhAuO/OR5TXls4gWqhWzd5HriabPIdZ0XiIrbuvgan S4+cfD7FOKLzSrRPAFS3SQTCQLV8Uo019iG7ZoYtBXOmUCpA/lhKpY5U55hGVXCes0pb 6U7r3+nLerEJDLCADlOXHR1+Mnuajbkz3KT9GOlMOmn+z9WQSlYpL8K/hFOJeCvJe7v1 vr9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=7PWH8U5VaSBlEildRA+ObEOTtCZCk0yOvMP1cCzr7AQ=; fh=gyQ+468lTOuRNBtkqerqTuKvvguTTOfYUz/OQb7wqjU=; b=Rba78thouuzuncGTMXL+jMVhwP5bFF3wxMtq/5p7pVCwPFjryi5KCg1Y/Vlsh5Em0B C+71diF9NcaYUiS2435N0oFuNhpMLssoKtnETKE5MgLT2mheNEjM7mY/mLZgMZsyL8bu xhIfgUz3vIknvbtZvtSnDlvmCXihq2rFd2jgqLtTKdo9iPkblNNkKV3ZpAADXw3/K4Sd YH+PbnPix8eXN4+BkfwWvrTbJw+XGm9sYRm7OanbtvweyXSDDWKMxnCulaO+62TkfZ7+ W3qy1vZGzLiOl35JgHBO7PPgoWhGsM9zWZA0VvnhMlmJS+wUPM+gBhKFbasPBXmY7NCc l6rw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32215-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dz12-20020a05620a2b8c00b0078331661d3dsi4456383qkb.594.2024.01.21.14.42.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:42:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32215-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32215-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 87E3B1C21410 for ; Sun, 21 Jan 2024 22:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1106939854; Sun, 21 Jan 2024 22:41:44 +0000 (UTC) Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [5.144.164.165]) (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 033D838F99 for ; Sun, 21 Jan 2024 22:41:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.144.164.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; cv=none; b=ifortrHhRDXxdVrCnllIXLC0yI3wbcjO+vVXJb00f/E28xZlrmLb6K+DeVevu7Z1KpHPoFDEZPuBrSibdWG6tiIjqrrezg/OEQL/Pkz8wIjQ4fz63wAcCvzYLU4KFuze9tLJFEOioG2pa3T2rRHgPEAK0uNnzStEWUI/ZexwhkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705876903; c=relaxed/simple; bh=RvaElXuVtRhvPwJGK8Oks7pSDH9b73Y6G9Dj7yXJywI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=llpfYR34g2Xa69bbLeJ1G3O+gsNCMNDYZv2MJWnskCj7V0UD7dJp3hb8p2vFff0nv+Q3B2IfscF0xJOsiRLaZ+yDxnGoBTB/8gfr+r/O0sP7dKHEo4onEw+wuoc/W3SRfBIgiFrkp/QJUMmQZj40kH/2OlA37NUwGPgMPRJj+pA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org; spf=pass smtp.mailfrom=somainline.org; arc=none smtp.client-ip=5.144.164.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=somainline.org Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id E24AD20375; Sun, 21 Jan 2024 23:33:40 +0100 (CET) From: Marijn Suijten Date: Sun, 21 Jan 2024 23:33:39 +0100 Subject: [PATCH v2 2/6] arm64: dts: qcom: msm8956-loire: Add usb vbus and id extcons to ci-hdrc 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: 7bit Message-Id: <20240121-msm8976-dt-v2-2-7b186a02dc72@somainline.org> References: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> In-Reply-To: <20240121-msm8976-dt-v2-0-7b186a02dc72@somainline.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Luca Weiss , Adam Skladowski , Konrad Dybcio , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marijn Suijten , AngeloGioacchino Del Regno X-Mailer: b4 0.12.4 ci-hdrc does not have the ability to detect voltage presence (5V vbus) on the USB connector nor the role (via an ID sensing pin), and relies on the PMIC-side charger to provide such information through an extcon driver. Signed-off-by: Marijn Suijten Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire.dtsi b/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire.dtsi index 085d79542e1b..a82b58cdd99c 100644 --- a/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire.dtsi @@ -76,6 +76,8 @@ &gcc { }; &otg { + extcon = <&pmi8950_usb_vbus>, <&pmi8950_usb_id>; + status = "okay"; }; -- 2.43.0