From patchwork Fri Mar 31 17:38:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 669903 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 B35ACC761A6 for ; Fri, 31 Mar 2023 17:39:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232034AbjCaRjU (ORCPT ); Fri, 31 Mar 2023 13:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232039AbjCaRjT (ORCPT ); Fri, 31 Mar 2023 13:39:19 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 344301A951 for ; Fri, 31 Mar 2023 10:39:16 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id m2so23222500wrh.6 for ; Fri, 31 Mar 2023 10:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680284354; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=9gku3WqCXL8jtCOkhxTxIv+f+mV0YZMt8NBkxJPbbls=; b=3QTbfLbY/h37CSPq/kZacyHAAHcHzWjomoaAGiBSO9/7zmmsp9uzEnhWuVLynxSCzo FrXzSxKXtVbic3O4gIbtKLzhBINFPJwDKqzQ6MrgwwTkaNvmk8Xf6zqcHm6nuwKs3Ctu N6+s4QNCR/G2REsINFejqtnwxLbvvPo6xm4C9K3a03UIOtPzNa1Roj9YN8rJmatVyrpo CpWs7OQhS9oQHzugb4Q9yi2PX5T+WYxFtMWzjVAUNmX/JPOSiG+gVorPjcj7bN9uD6HY 5W7J7Kqtamyq16vuPh5xBGbEDlenlLt4+aDzMx0adrpRweOSPU7DnDKC+3HgNQxvEsP1 oV8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680284354; 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=9gku3WqCXL8jtCOkhxTxIv+f+mV0YZMt8NBkxJPbbls=; b=p16r4cljC3ra7/YVP0CwAxXLqNfJpAE0gK+9kFUnc1McPvQmwZVzyJsV3LeRTHfLXG Kx/RBebtCSDp1wfnyrgohM7FElgdL7H2fp3JMOU/G8WyY4oR96+Yrv1E7FPSQ3dXwK82 YbBbg6i1Nkv1Lfu1Jq7r8wmxehsMZcFv5VFsl/jnhHP4JfF1YE74HNkau9P3WS3TtOuy pwCF0tvLL9LxCj1HU9WYW/et7bBHoZeM6CQLzu5sa/4NOLVh/4rwbUrGsBBYWKN10E9c 1IQot41IBgFys0iorIc3OYHUUVVIkp0QKMUsV5UisMCai4tQTFToTqlgiOh/ZK+j4LVB nGog== X-Gm-Message-State: AAQBX9duQqxsJ86/PiY4HUYAXw9NRa0Hk3+Lc38uUnfSkrf7EkKkKd0p p7dtTu1gkxZrhbv5XmbnEWYEQQ== X-Google-Smtp-Source: AKy350Yew0GXPvS8KCRlzsw4CGrZLmLXYTX50Vz2INKAr0R16PRplJOTqMjtA/u6fHFCax0UfX2dZg== X-Received: by 2002:a5d:6b4b:0:b0:2dc:2431:67d0 with SMTP id x11-20020a5d6b4b000000b002dc243167d0mr21570490wrw.19.1680284354663; Fri, 31 Mar 2023 10:39:14 -0700 (PDT) Received: from [127.0.1.1] (158.22.5.93.rev.sfr.net. [93.5.22.158]) by smtp.googlemail.com with ESMTPSA id o5-20020adfcf05000000b002c592535839sm2733550wrj.17.2023.03.31.10.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 10:39:14 -0700 (PDT) From: Alexandre Mergnat Subject: [PATCH v2 0/2] Cleanup Mediatek pinctrl device tree binding Date: Fri, 31 Mar 2023 19:38:58 +0200 Message-Id: <20230327-cleanup-pinctrl-binding-v2-0-f21fbcc3016e@baylibre.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALIaJ2QC/4WOwQ7CIBAFf8Vwdm0LiujJ/zAegC7tJhUI1Mam6 b9LvRuP85I3mYVlTISZXXcLSzhRpuAL8P2O2V77DoHawozXXNSCn8EOqP0rQiRvxzSAId+S70D V8qiVU8ZJxcrb6Ixgkva23/6vWE3yICDZphpDJFs9RyXkqfrh2xQxoaP3N+7+KNxTHkOav61Ts 63/s6YGajDyckLB8eg43oyeBzIJDzY82WNd1w8eBA+SBAEAAA== To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Zhiyong Tao , =?utf-8?q?Bernhard_Rosenkr=C3=A4nze?= =?utf-8?q?r?= Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Alexandre Mergnat , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1437; i=amergnat@baylibre.com; h=from:subject:message-id; bh=abFoXlAdYBElssUUK3ytRFD/kuTvFa6mt+xUmikwoXo=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkJxrBrmACDFTBwfeXO4FOXsae1zXEjlbNcQk2W1Ul J+/qpRGJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZCcawQAKCRArRkmdfjHURReKD/ 4tIbrADlmxKAJLhNOlh2lQjWW410UBYdho2DqDP3rdpmw4dfli5sqfB2EQqt7dKtfxga1OL/wVdiIm a5DO1mJ8KPJcM14YKwFB5A1mfLppUjAlgXtl74KYZr//6wuQb+QxUrm01hNEu3EKof5lCEJIGJmeKy YF6dkoCZM9hViBilRM1S9hvocXb8Azw5hbbgwqebPmwxvVAo3G6hlFBbWyTFvnjA9wtVTDm9oliIQV K0futyUqZDzefYlrgGEfyrZaPYhUhEGTA0cprOeBlwkTXaXLNOxyzOePuMCzhMTfbkgIElwaQolgYl P6Vo3e5seGqkUG31TpEL93jA9zgS85CEgevEXLJrLFcpnVOWjrCYS+KukzmWYrv9uQbU2RZznMHCCz CWHBSzj2MjLZNom6WSwzV3nxOmQf+gKzDz2PECGIuGCUnrRbK7bl/Cy5m9SWGF7oyJwYKJdoDUUcJV OY+hFVX2LSWc7ebPHJBRsxb6nzUKbx7sNf/9n6UQRteX4bdhE4WCgw0WgPYMC0a0DgAYGD+JR35nhF /tR/W7LxS+42RejEwb6rfxo2WUHAD/QFENRt10g9oVnpVH4oZzTY1aM1AQGlxxVAtN+One6Uj3XNMj +bME9jPllXttQp/Gdd+EIp5QMFORiHaz7ktomF8vcClqJD/Xho2+LRYjQ6rg== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Deprecate properties which shall not exist, leaked upstream from downstream kernels, there's no reason to use them. Here the deprecated properties and the generic properties which will replace them: - mediatek,drive-strength-adv => drive-strength-microamp - mediatek,pull-up-adv => bias-pull-up - mediatek,pull-down-adv => bias-pull-down Thanks AngeloGioacchino Del Regno to reported it. [1] [1]: https://lore.kernel.org/all/6e08d78f-ef4c-b228-f7d2-d63767ea87b8@collabora.com/ Signed-off-by: Alexandre Mergnat --- Changes in v2: - Change the bias-pull enum values to match with other Mediatek SoC. That allows to use MTK generic define and be compliant with the MTK common pinctrl driver. - Link to v1: https://lore.kernel.org/r/20230327-cleanup-pinctrl-binding-v1-0-b695e32e4f2e@baylibre.com --- Alexandre Mergnat (2): dt-bindings: pinctrl: mediatek: deprecate custom drive strength property dt-bindings: pinctrl: mediatek: deprecate custom bias pull properties for mt8365 .../bindings/pinctrl/mediatek,mt8183-pinctrl.yaml | 8 +++-- .../bindings/pinctrl/mediatek,mt8365-pinctrl.yaml | 38 +++++++++++++++++++--- 2 files changed, 39 insertions(+), 7 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230327-cleanup-pinctrl-binding-8064a8f8bf68 Best regards,