Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4580764pxu; Wed, 9 Dec 2020 23:26:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6ZwMHHfDk4bTR8u4pDh9WpwhyYF8kBYXHmrAKUgDq+TITJzfxjeeWcYyYBYTmCC+W2InV X-Received: by 2002:a17:906:369b:: with SMTP id a27mr5389309ejc.183.1607585184935; Wed, 09 Dec 2020 23:26:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607585184; cv=none; d=google.com; s=arc-20160816; b=zwCL1dLg3uMxq0522YuM4T52Tx8whQNN2PcSDQwNQTR53gOWsfTX0YW4YXTmueLAwv prHmDnbNgn/7fceOKTSXb8vAQtHbK3/NALNe5w6st4BplhOwsnpcavtWpK/VuCyljMMj a3aIPNCwQWoaY0owC5gwPKAEhBCo3RZmaZ6Q+DuGlQuUY2xA4ax8o0UqwQikm2CnZsLz ynACVxVg/bGKO+FSRon0RuPBeN2shTKl17I7INhdJeYrwx6gJH9EHZaIfoGiK7pArQrf qJbbN7C/2rmne2zf5rkMWVzXr7ukuMhWxkbo9fyqpOc2SUjjsd7C65O3WE8ofA3FJ6/p dn3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=AtMm5xhYehpOy1i97SSqebTKAzVnvn/YzynUOyYpSeY=; b=gGGesGD7XrswIiVsKF7Ipw0sL7qCt/Tz9ekLYnob6ZWSQgNnmZXnP8Qwo6cOY5wQ1V 2KMa2O0uBqoncwKp0gZ9CgMcFxgkv4Wmqp41k1wwgZdAEofUj4zAAr7cFI1skpG2ZHqZ kVe1hJxmZJKt1oyOD5Nk+aUlQRx5qGr7U6Uf8bUArR/OgpUwumDhzbC6uxVFqP4g6v3W c5G1r97wayxFPulvjDKORDrmqwCRNQER90srECvMX41OzoeweSOv0Ny2NAy4QNKZ3Zvu VICtkrJRifGfM2J6I6FwBnKHZZ61+sqEnvSem2YT65TGDvEmzGHx/Z6f36F1J/qHgPnj ExDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hs7si2593968ejc.342.2020.12.09.23.26.02; Wed, 09 Dec 2020 23:26:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733083AbgLJGLH (ORCPT + 99 others); Thu, 10 Dec 2020 01:11:07 -0500 Received: from mga05.intel.com ([192.55.52.43]:21004 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733077AbgLJGLH (ORCPT ); Thu, 10 Dec 2020 01:11:07 -0500 IronPort-SDR: +25tsBtoYghjX0reePrVzc2p3v5KWGwST92mGB7g3Q/OtDAvReCuvQKXkXeATS8gVWbRIwenqx zxhPzJ29fPRA== X-IronPort-AV: E=McAfee;i="6000,8403,9830"; a="258920606" X-IronPort-AV: E=Sophos;i="5.78,407,1599548400"; d="scan'208";a="258920606" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Dec 2020 22:10:26 -0800 IronPort-SDR: OxDrBdRQ6XvRuBqeoVa6LxDUWT8qYCiCnA7SYV2c96vJ4i+dD5rrxrueZiXT5sJ4R/uqmD8Rmu d/PZMEIda+DQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,407,1599548400"; d="scan'208";a="368644861" Received: from uhpatel-desk4.jf.intel.com ([10.23.15.15]) by fmsmga004.fm.intel.com with ESMTP; 09 Dec 2020 22:10:26 -0800 From: Utkarsh Patel To: linux-kernel@vger.kernel.org, enric.balletbo@collabora.com, pmalani@chromium.org, bleung@chromium.org Cc: heikki.krogerus@linux.intel.com, rajmohan.mani@intel.com, Utkarsh Patel Subject: [PATCH 0/2] Send acknowledgment to ec from cors_ec_typec Date: Wed, 9 Dec 2020 22:09:01 -0800 Message-Id: <20201210060903.2205-1-utkarsh.h.patel@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds mechanism of sending mux configuration acknowledgment from kernel to EC. It also modifies cros_typec_cmds_supported() to support multiple feature flags. Utkarsh Patel (2): platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported() platform/chrome: cros_ec_typec: Send mux configuration acknowledgment to EC drivers/platform/chrome/cros_ec_typec.c | 28 +++++++++++++++---- .../linux/platform_data/cros_ec_commands.h | 17 +++++++++++ 2 files changed, 40 insertions(+), 5 deletions(-) -- 2.25.1