From patchwork Wed Apr 26 11:21:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8676 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp168207vqo; Wed, 26 Apr 2023 04:27:23 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/iYI/t+YpnBY6/BwMnJDfwkeNkM+TYFNi/n1wH1KO5L0YjeZ5MbuhOksvXfX4StTBA9jC X-Received: by 2002:a17:902:dacc:b0:19e:ab29:1ec2 with SMTP id q12-20020a170902dacc00b0019eab291ec2mr28359130plx.65.1682508442681; Wed, 26 Apr 2023 04:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682508442; cv=none; d=google.com; s=arc-20160816; b=kKzsYyfuL/ciGYJHQoR7a78coo3IUX29924c7bxFB6IhIWg55U03VPBdRoQjY2Ny2J wbPROBda7Ck8h/h946lnQ0PJWYYJBPLaBOo+mJCHJtLr9tlsEY8LfsbhYeB79kUEqCy5 CragddmcUkmPAhvf/szdDm2dhxqcw0HhQTcF6DE7tAEHLIAiaaj6+mvV0OLZEuF/715S O7c6YtERlGnLVvXrzbVSO1rpc0fbjbrN8THsImvAnnrV/BkCxo47yyI/6eL+kke8ULU6 JvJ1hxoI21kTvyijKl6LYN2IOPsbANyyUSwG953dvF4+7aQQGIoKprSG7WtziJNS5txy 74Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=G9naGDk48Zj+PlZ+Jp1u6lFmP1KTwqXU2XbLPAygHrI=; b=k2sl9gttOxkaIhInUJeYrRDVVxEeNrMVWfvbXCJNUILDjcDxIBbLnIbWWQSoDzJo79 iwz8jzwQzx+lOAi6cYmtreMQljYjZ0NTRGMv7arFcOZVgtFyRskcKdNqWpxRiqq0Fds9 EeGV2pMvIj4hxrJA00bbdH3jN7b3WpcD3d61OSyZan/KxGb/8obH2UXg1cY/EUSCBmqV Pgs6PeS8+ROv6L9mIPPhUPMjOSSj7R0a6BVNFCjSvkEur3Hxl5Py55b86c1GL2tzBrm8 zsJu8plkBX7PtLsiPNzuLpGaNOB5kEjdX2fE32KD2EKuC5D/JOoaMmvmuxlVyqtziYTe LuGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eqcXXYmF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij8-20020a170902ab4800b001a63c61f06fsi15125069plb.48.2023.04.26.04.27.07; Wed, 26 Apr 2023 04:27:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eqcXXYmF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240601AbjDZLVp (ORCPT + 99 others); Wed, 26 Apr 2023 07:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240469AbjDZLVn (ORCPT ); Wed, 26 Apr 2023 07:21:43 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 741194C3C for ; Wed, 26 Apr 2023 04:21:42 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4edc63c82d1so7117008e87.0 for ; Wed, 26 Apr 2023 04:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682508101; x=1685100101; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=G9naGDk48Zj+PlZ+Jp1u6lFmP1KTwqXU2XbLPAygHrI=; b=eqcXXYmFnj/dE5MQy0eqvxRenOIf3Z5w0huIAj08pe9EuYktVgOpHNkRQl8wT1jn3I XXDUJL0HnftlZTRlZKuhAJy4m7b7lpQU7AreWOgWmdfAhiAXaEzQSMzPUWHHESLy34YD 5m20EeE+Wl7tUMgCB9j9GS6Y4NENmrvk5SVXd4yHV8IVr4pfeQfFaY+m7PxA7a+K4hNo Rh06I9iWHUQl+NT9tIejugGmuIQmzXfjgZVf5sQbKarcAdVlHYsThSMF6ATbIBlHXU5O bRg11fPfPvjO/uOPsF4/zOxxqNJmBs9Woyg+EgHr+wVA/LUUPL+yDU7AmZ1G+A9eMiDf TuEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682508101; x=1685100101; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=G9naGDk48Zj+PlZ+Jp1u6lFmP1KTwqXU2XbLPAygHrI=; b=lnmRoRm6sOzBG2ux0NTYnG2YefwgQ0TRg5vyLVXr4Nyr/wDWnTO3WMb6rHh2p2lzX3 wHb+uoNhP/nORuZ3CHrNezvsNt6MdTIWlUiTctP+DP/j31pqaA0OQCNVTsWp6wpi383t 4+ByHxYnVYu4CW1TfpSEm62odMLnIxpGZt3sULFqobwkK4TeRYc9xxFyKgbrXtSFtgRZ Z3cuvg6noGMM4QzpTdXvff31ztOlt0nP+rrhAz0MG0uKfD2fXCtjB0hYeJvzvV8pDANp EsuFFQnv3eJjLrIlRQGIxkwMKJX++0lF8W08soiQmRtmDX+T+MBjdsVfDrwFbE/LQCob pibA== X-Gm-Message-State: AAQBX9f+eReI2vTAXhyGxkUkRs8rW+8IAh6+8e/y2q+eF26Xr6m0Ha7R qTk+SOXWz6XfCZzuDmOXMrrKTw== X-Received: by 2002:ac2:4ade:0:b0:4e9:c627:195d with SMTP id m30-20020ac24ade000000b004e9c627195dmr5125919lfp.57.1682508100620; Wed, 26 Apr 2023 04:21:40 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id u28-20020a056512041c00b004ec84d24818sm2453237lfk.282.2023.04.26.04.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 04:21:40 -0700 (PDT) From: Linus Walleij Subject: [PATCH v2 0/2] STMPE device tree bindings Date: Wed, 26 Apr 2023 13:21:37 +0200 Message-Id: <20230426-stmpe-dt-bindings-v2-0-2f85a1fffcda@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAEEJSWQC/z3NQQrCQAyF4auUrA3UtFj1KtJFZhLbgB3LpIhSe nenLlz+PD7eCq7Z1OFarZD1ZW7PVIIOFcSR06BoUhqopqZu6YS+TLOiLBgsiaXBMTZtdxHpjkx nKC6wK4bMKY67/IMPT499n7Pe7f37vPXb9gUhrSZ3gwAAAA== To: Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue , Dmitry Torokhov , Lee Jones , Philippe Schenker , Stefan Agner , Marek Vasut , Steffen Trumtrar Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764237973100921888?= X-GMAIL-MSGID: =?utf-8?q?1764237973100921888?= This adds the missing GPIO bindings for the STMPE port expander and converts the existing MFD binding to YAML. ChangeLog v1->v2: - Split off a separate GPIO binding - Updated the MFD binding according to feedback Signed-off-by: Linus Walleij --- Linus Walleij (2): dt-bindings: gpio: Add STMPE YAML DT schema dt-bindings: MFD: Convert STMPE to YAML schema .../devicetree/bindings/gpio/st,stmpe-gpio.yaml | 60 +++++ .../devicetree/bindings/input/stmpe-keypad.txt | 41 --- .../bindings/input/touchscreen/stmpe.txt | 108 -------- .../devicetree/bindings/mfd/st,stmpe.yaml | 298 +++++++++++++++++++++ Documentation/devicetree/bindings/mfd/stmpe.txt | 42 --- 5 files changed, 358 insertions(+), 191 deletions(-) --- base-commit: 457391b0380335d5e9a5babdec90ac53928b23b4 change-id: 20230426-stmpe-dt-bindings-c3479dd71a28 Best regards,