From patchwork Tue Apr 4 16:29:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 13200580 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7DB3EC761A6 for ; Tue, 4 Apr 2023 16:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zxhs5rrEwirvuO0PiorqcQ1aQ7NbwxbQ5XDVreZXR4E=; b=0Fgx1q4ucOAElV +/XAyKAcwF6C316fInGNgXw0CKmnjDZWMeEQXYe96f+oBIoRrLKERpW8ifDBupHdDJshpuAvizl/I kQUULA9tFiuLJkTHo/+3nZxPos+NLxgVkmnJwt2Blcg7OIYaJkLOCQg3UFpZybIpZJLV86fPxmuMU IxhjrI+8kl3paPeRNOTpE7BngiNxD0gaXslrsmDATEujND0VwhbGebwkPLGK/HNLKxgRLpBin2NrG wbp/K6Kb7y5UHNGvvSZkP8usx78SV4U/qBvDqWGMwbGtCCucMJqjhwvIZOWkPVkYY2rBBqPgU28OF DF4Xh28bN0xeTM6PJWoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjjXx-002Cr3-2d; Tue, 04 Apr 2023 16:30:13 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjjXs-002Co1-2K for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2023 16:30:12 +0000 Received: by mail-wr1-x433.google.com with SMTP id q19so30379020wrc.5 for ; Tue, 04 Apr 2023 09:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680625807; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=L4JapEkf/UT9+KWLrxkEtmxGD1gUOAOOQVFLyzKKIc8=; b=Z+fCacJ8PpEfPD1lGzf+YS9NIJl7aTWfjQfFyHjysRF7Pd2RHn0S2P/zKFwyX+bIIj 7TXeu7pbkWsw6JoLT9cuY/IheNiaG7nA+KIjcIzugpmXx4SJ3hHrSvNkbOfv775JT7+u wtNLPw8TiXZtsQ37cBPe4Ef9cqKZvpF7H80UI/qBLZS1Ajmqeg/wfJh5IJEDA03NFelX +RY1bopAsuzkcUMDgOsEPsL8YsAXXLLjBzXLgFa/gGXIP1j+KBCny0z2wvaLFNG9gVCZ jIXQUHt6sVjgEurNhaWE65iBSrlh6ROxMpXo59WfVmUY8cqbRPJsbEiCVJr1RWYWtxnL Au6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680625807; 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=L4JapEkf/UT9+KWLrxkEtmxGD1gUOAOOQVFLyzKKIc8=; b=RVOsQKtQ0O28FTbp6u5t3oUDhtRsRZ2Za1UFXY/hr2CFdelmF90GIjJLh+iFXIN7pd 07cwnJOUhnW5r68rWn+SA4nyoPVQYgRt/NWDe13ZP74mjWib9w119kPt+beh3K4HG1S7 4J9+dLMIWpo8Nen18VdXB1aicm+lgPi4Shv0gnGKDxi2N9is1F6iOhq4KisB2amZch9o qQsLfNQssfybPHgv1B0aybATaTuN3rXqmsenpQiDgJCgVrUUx+64bVvRZP1mzO6bJYS7 vIk/BsX/mXPosgEjynG/ROVfG5FkmBQIN96Wj/lfT2OgnM/vSHVuHj/Y15ekyG0Tf/Vz jwtw== X-Gm-Message-State: AAQBX9fJcQNj4W3K/3hyOdIS0lh5rTPVbQ5Su/kLt95ngmiE+egdzyEW sUPuNn+JPzQ4ChZTPQQxcwQsOQ== X-Google-Smtp-Source: AKy350ZoiVI7akDEh1OhkqF9VC8rPnE07T8s4AvG4xojXwVhdyFwAyaiaP0bKaAkpCu/gp6xU3CEoQ== X-Received: by 2002:a5d:44cd:0:b0:2c7:c9e:2c41 with SMTP id z13-20020a5d44cd000000b002c70c9e2c41mr2170876wrr.57.1680625806717; Tue, 04 Apr 2023 09:30:06 -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 o7-20020adfe807000000b002e4cd2ec5c7sm12694528wrm.86.2023.04.04.09.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 09:30:06 -0700 (PDT) From: Alexandre Mergnat Subject: [PATCH v3 0/3] Cleanup Mediatek pinctrl device tree binding Date: Tue, 04 Apr 2023 18:29:48 +0200 Message-Id: <20230327-cleanup-pinctrl-binding-v3-0-6f56d5c7a8de@baylibre.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHxQLGQC/42Oy2rDMBBFfyVo3Yn1SFSlq/5H6UKajOIBRxaSI xqC/71yloXSLs+FezgPUakwVfG2e4hCjSvPqYN52QkcfboQ8Lmz0FIbafQr4EQ+3TJkTriUCQK nM6cLOGkP3kUXonWiv4OvBKH4hOP2v+Wh2b2BgmpY5sw4XBdn7HH4xbcpcqHIX8+4j8/OI9dlL vdna1Pb+ndWUyAh2NORjKZD1PQe/H3iUGiP81Vs2qb/qdJdFbWKAdFIZX+q1nX9BgNBjDpPAQA A To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Zhiyong Tao , =?utf-8?q?Bernhard_Rosenkr=C3=A4nz?= =?utf-8?q?er?= 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=2037; i=amergnat@baylibre.com; h=from:subject:message-id; bh=eKZr5omVCsYju6vcJ05uFu7hEJ9ODIzf7Yvw8lgbKMo=; b=owEBbQKS/ZANAwAKAStGSZ1+MdRFAcsmYgBkLFCN6bpzQlgZZBk2XVT33Zav25Nt3Wm0eLurukKG 9x1xzgWJAjMEAAEKAB0WIQQjG17X8+qqcA5g/osrRkmdfjHURQUCZCxQjQAKCRArRkmdfjHURUIOEA CLpCFGeAVoWK6G6NgVYU3JTNmjXKIiQBBXX+TNNkh2ve+U3vQmk29RUNgra8P7BPoUQ+s/YrxNbrz+ yFYMAEoMV3UsWm3NxnYPIMwhTPDISLgpfRIo87oqB4NvdqcwlwfxfP+fcnHmFJYpiu6iEtaNb5ADnr /WkidBWLOH/m5ShcQ8GsL4yp2lcPJ6QcL9N4H/c3n++b1/hO0v9oKccmj08gbu1KRVdpMXS026s5FP aQNhSAAbG/DY10+w0N50P+4Knw4w8DBOAxPwLt7FCXRBpWTX/QFjKqrQW4UEER5MdMVI9A2hdIL5lM jeag5+t1a11qvM1lb207hyT0SrY7xQ6+gvLn+aL/eQUQ7ZnjBkeVg/XCRVcbm3Ay+dsBwazUEbktPM sQWdDgJ/yhWA+VSTNlLj2EtVGu+RN+muXOPmyoBE0qQmdLL7SOePRpOWvvD1e6kr2kDsNuSC9qEv4V 1jFEv2f9h77Za6TRKVH/DowBhO2ah1jifDYyw9Ich2QsjnHSyOUR1tBLcrGlr+OjUkBTluH6DnZ1yO TRsRg8Eu6ic/yZYMTc+MtWOWooIbqfsvVJByZYsTJ+qscyC2Edc3Zi4xbqGMaQhP/tHBk26auyZCEx wfKQNYLisYQNiCSvnj/Li0Tdsf0a/tbTgdo7U31omZ4IpSucoOSP/d8WnB1A== X-Developer-Key: i=amergnat@baylibre.com; a=openpgp; fpr=231B5ED7F3EAAA700E60FE8B2B46499D7E31D445 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_093008_983723_1A008608 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Another commit has been added in v3 to make it easier to merge. [2] Thanks AngeloGioacchino Del Regno to reported it. [1] [1]: https://lore.kernel.org/all/6e08d78f-ef4c-b228-f7d2-d63767ea87b8@collabora.com/ [2]: https://lore.kernel.org/all/20230203-evk-board-support-v4-2-5cffe66a38c0@baylibre.com/ [3]: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=devel Signed-off-by: Alexandre Mergnat --- Changes in v3: - Port another commit which modify the pinctrl from this serie [2]. - Rebased to linusw/linux-pinctrl as requested by the maintainer [3]. - Link to v2: https://lore.kernel.org/r/20230327-cleanup-pinctrl-binding-v2-0-f21fbcc3016e@baylibre.com 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 (3): dt-bindings: pinctrl: mediatek: deprecate custom drive strength property dt-bindings: pinctrl: mediatek: deprecate custom bias pull properties for mt8365 dt-bindings: pinctrl: mediatek,mt8365-pinctrl: add drive strength property .../bindings/pinctrl/mediatek,mt8183-pinctrl.yaml | 8 +++- .../bindings/pinctrl/mediatek,mt8365-pinctrl.yaml | 43 +++++++++++++++++++--- 2 files changed, 43 insertions(+), 8 deletions(-) --- base-commit: 743d3336029ffe2bb38e982a3b572ced243c6d43 change-id: 20230327-cleanup-pinctrl-binding-8064a8f8bf68 Best regards,