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: 680390 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 5B1B7C77B75 for ; Mon, 8 May 2023 12:35:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjEHMfR (ORCPT ); Mon, 8 May 2023 08:35:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232949AbjEHMfN (ORCPT ); Mon, 8 May 2023 08:35:13 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15D5E36CCF for ; Mon, 8 May 2023 05:35:12 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4f22908a082so1967585e87.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=NnqyeCQcNq4MBfAWZlanHx5wf7TsG/MzumGjTsiRF7SLdnCW/Z/QSwAz0Nflrxl80i 60u4jyKtrUrS8xjvWRI8Oftha/yi8fdK1RUJdFeh4ABCLdU4+5mFYfehYCuzFP7k1RSO hn9r4K5LQvDOdHdU8mz9tYqipUeoqL0HAYcikwiQl1OxyGxOsW4dIafSuKpG8fn/mWPz QTRkHZVV9cjLmutGVrlXrA2aLD34f+eOejVRV2SO7h0eHxukdFJXZUCmslZ2vIAm82ul 1F55chKqoJ6MtFIGqNNoJpptHbeOuKKV1+l5/A3GZzg9rbpvEp4u+AbXThaLoGA3P4rP voLQ== X-Gm-Message-State: AC+VfDz5MoUBOo1FgNX87vBslk9G+EvyfYBk6BvC5G5mouSd1dnArm7t oLTdDeHNYkPwEu7qwbgLiU3iNg== X-Google-Smtp-Source: ACHHUZ5PEoKAODGoxQPkaW6DFt7BHyOeFUvreaKIu5ClJBbNppYj6RHHJeg1uV0h/uP2qk8jrz+xXg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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,