From patchwork Mon Mar 21 19:10:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 12787629 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (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 C2A5B612C for ; Mon, 21 Mar 2022 19:11:02 +0000 (UTC) Received: by mail-pg1-f174.google.com with SMTP id e6so10966047pgn.2 for ; Mon, 21 Mar 2022 12:11:02 -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=eR8E1wtBuvjij47S9Cxn5vDUx7hs+Tb6fVVvu6jRDrc=; b=jeXr+bUo7i4jfBGyMLU1DpbI477MASaShtkqA1PSC1pMucvRRJeQk67ay3tiN0Fpfj 1kELI9W/+m5QRgBMx29I/P5xh813psKnCFZ7plZdE42JORdf2reZ2Zc/b8QQXiUtwmVS dt/qcM9i33xbn9yIAGxSjURhsXYUgOemiP9DQ= 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=eR8E1wtBuvjij47S9Cxn5vDUx7hs+Tb6fVVvu6jRDrc=; b=CbfUL10B9xJsLHUFKWFhGP4VN2Z99F16o8XLgrNy2/uFEuo1WsnEIA4AoZZEZ4rTGl PMtBForLQ+tfmCeMif1kTEJWakPml+rBW+Jg6BVCqaDz+79rbl4XzwjX1VCibIIuhQ8e dQKbqGDEsYiq6EP4ng02TjmUQwbtlE8XOWilxa+08QP95etF6OKTPrJLaWSdTtIT60ou iLSeuFjJaWDg2FEpGqebW0xRz4FjGhIqulrGkVjXOWOZkzs5LcSUh77rbEfFpwqEENz6 hKLRfQJ0uoKLHlV8zyHPVKJKy+WF2/mPT4RJVjWxyJFc+GtJb4G5eKIhFmcj3WM5bQG1 TxrA== X-Gm-Message-State: AOAM532VACHxCMGDvYDdhmLGH8n41OwiBVwqDoI14dO+LLzMSL8GMgHl 2HkwlGZ77GSesETAqxPwpMMBkA== X-Google-Smtp-Source: ABdhPJzl0a4ZxR6MDBzbPO5qdgl/uN5VAPhC2BdHXpB5yLVjYD1CdrX4AVe5jTcQuWqnJ38oPKMb1g== X-Received: by 2002:a63:17:0:b0:37f:f283:24b with SMTP id 23-20020a630017000000b0037ff283024bmr19255781pga.407.1647889862150; Mon, 21 Mar 2022 12:11:02 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:2ffa:f7a0:c7f5:8171]) by smtp.gmail.com with ESMTPSA id y14-20020a056a001c8e00b004fa829db45csm3384022pfw.218.2022.03.21.12.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 12:11:01 -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 , Matthias Kaehlcke Subject: [PATCH v4 0/3] Update cros-ec-spi for fingerprint devices Date: Mon, 21 Mar 2022 12:10:56 -0700 Message-Id: <20220321191100.1993-1-swboyd@chromium.org> X-Mailer: git-send-email 2.35.1.894.gb6a874cedc-goog Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 v3 (https://lore.kernel.org/r/20220318015451.2869388-1-swboyd@chromium.org): * Drop spi_device_id because it isn't used * Dropped struct members for gpios * Picked up tags Changes from v2 (https://lore.kernel.org/r/20220317005814.2496302-1-swboyd@chromium.org): * Dropped cros-ec spi dt properties that aren't of use right now * Picked up tags 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 | 66 +++++++++++++++++++ drivers/platform/chrome/cros_ec_spi.c | 43 +++++++++++- 2 files changed, 106 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 Cc: Matthias Kaehlcke base-commit: ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2