Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp642650rda; Sun, 22 Oct 2023 03:52:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkab7JghvqZxhWY/44ra7vEYmaCFxa5kHgNigmMthUlXA0NM/tqzbOH46PYyAsm9ooEzsb X-Received: by 2002:a17:902:d34b:b0:1ca:7ec3:f4f9 with SMTP id l11-20020a170902d34b00b001ca7ec3f4f9mr8024414plk.32.1697971950309; Sun, 22 Oct 2023 03:52:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697971950; cv=none; d=google.com; s=arc-20160816; b=BukPEEAQOg5QS+MkNNlOVgyfGoxpdd8zyDRdtjFCNcojoPea3AGZV8bmWNcSel+9rj gAXdi1KC7PxE1aRQA6pI0lSa+aJmIeGUtEIiXL0Yt/Ft5aAYYMj2oK07Hqbwx0yy8GCz lFOCSxVth6Ss05ws85f8MsdG36sgr+SnsJPWFhQq2cmtBW3Te/KslLAK+CAeB4BzFHQo 2W9Oq8xPlf5Rvrv9HlsckDbs/uRPdaxEX1XSck4Efgikp9LoMd0jODlnVvqxV1PyBB66 +4NwHCw8rJTgRbS64jurvMN+Lzt13rZAJk2zlM7tw9n6h39U/JTgFFgR4MLcltvJsTC3 LdDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qtBLYHItiMRAtWv2eIIyDWdvOr+sJvW/WOE9B0k2XRw=; fh=sIw1qh1/zjSeOz36BMybojRWZGk8K/k8PsXG8lXmnZU=; b=0yFmufKDM3GnMMyIkBReHbdkRnl8zqUj8fQnWODdo+TjEHnWKF3mFASw1a3C68ojqI a6RLV7yY/oIt1V1+8EuJQ8veYZvfZcB61yP+7hiu1DJfVwckcnmVBb6ON/WvxQjIzKRM E2tCiXDspJmxz384VlfzBFT1SUXnzZKVvxmhS+m5WGPbKPjerz7LuYSKMxDWLwSsezHz XyPIJ/JfRa/3IX8lvMmkDL9VebJCnhX64+RAUPehB8rrT+dx3lBwA7sweZD6Y0qf1J/g hs+NZ0c5+GyvhXR/2FIqheDNRk1PdVt/6AY4xLDVhjh08+CE1kOT2jYUZdaii69dy3WT HpzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NkuDTB4O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b9-20020a170903228900b001c9abb72958si4815072plh.590.2023.10.22.03.52.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 03:52:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NkuDTB4O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 DA9BD808EEF6; Sun, 22 Oct 2023 03:51:54 -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 S231773AbjJVKvq (ORCPT + 99 others); Sun, 22 Oct 2023 06:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjJVKvo (ORCPT ); Sun, 22 Oct 2023 06:51:44 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E26CC114 for ; Sun, 22 Oct 2023 03:51:42 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5a7af52ee31so23347017b3.2 for ; Sun, 22 Oct 2023 03:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697971902; x=1698576702; 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=qtBLYHItiMRAtWv2eIIyDWdvOr+sJvW/WOE9B0k2XRw=; b=NkuDTB4O/Nd48Yas/JhUC6lJqnb8ZTYBFcyAFQnf58+4ERJbJNFS6EIjiKsXode/1O IfkXOwBc0PNWRITMYxnSiXUNm+D5b/jYFAkz51FcLgPe47Ux9KBzHB6JyuDqu2nvU6u2 EeDyjQOZUZYu+AvrVhEuTdZS7Dq7wNVY3dtqDyJBE1psT4VBFsnBMDaNY2JRYYBtk/nx Wz8gbaPLbQwYtD8CprBZoF8h5rqD30Qn2a9AzRTEFoJSiFSifG3hRXIc1gUd3vBaXqSY Y35sK0HAdzUMlBJLIJwiJviu58678KPSerquWshltnMO33OP8Twqj8U9FuqbEMstCAP7 TP6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697971902; x=1698576702; 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=qtBLYHItiMRAtWv2eIIyDWdvOr+sJvW/WOE9B0k2XRw=; b=WPSZ5UyA4S+Vb/6qR2d56pL76r+RVPkfE9tysKO9D/ZBvHhcIYNDKo8+qnYcl6jhZ/ ivxldiDCLzVe3mPzJWS2ofLjoP+JLGMuYArWJOOOukVcrW38WVdhWCkcNIjoB9ytojcZ W26sUrx8kctUPdV+2S9I9znh6Bh3QBFdcm73rlZG9bY9ml6AMbxBlbqxcU9KE1AIhzTH qzO8etCKWHmf6W70t/EylQ+fTbeL1pcKpHxIS3Lz8IXmDXX3+klXNej/EuJBSNHPTw6w Chf6ny1mr83KBQAwy363/R/zQedu4T+0KrBnYiWI2yWeutqxnHAxZCyQWby+Ew8bvweS pZRQ== X-Gm-Message-State: AOJu0Yy5snlktVFp00NWZPbySLtAE2GiMsOnDqF3/1Go7dvGn2LxKj+f ux8merDdTszexDMNfjzQ7dpdb11P8bHHQsedwcllsg== X-Received: by 2002:a0d:df02:0:b0:5a7:be1a:6c32 with SMTP id i2-20020a0ddf02000000b005a7be1a6c32mr7073499ywe.24.1697971902097; Sun, 22 Oct 2023 03:51:42 -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: <20231021-sakuramist-mi11u-v2-1-fa82c91ecaf0@gmail.com> From: Dmitry Baryshkov Date: Sun, 22 Oct 2023 13:51:31 +0300 Message-ID: Subject: Re: [PATCH v2 1/3] soc: qcom: pmic_glink: enable UCSI for SM8350 To: wuxilin123@gmail.com 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" 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]); Sun, 22 Oct 2023 03:51:55 -0700 (PDT) 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. > > 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_glink.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 = BIT(PMIC_GLINK_CLIENT > BIT(PMIC_GLINK_CLIENT_UCSI); > > static const struct of_device_id pmic_glink_of_match[] = { > + { .compatible = "qcom,sm8350-pmic-glink", .data = &pmic_glink_sm8450_client_mask }, > { .compatible = "qcom,sm8450-pmic-glink", .data = &pmic_glink_sm8450_client_mask }, > { .compatible = "qcom,sm8550-pmic-glink", .data = &pmic_glink_sm8450_client_mask }, > { .compatible = "qcom,pmic-glink" }, > > -- > 2.42.0 > -- With best wishes Dmitry