Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2383950lqp; Sun, 24 Mar 2024 17:02:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsgEohhwLJAs1jMJxYNhE/XKSAXOiFmNtAcNjN8moN3ugBbvfD9MQY0+/Keg4gSGZYPU00pjqDWbKoXd1gaDShCrbPl8Z+9XbFBcJRcQ== X-Google-Smtp-Source: AGHT+IEwULqUKzxNN30Es3XOFpQNULBityqp15rGbNwwOjjLflflwsEHz4ardEgIi72SkkF1RdHa X-Received: by 2002:a05:6402:520a:b0:56c:d21:d913 with SMTP id s10-20020a056402520a00b0056c0d21d913mr1394917edd.0.1711324957217; Sun, 24 Mar 2024 17:02:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711324957; cv=pass; d=google.com; s=arc-20160816; b=gYHpsMdHxaZG6aRIFF+YpmHbhI8slOZzD09u9/Oazaf+Xt0Iy1fuv15Cr8UOyrm53F qtL2IX2Sz2C6z0mtL5Bdlk4vjIlMY5D+Umq1Z5xFHd7n/IBae5FRjANvgd7KLrNVT+Od QcJjg+DpQJBV8CJacj20vK83WUIWqYlw7lVx0BAtvKDUsM8EnrVhW5T9Uye4EhR2C7nq efP+Z8UiS+DkDq10+YetZfSXC7E3sOe7BScC1uvfvafvNggzhzHw8sZUEcSYsTvL/0bU pC3Y1hyzePmw6eu9vMMBKC7ZbyqViiAtGJ3LXWbqQjMb530fupxcjCt5ZrADAlMcgRM7 DJdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=j8xoX6db3W0qHWxSfGTMwh7miCbDafwE4bbDJfwomtI=; fh=MZvnSnPaeb4Hg/nOMGQYbJ3uuaqRUDF8DLGLKMp4rtY=; b=ikITYxrwmvvxFpvdebrX9RHO2Yarso1W1S3tOLdQ97nDFnRvLxruo+t9v/7odQbB2Q 1M7nNOUJFiyj953PyEC0Oqo4GqF3IxF1Op1U91APw5NmBs3AJ7di83GX0dKb282knB0l qncCwqqwhExzAVjiaoVoo3LQtdsWndgxvUfSo8tKZkphjaJm5EyhSSn775dpnI6StsX9 5BR8zkfpyCSGP+eV5nokzQPBeaHfh0U8VB8Q7CO8PHnWEW8Xg3DZyvMVIqM8l3+GY9xP NYcBOpJF1UqvdsMCqtOe8/OiAV1S9A1mf6k3O5J2BoSS4jQzVNjjc+aDIuwk3jmxbfjh wOug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZsXZZZX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f20-20020a0564021e9400b0056c05ccaa6asi1150740edf.170.2024.03.24.17.02.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:02:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZsXZZZX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113291-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E33561F22036 for ; Mon, 25 Mar 2024 00:02:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B525D18E0D2; Sun, 24 Mar 2024 22:41:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FZsXZZZX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C959318E809; Sun, 24 Mar 2024 22:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320091; cv=none; b=GrKKOc475O9jfLLKbddjE4pX15Amp5Fh6HEFr+0AmTDyuLH6LICyOkXulLe3js0fYRceX1MWkJQA08C4+1F70fQ6Wje1NaFtTgeJ9mBm/uVKhHqUOA+p+FdJvdnykdjtEmTHYSHrOAQgOZfJluvvJtoln40rDJ86OdABBUBeBQ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320091; c=relaxed/simple; bh=Zec8QF+NmLIC7REopIU1XehcsypatEp5JuO/SuUNa/w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c7goN+Kg2FrE4522zF6l+0UHWsMAECSk2zdSDU1dR1R48L4RsJ8rrCCzQ7Qk8HBhTW9rgHhdmCNwd27ZWF8lWkb0r+CHosUm0qC8+E66g2Nakwf7s9FO6ejz4YwATe4XIaBjISPfd9e+ig+QV8FJ9HT+YAqIzAGT7lOp9anUM2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FZsXZZZX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFBA0C43394; Sun, 24 Mar 2024 22:41:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320091; bh=Zec8QF+NmLIC7REopIU1XehcsypatEp5JuO/SuUNa/w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FZsXZZZXEq0YDn4+J9AU2NdXbp0EeL7Fgt2rD7s02T+yig2LCPb0zL8rJdGbfaiNY vC+6+7Ucfu13J31Wx9ZgXq8qdLlILCAyaZ4eXjowa6otJBLcgW9E9BkIzJ9SETLEdp UQY1uePSUKM+i2Vn0wUC1VdXTxLV6hyMSvAKoIErqLS2tu7pBMp1dTT1a2Ddr9ILSI wtBFtKtCUwbm3ZRlJeSMLuqWFL9hgD9xaR2Pg5bawIwfWsjnwZcUsv0c09irJ+lB9k mIOFknOHLS3gG7vHxzX2iSI8JKS2VBCub51AtfG3H0XDIWQ7fsZ4HceGnfuasoqpyK 6N82EUpZ6Nawg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , Linus Walleij , Sasha Levin Subject: [PATCH 6.8 400/715] pinctrl: mediatek: Drop bogus slew rate register range for MT8186 Date: Sun, 24 Mar 2024 18:29:39 -0400 Message-ID: <20240324223455.1342824-401-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Chen-Yu Tsai [ Upstream commit 3a29c87548809405bcbc66acc69cbe6f15184d94 ] The MT8186 does not support configuring pin slew rate. This is evident from both the datasheet, and the fact that the driver points the slew rate register range at the GPIO direction register range. Drop the bogus setting. Fixes: 8b483bda1e46 ("pinctrl: add pinctrl driver on mt8186") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20240131071910.3950450-1-wenst@chromium.org Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/mediatek/pinctrl-mt8186.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8186.c b/drivers/pinctrl/mediatek/pinctrl-mt8186.c index 7be591591cce5..dd19e74856a92 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8186.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8186.c @@ -1198,7 +1198,6 @@ static const struct mtk_pin_reg_calc mt8186_reg_cals[PINCTRL_PIN_REG_MAX] = { [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8186_pin_dir_range), [PINCTRL_PIN_REG_DI] = MTK_RANGE(mt8186_pin_di_range), [PINCTRL_PIN_REG_DO] = MTK_RANGE(mt8186_pin_do_range), - [PINCTRL_PIN_REG_SR] = MTK_RANGE(mt8186_pin_dir_range), [PINCTRL_PIN_REG_SMT] = MTK_RANGE(mt8186_pin_smt_range), [PINCTRL_PIN_REG_IES] = MTK_RANGE(mt8186_pin_ies_range), [PINCTRL_PIN_REG_PU] = MTK_RANGE(mt8186_pin_pu_range), -- 2.43.0