Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp51596lqb; Tue, 16 Apr 2024 08:33:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQANrzHUXOJdwElyJRzEB84+FrO3QT7BsMtV327CwglOZuQCI+MPu+J+BBWwozKALwYxjQcX8CEcsIs2233gzOkyImOFd00kN5v5+l/w== X-Google-Smtp-Source: AGHT+IGNtrPWHsnetsxOImku4y+14PNe09UkJ1tugoD3F3quarb0pFtnvDSWBUVVjgLBhVi78q1+ X-Received: by 2002:a05:6a20:1014:b0:1a7:1b6e:4d4 with SMTP id gs20-20020a056a20101400b001a71b6e04d4mr10451142pzc.23.1713281626203; Tue, 16 Apr 2024 08:33:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713281626; cv=pass; d=google.com; s=arc-20160816; b=0p1OlJzp2uG+LUpCHOhdxkY1RnqZUFEPODmOTNT0PU/lW7PabJtC4/IzS2rla+VjSP OxIcbkxOR+9LFxgp+THcx3g1Zgle1S5lKRMjtJuVcR0Di75duEb3S4s3eMiEVpFxPEiz bbedrrIMusCXnkpnnY10Qqg00b33xY1ERQZpep9nlz0LUFsE7bW3nvE2bMmNK+sjKPZe hbU8Nq4Ar4j/HwLr+ge+4Q87wm8aoaqSEbYEOsfZOznyrnKGViaQO6CM3Beuvb3jqVzC fPBWC/Nl/9fm/tqybV5+r2WxIIPEt040hzDGB0Ae4jivL3JsP49stb/2Niss0z2rGpsO KzHg== 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=CACAUQHiKa/5rbKG2xHcEHJiwEEsgJJj1Ty5DFU18AY=; fh=n7kOQD7SQUbLK8F9+Z43po/c0P6GybOZxnS+AcD5IjE=; b=0MXnV5yNtIMwN40DRKXvG8AmIiZBjAoepf6Q89jr9S/5A2mvQrLRPPJzoej++vd2np /DJw1nDrUsHwgqJQW45Ge8NAS4I/nkZKu/+djF3Vxq+hxH6H3Thd1SZvSDbe/BWPvVIK 7gegXbADcZqPTWXse/VWbDTDUXF+ye3s9tyg+0U37APqshmjcsXTzElEi5060XE5qYYF C4/HkAO4PszJfbXg/B8CrLIjBnlgkO+YndYpGNBldcXFZvRpvFnVizEYatcdsd4k6xcy TD+5bN1CV2M0sy6DEgJtGyb6qKK9MmDaGbg/3Y06+Ai36P09gThAgghG2LrQSBbzGolG Mfxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sqG7xAiB; 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-147097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147097-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a35-20020a056a001d2300b006ed03fd6ea8si10271084pfx.140.2024.04.16.08.33.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 08:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sqG7xAiB; 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-147097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147097-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8F13CB20BB0 for ; Tue, 16 Apr 2024 15:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB8F3130A7F; Tue, 16 Apr 2024 15:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sqG7xAiB" Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (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 71E8B1304B9 for ; Tue, 16 Apr 2024 15:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713280558; cv=none; b=JivEOVu3wKDiwmMm7ocDUrO1/kPaPOCo7mqcDlwgmTq/undGs7Pap45t/N54MvkHwRPGWs4BYYUQZN9+o3Qs4kcmy+qwH9ZohOXbb8e2ieoJvYpEVcjAusKZPqKb44kGU6wEZZcDwWEINnYaUC47qSCzyhnv+o974OJenLZNnWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713280558; c=relaxed/simple; bh=zaoja2SjlH3NFx4QONthXCor2x9mlk5CiLQ+K1scUz0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HBXoYdi4u2fuH3uEH/lyXfpWm98fWfBBfI9E9nlt4AePO29qnhfoSsjpZ9hoSqRHGnLpK20Fi+utiGEFL79dBXJ5VxHwQrm4QRvK/JpX5yhfY+WKGr6Oqo7Be9U6Q14N27wsZb8EhpolXsuZKqqkn94dzVfFl99yp2N9rH/gPL0= 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=sqG7xAiB; arc=none smtp.client-ip=209.85.128.170 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-f170.google.com with SMTP id 00721157ae682-6157c30fbc9so44684247b3.0 for ; Tue, 16 Apr 2024 08:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713280555; x=1713885355; 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=CACAUQHiKa/5rbKG2xHcEHJiwEEsgJJj1Ty5DFU18AY=; b=sqG7xAiBufKO9MSy4CNtb4R/dnuQBj/WQQd1ZDhHW5RFNsf270Y8LvKmVQSV2j181E 5jlMU9yAKn4phbf8PJMcCQIqCXlW9iE7fzwQ+A/SF7WhydIMAKNrXOwkApaj+IMMVz5R ukOxWZ3e+6dFhWd+sfLafrqgbPgm1vSuS8O3Y9iG+AS1b8TX3YMsU1vEtsfAeJnt3zsY tXZ1ZVYg+s6Wr//6lswKwwm+k0cDr13Xxr+9Rz5v+xNuY/LJ/lmYOvDzOTF68kpuf4qw jfFVahHqvATudVf4QnmvhZPnF4J/PCbFh1RvgpzCdtgSeI3TSVI3ZaEvLVtxvXzzPy5Q dO6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713280555; x=1713885355; 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=CACAUQHiKa/5rbKG2xHcEHJiwEEsgJJj1Ty5DFU18AY=; b=bri+zJn4rcZZQHNbUrJdRNQJmtBwbadahl49nXiL4vjPjEFS9+jZSapJP8LtLWuA4G vs9cOb8yPTX1Lgp6nYV+/cxGAIxHxRL7JSnZWxB7JL+nFzM9ymaVeFhYkpVA329vo1lq uUR4DD4YZ/iqjvaGIbQfCDWBcrRLYSTwrSgxH0k3De74htoqe3s8XdGOQ22P5MUSGFhv Of6r2azDvItEgWGkXxCVqEgpe8k/MUGzSG1FLqF7HXcKqHJWlu6ogUM4sq2wjoBvd17I REws7ni+QXYxggrxXKp3tX2X757nv2pv+6R1oWFYvyvfK3y9xCQNz2AKTMDaEOzl5Ojz WFnA== X-Forwarded-Encrypted: i=1; AJvYcCUE7vF+gTgfd6wegACuOkzGlC+COXuMZqF0hgwejtOUxH9cAItAkc7IocgJA7h9OhGlzVtLXdBHZflJye5yiCn9YYJR7WTL+TEcguSF X-Gm-Message-State: AOJu0Yx/t2gFkQzXj/nOEGGQHgP9yOv67WAy+nfvj/A6PgCgB7fkna62 xaxJ6cpw2tAZJBzDdXluH9I0kP9RWS33ksNEQDPexD4ZRLTc/dDgNSg/HgH74d42BK8YJw4CCGf Yq4Cl7GdA4vgB4SrpyjCL1/OSj+a9qbban52rcsTv8U5TwqAOtvs= X-Received: by 2002:a5b:40d:0:b0:dc6:bcb3:5d8e with SMTP id m13-20020a5b040d000000b00dc6bcb35d8emr12080662ybp.20.1713280555495; Tue, 16 Apr 2024 08:15:55 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240416-ucsi-glink-altmode-v1-0-890db00877ac@linaro.org> <20240416-ucsi-glink-altmode-v1-5-890db00877ac@linaro.org> <80a8b7d4-2dd6-42a9-8305-81a93ba5e6bc@linaro.org> In-Reply-To: <80a8b7d4-2dd6-42a9-8305-81a93ba5e6bc@linaro.org> From: Dmitry Baryshkov Date: Tue, 16 Apr 2024 18:15:44 +0300 Message-ID: Subject: Re: [PATCH 5/8] usb: typec: ucsi: glink: simplify notification handling To: Konrad Dybcio Cc: Heikki Krogerus , Greg Kroah-Hartman , Neil Armstrong , Bjorn Andersson , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Tue, 16 Apr 2024 at 17:36, Konrad Dybcio wrote: > > > > On 4/16/24 04:20, Dmitry Baryshkov wrote: > > All platforms except Qualcomm SC8180X pass CCI in the notification > > message. Use it instead of going back and forth over RPMSG > > interface to read CCI. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > Are we sure it's reeeeallly just 8180? More or less so. Previous platforms used either qcom-pmic-typec (sm8150, sm8250) or laptop-specific EC (sdm850 / c630, sc7180 / aspire1, CrOS). Next platforms (sc8280xp and sm8350, qcm6490) used pmic-glink and the new way of sending events. I think sc8180x was really the unfortunate one to use mixed events. -- With best wishes Dmitry