Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1010600rda; Sun, 22 Oct 2023 22:07:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvkBo9jjIIcyI99ECmPUEvNPwDgbQ3yOjP5jCZkMztQddfL8AQa889G6TGCVz3PUmDqF3Y X-Received: by 2002:a05:6358:7f16:b0:143:897e:6e31 with SMTP id p22-20020a0563587f1600b00143897e6e31mr9440782rwn.7.1698037625765; Sun, 22 Oct 2023 22:07:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698037625; cv=none; d=google.com; s=arc-20160816; b=RQsL5McQqixOLq5M3jjAO4qhiLeG1ZzCH2KDFgYtYbEePNpH5jFtxYvf3aLIyBOESn fP7SazeM4JSXMSuKK2UNR71ofHqlRJ+shfg+Bgas6k6Lo0FDBBJyjWRsMQFsPHp1TvVi ExDF4nUHI9Tmroy1fa+HsSY57RWBib3ZlDY23HLzpPWR4r2rvkW3B1UdNTdHg9DibviB J9K1wLqguvkKSwYQqbIX5DgRV8lNFmlJnMQXk/u4eUi6LzWtYlDQysbPLs3FxzhB8XOt UUrYeFaopLSvn5ihmscp89hrV9Mxz4Kn699c69h21fBDpDZ/L6awV9nGONfuiOzh5HTb dfXA== 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=K2snDo55DI2agPH+/29PJskhQ+34fC9SgaEoBFYImQk=; fh=soHrjl7hT8DV0LwW0ZlxycmUmgJd8rJGNelpzWoGkDA=; b=C4FD0iRQpfiXjYgK+Gt+vPVHMGn/Fo3PYfkvJkuz4GgxX46VsV6S4EMypofUOWTIPu kJw+aHETw+hXkDCeeBSN9LJK7IUwhqEDAmzfc2rOoHBO5187ytDTO/u7b6zEzQ6qyobK 1bEln0ob6CxsIyYD5zjVQuTnISov7Dl3Tun66f3Rid/buAn5JamefzQixz1LMIWvNUvo aeKvz48wsuu1+ZdQzH4/kwA933BZ4Iu6hfcVswc3fid7zaqWiBonnXYiWhzha22yP8rn MkSeuCNKhsUj60/+GLl4yeetiq52DHO5wqYshEkc9Lf15Yiv0/X72q1JRhhwyHUUwmuo Y0pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OCiI4eEi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ch10-20020a056a0208ca00b0053074c54c3fsi5957224pgb.868.2023.10.22.22.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 22:07:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OCiI4eEi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 6A3EF8068874; Sun, 22 Oct 2023 22:07:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229479AbjJWFGx (ORCPT + 99 others); Mon, 23 Oct 2023 01:06:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjJWFGv (ORCPT ); Mon, 23 Oct 2023 01:06:51 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8F9AF; Sun, 22 Oct 2023 22:06:49 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5079f3f3d7aso4466216e87.1; Sun, 22 Oct 2023 22:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698037608; x=1698642408; 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=K2snDo55DI2agPH+/29PJskhQ+34fC9SgaEoBFYImQk=; b=OCiI4eEii5ugYc5Aerq2IXhBHZqLLXKiBbdeMgo7PO4lCbP86DfVO4jO5FHGmiZAad CTqYlPB1d8BURfaAPFIUYaKB0AfG7g1IbkcfPqVJ5Zs5Ll3+2xmUZxhZoMDDN1xEGtBc MLL5uc+zlinH69a7i+l1FnWRvibjTHUz7tH4CvE6JARiytfEhzDMFztWOf5BcdK73mrL E4KxlHqkeVnkicNX805s4GfyRgY2w01X9RqG9nBst8xXvkXlJESkjbDwkthhYJIGrPc6 dQH0Eq1P39fcjgRP36HrbtdZgv4OpEMnKotJQoqpFr524Fg8mSzTefssWNlLKak7/f9x CAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698037608; x=1698642408; 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=K2snDo55DI2agPH+/29PJskhQ+34fC9SgaEoBFYImQk=; b=hXSBMmciVX8ya31d7N/FjPaR3/X52JAaAqi1f0QNM/gnLKg3nWNUHRJGvQYAiHsXqu VKLFZGO+jv0PikuhXgW2vdGbM3jIh4m/PW9LCy20vJGoQs49HVjiCCSgLsCKK23Jh7JR Ed+r6pgewksVxQCXLvfRWGS2TvRuLqkUFFXtAGLk80OdyYaZ6nT1cCfrr/dvfSAFdA8D tfQvUcwhYKYdFSw0h4W+G23UUQQbUO1291s1s4J/co/2RqVp2F2yzRYBMUxIVPZ2XTyl /rp9wCN01DLTQYBXCCo6L5pD1X/LUcDtUdqMOkXy0R2//66RfaiiPO3XPL/IOvD0Waab tjIQ== X-Gm-Message-State: AOJu0Yz8UUn8nbqKyymTLKOe069FQzPF08q9BEKdR98YoAKJam2rO1Z2 WKLJNKn6T4bHOxnI98yv86Q9Fva4lToHOMAcydYIAStEMaVPsgHQ X-Received: by 2002:a05:6512:475:b0:4f3:9136:9cd0 with SMTP id x21-20020a056512047500b004f391369cd0mr5626924lfd.44.1698037607549; Sun, 22 Oct 2023 22:06:47 -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: Sophon Wu Date: Mon, 23 Oct 2023 13:06:37 +0800 Message-ID: Subject: Re: [PATCH v2 1/3] soc: qcom: pmic_glink: enable UCSI for SM8350 To: Dmitry Baryshkov 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.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 groat.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 (groat.vger.email [0.0.0.0]); Sun, 22 Oct 2023 22:07:03 -0700 (PDT) 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 the pmic_glink patch? > > > > > 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_glin= k.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_client= _mask =3D BIT(PMIC_GLINK_CLIENT > > BIT(PMIC_GLI= NK_CLIENT_UCSI); > > > > static const struct of_device_id pmic_glink_of_match[] =3D { > > + { .compatible =3D "qcom,sm8350-pmic-glink", .data =3D &pmic_gli= nk_sm8450_client_mask }, > > { .compatible =3D "qcom,sm8450-pmic-glink", .data =3D &pmic_gli= nk_sm8450_client_mask }, > > { .compatible =3D "qcom,sm8550-pmic-glink", .data =3D &pmic_gli= nk_sm8450_client_mask }, > > { .compatible =3D "qcom,pmic-glink" }, > > > > -- > > 2.42.0 > > > > > -- > With best wishes > Dmitry