Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2566649lqp; Mon, 25 Mar 2024 02:52:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDOLwinMnO58xo9Ka/rgp1RfRzJqOFR0+dlNwYX0F6jUNsMxcbPZppRLKR36QGVe/QC1X44ETeaJhe9ktxBLMQMnz+kKCUZ74+VR/OTg== X-Google-Smtp-Source: AGHT+IFgsrV7zM6L7AORQ/5e1q8Gn7M6lq1zP5uuXw4JCa+QFL4+Q8ON7pA4Jj95U+iDnCUjqBtS X-Received: by 2002:a05:6102:366:b0:476:c38b:58c with SMTP id f6-20020a056102036600b00476c38b058cmr4520095vsa.27.1711360330610; Mon, 25 Mar 2024 02:52:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711360330; cv=pass; d=google.com; s=arc-20160816; b=afl/z387Jf6BlyernXn5Da/bloWb2gh/hkig4ZPFbznyXNLsimdQoJZCNjGm1zQKuv vHVJ0q6EyrZ3+h8Jm8dYct/ZD8rhZwv/R3dg12Y8k9dqLvZLkhDYGE1X0Xw4Vbqft+I0 lCrOZ+BOYjdWAp8KIqssQ1Duwdltpc9IVsxLTZ5S9NrKpjW8Avcr4sqIaUP/64+m8Ngm daEgEsuM4E/GSscs9nNb3HB5QjiHVzikUrLaW4lllFtM8I1oLwwJLfonb1QPR0mNiiiI waOygxft/XuSfD+b8Lau8K8yBTfCkkqXm/0ATf/B/ePTccJERvOBZfEvYlN24MqTAbzT qWQw== 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=dbfJX2u4WRbiRVDaxOeFgibEFUFlDDVsIp5FCv5fdyw=; fh=MZvnSnPaeb4Hg/nOMGQYbJ3uuaqRUDF8DLGLKMp4rtY=; b=iba7hWyrr/4DLOwGEQ/RDbVWE3Zw8UFsXbTN+2U1xFpxFIYYYr+WL/Y/Yb9wNLySHO ysIP6UkzQfWFJg1V9zkFOJFZftQK3KJWALxyFSpI5Uc8QskSyLzNwbIzV2S8apljCs10 7z2PEZqY+6pFvNX1HWADJ7+DRAB7b3/b8NJV/J/PMc2p+HjK9OA83R2UNmHw8yYZMJ1v zUb69ryQgTI+MkmSVsqrHM0h2Ob2tKWm5Pkxy+xW9Lx86q9INoLxV0QRRRViSB1UZtCe gr9V7dFigv1wKgDgJitZ+OmkXfXqc+MiBIKq2Vw8ZOMhA1WnsjNhUyv1ingmIAbNk/Dg zksQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o9Is21ta; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kd21-20020a056214401500b006968dd8cfdesi1709764qvb.439.2024.03.25.02.52.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 02:52:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o9Is21ta; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115949-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 46D421C21B62 for ; Mon, 25 Mar 2024 09:52:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33C87391404; Mon, 25 Mar 2024 03:04:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o9Is21ta" 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 9496B22D89D; Sun, 24 Mar 2024 23:16:30 +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=1711322191; cv=none; b=nBQFeA8Sw8QN4if+ACcruKsOW2LT0/OCwNdAT5P98qKwAkhBvDLqlk8IyTry8/GTtpou+IClDYki/1/to1zeET/8QVoHYVvfNkffR4c8Kl86KcQOPZxnbJfrnSViuGm5WbccgmKPtHgxdjxI/IjontGlvT3rleIEm597uv1QFGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322191; c=relaxed/simple; bh=RjDm9ULGYGXR/Ui5vm0FWksgcl8NMVnW5oGvvsNB4/4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cfMW/dff9hn8sPI1+JvGvOx51q6nMEooOWavFJPxsh0nbrCSOuF3CQZ/fFLIvu4tMPheHq6qlzzOHnLB/ybK4ENxCdLja3sMtJgoKrEdVYiODN3rzeyrpIFXxhevT3qoCJww7JzyoGSn47yg6kWy4upklpr/HuJK7BFCV9FRaeA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o9Is21ta; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3706C433B1; Sun, 24 Mar 2024 23:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322190; bh=RjDm9ULGYGXR/Ui5vm0FWksgcl8NMVnW5oGvvsNB4/4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o9Is21taKvL3UXPK5qVKY7guQA8XpkKq1K+XCk1JWmJDchhbAu5941UVbzUCmiyY3 6oOl2asS1evoKgsiBDcqQBBG73siY3D5EVI2mpo/39NF4DQfsazx2c62WDCReNAlEw q/Kv3n+zRKO0cK6wbQCU47zZmyKQITaY7ubaI6GC/HnApCLFbUwfoV2JZd47Dr0Wg0 d7WYHDD4LYbWw8zGOFkMdB1KxrgycU5bvq46SzJBwjeNcse/3RdZsZorzKExxKtmSR Jo67Mm/6Saj93lZJVSl4P4RoCbiYJaCK3ox/Dp6J0PX6H1MPSbf/GO4I7uwpebEXhT PEjLmeBgbfxvQ== 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.1 269/451] pinctrl: mediatek: Drop bogus slew rate register range for MT8186 Date: Sun, 24 Mar 2024 19:09:05 -0400 Message-ID: <20240324231207.1351418-270-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-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 a02f7c3269707..09edcf47effec 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