Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7293200ybi; Mon, 22 Jul 2019 10:26:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxK+B4BPpfCjFi9w3QkcSo6TKgsPDxkThtOPo+mMAzApVtFqTJHGWfgjiP1ZBHSj0nQIHzj X-Received: by 2002:a17:902:4643:: with SMTP id o61mr48325000pld.101.1563816413643; Mon, 22 Jul 2019 10:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563816413; cv=none; d=google.com; s=arc-20160816; b=iLLKMgH1ChluiVZnd+b60Ycl/gaJf+RvVQ0ZGcLl5T2Ej7v8UFBr0EC+uPhJEFM7mw aRM1XuCRDwUAVopkphGAzVexl9X/Ro1qUZKAbzP8niVywM/CQqvMKzkA8h81WRmmFVVV K3ev4Is9dOoHi/lYAQSLQThk9oeQ0uuRoywPSI1K1urYCREo8qI1+UcFQccx1UlJF8eV AA0SdLfKklBHnri2kDdh/uiSn7sIFQiwwDikxxNB2Is/jj7mH5YYr2LWVbDes+y9HsTJ tpmEZBibwsuHiH8oU3FfZoxkTw6cK2armSv8yFfxRhXQW0ro5TDVKoEegyOiANNsUBFC oRxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pPCL1hciTXRe+GHzq5UC5J7MbzXEwR3ETW6HrYtL7nI=; b=b6xDrot8dQ0jtRajIzUe3v4oE/d4uppsWfs2ruJ15h4Wvi5yGwg7BoVmTnLjLz8FzL QrvOTwpBUYz6olm+3Z6HU4Ft6btW9IvJYOhRngTzjlX0RaTri7As+6InRu6hT2q6Acd3 KWd6iEcUQd4EKs7uZAYRAxMHInskfx61PcRAWv6LbpgXlUJX7+hi5eVL2bF9VNEExd6P vzPFxZTwdqgXc3ysoZurKlriXNXpYIbt2O7QN9WL58lk8QqGAITsFN6+PTyD7KUz3Zl9 HHcSCPe6C3fsCXGI14AtcWYZUliEM/PcKGEBke2kYtcs6V2UB+TaRGLaLAl9tW5fOubG CIpg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si13627472plb.39.2019.07.22.10.26.37; Mon, 22 Jul 2019 10:26:53 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730800AbfGVOPz (ORCPT + 99 others); Mon, 22 Jul 2019 10:15:55 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:37018 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbfGVOPz (ORCPT ); Mon, 22 Jul 2019 10:15:55 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id E289928A49D Subject: Re: [PATCH] mfd: cros_ec: Update cros_ec_commands.h To: Gwendal Grignou , Yicheng Li Cc: LKML , Lee Jones , Benson Leung , Guenter Roeck , "kernel@collabora.com" References: <20190708181536.2125-1-yichengli@chromium.org> From: Enric Balletbo i Serra Message-ID: Date: Mon, 22 Jul 2019 16:15:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 11/7/19 19:17, Gwendal Grignou wrote: > 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. > I just sent a new version of the patches mentioned above now that rc1 is out [1] As Gwendal said this patch will conflict with them, so we have two options. 1. If Lee picks that patch I can rebase again my series on top of it. 2. If not, we can wait for Lee reviewing my patch series and then I don't mind to rebase that patch on top of my series and carry the patch through chrome-platform. Anyway I'll need an immutable branch from Lee. > 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 For the first case: Reviewed-by: Enric Balletbo i Serra Thanks, ~ Enric [1] https://lkml.org/lkml/2019/7/22/497 >> --- >> >> 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 >>