Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp172430rda; Sat, 21 Oct 2023 03:22:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEPDC48oyw4AxpKz0NI/zfC0E+4mY5ysjBegRwrlIt4p+3lbUMZTM9ElCTynX2VUvzJs2t X-Received: by 2002:a05:6358:91e:b0:166:e1cc:bc27 with SMTP id r30-20020a056358091e00b00166e1ccbc27mr5291932rwi.10.1697883724208; Sat, 21 Oct 2023 03:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697883724; cv=none; d=google.com; s=arc-20160816; b=fhmSDnmt5zUCzB33y2vOS1D+FA0gQE+GGqYK+TZtIB2QInrnpM8A6ZGmvrYGx5VXM8 SvuxX0xBxn3dhjjPtusYlh2F6YZxasy1qhIDHMF8viCHQnIu7p97h4Iu46duNt52rxzx bdhex3PrltLTh/R6cxcDF8R8Dzc54FkkhxQkMy8u0M+QeM6ocz5KVCaHksqu6dBCagTh jRc9oy/DqGTCwV5XFhqpQrqgPR+j92f5k11hho4TrNtN7K1fgC7pj61x9S0+68jeWoWz Ts3Hc69JTN5sgbA1yRVCjF0l4FW4EsJdj+EO0m6iytpeIC+Q3jviEDG82fdG9lkickoV owNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=LMHkATs3OqpS081LJtJkVMFeThvVW/3MM2jg5o0ChwA=; fh=JmydfsEpM/I0MVLOgAFhcPLl5tX1OtN0jprCmjzm2k0=; b=f7NujtGk+SNnEX1CAiEP4tHbC2yA1IDf2noMFnIvHz64UL5lz6RgakxrXt0zfcwCjl CDg1K976/LlXzwLdwgRv9Go+SYBu5jHfOkQP+9/6/WgOwWfMh5A5vu330Ui7TGlrUhzS r4uk+AsQmRaZUixuRG9SjBHR6dqsAH8RWYwlt1oDfSH6i4DysEl88G2KFHuhzY6RQEPp eJlnjwXqgkKxKpsNyuaO+dx9GWOolfcVK7aTdik9MhIF3onNOW0uhvC4a0XnEvxiCqb1 9ARPzk08L/YfIHQoCOGE/JIhlpv2OBKL9L8W7D34j6o9eIDNdMocgtuwwsT8KMU+9hsu zghA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ks4fjY3o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c67-20020a633546000000b005b7160263efsi3254027pga.489.2023.10.21.03.22.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 03:22:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ks4fjY3o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BE65C8097149; Sat, 21 Oct 2023 03:22:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbjJUKUw (ORCPT + 99 others); Sat, 21 Oct 2023 06:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjJUKUs (ORCPT ); Sat, 21 Oct 2023 06:20:48 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02875D52; Sat, 21 Oct 2023 03:20:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 85B1FC433C7; Sat, 21 Oct 2023 10:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697883645; bh=G1oBArnGygsP7oyeCAvlm7sMNzau2v8kxu5F3qI3xhQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ks4fjY3oW9Tzqt/g6oeNIYwVCFCxAPJpQmCUG+71ntYBFlLgS2lpK+e5zPtjHkq9N SztvnAtUmvfx4oBNp8w89NgkmBr3XKnmDMlcweVctRjs5+nMUeLeGzRnt2JV4VQeyi U7C9m8bCzklCk8nlUJujCJ+PiruhubuN2jq68GEjFDP8aU6gltqyfhnkFt3C4ZpmsN nD/X5snTFATc5DGNhTHbqNIO6SpAyrh6GfpDOvPlnw6BN+10DxTT0NMWfGyuJvgnlV GJQ8Fc9kIItqUlXEun0TSJX8WIiixq4X3GxTqxsynvkQLjZhU/P0fe1GT2kIh4d4YB rjrEMSlbF6uZw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68E01C004C0; Sat, 21 Oct 2023 10:20:45 +0000 (UTC) From: Xilin Wu via B4 Relay Date: Sat, 21 Oct 2023 18:20:38 +0800 Subject: [PATCH v2 1/3] soc: qcom: pmic_glink: enable UCSI for SM8350 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231021-sakuramist-mi11u-v2-1-fa82c91ecaf0@gmail.com> References: <20231021-sakuramist-mi11u-v2-0-fa82c91ecaf0@gmail.com> In-Reply-To: <20231021-sakuramist-mi11u-v2-0-fa82c91ecaf0@gmail.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-hardening@vger.kernel.org, Xilin Wu X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1697883643; l=945; i=wuxilin123@gmail.com; s=20231021; h=from:subject:message-id; bh=ww4sODm0ahT+SQ9wq+84FM3R6cXdq4VaDdGF3LcSqxc=; b=9NUeGZkuoPItLn4fyrpx4XrJvrcXMpd4BsFYrPVAAUj7PWqYPFYiCWgh+l17lpMxZ7JzkugDT oJr0daynNexCCixJcBv5+7MBXMyfmPSV+2PZdA/NE9T26aRt0N/9yq0 X-Developer-Key: i=wuxilin123@gmail.com; a=ed25519; pk=edoFbrGewAWr5/CxptHll7XzvXBjYiN49RrEgipi1Cg= X-Endpoint-Received: by B4 Relay for wuxilin123@gmail.com/20231021 with auth_id=89 X-Original-From: Xilin Wu Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_REPLYTO_END_DIGIT, 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sat, 21 Oct 2023 03:22:01 -0700 (PDT) From: Xilin Wu UCSI is supported on SM8350. Allow it to enable USB role switch and altmode notifications on SM8350. 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