Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1501480rdb; Tue, 30 Jan 2024 23:49:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEs95cLXFZoJdfc4QcnuRalTo/1tRGQaT1IcTbg4ongO6vhoOO6C2pNYiNYlGM9Jh57nvbT X-Received: by 2002:a17:902:d486:b0:1d4:dddc:d38e with SMTP id c6-20020a170902d48600b001d4dddcd38emr1201336plg.61.1706687372479; Tue, 30 Jan 2024 23:49:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706687372; cv=pass; d=google.com; s=arc-20160816; b=bDUJHbJSHhrwPaQIg101iQTYMot2cqlBDTWJCMBB5U3hBjPdJvuFyJ+7Ps94vr/HyF RTtfJhzAmHSaMjXO3rLPVYvpIzKafg+6HlHsVJ2+PGQiCs3eEKWyePnFZWKKrV2R+z6e CaKzJgXP+jTUSPU884oU/u/AqcDlskS0qHrfjViSa2QcotJK/ILuvj6EY75hk3fG8eda /n/JmFHExPHitiWxyV2Axu+3S87VipKxDRYDMnWfQTuNyvZ8MJEnc0yAN5j6t1eTs+/P JT5S9R8kkhuXtNDF+LVD6/eOk1UCVkU5lnQBzBEZictfDQem23Jdv0RoKZ16VExH+b5c wVdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=JVZLwgSrD+dAy2BW+IGcJ8o0k7kjBAromRPFCRfyblU=; fh=BDLu47X8HKSMwQ03nlsZeY8UOI+i03GZbcNtFRG92wU=; b=Fmgtjb0SUqOMptViYzH9HFo+VrnnTwlwqOeDwLExklA+j3oNWNFK3VnP1NRmwuxfGZ oO47RFkI2gBPBykRh2UOlMcyvAzMj5xzCJ7yb/RMzt1ZJLfHgy/IDxxIYoC6ZxKHAM6L A4ZzSAeRftNbWjoUT9lVY/P6SitYyvFNbQXtqZlzGvMwUSNpcW9Nn+K5vmkUBPz2bZt9 amcvhPYMQqA4AktFN29ovDIAe7iMLXYdnzEjy7X/8gsQCDqjl16UNGatkfPd7lol80vu eJM7UQ++TSy/GLvkC+Wj7bcDsT8SfP1lxpRlfJKSJza9pwFbef+UR+zxGtFbwzk4hrMR 1AOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=VqHSSURA; 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-45947-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45947-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com X-Forwarded-Encrypted: i=1; AJvYcCXKGIJX5BqxZl5gtbN3Y/pP4HYh8zP8F1G1rTtYcTzu3w9oZCuaods0mlYWyDGL13UBNi4eKubPzcAlw504jMn4hlVcvxrRLnHOuc2EfA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y9-20020a170902700900b001d6f5cd088fsi8759885plk.288.2024.01.30.23.49.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 23:49:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45947-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=VqHSSURA; 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-45947-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45947-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CA82A289A3D for ; Wed, 31 Jan 2024 07:49:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2CDB57895; Wed, 31 Jan 2024 07:49:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="VqHSSURA" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (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 9637057318 for ; Wed, 31 Jan 2024 07:49:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706687353; cv=none; b=tlHBqwsyG7C6XeIq42jx5GfE69DbBwDvKj8oZn7/VoR2XjREdHUz4Nswx+krzfeKtr9XVUAZgWaP5s5u7wDh7N5fC6rMqKWTlkvHMLCJWXR+Ww5+sS/ddsMspVGR2j+fZi4MZH/aVSsTv9kw8b3USWAT3xWz0UCn2r4Upe0dwJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706687353; c=relaxed/simple; bh=cFshzsRP6t2Dks44DM6zIJiE/XHM+QBGJoIWhhDc21w=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=spP05VG7b/puCOE79ShOYRlvteePo48/OrEDdiak1NsdfvwdYlYxYOQO6C2PrB28Fv5oLMoEXCTPDuC09+FiZbayLWr6KGUJIy+uVPhkBbe7cdq19D+pK/7jKRZFGS4OOrN/k4wkLZTcvL7WAdnb3Gjgv3rCgwoACqb567eLm+M= 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=VqHSSURA; arc=none smtp.client-ip=209.85.208.174 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-lj1-f174.google.com with SMTP id 38308e7fff4ca-2d04c0b1cacso36810531fa.0 for ; Tue, 30 Jan 2024 23:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1706687349; x=1707292149; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=JVZLwgSrD+dAy2BW+IGcJ8o0k7kjBAromRPFCRfyblU=; b=VqHSSURAyQSuHKvRp3AV8T/i5HNFJlYlWPJ3kOeSJmOCbMtDhdZ3QbhG++fKuj/drd 9GFPQMLYrn46aItNpdTVIcUoA5Ogaswfd9xo00VToN0w8x8AZl9CxspA2Uca1ursQ66o IFQ8+I/8nGgOYCOvjT+5UPR1Z931JSaP4eF+S1QzDmFHKqq8kEa5spVhyIfFe3vduhv5 Ht2sgR/oZaUJEEDRrCsuF6UMSepnDIQoU/Kyj2zBdbn5a9uZJjLDtMSZjolV2Y/5pvQI oSi4zkXvfgNqq6/TmSbNCsfDF+/eRmgHlUR5ZMjsziPQuxNeM2EI7ViNZJOE3cPI0yDp p6Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706687349; x=1707292149; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=JVZLwgSrD+dAy2BW+IGcJ8o0k7kjBAromRPFCRfyblU=; b=E75MD8uhoLI0/LXm3ldpa/tXlbugpj6pYftj2nmDbRa5hegtyAMtD9KEeZZJ6NNHpG rxx6fLikVp7h/jxFUylFJNQOIZU8Fc91TFZXMzx6xa5ohtA1oKhOB19P4OeSpYRJDlQ6 knjx16KBEfsWlQZsRsxxmlnos69FhSBizZMu/IR4GlLn7xRLclnm3hF+kDaaouBQ58Kc cuigeGEpUtzqJ4OZl0IsnFjLpIgmnavtkvlSYBKiuftpfuG1vooGUnaehAklDhE4Syl0 0gi7uihEWid3gjICwI8u0DorL4pDBjDVEEMrsXoNtC8PqyFB8QVwFpTRGX1jMdnjmve0 l93g== X-Gm-Message-State: AOJu0YyfRz4n9t5j18O5IESvNmFSvIEnKRGFeN+orm/Y0FrTegCqxCCM amDGFR6A43DD7tlYKCOElkZhakneah7OrT70ykIA0ZWUPWQ+BNbI+pZo8sisdHM= X-Received: by 2002:a05:651c:1cf:b0:2d0:6b0b:554e with SMTP id d15-20020a05651c01cf00b002d06b0b554emr476057ljn.39.1706687349562; Tue, 30 Jan 2024 23:49:09 -0800 (PST) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id qo9-20020a170907874900b00a3685da489bsm124303ejc.175.2024.01.30.23.49.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 23:49:09 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 31 Jan 2024 08:49:08 +0100 Message-Id: Cc: , , , , "Krzysztof Kozlowski" , "Vladimir Zapolskiy" Subject: Re: [PATCH v3 0/6] usb: typec: qcom-pmic-typec: enable support for PMI632 PMIC From: "Luca Weiss" To: "Dmitry Baryshkov" , "Bjorn Andersson" , "Konrad Dybcio" , "Liam Girdwood" , "Mark Brown" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Wesley Cheng" , "Bryan O'Donoghue" , "Greg Kroah-Hartman" , "Guenter Roeck" , "Heikki Krogerus" X-Mailer: aerc 0.15.2 References: <20240130-pmi632-typec-v3-0-b05fe44f0a51@linaro.org> In-Reply-To: <20240130-pmi632-typec-v3-0-b05fe44f0a51@linaro.org> On Tue Jan 30, 2024 at 8:32 PM CET, Dmitry Baryshkov wrote: > The Qualcomm PMI632 PMIC (found on Qualcomm Robotics RB2 platform) > doesn't support USB Power Delivery. However this PMIC still supports > handling of the Type-C port (orientation detection, etc). Reuse exiting > qcom-pmic-typec driver to support Type-C related functionality of this > PMIC. Use this to enable USB-C connector support on the RB2 platform. Hi Dmitry, In case you send a new revision you can drop my Tested-by on the RB2 patches since it's a different platform, and the tag on the dt-bindings patches also don't make too much sense I think? Thanks! Regards Luca > > Signed-off-by: Dmitry Baryshkov > --- > Changes in v3: > - Added constraints to qcom,pmic-typec / reg property (Krzysztof) > - Dropped merged TCPM and Qualcomm PHY patches > - Link to v2: https://lore.kernel.org/r/20240113-pmi632-typec-v2-0-182d9a= a0a5b3@linaro.org > > Changes in v2: > - Split qcom_pmic_typec_pdphy_set_roles() changes to separate patch > (Konrad) > - Simplified devm_kzalloc / sizeof() argument (Konrad) > - Made start / stop callbacks mandatory (Bryan) > - Reworked Type-C port handling into a backend similar to PD PHY (Bryan) > - Made more qcom-pmic-typec data static const (Bryan) > - Squashed usbc PHY single-lane removal patch (Konrad) > - Further usbc PHY cleanup (Konrad) > - Fixed order of DT properties in pmi632.dtsi (Konrad) > - Instead of specifying bogus PDOs for the port, specify pd-disable and > typec-power-opmode properties for the connector > - Moved orientation-switch / usb-dual-role properties to sm6115.dtsi > (Konrad) > - Linked usb_dwc3_ss and usb_qmpphy_usb_ss_in > - Link to v1: https://lore.kernel.org/r/20240113-pmi632-typec-v1-0-de7dfd= 459353@linaro.org > > --- > Dmitry Baryshkov (5): > dt-bindings: regulator: qcom,usb-vbus-regulator: add support for PM= I632 > dt-bindings: usb: qcom,pmic-typec: add support for the PMI632 block > usb: typec: qcom-pmic-typec: add support for PMI632 PMIC > arm64: dts: qcom: pmi632: define USB-C related blocks > arm64: dts: qcom: qrb4210-rb2: enable USB-C port handling > > Vladimir Zapolskiy (1): > arm64: dts: qcom: sm6115: drop pipe clock selection > > .../regulator/qcom,usb-vbus-regulator.yaml | 9 ++- > .../devicetree/bindings/usb/qcom,pmic-typec.yaml | 32 ++++++++- > arch/arm64/boot/dts/qcom/pmi632.dtsi | 30 ++++++++ > arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 50 +++++++++++++- > arch/arm64/boot/dts/qcom/sm6115.dtsi | 44 +++++++++++- > drivers/usb/typec/tcpm/qcom/Makefile | 3 +- > drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 30 ++++++-- > .../usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.h | 2 + > .../typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c | 80 ++++++++++++++++= ++++++ > 9 files changed, 266 insertions(+), 14 deletions(-) > --- > base-commit: 41d66f96d0f15a0a2ad6fa2208f6bac1a66cbd52 > change-id: 20240112-pmi632-typec-4c7533092387 > > Best regards,