Message ID | 20221205135158.1842465-1-bero@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2265673wrr; Mon, 5 Dec 2022 05:53:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf76usmn4M7WOy1k9ue66enhHtln1kElmaHd03Y9lV/WNdHBU3YAc4ZB900loGvTPl1tbZFB X-Received: by 2002:a17:906:bc4a:b0:7c0:eb36:5225 with SMTP id s10-20020a170906bc4a00b007c0eb365225mr5534370ejv.229.1670248414265; Mon, 05 Dec 2022 05:53:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670248414; cv=none; d=google.com; s=arc-20160816; b=uh1WYR5EULxZVLRe1uMBHX81HwIdjWWOfTbSfi6CgOSXQnaFAML9X1+2nXTntZlMf+ NXLxaFfIRCzhZzLwFxN2ajpI6nJshRe3Q6d8b8BUIVh5paNfgypwRzI++raQRIc6gmNT 8eTPv5ys7gLy+hd8cp+5YUpLOMRuSRIo8Y0/Gli4FY9eYi7ca3TEzIkQBEBeQ6XLn7VI L3EX53qCEGQp2pJ+B+1Z+LDUR9uqiy0pifiBV+ZwWh0UfX+oRywLD98p+sTpADnZw2pI lVT5DEtE9T8CxbWupiRxVvWwrewBn3ZZKVQIf7rZFBt/IAYA4Ph5tpAX5HMuwLM4T2mC Erfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=hU8awQZE7orgladXdlo0GTxR4zpxwbwcESgIpxJ13kM=; b=B5bwm/LjKv0cMZio3Z/q2ULy9kbSO6jtBfOXM1lUKmF8U+BMBxI3GY3LPQ+j+fSUBT /5Ky03SCdNWFmDiRkJvUtdtewrPuSiHoTs2niZOextEBBekic/DNhSKIdilwgzaSP26N JwIzAt/T2TNzgFnKjiBZdjqA4+O3vtSX1fIrko7NB/cWka28V/SaNmD+fG+74CXydk9/ 4kNXkNP3Rg2NsEwMh2GcUZFZ0odosTnD9yFEho7uSTvjNl84OJmmLLp5onOmiMQ8tCIJ oOLD31ckkELmPocQfgYDg32RGYusSCa4StoviTohd4AXTMOxAX9U+a5szO04/Xvp6mI/ yKog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=W3u+C+W4; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tz14-20020a170907c78e00b007804b5a2c48si9725936ejc.521.2022.12.05.05.53.09; Mon, 05 Dec 2022 05:53:34 -0800 (PST) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=W3u+C+W4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231918AbiLENwX (ORCPT <rfc822;jaysivo@gmail.com> + 99 others); Mon, 5 Dec 2022 08:52:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232422AbiLENwM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Dec 2022 08:52:12 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B851181E for <linux-kernel@vger.kernel.org>; Mon, 5 Dec 2022 05:52:10 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id d1so18645540wrs.12 for <linux-kernel@vger.kernel.org>; Mon, 05 Dec 2022 05:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=hU8awQZE7orgladXdlo0GTxR4zpxwbwcESgIpxJ13kM=; b=W3u+C+W4iy5BKYadzGKEwrhnX+WHxjNavB8D/PC0lF1Fg8Pe/ekhb2jrUSCOQBbdxx 8N2KRN/GPH3DObr5sim0ov12JwqPrWTJ1o3lzijoudRm1w8LQ45gAXxVBQHn5mnT9oTf OAE1WebEs4Pv5KCp7lu0pAgvuoaQ6FUeIN/KOIIuR+80p/Exr625rhjENGDee28wLqy1 Hm3kWYHWdA7ZYksYwPb0aDiA7Q6eQ9wwdFw0jH4N2LruSG//NsoWgDUVA0wMSSstGuhk UVywvmbJ6IMMhvdWY7hKXisfrNCOLpkC3SVBPV6u/z26MHkxZHbGqwfmSFB18vTnhgFw PCNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hU8awQZE7orgladXdlo0GTxR4zpxwbwcESgIpxJ13kM=; b=4SQxUSTyYad+VoSV1Xom/W0j1tO2UuuNUmgBLfYj2Dr7kg4mW0cb71XPN6LYQCLwhY cAVcvmRLBs9W4SfkSYHSa2O5pILd2i+/VTCcpoFS3zanTnJ6rWscEFGZzb7zO83mTA7B jSwkJ05vnYCRYp1YrI2XeD4xW8ztThdDmBoGSXZoXtG74VUJlTwwKkcBJklk4iwpa2VX UJ1jznImyzXXde2ztIlMYPKdNDEnl42GGwLTgFjhhfzUx0aq2XReV9eazTBfMdtH5RZv COAiWaOKVPBbhBFZoWJerKBPxgtFs9amSoEWx3XSmBj9oBIDdFDDrgq8rCoMKxnXD69P X8mg== X-Gm-Message-State: ANoB5pnxyEgmgHvdLpClxHWhBtm8KFL/xQOMbCil16Llcb/1kWYS1KJ+ 2RWmIsYfLhF5w910EOzi4S1VrA== X-Received: by 2002:adf:ea8f:0:b0:242:5afd:bc5d with SMTP id s15-20020adfea8f000000b002425afdbc5dmr4459827wrm.305.1670248328876; Mon, 05 Dec 2022 05:52:08 -0800 (PST) Received: from predatorhelios.baylibre (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id a3-20020adffac3000000b0024245e543absm9012700wrs.88.2022.12.05.05.52.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 05:52:08 -0800 (PST) From: =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= <bero@baylibre.com> To: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, krzysztof.kozlowski@linaro.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, khilman@baylibre.com, linux-gpio@vger.kernel.org Subject: [PATCH v4 0/3] Remove the pins-are-numbered DT property Date: Mon, 5 Dec 2022 14:51:55 +0100 Message-Id: <20221205135158.1842465-1-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751382401547306550?= X-GMAIL-MSGID: =?utf-8?q?1751382401547306550?= |
Series |
Remove the pins-are-numbered DT property
|
|
Message
Bernhard Rosenkränzer
Dec. 5, 2022, 1:51 p.m. UTC
During the review of my MT8365 support patchset (https://lore.kernel.org/linux-mediatek/20221117210356.3178578-1-bero@baylibre.com/), the issue of the "pins-are-numbered" DeviceTree property has come up. This property is unique to Mediatek MT65xx and STM32 pinctrls, and doesn't seem to serve any purpose (both the Mediatek and STM32 drivers simply refuse to deal with a device unless pins-are-numbered is set to true). There is no other use of this property in the kernel or in other projects using DeviceTrees (checked u-boot and FreeBSD -- in both of those, the flag is present in Mediatek and STM devicetrees, but not used anywhere). There is also no known use in userspace (in fact, a userland application relying on the property would be broken because it would get true on any Mediatek or STM chipset and false on all others, even though other chipsets use numbered pins). This patchset removes all uses of pins-are-numbered and marks the property as deprecated. v4: - The generic pinctrl related patches are now in the pinctrl tree for v6.2 - remove them and repost the remaining bits of the patch set. No other changes. v3: - No functional changes; add recent Reviewed-Bys and Acked-Bys, add linux-gpio to Cc v2: - Deprecate the property instead of removing it completely from schemas - squash some related commits Bernhard Rosenkränzer (3): arm64: dts: mediatek: Remove pins-are-numbered property ARM: dts: mediatek: Remove pins-are-numbered property ARM: dts: stm32: Remove the pins-are-numbered property arch/arm/boot/dts/mt2701.dtsi | 1 - arch/arm/boot/dts/mt7623.dtsi | 1 - arch/arm/boot/dts/mt8135.dtsi | 1 - arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 1 - arch/arm/boot/dts/stm32f7-pinctrl.dtsi | 1 - arch/arm/boot/dts/stm32h743.dtsi | 1 - arch/arm/boot/dts/stm32mp131.dtsi | 1 - arch/arm/boot/dts/stm32mp151.dtsi | 2 -- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8167.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 - arch/arm64/boot/dts/mediatek/mt8516.dtsi | 1 - 13 files changed, 14 deletions(-)