Message ID | 20240322-fp4-tcpm-v1-0-c5644099d57b@fairphone.com |
---|---|
Headers | show
Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 7285F1756F for <linux-usb@vger.kernel.org>; Fri, 22 Mar 2024 08:01:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711094511; cv=none; b=sUun1zlJN24gMjoeKt/YwRbUvuyI+H6qEJFnzk/hn6yaxmpr2dt42cgL+khoK6bISjoJPPf6RRhIh/6W8hB7o9VvvCFNp7i7DI/RIGVfP1PRLvo8KJVRSulUDClqI7h3iT5YkXGw4LAlK1+OGPlJBX2tgcO9gHcOD+hXkHr11jI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711094511; c=relaxed/simple; bh=OcCTfSnKi/6290AehwO9HrZ6nco3Bexct5Xndhm7ZeA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=M5noldjZpcyPxZSL1Qx/Bv34/DyXPwaby96AKn2rvO1KkV5CbqVMywf5ArdVfZdbI/CscUm08T8T6jFpxdEL1vnMqpXBBy+gUy6AE2N7gkqP8HHRoZlTGOB58SmhvXQJp6q8HGCBRsoVMIggtc/vAcRFa12clcDggkwqGOdaFAI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=M2NDnUwS; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="M2NDnUwS" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-56bb22ff7baso2042546a12.3 for <linux-usb@vger.kernel.org>; Fri, 22 Mar 2024 01:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711094507; x=1711699307; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=Nw51Hyw1DS3v/omudVbOcyBSsqWjCMOpfA2RADZ1/mI=; b=M2NDnUwSPkyR9bkG/CCnZ77cvLXk4Jk2vN0vVkzxolYAvB5j9hFd3CH6EwtcxnI2F+ 4HKRFYsduxMCJ3jyyXZRfjyQlnZOPoMtXYvG4I4RZPPs4l2doQ4IQrjKveFARbtSeD8d fws6+qE90ryS/z4Plrch3GyhEaag8SPXBnBKHE+gbSsTKPQEh6f+2xC5LmKcONbWcF/E 410hw+Vh0pTbPBnJugrrmEMFjn9iDMOWu2K2VdUnprVxrkj5jaSmEvm+CE7BqS12cRhq YZr+o2a438QtBWEi+nLXhXWTwansYS/+kCNLhpUdmSBeL5uc3pHJEw1btLlMLT1+M7Ak UeyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711094507; x=1711699307; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Nw51Hyw1DS3v/omudVbOcyBSsqWjCMOpfA2RADZ1/mI=; b=O0/Lj5ckfB/wSDj2fhPKopHvo9rQmE4FA+sap8UOMIfTTdPyjqaxlw5N9DZ5hiuLxB eZ4b0oWIGO7rGPzCXHAV9YebFPHm5SGT+VTT84SO4kJJoNjrvmloVALlgqOkU2EGFuRv JPLEaCMItJz3T6B8J0KgNu3me0WjYJ+C8Jcs7krsZag6NQiwM+pLiX+NMtrqMIA0MqDT njzsCdp8UFwzzIa48RsAxVs4Ul5kkK3lBAqKvKdou8KQZiw+9LD/5TiAxlJLgx1ZrsT8 CXb62/G1AQSg0h+TGVYQrVz9Zulcft1voI5MhDikWzFjXAyIacofBLtnkWYzx3r6hazf uRRw== X-Forwarded-Encrypted: i=1; AJvYcCVsTvX/8bhXCf0p/zincDDVZao4Gd/iBVDz8epYbVTJGTXybtFOz8LroEaOKnccvs4iCb1LCF+7t6XdEPl/WwlFtPSElQ+m700t X-Gm-Message-State: AOJu0YzlfsOI/2YiKJqUEYcDrWGHehxWiBa7Zf3arK30mG/uksObqVTy zYEVhh6oKvNfs3TiqRgOFj8FvbCynbfablQHm3jswnRfH4NzlsgAA5UmqmKN+C++D5dcjFbNWFO r X-Google-Smtp-Source: AGHT+IGAZ3waKKPaYy2xxvyD7WhqjmG11BTbAkT6qM9SrttDMCln6Si+o3oo7ZhzrW9z0K1FdtPldw== X-Received: by 2002:a50:d598:0:b0:567:4694:159 with SMTP id v24-20020a50d598000000b0056746940159mr899375edi.26.1711094507002; Fri, 22 Mar 2024 01:01:47 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (046125249120.public.t-mobile.at. [46.125.249.120]) by smtp.gmail.com with ESMTPSA id p29-20020a056402501d00b00568c613570dsm739889eda.79.2024.03.22.01.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 01:01:46 -0700 (PDT) From: Luca Weiss <luca.weiss@fairphone.com> Subject: [PATCH 0/5] Add TCPM support for PM7250B and Fairphone 4 Date: Fri, 22 Mar 2024 09:01:31 +0100 Message-Id: <20240322-fp4-tcpm-v1-0-c5644099d57b@fairphone.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: <linux-usb.vger.kernel.org> List-Subscribe: <mailto:linux-usb+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-usb+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANs6/WUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDYyMj3bQCE92S5IJcXaPEFDOL1DRTU2MTMyWg8oKi1LTMCrBR0bG1tQD FEownWgAAAA== To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Wesley Cheng <quic_wcheng@quicinc.com>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.13.0 |
Series |
Add TCPM support for PM7250B and Fairphone 4
|
expand
|
This series adds support for Type-C Port Management on the Fairphone 4 which enables USB role switching and orientation switching. This enables a user for example to plug in a USB stick or a USB keyboard to the Type-C port. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Luca Weiss (5): dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM7250B compatible dt-bindings: usb: qcom,pmic-typec: Add support for the PM7250B PMIC arm64: dts: qcom: pm7250b: Add node for PMIC VBUS booster arm64: dts: qcom: pm7250b: Add a TCPM description arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching .../regulator/qcom,usb-vbus-regulator.yaml | 1 + .../devicetree/bindings/usb/qcom,pmic-typec.yaml | 1 + arch/arm64/boot/dts/qcom/pm7250b.dtsi | 45 +++++++++++++++++ arch/arm64/boot/dts/qcom/sm6350.dtsi | 25 ++++++++++ arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 57 +++++++++++++++++++++- 5 files changed, 128 insertions(+), 1 deletion(-) --- base-commit: fa564eb0e6faf40ceea92b2e5ba7a08d0a79594c change-id: 20240322-fp4-tcpm-2ad68ef55346 Best regards,