Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1029290lqp; Fri, 22 Mar 2024 03:33:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3lxkq6UgnxsRzoVGwZJVWLWbD7lPGBzt/oYrG+4gPHn5aH4vgVpq7sDtQmTknFnbxXEtUkUNfYtyOvvonCbIWzBNHal8vPWpyJkVzxw== X-Google-Smtp-Source: AGHT+IFVZBBroXFszbBX78jCQ7dh2NvM5U/2HVIF5rKtU8EhfHBW7ttZTCkDsQgeSbrdL1lkxw3+ X-Received: by 2002:a05:6214:e87:b0:696:73ca:d858 with SMTP id hf7-20020a0562140e8700b0069673cad858mr38236qvb.0.1711103631789; Fri, 22 Mar 2024 03:33:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711103631; cv=pass; d=google.com; s=arc-20160816; b=Xlp3bN+YkW3XaqyHMN/pitSISfY5nk1F9S/5bFd9Bco6pucZYIEWq0vt9ExwqNbiXB 5AQpw9lsD6pthvs6QT2UBQzVNZwTNjivHeq+DqMiOmc8umfZTBbGkYMI4UQgH0bHiuzL 2Fm1Tf+uZTawDoQtRRzdkZoMFuRc1e4Cyycz5BikrOcJT7sAuTCWDbQz7rSDpnZjnZe9 0UenBrXMqn/BedpAS4T7xMsRgPRpiH4dxL3bcMn8h8TW0fwZoeVyogR6bPQx4fu7rRdN gbA4uxJ9AwVE1C1M897nwjaHtaKfDlu3GEcCe6f3yHYpe7bpxK3GndQNPi8fvN/hcqAT h+7g== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4cLlbtwhTjL1jxvTL4CgsNlJM2USa8MoHtGm1QbNL5M=; fh=t9y66WwoFQ/9jrQN3TMvSoCW5hGXCqhzNTYedQPhB3s=; b=0v25TKZz9lRTRkU0X6UPUOOPHRq7wvPcy0RjQcsNS7psWA/vuPS7j1Cnx2sbPhRcro wafyy0Cxm65YwiazcUQQAF5ZxyZDG0mtW9P5MCQZkYO+1mNqbTZhYfgbz2mwKGJk8LGs PaKwFHFqg0WAfXF0uc2HmnFw0Rg4Hx3eK3PMCNqkcESUDnI6CLQLWGHrstORH3b047d8 4tma9rIhGhVZTGD4L6J3FTYJ9msR4QhTynhi3BJ7l/u25ZyHvMXcOfv3IikFOL3rojHz 5y7pLX+SmIgtcMIfrC/txyr2O5wwXrIuzjYzUzb7Ks1Z1mlbvyZ5GRBKbtKPBurVTTOy eG1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zNxkBRAk; 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-111302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111302-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z17-20020a056214041100b0069625e992d3si1719315qvx.407.2024.03.22.03.33.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 03:33:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zNxkBRAk; 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-111302-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111302-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 62A111C2143D for ; Fri, 22 Mar 2024 10:33:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58F533D3A4; Fri, 22 Mar 2024 10:32:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zNxkBRAk" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 A4ADC3FBB1 for ; Fri, 22 Mar 2024 10:32:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711103569; cv=none; b=dfQK1twQpkGcBgYjgEMLUTY234oI6p3gO43pT5Jj4dYNcFTcOlz/IA+qlY/dBQSHMmU0pFktOza+jflLbxgoceq4QZM7vy6YlddAsmYJmmlHztQEaOV1yBLi3MkY1duEwklNade18QlFxUE4/DKARenTgkdAbqH4aNQUDIIX/hE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711103569; c=relaxed/simple; bh=IeeeFvZPihvjkO9rkI+cnfWH8mStNkDQXAroPXkgklQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NgeUMG1hGht0BhxfjwlcW/zmQJ4m/yHi6KAmMqVBiOpcllVcH+GuY1T2RB26tfJEuW3cHSIUEyTtqTjk8e52BAwmZvT1bQ1zOq6/4nSCEQOTauXIpdh2BXYgoAe93LQ2c9W3QQiRQIZwhO8tb6aqAT+egZ5zh87VqEIovVCwEfA= 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=zNxkBRAk; arc=none smtp.client-ip=209.85.128.52 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-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41412411672so15349615e9.3 for ; Fri, 22 Mar 2024 03:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711103566; x=1711708366; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4cLlbtwhTjL1jxvTL4CgsNlJM2USa8MoHtGm1QbNL5M=; b=zNxkBRAkF6ZaYFjq9jedqze7FNApSHYuISz3kR1vMgmawlNaBZMvEEE2YfaTY5rYM6 j+U5mZPWFouQqgS7cHAPyDH7zi34LeOoepuIKXBe5GkW+cgOofyPoRCjFTDBdC1iISuy bwjx/Pid3sNlFd/D1Vg7K4y/Yz2QMPAVQIOPQMVxEDH9+xgrkFZ3ex+HWZtEIAfbZ5NQ +a7xcb6fyITm1xfvoBhtRZqLMnDdOwkCI+0exqz0xd3uQ1TMF6sEGfpUvdBqOpRIvwT+ gnuqRy4HFQLsfzFthNncY5fWI94satFJ34wyohvAL/SuI+7DdVT3e7Qr/rUkH3ZysXvQ DXAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711103566; x=1711708366; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4cLlbtwhTjL1jxvTL4CgsNlJM2USa8MoHtGm1QbNL5M=; b=ExN4WP3jgJjk5+sTI0w3X0VLB/rhsIw0YNb1agQhr8BF5QQSdkjxVu0lrnJWCamE0Y 3vi4MUu4JQq2VqwK4OCJ1ACemr86QhpJKL5Zs05UejUlty8N9G6AWps2WlOX/u+cdDBY CAdadeGgEjiWAUwZCh6jByd9VHc+kKlCYZcdR03eAoToxA+qPG0rxNTvfZJ7tkPRIZyb mM8rSXZFnXPtsgOMfmLexExu6VZ/pldSpQKOeMVj2Sg1K0zM5uk/O6Ne3FSfdst4acrp KP12YKeeXLllwLDPb5szHDl95Qd5xXgsrz5S37cJ0KL2xEfBt6/7Xh4VTuWwtmEKkP7b Uflg== X-Forwarded-Encrypted: i=1; AJvYcCV9hVjsT8JIGkCHsFARltT3msDqakMuqyPVc+RBFMcP6KRPNNCc052dznbZ2JJLQb5fpyHVKsLgvw69PvUzGSgIVsgrqFdlHu1fCETs X-Gm-Message-State: AOJu0YyliZ8fqZ0z+v7QOTgXphq2ccpvwdlZDPM2kOmd8olPZf9ogBS8 VdyKPSMMJpyEvoO9ImNoXBfW2Jld0JiO4OR7o0XeXoZrZpasZzEq1TUITBFPiqs= X-Received: by 2002:a05:6000:1243:b0:33e:4d34:f40f with SMTP id j3-20020a056000124300b0033e4d34f40fmr1103056wrx.46.1711103566118; Fri, 22 Mar 2024 03:32:46 -0700 (PDT) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id x15-20020a5d60cf000000b0033cf4e47496sm1759496wrt.51.2024.03.22.03.32.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Mar 2024 03:32:45 -0700 (PDT) Message-ID: Date: Fri, 22 Mar 2024 10:32:45 +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 4/5] arm64: dts: qcom: pm7250b: Add a TCPM description Content-Language: en-US To: Luca Weiss , Bjorn Andersson , Konrad Dybcio , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng , Greg Kroah-Hartman Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org References: <20240322-fp4-tcpm-v1-0-c5644099d57b@fairphone.com> <20240322-fp4-tcpm-v1-4-c5644099d57b@fairphone.com> From: Bryan O'Donoghue In-Reply-To: <20240322-fp4-tcpm-v1-4-c5644099d57b@fairphone.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 22/03/2024 08:01, Luca Weiss wrote: > Type-C port management functionality lives inside of the PMIC block on > pm7250b. > > The Type-C port management logic controls orientation detection, > vbus/vconn sense and to send/receive Type-C Power Domain messages. > > Signed-off-by: Luca Weiss > --- > arch/arm64/boot/dts/qcom/pm7250b.dtsi | 39 +++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi > index 91a046b3529c..d9abac052afe 100644 > --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi > +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi > @@ -51,6 +51,45 @@ pm7250b_vbus: usb-vbus-regulator@1100 { > reg = <0x1100>; > }; > > + pm7250b_typec: typec@1500 { > + compatible = "qcom,pm7250b-typec", "qcom,pm8150b-typec"; > + reg = <0x1500>, > + <0x1700>; > + interrupts = , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + interrupt-names = "or-rid-detect-change", > + "vpd-detect", > + "cc-state-change", > + "vconn-oc", > + "vbus-change", > + "attach-detach", > + "legacy-cable-detect", > + "try-snk-src-detect", > + "sig-tx", > + "sig-rx", > + "msg-tx", > + "msg-rx", > + "msg-tx-failed", > + "msg-tx-discarded", > + "msg-rx-discarded", > + "fr-swap"; > + vdd-vbus-supply = <&pm7250b_vbus>; > + }; > + > pm7250b_temp: temp-alarm@2400 { > compatible = "qcom,spmi-temp-alarm"; > reg = <0x2400>; > Reviewed-by: Bryan O'Donoghue