Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp197548rdh; Wed, 7 Feb 2024 01:55:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7N2WbuUxKTBhE51bFkoYmILPXUn45Nn28IuBFf9IoNgZKG23baScKRGSYcbj4v/PtiIha X-Received: by 2002:a17:903:2606:b0:1d9:93d2:5208 with SMTP id jd6-20020a170903260600b001d993d25208mr3517659plb.49.1707299720224; Wed, 07 Feb 2024 01:55:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707299720; cv=pass; d=google.com; s=arc-20160816; b=xPZqhUgikdt/soTRJcimOaBULciduG70s8foQabzWy9n4kw78q57+FhjxMS9iqj1sv o2oP5aMBihlerlY5Gs8XVnnGhYoJhosHDBkCljpl97A++V383Ih9LCRWmZUe0dnv71ym lo8DWmblZT9U+e5LGX8DOqKMozp+rmEl2nr1mJlQ89yty/mqCGbBiKElcRzRIccKSm5P ZdnMM5IbcuyctaqqRNeWcspyKO0GlMGawli5MV+eGZCLbD0pO90l63tcCpaorT2dAoQj tEgmyWIUhOJs8THqw44JDEAobE3OF4bOzWRFoMuSxyTLofptj/eR1Wn2DN816V/ZJkmk 77jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=RicxNNPMrKiw67Y7TzIkhzw6IPlh0lXHADdsE21F4B4=; fh=SRBVMMZ/heK3rjW4gUcijAsS9MdWqaKh4DafhnMqM3o=; b=c+DJUX1FCIgPS8kOFj30uS9xKU9T7OzrOK4XsboGw15yawkooi3gNDtzIfdqArFkpq yjIklE+QGIeHD7P6gEIdo9nTlQXmEm4NK/Ra+n8Xx9i0Tdo1Cjz5AqtxRtOaUgOpmzc6 kevU8h9rIPWK/hb/4M40yoYEaOiwRO9m1TfVDTKgshg7UuYWy+4RMN2o3wW0JonKIy1V 8ePR9v3PsLddMzuwmt4l16Yfg3VCpIPXmiOLF3ADZTlDwKXRhITXXuZu2VRmRKHRI7U4 IubF/LcJb27XdmNtMoqU8TMxpBehVBnMRgDm6Q5nel8I7z0/5ptXx8MpaX2JJn44RYrF w0SA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Nr/LWBr9"; 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-56263-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56263-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVA/n0nv0pNT6XpdVIGIIgR1E64W/vugOuK2Vu3V/zrV6/0z1dCPU6UJwCmS6qWGGwCa1OB0/aqL31Xn9gqOSA38InKCP+vSRF2eTwtyg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m19-20020a170902c45300b001d9c367205esi1148156plm.73.2024.02.07.01.55.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:55:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56263-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=@linaro.org header.s=google header.b="Nr/LWBr9"; 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-56263-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56263-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 23C26282EB8 for ; Wed, 7 Feb 2024 09:55:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CE8E241EC; Wed, 7 Feb 2024 09:55:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nr/LWBr9" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 A465825542 for ; Wed, 7 Feb 2024 09:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299705; cv=none; b=lCS9mAuelL8DX+AYiaJZtXCqKX5miU4KfiyY4YlpgAfPApXnrwMKd10gt0q56cJ6RBLbJ2xzY1R67/gi/fkXZKcCjMbgQ2ki84OiZSna2OgwhrNdWpMit2mUxUv9cZT/vOdMjxTs3eq/Q+DRtHnrqjlFZRy9rSRukgxgrrWQPks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707299705; c=relaxed/simple; bh=W0qMbCmeAVZPhJb+iYTwPmigfCpsBuM3I+cALhPa1L8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ewvkIakSHQ//iEwVcs2R92HDgr3nEmUOwcs4cil5v037ZYxXx1t+8n5G/xVbmCm+FBt7ZGlDfVZnYLLPlp1XzLt/EVAGnUMW466+7nfy1dJgkk37S3d+pg6wj0IhXvuMX37tyHDYUNoJH7VDpodavBbr4HD5aU9pvRM0xOHszIM= 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=Nr/LWBr9; arc=none smtp.client-ip=209.85.128.173 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-yw1-f173.google.com with SMTP id 00721157ae682-6047a616bfeso3882917b3.3 for ; Wed, 07 Feb 2024 01:55:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707299701; x=1707904501; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RicxNNPMrKiw67Y7TzIkhzw6IPlh0lXHADdsE21F4B4=; b=Nr/LWBr9yuOhURHxyQXzgiHkQCCYrp4lCuS6j3PIdAvJ2tfIys+JNkDPcQ6JRQi0QY 0Mwca/kBKF16eJdbbzN0DZC6YmBi9dVgCmyjZhxGcLX7Unix+npcEfcEI45fpy99w881 ITZO9Edm2ommzqMF7Z3n5D1s67zbH4FVymmXMC6cYX+9hk42BhDSx/IPQ4VENEAP0SIh Jbw+ihPBEZnktex+bhzckPpQrmugUOZyKrPCiTLsXmDrHRKX6RC76aWU6KLMlbaFXm7K nwU51mlumZFbMdloQuc2nrimhCWybsMxeayIYgi1/OMpxXAyavt21bvvksGpWmGxAFER Un7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707299701; x=1707904501; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RicxNNPMrKiw67Y7TzIkhzw6IPlh0lXHADdsE21F4B4=; b=OofUwWJuR4fCscA0p3eabDmN+uPIT0zLuR0dnBAs2SiCL37FJ+MJTvMgjqvjZcJPGf 22379hGWlp6bWPsDw1IuMaNO1CNCdAYdFH0tzUOgyXLQaJmJ+GOurnNav7y0f3pJZiWo Flxs9e9sq9jbPwwkqjlMtj5vdsd5oQ9rfQFXXlbxdycjnaq+gJfI4wZKhYEwB9OsJSIb JHP3DxfPquVudjV7r3OsHssjK3U3Vs6MlaYDHdZQdJu+G6yOm9l9NEY5oK6yq0cPrCcu /Ek8wCKv+ItAFP9eWE9QE749I9kbFnFGf3vEcvwTBVJpg0YGF0Uciy8pvPLstsQmV65m 0nLA== X-Gm-Message-State: AOJu0YzlMpxZRoaQ8zH5Cod9Vby7Ab5v5aCvgcrfuPr/YkMTKSg/BZgu 73e8PZqz1rUaUOJF6HhQ83FRbVH1XyCPuqt7fjSvUNAKbKZdIi30QrSd+Ql42DW+L5dqw5AG+eU KIe0hE+0xtev3BaodrKXUcyz01q6c/Rggm0tINA== X-Received: by 2002:a0d:d6ca:0:b0:602:cd33:5339 with SMTP id y193-20020a0dd6ca000000b00602cd335339mr3707239ywd.5.1707299701285; Wed, 07 Feb 2024 01:55:01 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240130-pmi632-typec-v3-0-b05fe44f0a51@linaro.org> <20240130-pmi632-typec-v3-3-b05fe44f0a51@linaro.org> In-Reply-To: <20240130-pmi632-typec-v3-3-b05fe44f0a51@linaro.org> From: Dmitry Baryshkov Date: Wed, 7 Feb 2024 11:54:50 +0200 Message-ID: Subject: Re: [PATCH v3 3/6] usb: typec: qcom-pmic-typec: add support for PMI632 PMIC To: 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 Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, Luca Weiss Content-Type: text/plain; charset="UTF-8" On Tue, 30 Jan 2024 at 21:33, Dmitry Baryshkov wrote: > > The PMI632 PMIC support Type-C port handling, but lacks USB > PowerDelivery support. The TCPM requires all callbacks to be provided > by the implementation. Implement a special, 'stub' Qcom PD PHY > implementation to enable the PMI632 support. > > Acked-by: Bryan O'Donoghue > Acked-by: Heikki Krogerus > Tested-by: Luca Weiss # sdm632-fairphone-fp3 > Signed-off-by: Dmitry Baryshkov Heikki, Gunter, Gret, is there anything left on my side to get these patches in? > --- > 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 ++++++++++++++++++++++ > 4 files changed, 107 insertions(+), 8 deletions(-) -- With best wishes Dmitry