From patchwork Sun Jan 21 22:33:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 189851 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2265236dyb; Sun, 21 Jan 2024 14:42:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYwUlIeJDNxibLN+2gclGNHiJqv31asvQDjyW3im/gGdvWMkuhaY0V6j38KB45ZoCXbuFZ X-Received: by 2002:a05:6402:1cb2:b0:55a:aec:5558 with SMTP id cz18-20020a0564021cb200b0055a0aec5558mr1536920edb.67.1705876973416; Sun, 21 Jan 2024 14:42:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705876973; cv=pass; d=google.com; s=arc-20160816; b=jJST8EqKumiJp1pwRk/MrRGB6UJcnno7vmuxSbmlgnHlvgtCBe/Fo3PZibXl55NeAt 6FApjLXTxWRTIqVRSD6zLBJMaEytt6V3it06ZB1ciQS3qwscAGxZgp4QHuFYgSIYQKFP H1OE3j0VrTDe/OzwX0dusNLHxwOP8NGyubbjeP4Vn28/GEwD13NEl8Xah4A0DuQMkVFq XXsC2f5/GoWf9t/XzRYBs/sDEHNZibzpAQiZ8eK7Wl0gFjQCw3kiwA8lNSzHqv0YQnqM nWLwUUrKfx6gdxpjvp/uZtO3hv8e2S8PL8DLzVbIpSOrHYO4eA8lD6DehQqr4VngWvbG 8PAQ== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32215-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i14-20020a0564020f0e00b00558a705afd7si1047996eda.562.2024.01.21.14.42.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 14:42:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32215-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=somainline.org); spf=pass (google.com: domain of linux-kernel+bounces-32215-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32215-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0EE8A1F2190E for ; Sun, 21 Jan 2024 22:42:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DB5939AF6; Sun, 21 Jan 2024 22:41:45 +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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788741652944643518 X-GMAIL-MSGID: 1788741652944643518 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 Reviewed-by: Konrad Dybcio --- 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"; };