From mboxrd@z Thu Jan 1 00:00:00 1970 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 958C3C433FE for ; Mon, 21 Nov 2022 01:55:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbiKUBzR (ORCPT ); Sun, 20 Nov 2022 20:55:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbiKUBzM (ORCPT ); Sun, 20 Nov 2022 20:55:12 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3E230F7C for ; Sun, 20 Nov 2022 17:55:08 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id f27so25438601eje.1 for ; Sun, 20 Nov 2022 17:55:08 -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:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gAysW166qthpFtRZ9EW6Y4KLPHdWslBVungLYLisyNA=; b=ZRBRWoq45blSrBIsZeUEcGgKoTyiBsBgIbXIx9gBoRXZ3isfHzKRuMWAbHxfMZ8Ria i54KoxOXJgcZuR8kWiDXANkBtc+D/hKUrwzPYAgFY6v0H/pNeGBmon0e61yaqt8dLCUE 7xjjino+23/7fckPFV+kZ4ZY3/cuWFTqAXQXka6YpIjKd1mL8MFeZGe9HDi2tX5nxlpW TA/xPPa/OTtGS/rfl4nvqC3t9lLHhE15qs2/KT1z4m0LWJ2lvwntAH3ez/CsVT3hpmVP pTNjzUL2GEyzASGG4cdhrihanSEjbkGw64DH875rnxT0t60KpikVel093FHWvLZlJtpn GQjA== 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:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gAysW166qthpFtRZ9EW6Y4KLPHdWslBVungLYLisyNA=; b=onBNf5V/l7olUMT12IB0brvTGKegyia28dxUKjRHmVkvtLS24SzNGViUa0Y2rmjfMt +x8wvTMUvVzeAQyrKYPBlt3DsAnUVILQnd2s9fMHmm8FcrNNMAVy/QaMt47CGB+1ytY+ 9/WPwRhNG/QI+wmR6nzGeaTOqrFBguVeNgnNBQ2MGKle/hFkS046yn9G1k1n24KN4Jck TA/kLZ1EU8ZqWzmV3wCaMcyKBU3sWxAlgG/J+aBPsDL75Uje6DF8qyL8MyzQxfvy+f85 XFvZGW91D0fb+mStEMS4WmzdXP4uNYLbZCLyUYdkVNnkEBR77ZL/KNFB1ZJP9TOd8bEA 6Blw== X-Gm-Message-State: ANoB5plGn6oHaV9rSdNLTRXUf3g7ZFVi7vt8/JYNW6eArAIIAnsqvbU1 BGa9pP9Z33j3CoJwboGHXqO3lvw1ccnxvC1e X-Google-Smtp-Source: AA0mqf42ju9Ig9HbCEQ5Tf/VyWWVHTWoYqPNy4F1KF/X0xBB0zr44Zdgv5HAUw2wXJEHDsc4lmFxWA== X-Received: by 2002:a17:906:34d0:b0:78d:c16e:dfc9 with SMTP id h16-20020a17090634d000b0078dc16edfc9mr13749226ejb.327.1668995706654; Sun, 20 Nov 2022 17:55:06 -0800 (PST) Received: from c64.fritz.box ([2a01:2a8:8108:8301:7643:bec8:f62b:b074]) by smtp.gmail.com with ESMTPSA id g2-20020a170906538200b00782e3cf7277sm4415513ejo.120.2022.11.20.17.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 17:55:06 -0800 (PST) From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= To: devicetree@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@linaro.org, khilman@baylibre.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, matthias.bgg@gmail.com Subject: [PATCH 0/9] Remove the pins-are-numbered DT property Date: Mon, 21 Nov 2022 02:54:42 +0100 Message-Id: <20221121015451.2471196-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 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 D11E8C4332F for ; Mon, 21 Nov 2022 01:57:00 +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:MIME-Version:Message-Id:Date:Subject:Cc :To: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=8dF8CmOXx2ugN/ybdJtgy5MfCG2fi8XjkjbsJlFD7b8=; b=wviAwgQUY3gldo sXshfN7OHWvP5unxYGkW7I1/9n7DlJgdfZI07SxZl0JWDfY0OHCKJSPXFrdb80pgaSC8UTu3J3N8X u0sDPO7lhBfpQ3pxbIiSFstNnzbE29MhXA0Lzv0N1bVm91J30YM7T4s9vBukAJJKEXZt7OWxCVqst x0fiQI1j+TfCZwGaKdTe5pgpybpT5iieBVLccCKGNciUQy8mrOElnT6lR/9p/+VZ95dTRhPvn4RKx pycb4VfK8JKxctRxP6iJu4683T7Oh2go2NpxlblHB6Y6IO3kCje2+R9iRr7M0uVy3MEiI2qaGayg6 mb0mLsYtyU64GraRCkvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oww2L-008Jtn-Ki; Mon, 21 Nov 2022 01:55:53 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oww1m-008JMu-CJ for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2022 01:55:24 +0000 Received: by mail-ej1-x633.google.com with SMTP id n12so25283920eja.11 for ; Sun, 20 Nov 2022 17:55:08 -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:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gAysW166qthpFtRZ9EW6Y4KLPHdWslBVungLYLisyNA=; b=ZRBRWoq45blSrBIsZeUEcGgKoTyiBsBgIbXIx9gBoRXZ3isfHzKRuMWAbHxfMZ8Ria i54KoxOXJgcZuR8kWiDXANkBtc+D/hKUrwzPYAgFY6v0H/pNeGBmon0e61yaqt8dLCUE 7xjjino+23/7fckPFV+kZ4ZY3/cuWFTqAXQXka6YpIjKd1mL8MFeZGe9HDi2tX5nxlpW TA/xPPa/OTtGS/rfl4nvqC3t9lLHhE15qs2/KT1z4m0LWJ2lvwntAH3ez/CsVT3hpmVP pTNjzUL2GEyzASGG4cdhrihanSEjbkGw64DH875rnxT0t60KpikVel093FHWvLZlJtpn GQjA== 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:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gAysW166qthpFtRZ9EW6Y4KLPHdWslBVungLYLisyNA=; b=67gBCEcJ538GHq+1wObNC8JHPwSnsoxzVdvciJLFmb21j7CFP3WJ8OE/GcnHL6Iu1k acKuLOq/LKtSA1HO0qZn6oX5Zw03gdLrd3vTOgYW1k28vpNXXIBOWaOhFJg5WS4gftos 9PgGZ2idlkZe9xuCNmxnZWqLzCnhQjypbG4ifncQ8Iubrp3s5d5jkW6AOneU9QTyieJH M/iioBh2zWYCHi0jjLUjZHYCyBXGIx8cpIUdEELyZ4YZaLfYeEp+l/nHu0OSrwKGZ+rM b9zaxSB9mV2EcmZS4mDr8r87iGkmuFCnFbPkhlt554ATzyY/B/mpzbDro4xsitHVfjlI XBEQ== X-Gm-Message-State: ANoB5pmMMmtGGx8fpKcniUOSCPwxDXz4/nLcwrVkYqbJSQR+su6YZ7CO 87bWkh6A3Trq5KbT2BVKwIex9g== X-Google-Smtp-Source: AA0mqf42ju9Ig9HbCEQ5Tf/VyWWVHTWoYqPNy4F1KF/X0xBB0zr44Zdgv5HAUw2wXJEHDsc4lmFxWA== X-Received: by 2002:a17:906:34d0:b0:78d:c16e:dfc9 with SMTP id h16-20020a17090634d000b0078dc16edfc9mr13749226ejb.327.1668995706654; Sun, 20 Nov 2022 17:55:06 -0800 (PST) Received: from c64.fritz.box ([2a01:2a8:8108:8301:7643:bec8:f62b:b074]) by smtp.gmail.com with ESMTPSA id g2-20020a170906538200b00782e3cf7277sm4415513ejo.120.2022.11.20.17.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Nov 2022 17:55:06 -0800 (PST) From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= To: devicetree@vger.kernel.org Cc: linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@linaro.org, khilman@baylibre.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, matthias.bgg@gmail.com Subject: [PATCH 0/9] Remove the pins-are-numbered DT property Date: Mon, 21 Nov 2022 02:54:42 +0100 Message-Id: <20221121015451.2471196-1-bero@baylibre.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221120_175518_551171_4B30E8AA X-CRM114-Status: UNSURE ( 7.99 ) X-CRM114-Notice: Please train this message. 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel