From patchwork Mon May 8 12:35:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9037 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2120944vqo; Mon, 8 May 2023 05:36:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5F0yC41qZNrNUfTX6wLDSG/c5j0+L4LBzi8A8R7+3J4B3JhlkucKvueElUlzXoBGuZD22B X-Received: by 2002:a17:90a:62c2:b0:24b:66fe:6b4b with SMTP id k2-20020a17090a62c200b0024b66fe6b4bmr10170764pjs.47.1683549387218; Mon, 08 May 2023 05:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683549387; cv=none; d=google.com; s=arc-20160816; b=RXdv027IA8oAETPSj/yT4icNkBcnO1M4l2oa7vEYqjZMYvvEt4ahYxsA/LfrPT5CBA WyD1uNyRBgCrBkjnm5T+oNEf5dWgoHUtzIQXQqnaLWHUyIvV+GVV6ZHyzZxwb//Vn9Rz LhZUpzzmXavhf5xP49qV0hZYf7y6gYAXU/EdBsaTa9ePSCUlc2Zafdir3QzuWXLs79xs ns0HYc8Ei1uwGzv4Ag5aeLbe2PYkZx2XpxkKsPQaaOqekPfvld+mxLkXSnNX44Nw45tI cMqmnfuRkWS7K4PoHSUaya0J2EyRrH1N5cjDowA3joug5kH57YzJwLlHVQFkaXt4tQL1 hpIQ== 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=+Tij+FFEbWqrbKwhf0iTLPcsRvrr4KB1dAOlPPk6qZw=; b=dcR8Z3erDaZctmecNkV7913uVCdGwMBRVy+SZJ5CIs47fu3y0PQNCgCDlxd9jfyVRC ChupjvH5mnnrjZeIyvbJ2RcWj3sN7v8pYN762S+Jg1bRtBohZ+qy5VCGQBlP1sgj+naB jX/cAmJN5cf19+gYTRUIKicVGK6O7NSVPLnOTT7J5hZ5sQbQQ95OX+DRXrd/plCsGV2w rRfOBRkj+HBLyYjFfLE/0e+FYzQlAN9LeMUzvB4RsDT/eytGsnNCz6/9EKStSZ8km0tf EIUH76vJz+M7qqCWn4GwWB1A8rODYFgTpIin0UlACVLFWFdQQWoEEaJZO+okf3utnjvX TvbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wa7C9rAO; 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 h15-20020a17090aa88f00b00226e01736f8si25192412pjq.109.2023.05.08.05.36.10; Mon, 08 May 2023 05:36:27 -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=wa7C9rAO; 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 S234209AbjEHMfU (ORCPT + 99 others); Mon, 8 May 2023 08:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234153AbjEHMfO (ORCPT ); Mon, 8 May 2023 08:35:14 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1580236CC3 for ; Mon, 8 May 2023 05:35:12 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f22908a082so1967587e87.1 for ; Mon, 08 May 2023 05:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683549310; x=1686141310; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=+Tij+FFEbWqrbKwhf0iTLPcsRvrr4KB1dAOlPPk6qZw=; b=wa7C9rAOstOw/5YMYkwIrZD9AyXDkGskPOdNCBBPLMHxliZf5UP99ea1QrUA2QmtAz AIdjUWTfi3Am4Lh0jGXuA0M7JLIs+2NIOhPNfyUlzTap1GPq6CB4Scqujhnw9GemclAT qOcbsMHfPTYkHKEut6y8H1Xl6ZFC1KC73nUlkpiR2xZqlG5jBmpoWN8PgWzur7GgtgMo X00Q5mrg5iWwFy8Ndg0jJuwr+qmWdjb0pZ+h1/BpYI7tXSiXm28/GYp1x5rzqDmjwqvt yeaXou2SVUsanLoq97h3wcd7NKH1AnhR4vcxP9+vdtCVd5EstqM7octIp5LlVwHf5o7r 42vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683549310; x=1686141310; 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=+Tij+FFEbWqrbKwhf0iTLPcsRvrr4KB1dAOlPPk6qZw=; b=SjS5e5VvEoawTettfmf21t0YUnBi4Cyi0FBCR4NTIzNyePlhQia2w5iLqIoBxX6Fkl sEDEfu6UG54+2HTL2r/oZ/DMJ0+7oYndclOk+8cjsnekEtOmQ8l8KEIkntY3Qhmm8Xvu 2JkjriTN9jqYAH2NXz21h0J1wsRNoU9pKaFPwArl0d6A+lZhdJcClkxvKCoGzEzo5pR+ u6I0cNN90slrd7kqOatF+kJDKKWCyzMe/vY1RPRf5oNfGTRDFC06uKbODNA6x2az6euS NKtkYRCAvD6hwlol4ujwga/CTVlUaaLI5T8Ao5MW2aaiXcRapklVga+AEBCDVlCXqUdz tNbg== X-Gm-Message-State: AC+VfDyWgc9mk6HWwcj1WoZiVZYzB2RA+CCbyQ6W4peDWl9Y8IabW32u mY6BOf2oce+RTfZjncB5/1EEKQ== X-Received: by 2002:ac2:4890:0:b0:4f1:444e:6c5a with SMTP id x16-20020ac24890000000b004f1444e6c5amr2752347lfc.8.1683549310301; Mon, 08 May 2023 05:35:10 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id q2-20020ac25fc2000000b004b55ddeb7e3sm1289593lfg.309.2023.05.08.05.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 05:35:09 -0700 (PDT) From: Linus Walleij Subject: [PATCH v4 0/2] STMPE device tree bindings Date: Mon, 08 May 2023 14:35:08 +0200 Message-Id: <20230426-stmpe-dt-bindings-v4-0-36fdd53d9919@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHzsWGQC/4WOQQ6CMBBFr0K6tgZahOrKexgXQzuFSaCQlhAJ4 e62LEzc6PL/yXt/NhbQEwZ2yzbmcaFAo4uhPGVMd+Ba5GRiZiIXMi9FxcM8TMjNzBtyhlwbuJZ lfTWmLkAoFrkGAvLGg9NdIj/ACkOf7pNHS69j8/GMuaMwj349XlhEan+tLYLnXFh1gcJaqw3ce 3Lgx/PoW5Z0i/yrkFGBoAtTywpLpb4U+76/AdGZL/8WAQAA 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 , Rob Herring 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 autolearn=unavailable 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?1765329482123507608?= X-GMAIL-MSGID: =?utf-8?q?1765329482123507608?= This adds the missing GPIO bindings for the STMPE port expander and converts the existing MFD binding to YAML. Signed-off-by: Linus Walleij --- Changes in v4: - Make the GPIO bindings a conversion: there were some old text bindings for the STMPE GPIO, we now delete them as part of the patch. - I expect Lee or the DT binding tree to pick both patches. - Link to v3: https://lore.kernel.org/r/20230426-stmpe-dt-bindings-v3-0-eac1d736e488@linaro.org Changes in v3: - Update to review feedback - Collected some ack/review tags - Link to v2: https://lore.kernel.org/r/20230426-stmpe-dt-bindings-v2-0-2f85a1fffcda@linaro.org Changes in v2: - Split off a separate GPIO binding - Updated the MFD binding according to feedback --- Linus Walleij (2): dt-bindings: gpio: Convert STMPE GPIO to YAML schema dt-bindings: MFD: Convert STMPE to YAML schema .../devicetree/bindings/gpio/gpio-stmpe.txt | 17 -- .../devicetree/bindings/gpio/st,stmpe-gpio.yaml | 53 ++++ .../devicetree/bindings/input/stmpe-keypad.txt | 41 --- .../bindings/input/touchscreen/stmpe.txt | 108 -------- .../devicetree/bindings/mfd/st,stmpe.yaml | 297 +++++++++++++++++++++ Documentation/devicetree/bindings/mfd/stmpe.txt | 42 --- 6 files changed, 350 insertions(+), 208 deletions(-) --- base-commit: b777e950b1e0b9112418e7669c8b6d96915df778 change-id: 20230426-stmpe-dt-bindings-c3479dd71a28 Best regards,