From patchwork Wed Oct 26 00:36:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 13020004 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.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 6527FA4E for ; Wed, 26 Oct 2022 00:36:44 +0000 (UTC) Received: by mail-pl1-f174.google.com with SMTP id c2so4300976plz.11 for ; Tue, 25 Oct 2022 17:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7ailGgiiFtHdwB/nG3A6RiLx4EUpdrg50HC30U8xGLo=; b=U4atFBeXIc700OXYSkV+KwBvVmXl3d+nTjYQtI8gEOUrvetsC8P04b8H0OQorM6Ux0 kX7YLqRHhSemkPbJJy5yb43nmMPLVgzMfdLYIazdQb7zhbJqp2v/xUjx0Is9qieVh1vp 6QObeDiWZp2fM8N9aJp+esZK9bHSWbPbawhqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7ailGgiiFtHdwB/nG3A6RiLx4EUpdrg50HC30U8xGLo=; b=5AJcN/lVk2AszZD4OB7z9OBgpQuIw8cFOsWHF89CsjoSvinubBj+IKcverjaP+xvT4 GMNqHr64wA/zY+nE9OGx93X68KKN48r8SafaVSDKtAGvmHOG4SZeGTpb/Qyad2WLR6RV gzWHLlp4f+BB47nIbcCjCv18D/jXrycKriMx2IR654IslFcaTPnr0dCICTv0WRuPi7Jd IDRSgi2G3syb/xP+4M/yp4s4C9m+uDf0Q6ryohOWplE053SuLtvKW21s47rZqsxfU+9C REL11iu04ACv9b8HHBedWEKo+cqAfU24GEX8Z2HNNGmyKn066ZI99T+6w8ontJISnGhQ GFJg== X-Gm-Message-State: ACrzQf1IqZFyd/PLKWWVZOUxn/pFyUIZnM+Lvqyk2ClNspnMQNUQO4mG YrEeuakXYImlGsswB2vNe90jRw== X-Google-Smtp-Source: AMsMyM6Y+OvWlp/mwC5JS0gAzw3xPKQzyO5Z2SGnJvfeHCyIr2nQ08DmZhECrHf5yBL7lUzZdHDvVQ== X-Received: by 2002:a17:902:e5c6:b0:185:4bbd:17ce with SMTP id u6-20020a170902e5c600b001854bbd17cemr42003936plf.132.1666744603759; Tue, 25 Oct 2022 17:36:43 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:11a:201:c1b0:de11:3d5e:16c0]) by smtp.gmail.com with ESMTPSA id ik29-20020a170902ab1d00b001868ba9a867sm1717405plb.303.2022.10.25.17.36.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 17:36:43 -0700 (PDT) From: Stephen Boyd To: Rob Herring , Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, devicetree@vger.kernel.org, chrome-platform@lists.linux.dev, Guenter Roeck , Douglas Anderson , Craig Hesling , Tom Hughes , Alexandru M Stan , Tzung-Bi Shih , Matthias Kaehlcke , Benson Leung , Lee Jones Subject: [PATCH v7 0/2] dt-bindings: cros-ec: Update for fingerprint devices Date: Tue, 25 Oct 2022 17:36:39 -0700 Message-Id: <20221026003641.2688765-1-swboyd@chromium.org> X-Mailer: git-send-email 2.38.1.273.g43a17bfeac-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. The first patch tightens up the existing cros-ec binding and the second patch introduces the fingerprint binding. As there aren't any driver patches this can go directly through the chrome platform tree or the dt-binding tree or the mfd tree. I sent it to the binding maintainers in hopes it can go there directly but it doesn't really matter. Changes from v6 (https://lore.kernel.org/r/20220614195144.2794796-1-swboyd@chromium.org): * Put back into the same cros-ec binding file again * Gave up trying to make it use additionalProperties: false and added a comment instead * Made symmetric for the spi and rpmsg case Changes from v5 (https://lore.kernel.org/r/20220512013921.164637-1-swboyd@chromium.org): * Split out to different binding file again, while using 'select' * Fixed examples to have required interrupts property for cros-ec-spi Changes from v4 (https://lore.kernel.org/r/20220321191100.1993-1-swboyd@chromium.org): * Drop last patch that implemented driver logic * Drop second to last patch because it's not really needed until compatible is used. * Rolled cros-ec-spi into cros-ec-fp compatible to get all the pieces 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 (2): dt-bindings: cros-ec: Reorganize and enforce property availability dt-bindings: cros-ec: Add ChromeOS fingerprint binding .../bindings/chrome/google,cros-ec-typec.yaml | 1 + .../chrome/google,cros-kbd-led-backlight.yaml | 1 + .../bindings/extcon/extcon-usbc-cros-ec.yaml | 1 + .../i2c/google,cros-ec-i2c-tunnel.yaml | 1 + .../bindings/mfd/google,cros-ec.yaml | 103 +++++++++++++++--- .../bindings/pwm/google,cros-ec-pwm.yaml | 1 + .../regulator/google,cros-ec-regulator.yaml | 1 + .../bindings/sound/google,cros-ec-codec.yaml | 1 + 8 files changed, 97 insertions(+), 13 deletions(-) Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: Cc: Cc: Guenter Roeck Cc: Douglas Anderson Cc: Craig Hesling Cc: Tom Hughes Cc: Alexandru M Stan Cc: Tzung-Bi Shih Cc: Matthias Kaehlcke Cc: Benson Leung Cc: Lee Jones base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780