Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp1033708lqh; Fri, 29 Mar 2024 05:26:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAWerPAcGDICzjnAR5/2YR2BOz5D63GR68eVoPSvxwJIXpMLFp5lHr15vYr7mBcWjVB2k+KjCsE9QuFncQ/bvMgeh+Yoe11S/BuakKCQ== X-Google-Smtp-Source: AGHT+IF8gHb71Y7bEIPW79pOCEl6pmY1RalM1rN2cPF3zZASbxzm4ZMB9Qte3F9sHzIQFCnYrE49 X-Received: by 2002:a05:6214:1907:b0:696:a22a:2c24 with SMTP id er7-20020a056214190700b00696a22a2c24mr1582345qvb.0.1711715195394; Fri, 29 Mar 2024 05:26:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711715195; cv=pass; d=google.com; s=arc-20160816; b=t+q53nBMdPwWnUdHUEEnsgj3c/1EZtywXp7VFa+swrVMm/pDIFy7mKQoFkq0wdeHgK 0mCzgeG9CK9OtV8NFqa0vAQ0CAzQykKcPAuj75Q59JIOGTl+4SkO0zZXX3UAr82M6Axj Lff8YKRqX4eulWL7OHTOY3zwTLtd6+gvCStzg7CpSBggqdxYDEsOohxaxo8NmBy09lPK IExjQFZBgSrRj1hj21+McUbwwE0I69uItDrwoqDbvAoF7SjXpL3iG5gwQhwoq8ZMVMbH MdOg9jdpaGl+WLyMnQS0oJ/y5pKUpAjhKUq1I73C9a0iESIcuvgpGdngtoGAooW+MSwJ eowA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=LFvJZ+2psODEep45ngZKqrqa301yt2Mc1MN4ieVjABs=; fh=HkWBOTyQR3Y4mmC9g3v1Gw/V6H/rAtPfMvMT3l/rPkc=; b=h5F9olMLt3pSBPL03r7Y5ZcXAOTRiY8kdbPIzsAmQeYGPBFwguz+ldy5UzlrrvNBC2 TcnXVJRa/HcXrj4rXVWL42Y90yOvvIam4C+wd+kvlfB2wsTA8230oJ98nQLdsoP2RWku G1rKRujaYhsf8NGzxMPJWF/YjC6sxFG6pWOxME5lXCDdPhdbaixhVHvDbU8Zil3MQF00 7vQVcNZkt7i5b9bx9e56AoSwVXeaEY12zzkz8Cs5pepNTw7GY/ZFJDhmdTz9zDgL1gzS wiHszpSfQ2AKDCnJDjf5+rEhnjIi7mvzKoO/jqkRyLzCVOjbDjoAjk8aVh8p4hZpVG+w RBOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=W3Nty7Au; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-124477-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124477-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o6-20020a0cecc6000000b0068f7e322364si3562818qvq.176.2024.03.29.05.26.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 05:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124477-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=@fairphone.com header.s=fair header.b=W3Nty7Au; arc=pass (i=1 spf=pass spfdomain=fairphone.com dkim=pass dkdomain=fairphone.com dmarc=pass fromdomain=fairphone.com); spf=pass (google.com: domain of linux-kernel+bounces-124477-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124477-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 01C581C24008 for ; Fri, 29 Mar 2024 12:26:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62DCA85C45; Fri, 29 Mar 2024 12:26:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="W3Nty7Au" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 CB0ABF9E9 for ; Fri, 29 Mar 2024 12:26:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711715185; cv=none; b=U7OsMss/Fpw43+FNnpKdPhHf+aqLzxz9tZ5UsmAlIIhC8JWvA6Durlqv8nbhVHdybywnyY4L2TT8WepkAHyNqzdNgguXGHiCv6A0+OjxXbBmO/ONkkDoQ2Qz5M7/ELYS0+1EJGOjJ8Eu9YxXmdv2jDx/Vs3M7R0xwh3/58KQU38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711715185; c=relaxed/simple; bh=3VWjCOa5b4hmLY3eM1N7yaUqMm4Psxq4eZLprcN78ns=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=lWiWpGl4LYOtVygi8UUcZNXmDpWQNTtuDAZOQlaUcxTPb+Wd0lsKrsJ20O/2eHdu1H3uHLnHyIOQF5XGnvVpeq4FI3zs9RpW0rww8kWS+SVGtipXxhKXQMYr7nRtZpwCISB3rYjTx65mwwtLxHWrI19vai3nfjIuyTrjRoRIrdw= 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=W3Nty7Au; arc=none smtp.client-ip=209.85.208.43 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 Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-56bc5a3aeb9so2448835a12.3 for ; Fri, 29 Mar 2024 05:26:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1711715181; x=1712319981; 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=LFvJZ+2psODEep45ngZKqrqa301yt2Mc1MN4ieVjABs=; b=W3Nty7AuDqDOUcgUvOog+F6jbvVjkBHAESkL50LAaES3MoxS0zqLo2SxI0r1fICm4r WG/3mKcVGrKsPCwaCDi9VU1Hu3EGMCUq7IUvgmb9aDbXtVde/eJvJgqpcLPsVt3ENWoD n2umiX500JjbG00GQ5J2k6f52ZGBNZC0ezBIrVhLKJ0GFdG4fUvAlIv5Ewo82dc3RNwu lsDn48Pee6QqIeyCYdhAiLcvX7TPMM3mbze0b+6kEN8zexWtiKLvChauQUJENNweIRjV e+EBzxmXbROitz/0AHVYiKFIBNGuAaPIOH5iI0VEv7Jc7Y1roAJFj1dh3uTQ3/AV1d+e uqGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711715181; x=1712319981; 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=LFvJZ+2psODEep45ngZKqrqa301yt2Mc1MN4ieVjABs=; b=sey9EptMq2FOgPEwXMkai/OPMCCfx8aZLHk9HSNFdB9DcrW2Op3YtVdq85IH4HqOoe DfGLAqtix3EcTZ0d+937WUtwQGUGHeKjlnJDoJn/MTCk0j2Oy1va4/FQAyijDtsduuvG +4SOhs+h9mcMWqxfLxLGJZx6xSvZr+yLvx24LraUKx52Ru2ZzM+YBK07Zt2sDrCDm7V4 UVF6manjymvhs5bwgOeyi3z4poxVbYKldU2D/WNrpn/yBHOEimYNB5nZlwkY9STzKsoB 2TujlMerP4a8rBfbaJG41Qfb2mqYOHOYTRiCfIgqTq0f43yL2irl73vQ1Rk28HZhV8Qq n8Fg== X-Forwarded-Encrypted: i=1; AJvYcCX3XCHn6uqcdVlfiuOFm5HseNc2FPSDDyPeBEY2kiDMpOmwmm2CkiOWofS5VsylMJ6MmAJPKu3RtLCAnqstzyUa3tGZ8e2WMhjz6sce X-Gm-Message-State: AOJu0YxxWLjJE8j6K5brO4kBnfUuwx80G1wbaImrvY7w0ZBRWxLufvjc 0S8poVb1JH8krpCdTBRjHWl/CLL1k773jiLB3f/5MeAM+RPzOj9bXPKhv7SlC8K/ekmEMGE7JDx o X-Received: by 2002:a05:6402:520c:b0:567:ff26:4bcb with SMTP id s12-20020a056402520c00b00567ff264bcbmr1785912edd.30.1711715181416; Fri, 29 Mar 2024 05:26:21 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id m7-20020aa7c487000000b0056bf2e2c898sm1961925edq.1.2024.03.29.05.26.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 05:26:20 -0700 (PDT) From: Luca Weiss Subject: [PATCH v2 0/3] Add TCPM support for PM7250B and Fairphone 4 Date: Fri, 29 Mar 2024 13:26:18 +0100 Message-Id: <20240329-fp4-tcpm-v2-0-d7f8cd165355@fairphone.com> 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 X-B4-Tracking: v=1; b=H4sIAGqzBmYC/23MQQ7CIBCF4as0sxZDp1CtK+9huqh0kFkUCDSNp uHuYtcu/5eXb4dMiSnDrdkh0caZg6+BpwaMm/yLBM+1ASUq2SEKG5VYTVwETnN/Jat1p3qo95j I8vugHmNtx3kN6XPIW/tb/yBbK6QwuldKDsOsL8+7nThFFzydTVhgLKV8AWbyrrakAAAA To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss , Bryan O'Donoghue X-Mailer: b4 0.13.0 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. To: Bjorn Andersson To: Konrad Dybcio To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley Cc: ~postmarketos/upstreaming@lists.sr.ht Cc: phone-devel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Luca Weiss Changes in v2: - Move disabled as last property for pm7250b_vbus - Update USB graph to newer version, connect both HS and SS signals - Update FP4 Type-C properties, try to keep phone charging intact by disabling USB PD for now - Pick up tags - Drop patches that landed in linux-next already - Link to v1: https://lore.kernel.org/r/20240322-fp4-tcpm-v1-0-c5644099d57b@fairphone.com --- Luca Weiss (3): 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 arch/arm64/boot/dts/qcom/pm7250b.dtsi | 45 +++++++++++++++++ arch/arm64/boot/dts/qcom/sm6350.dtsi | 47 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 60 ++++++++++++++++++++++- 3 files changed, 151 insertions(+), 1 deletion(-) --- base-commit: f3583a292140e0a2a2ca0ae0019108401b4c9158 change-id: 20240322-fp4-tcpm-2ad68ef55346 Best regards, -- Luca Weiss