Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1496166rda; Mon, 23 Oct 2023 14:36:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxE7lUrJykrkxYY061tFq4/M4edPYEn5sMTOlHVB3hnjDHDtkEcYO+GoZ+sau2k3MV6tn2 X-Received: by 2002:a05:6a00:2e97:b0:692:a727:1fdd with SMTP id fd23-20020a056a002e9700b00692a7271fddmr13081035pfb.4.1698097011325; Mon, 23 Oct 2023 14:36:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698097011; cv=none; d=google.com; s=arc-20160816; b=yOCWnY6dSo5CFJaMt5vO2sfC2Z2NRLH7cc22jbqlhgH6Dc22KB1AtP/JM/+XipevN+ 18yhbvClavmJJEB5MWDf/aPYkMxzdJkvJH8+n85pOzumxhTMlBNX3zg7TVcxYR9hWF2m akifwHzl2OL9fusXE2xqjJOJMzR4MvsH+1lARoCGXpoIuuEv4dijORQKsPujAK1iuPte pLqFStUxV7apZVpuNpYarsUkw9lSQJ/6f0GCnDiCOthKhLcvW+KKJsoCV5LZKc44+Ntk ryXyIPTPDtReVUYpvfqVll8UY1lD9M59DI23xdI7LYe3u6Oyy/lC15WYyOfhCp2g2xSv 5SNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dasD39M3kOdaux0g0YjT4u6dOP4/ZNPdFd3L1KQIfMs=; fh=uPaxxx/ug5JQ8OFeHsSoUZcc11XIbU/eIAoxJQ7i5cw=; b=fmqAGpEFdMkWtqBBbVA9fEg0sqDxflNWDfloLjnDH/LRPwWtWMGxG2GXhv4oPNCg20 EVgIe+FJh3uuMk+zjMjHzAX5Gy8XjqrMLhqrj6ScLGjYx3zj2389Ut9mTdBZdWhDC8Kj A12yZXm1s680oLcHAomdzYoL+cRA2FlL6CXMlgoq6adM28TaODyIXaCMkj2xeVWIbFKG faWtmqmAgIpLijRhkQ1cGDR6Jtym/eAko63xwMscm9SrE7oJXN2QfL4Wn/yc00uqdOgD Y2ouoj4NRstyGQoYr2ZpFK6q7gw6hZ6HzyEpeIdlQD8lMfPIcqoghIzMNN+Q/DyTcg6O BjyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R/rU3cEY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id t64-20020a638143000000b00589867d220asi7171275pgd.254.2023.10.23.14.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 14:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="R/rU3cEY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D1215805E020; Mon, 23 Oct 2023 14:36:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231381AbjJWVgj (ORCPT + 99 others); Mon, 23 Oct 2023 17:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230356AbjJWVgi (ORCPT ); Mon, 23 Oct 2023 17:36:38 -0400 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E05DBDE for ; Mon, 23 Oct 2023 14:36:34 -0700 (PDT) Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d9a58f5f33dso3530363276.1 for ; Mon, 23 Oct 2023 14:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698096994; x=1698701794; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dasD39M3kOdaux0g0YjT4u6dOP4/ZNPdFd3L1KQIfMs=; b=R/rU3cEYS2UkifeZ6/rN64Sh/8jGbApgHPCWJuiqeoWuAds4F7OrUmW3r9/OmwDAjW IO8bA13CrkqHhANtch9lN2UiajyKKXeFLDqzx+Ojvt8ZKKDYG6bE4pdGNaJ07SLCIXSt Rxd/teCycFcYo8aq8Im1aG36yplPRkoaxayMEDgGhoWGyB6sYH29RohM84tUo3wv0E+V tVtf/8HBuxLpcO5JDq7iZDSz8vsdDTL8/SUstPaigtpa/oSeWYMAqqbJp9KWcp4U3s// rdSIpWy7k+FZ4T4sDxuj2AaSiDtaofBZlHK0OAy5rDFmDbSf706NF0rZ8qhBV3cveJTN qCgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698096994; x=1698701794; h=content-transfer-encoding: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=dasD39M3kOdaux0g0YjT4u6dOP4/ZNPdFd3L1KQIfMs=; b=nyWWNnzZ28bGVKxutAIpl7llC9p2fs4Jd5TcM2k9HNcXIe2sok2dN76P6xRHaDKnpO HVxj5ykz1ORslQgKwBHi43c4sODZfkXpdYuSHJK5/zrbnCfp8oUN+jcgdDHmuaRQPLOB gq7LXwc64U3ucFPv0CBAu6YjZkKxMwSQn7R3BwAo4s0hxAcNiAfkjf1iHQ/vloR2Cs1J GeJRq7nYbnPaLOawOIdD/EWhNVzTgJvteQHgCEDN0zmWhTpqzEGvnHQO11CcLJ1wh4pS s1LscciPkzFHdkza+GLfy8/OX8GbTLOkvlID3seAXI4KHX/CUB1EENzoO2QFglFuXmbr 4wyg== X-Gm-Message-State: AOJu0Ywc65/Wo34Lkr+iCCASdi+Bn2diQmvB18uNP3MpYCCxgZmgDdx9 8YQDrlflo+0U5AwMc0HjITIW3KsbrOOVgEPAEOc6jw== X-Received: by 2002:a25:10d6:0:b0:d9b:dfea:bc94 with SMTP id 205-20020a2510d6000000b00d9bdfeabc94mr8213463ybq.31.1698096994064; Mon, 23 Oct 2023 14:36:34 -0700 (PDT) MIME-Version: 1.0 References: <20231021-sakuramist-mi11u-v2-0-fa82c91ecaf0@gmail.com> <20231021-sakuramist-mi11u-v2-1-fa82c91ecaf0@gmail.com> In-Reply-To: From: Dmitry Baryshkov Date: Tue, 24 Oct 2023 00:36:23 +0300 Message-ID: Subject: Re: [PATCH v2 1/3] soc: qcom: pmic_glink: enable UCSI for SM8350 To: Sophon Wu Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kees Cook , Tony Luck , "Guilherme G. Piccoli" , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-hardening@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 23 Oct 2023 14:36:49 -0700 (PDT) On Mon, 23 Oct 2023 at 08:06, Sophon Wu wrote: > > Dmitry Baryshkov =E4=BA=8E2023=E5=B9=B410= =E6=9C=8822=E6=97=A5=E5=91=A8=E6=97=A5 18:51=E5=86=99=E9=81=93=EF=BC=9A > > > > On Sat, 21 Oct 2023 at 13:20, Xilin Wu via B4 Relay > > wrote: > > > > > > From: Xilin Wu > > > > > > UCSI is supported on SM8350. Allow it to enable USB role switch and > > > altmode notifications on SM8350. > > > > We have had troubles with UCSI on sm8350. I have a workaround for this > > (and earlier) platforms. Once it is ready to be posted, I'll include > > your patch in the series, if you don't mind. > > I don't mind of course. Do I possibly need to resend the series without t= he > pmic_glink patch? That depends on the review of the patch 3/3. If there are any comments, you'll have to resend. If not, maintainers can pick it up separately. > > > > > > > > Signed-off-by: Xilin Wu > > > --- > > > drivers/soc/qcom/pmic_glink.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/soc/qcom/pmic_glink.c b/drivers/soc/qcom/pmic_gl= ink.c > > > index 914057331afd..1196e79e6fb3 100644 > > > --- a/drivers/soc/qcom/pmic_glink.c > > > +++ b/drivers/soc/qcom/pmic_glink.c > > > @@ -341,6 +341,7 @@ static const unsigned long pmic_glink_sm8450_clie= nt_mask =3D BIT(PMIC_GLINK_CLIENT > > > BIT(PMIC_G= LINK_CLIENT_UCSI); > > > > > > static const struct of_device_id pmic_glink_of_match[] =3D { > > > + { .compatible =3D "qcom,sm8350-pmic-glink", .data =3D &pmic_g= link_sm8450_client_mask }, > > > { .compatible =3D "qcom,sm8450-pmic-glink", .data =3D &pmic_g= link_sm8450_client_mask }, > > > { .compatible =3D "qcom,sm8550-pmic-glink", .data =3D &pmic_g= link_sm8450_client_mask }, > > > { .compatible =3D "qcom,pmic-glink" }, > > > > > > -- > > > 2.42.0 > > > > > > > > > -- > > With best wishes > > Dmitry --=20 With best wishes Dmitry