From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 4B0723C9EE7 for ; Wed, 11 Mar 2026 14:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773240658; cv=none; b=RAsRyuXAykJf2+cOGcs0PBPCb3J0u+2y63jvIhiB6OvzCtV/rYMb85hjA5RqyGedFeTbw/CvyFO7Km5lHiI071om86p3C0D7Y2+/ZLfiYffIBard/9f6miHQ2oSvxRJt/CEy1HF6T/ZRlXwYCb9H6UPGRP021i7r4XDsudjqn6o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773240658; c=relaxed/simple; bh=jKbAvVQOjgD/Ud8EqCpGD6nwWtn4pXSkFQ8CMyx8GP8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aYkMmWAjYoksYaFYBK16qfKj1PgkTs4ge37J9nMHNQmW6oUNukNJbOdcpRl4Cd8AAZ4xfteY8qdic8v/LnxuKHc3lrf+mLLQMUoURM6vngHPMCxYtzPskzt+1mSmCYytpxudZPxaXpUxi5TmonI7joeH+0LzmeTQwr48OQW14QE= 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=gCUMOnsQ; arc=none smtp.client-ip=209.85.221.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gCUMOnsQ" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-439b9b190easo7463223f8f.2 for ; Wed, 11 Mar 2026 07:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773240655; x=1773845455; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=46AZDUVDC2zlHBW8HDcQlKNvp6YJxjOzfmV0vqTX9ds=; b=gCUMOnsQyrLd9Rg2VGP9wKSJUfBuiW/7n4hSB234qp8CiTL/zOMT05RgzCzljtyc7R 7KTv5gSBiMZ5aRFUWAdpql3NIwghoL3J5bhA/WA/ARlXiMWSaD+8l2Qi8NdDr+7nBdiX Ftkj39WUw1F9ylYLubNCQaWmDWEPBUGP8WQO7vur9tGY8m1RLtjejLIywZGe5fgEWXjd tpAIE0i3K8EC9tX1WW8LC6Unu9n9TceLujIRHqQWs+Mg7IuMK4k/9+JlCrzro0VOSV/j +r0Y/C/OF7YXobFoSksgNT6PH64E6SFwnUy13/lpME0duq10oGV5RUBW1eVup89NJTrJ g9kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773240655; x=1773845455; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=46AZDUVDC2zlHBW8HDcQlKNvp6YJxjOzfmV0vqTX9ds=; b=h8yy9f0aH0l0m9kzmUyUNQB2u3TqwTmbv0p+XYfypV8YCVa58LCdov2vdXQsu6O2NZ WJEfX3uQKEwdGBVuWbGJ2hcckAPqI7/Z0W8DjwoNcyI9B6h02htZp1vtnjeeHkcPLb4F P7ZwpTB6BiO44TyrmFhKemcHwnBRFgKQJPYUOTuzOXC1P7L455QA6SKXuBxZoV4Hb0eW 4OvwIilu7SC11yaREFcfku+VgpoZYjl8l/EZhZ2IUDhsb2MNBxYpBqZkHU6fTJaKp+hA kidA1vBGkIJ+ZHS5Db57c9/W1Nyyar5HqDhvP3kPGpqrpMBNX/XJ8j3H0hVgFJI6AfCp DYEA== X-Forwarded-Encrypted: i=1; AJvYcCWlY5TBVT/QlUkbdhJrUaZOvsBsXduoYlOsXcn8P1LREnM51XDNCk4krD7GI/LhvUvoLHr6uxP1lxh00Ik=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7DTT+V9w8eyMkZRCKh09Mh9JXSDtQpu3u7SKhnjsTRDpuGobf RusFfTuZ1ttKJRBOtj9qGnbSRw0TtRNcGpXLK7eh65RKYrVZkzn3EP2QmMozC6JaMLU= X-Gm-Gg: ATEYQzzS8DAGrH5ZlBWlgSzz/4lS/bFCjg58qIRvFwZKecLEphVYGo/Ld9j6ueQPHPa v+sZHY8dCGI4o2RD+3JOzdERfNEf43vh7yNxVhIuPgv50DbldjFpJ6C8v9A6hG71s7vX+huiDDG pL5ioCPJ81YkLLPEq54ZcordA65Om+NuD0xnmF0nwO8p/gMawWkM9X5AzYqRR9PY63LCIgtD5v7 ezKt2VHjtxhz5UXywuRXeb4KWwx2bcPvFpiYq+v0QnvYPKWEqTIrYFC8pSO4fHX/LrN5UU9JQOD FpCmka7fgkQPhv8CjTaE73reIkh8rCpDjG3vvrpYwuFN/lWWqrKMw+bYVZRhbrvxImp1XMWqIKI /k1kbEKP5snpL1mszovBK02etm/+a7av3Em65VPlfnClXRy61n63R4tE1e9YBAWQJ0e6EzwP56j CImAedQHIcbrcrwKBKvoVNu8xYeN7VdJUNCmCC X-Received: by 2002:a05:6000:40c8:b0:439:b506:e430 with SMTP id ffacd0b85a97d-439f8200663mr5664693f8f.17.1773240654582; Wed, 11 Mar 2026 07:50:54 -0700 (PDT) Received: from [192.168.0.101] ([109.76.250.155]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439f8104515sm7264681f8f.0.2026.03.11.07.50.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Mar 2026 07:50:54 -0700 (PDT) Message-ID: <920ae606-3d7d-4f61-9d11-bd970abc5177@linaro.org> Date: Wed, 11 Mar 2026 14:50:53 +0000 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 RFC 0/2] usb: typec: qcom: Add shared USBIN VBUS detection via GPIO To: Alexander Koskovich , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260308-qcom-typec-shared-vbus-v1-0-7d574b91052a@pm.me> From: Bryan O'Donoghue Content-Language: en-US In-Reply-To: <20260308-qcom-typec-shared-vbus-v1-0-7d574b91052a@pm.me> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08/03/2026 23:20, Alexander Koskovich wrote: > The ASUS ROG Phone 3 has two USB-C ports whose VBUS lines are both > wired to the single USBIN input on the PM8150B PMIC. This means the > Type-C port controller cannot distinguish which port is providing > VBUS, causing one port to be unusable when the other has VBUS present > from a charger or PC. Hrmm.. If you have a GPIO for VBUS detect then who is sourcing VBUS in host mode ? There should be a GPIO to switch it on aswell ? And in this case both ports will become "hot" at the same time. How does VBUS work in host mode here ? --- bod