From patchwork Thu Mar 17 00:58:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 552801 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40003C433EF for ; Thu, 17 Mar 2022 00:58:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243795AbiCQA7d (ORCPT ); Wed, 16 Mar 2022 20:59:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238293AbiCQA7d (ORCPT ); Wed, 16 Mar 2022 20:59:33 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBE9F12A84 for ; Wed, 16 Mar 2022 17:58:17 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id 6so1445460pgg.0 for ; Wed, 16 Mar 2022 17:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fEiIQq/+MOx3ePleZyRnWSsBiCDIwdwlXulJMg5j/dU=; b=ZVsb4IAerwlksFkFTiTBppTgLDXwo3YbWwf6u3r/vAIo88oQ2UCDC1FgVVqqHUIZnZ L/zbUUB38+uJ4VrxZNlGL6qlO777DWxW3bVI/stdj64lOb/d6hAOvPSYtAOaaJF93ZvC SevGZCWI9eBHOrHZcmAV75OSRk4YzDESwsOPo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fEiIQq/+MOx3ePleZyRnWSsBiCDIwdwlXulJMg5j/dU=; b=n57k57p4GHmJrld0u1JFTiSJh0lyucLdfaohfNejXbTiSwgo8Zc0HXft8hLkWXBMB/ 3j9OlTpp1H7GNvdRm09rcy3wmCPRa3Dwz3Mh8NoLztxHXPP2y4Qh4ye7u+ZEvGOcPFoJ YWbnvoOT4nM4Q+NLodZGu8kO8d1ho1IldAuz/DFTeNKxgt/6+VVrd5eK+n7pO9EKevT5 Uc36cSC+wR6mytsbmshQ8YmyUjHv/a60VrsiukA7gDYNRf/MmTwUgSs+mBycmiBPoNfy lC4fs2B7m5paQCjU45XHykSJEqCK8bZd+qXNp7zhuoWINbDYOKsLJMuPgCVEwpy/BkPW B6/Q== X-Gm-Message-State: AOAM530UAnUVZ/5H8KotLnJPsVhZZRhBJhGTF82FP93XVEIc7FSTDKvr 5c4Y7FygOYMpSg+tMZvJIN9N3lgGf9VD/w== X-Google-Smtp-Source: ABdhPJz9glq6TQM7GOOPVAx81AqOWt/UlQ9XNEvnwyjw33SzLieR6JBTwjoQR821DFRC/3bxvWAEPA== X-Received: by 2002:a63:d306:0:b0:34e:4330:efea with SMTP id b6-20020a63d306000000b0034e4330efeamr1720091pgg.174.1647478697208; Wed, 16 Mar 2022 17:58:17 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:dec5:e3f8:cbd7:f5a7]) by smtp.gmail.com with ESMTPSA id l20-20020a056a00141400b004f65cedfb09sm4433445pfu.48.2022.03.16.17.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 17:58:16 -0700 (PDT) From: Stephen Boyd To: Benson Leung Cc: linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, Rob Herring , devicetree@vger.kernel.org, Guenter Roeck , Douglas Anderson , Craig Hesling , Tom Hughes , Alexandru M Stan , Tzung-Bi Shih Subject: [PATCH v2 0/3] Update cros-ec-spi for fingerprint devices Date: Wed, 16 Mar 2022 17:58:11 -0700 Message-Id: <20220317005814.2496302-1-swboyd@chromium.org> X-Mailer: git-send-email 2.35.1.723.g4982287a31-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch series introduces a DT binding for chromeos fingerprint devices and then implements support to boot those processors during driver probe if the BIOS hasn't done it already. Changes from v1 (https://lore.kernel.org/r/20220314232214.4183078-1-swboyd@chromium.org): * Properly do the boot sequence * Add a message that we're booting and delaying a while * Fix typo in commit text * Change binding to not spell out reset-gpios and indicate that boot0 is about asserting boot mode * Split device id to different patch as it's a different topic from booting Stephen Boyd (3): dt-bindings: chrome: Add ChromeOS fingerprint binding platform/chrome: cros_ec_spi: Match cros-ec-fp compatible platform/chrome: cros_ec_spi: Boot fingerprint processor during probe .../bindings/chrome/google,cros-ec-fp.yaml | 85 +++++++++++++++++++ drivers/platform/chrome/cros_ec_spi.c | 44 +++++++++- 2 files changed, 126 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/chrome/google,cros-ec-fp.yaml Cc: Rob Herring Cc: Cc: Guenter Roeck Cc: Douglas Anderson Cc: Craig Hesling Cc: Tom Hughes Cc: Alexandru M Stan Cc: Tzung-Bi Shih base-commit: ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2