From patchwork Tue May 30 10:51:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 13259742 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 C1426C77B73 for ; Tue, 30 May 2023 10:51:46 +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=ECqEZYw/6P3jPOq2uUjnZHuDHqo/wcWAA3ImzeXaiYI=; b=sWFm3NjzKPpsuv B8pVzb93IZv1LQhLHupo09HnwV43sUhy9OXq2LXVvWL+sq/LfYzXhK5kwiPtp1yDcErXhm7o2zUYL oON5IakGymEcRK4Ys3qEOz5P1E9TZXnwOBabEpnFxS6OjkRbdB2NXzreFinurJODq1ZtN9UVudQBa mI7BnArU67IAwKvxPZE/x5moucRwxm7aJFNYnisaRUCYTNo7IbhXLwH8+FCuQDSfaQDsQqrGzlRYj lW1IzVO2kLFd27DJrr3GGCC0S/qTJ2RFvFgHxnfztvzUZkBmk34knOccxv34d0PzH29dFz0YHJK/u Aa8K/F9NorGjJFt5b+0A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q3wwg-00DStk-29; Tue, 30 May 2023 10:51:18 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q3wwe-00DSpw-1W for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2023 10:51:17 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-96f6a9131fdso646099766b.1 for ; Tue, 30 May 2023 03:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685443873; x=1688035873; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UXwcP3EM/dtcbayeTAVS9qnTQoR9QiJVpAbFocyePDk=; b=aZOJrgaFrYpL2gx0X9yCw0TYi07yjgBckK31UIxiT9TS6pgmRN5HCVWL3cyHGeVcle aXYq6jmRPKslcerHgd8ar7ZZDGFINVv50J+R19UeSheYRSRUY87hNhHVw3K7eq0tT7D8 5Wmelf2W+htUtSfsAkwo/Zpka1Kc4JW3brAMH0f6pFxVVTibIeJYzWMcJ4TgJMj31GRD kpAyqe6fUGvf93mjmCiecqviSWm4TRWb5aFH9ntWL7U+/o4aNg7mjTotvRQ2uZJERgn1 lcJCgLpemnPm9VeS667sRu+JWcCCuL+npmBQjt0mwFF5hzLVTIorfebNN2+ji8Lmxo1r O8AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685443873; x=1688035873; 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=UXwcP3EM/dtcbayeTAVS9qnTQoR9QiJVpAbFocyePDk=; b=PUhni8zuHXRlMLUWeSCG6TbnAG1bxfELHbgMixd3Y/bG2vTPP5pZ2PMcjitSfr4spn VYlylbAw+yIVA4H4UUzp3TYGj/dC8Fn/aYcOd0RfdPymhcQ1+3ffXEbyBilxOWwypYTe AOsYxnm9DtyCaeCrmG1n7lGo5VGTlT1jRn7lG7cTkWxAx4sN+xa0BJCWQlCRBjpo50n6 tka67ZpeOwm9rH/NA75VCScjNRVpZkctluQvsyFhMucDO2ZreTBKx5Ilt6bKlu3QzAcB LACMsfjDMT5eHajwwPkp+alIyliMZUVGriiI8iarIiuv3O4pr8kf/9dWVmhsi22xTz/W nwlA== X-Gm-Message-State: AC+VfDznZLFqFcTur6X9lzHgzliOG7KtyWinw8QVZag9QPNZTXGqLz9S Sqi7epF5Jcj1VL33X/k1GGp0+ZarrP8= X-Google-Smtp-Source: ACHHUZ5ZZLcK1sBXWfk2XDr7Ow9I8rXw6/COYuK7cnl/xZWLq6Rr7fjWZ1GHiAnP/j7eWstguPmv0w== X-Received: by 2002:a17:907:7291:b0:96a:eb2:9c5e with SMTP id dt17-20020a170907729100b0096a0eb29c5emr2319974ejc.63.1685443873061; Tue, 30 May 2023 03:51:13 -0700 (PDT) Received: from localhost (p200300e41f305300f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f30:5300:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id bh25-20020a170906a0d900b0096165b2703asm7108900ejb.110.2023.05.30.03.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 03:51:12 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Jon Hunter , Prathamesh Shete , linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3] dt-bindings: gpio: Remove FSI domain ports on Tegra234 Date: Tue, 30 May 2023 12:51:08 +0200 Message-Id: <20230530105108.1292681-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_035116_515166_DC18866F X-CRM114-Status: GOOD ( 12.03 ) 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 From: Prathamesh Shete Ports S, T, U and V are in a separate controller that is part of the FSI domain. Remove their definitions from the MAIN controller definitions to get rid of the confusion. This technically breaks ABI compatibility with old device trees. However it doesn't cause issues in practice. The GPIO pins impacted by this are used for non-critical functionality. Fixes: a8b10f3d12cfc ("dt-bindings: gpio: Add Tegra234 support") Signed-off-by: Prathamesh Shete [treding@nvidia.com: rewrite commit message] Signed-off-by: Thierry Reding Reviewed-by: Jon Hunter --- Changes in v3: - rewrite commit message to provide a bit more background include/dt-bindings/gpio/tegra234-gpio.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/include/dt-bindings/gpio/tegra234-gpio.h b/include/dt-bindings/gpio/tegra234-gpio.h index d7a1f2e298e8..784673c2c752 100644 --- a/include/dt-bindings/gpio/tegra234-gpio.h +++ b/include/dt-bindings/gpio/tegra234-gpio.h @@ -33,18 +33,14 @@ #define TEGRA234_MAIN_GPIO_PORT_P 14 #define TEGRA234_MAIN_GPIO_PORT_Q 15 #define TEGRA234_MAIN_GPIO_PORT_R 16 -#define TEGRA234_MAIN_GPIO_PORT_S 17 -#define TEGRA234_MAIN_GPIO_PORT_T 18 -#define TEGRA234_MAIN_GPIO_PORT_U 19 -#define TEGRA234_MAIN_GPIO_PORT_V 20 -#define TEGRA234_MAIN_GPIO_PORT_X 21 -#define TEGRA234_MAIN_GPIO_PORT_Y 22 -#define TEGRA234_MAIN_GPIO_PORT_Z 23 -#define TEGRA234_MAIN_GPIO_PORT_AC 24 -#define TEGRA234_MAIN_GPIO_PORT_AD 25 -#define TEGRA234_MAIN_GPIO_PORT_AE 26 -#define TEGRA234_MAIN_GPIO_PORT_AF 27 -#define TEGRA234_MAIN_GPIO_PORT_AG 28 +#define TEGRA234_MAIN_GPIO_PORT_X 17 +#define TEGRA234_MAIN_GPIO_PORT_Y 18 +#define TEGRA234_MAIN_GPIO_PORT_Z 19 +#define TEGRA234_MAIN_GPIO_PORT_AC 20 +#define TEGRA234_MAIN_GPIO_PORT_AD 21 +#define TEGRA234_MAIN_GPIO_PORT_AE 22 +#define TEGRA234_MAIN_GPIO_PORT_AF 23 +#define TEGRA234_MAIN_GPIO_PORT_AG 24 #define TEGRA234_MAIN_GPIO(port, offset) \ ((TEGRA234_MAIN_GPIO_PORT_##port * 8) + offset)