Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10765602ybi; Thu, 11 Jul 2019 10:36:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfrUCFfeDIdmsyixxLswUQSnfMZau9LOgqOkLZ25wENAFc8P+UdkysGF/rSrRdL1d2juFX X-Received: by 2002:a17:902:8c98:: with SMTP id t24mr6116036plo.320.1562866585637; Thu, 11 Jul 2019 10:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562866585; cv=none; d=google.com; s=arc-20160816; b=Vy7GWH0T6a7oRDRpCscERlFJHRmKlWfplwpTLuRM8R1yoChIYZSmdoCtoxRLlwHEi3 u/ThMPadBaEFDURoFo0vVp6uf9+mu5ZZVsy9ojEudDRw4Ylx5/Qx5neIuhdm0GFM8Joy ZRR2pkcu+oaXjamAPAr1iERLNKUu0xA5hCuev2oU1xKWgsme48j85PCTuFry32xR+aAt zrNqI55/P7QydWQIFPS0n+BJ7r5DJfuiu+xYYwRGa/z8Q2W7ED7VU8fUxy7ivioSp1b7 ++fcrLIqsZMxOM97Xj8eTwLrlXPUcewcw/k2vsEAEfyJoARbrBjt673I65aoM8F54Jg3 848Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8hnrjteetj+2DwTSHx574b1xFkzK5P+oCtU5/m2k/v4=; b=AN3oeDXe2ly4s+VTWhBN39jD+SDB9+10vIAWBjpDoGvqLBuU5ayhSh+Eu+/fHnHCwP zf3gYOdvOvDrqb+Siy8xUf0m8+uNTDjX1sTGDi0fy6oljVplmsCqabhuuh6B8hbGW7Rj jh3u5hgM33CBwFZMV60vYl8WNJE6gDao3/oSOuAeBbpuy8k2NH7UEosuSat6qqoEQXAu d+aLW52ckvBTMmETxPkKbnVg3dxEO1cIPKgyq7Kyx37f78pMne4m+ErA+kYJ+SpNP4wr /WvlRgH9GZ37zISUMgemC8111SlzGAQveDdvZKAi6UUFLbLuSEQP9nEdxUInx9jXWcTK E2ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iFaqmioG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32si5353893plb.86.2019.07.11.10.36.09; Thu, 11 Jul 2019 10:36:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iFaqmioG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728910AbfGKRRk (ORCPT + 99 others); Thu, 11 Jul 2019 13:17:40 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:34130 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728549AbfGKRRk (ORCPT ); Thu, 11 Jul 2019 13:17:40 -0400 Received: by mail-io1-f66.google.com with SMTP id k8so14278176iot.1 for ; Thu, 11 Jul 2019 10:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8hnrjteetj+2DwTSHx574b1xFkzK5P+oCtU5/m2k/v4=; b=iFaqmioGX5kHI6dwYSirYGjsZStbgKT76VP93fBwEQSnKvT9ujYB2lU5+d1kSK3oQa A6dUBcfnCkw/Mb3hG674fHrhu0mzd1+4ia9bbjZbiG15LTx+Jvt7k6UxScvoriexwRm3 cheT2fAWqReF47CPT4sC71g7OEPworWmcsXFk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8hnrjteetj+2DwTSHx574b1xFkzK5P+oCtU5/m2k/v4=; b=UZC2mhInDxRR7/Bzg8uLKot6e4U+LRHePZ3Ulgb0W/ntVO3aoZC6TBzvRNRxu6IOMd JiZTFzywdtiK/NUIOL+HuUQ3nF1cHaaxxa0kbcWpySd1QCWmbAT+vbgaTv9Uac/sP9vk zJ4UX/OgHqSPdqWVN2j7eH3Yrj7NcShiPNe/DpLvcQhoRU/83rW8o5ytG824VPsX3ANt UofNEZD6sXKaKxYRxW3wIGgClsp6DXB9P7cXp0+vWaszPeB6chwOWWjaWPZLdEHsiuA2 7YYn04Ai1vJJqzY0Kamp0VVH7kfy12nP1XJNslXcVAxlR8axOTSTSOroJUE1EGr1BkE/ cw9g== X-Gm-Message-State: APjAAAWldDkTYw5C1cj9l2FJ1QSI8GiVgZW2rF/D0nMSz25a5MuUnz44 7mUXIerZo7UI8KUSEpUfGgORVcOVyr5bs97N/2BoRA== X-Received: by 2002:a02:9f84:: with SMTP id a4mr953368jam.20.1562865459489; Thu, 11 Jul 2019 10:17:39 -0700 (PDT) MIME-Version: 1.0 References: <20190708181536.2125-1-yichengli@chromium.org> In-Reply-To: <20190708181536.2125-1-yichengli@chromium.org> From: Gwendal Grignou Date: Thu, 11 Jul 2019 10:17:28 -0700 Message-ID: Subject: Re: [PATCH] mfd: cros_ec: Update cros_ec_commands.h To: Yicheng Li Cc: LKML , Lee Jones , Enric Balletbo i Serra , Benson Leung , Guenter Roeck Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Gwendal Grignou Note there is a patch series that move cros_ec_commands.h from nclude/linux/mfd/ to include/linux/platform_data. On Mon, Jul 8, 2019 at 11:16 AM Yicheng Li wrote: > > Update cros_ec_commands.h to match the fingerprint MCU section in > the current ec_commands.h > > Signed-off-by: Yicheng Li > --- > > include/linux/mfd/cros_ec_commands.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h > index 7ccb8757b79d..98415686cbfa 100644 > --- a/include/linux/mfd/cros_ec_commands.h > +++ b/include/linux/mfd/cros_ec_commands.h > @@ -5513,6 +5513,18 @@ struct ec_params_fp_seed { > uint8_t seed[FP_CONTEXT_TPM_BYTES]; > } __ec_align4; > > +#define EC_CMD_FP_ENC_STATUS 0x0409 > + > +/* FP TPM seed has been set or not */ > +#define FP_ENC_STATUS_SEED_SET BIT(0) > + > +struct ec_response_fp_encryption_status { > + /* Used bits in encryption engine status */ > + uint32_t valid_flags; > + /* Encryption engine status */ > + uint32_t status; > +} __ec_align4; > + > /*****************************************************************************/ > /* Touchpad MCU commands: range 0x0500-0x05FF */ > > -- > 2.20.1 >