Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2384031lqp; Sun, 24 Mar 2024 17:02:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXco0hMoGE9l8gIwxCokrnGaW0ldtfKbHbmZMyyBE2xl2ZjMOLLTbFrZIh/I2kZylxarkJBUKNUC4d0LWzyPn1CocA3Potofjp3+9HTkg== X-Google-Smtp-Source: AGHT+IE/j2xtLQpr+WkokkfuTfgew+HZEMVC9XcRIjN3QS8AQtcly+TBD/XYAEsOkjGdE3cNRC3+ X-Received: by 2002:ae9:c213:0:b0:78a:9c0:9fab with SMTP id j19-20020ae9c213000000b0078a09c09fabmr5969625qkg.68.1711324963799; Sun, 24 Mar 2024 17:02:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711324963; cv=pass; d=google.com; s=arc-20160816; b=SGX0OBWY3+yqS0mAjv+z1jOSodR+OBaqK4lAKAwFJr/kujRNS9G5OwJepOMxm3lbN2 t7HMJZpZDgRsLZso3htNB1g2Wzsjjce3Mrf37iHJ3Z+A091IXFm5dggVvxnw2z08t2pC 0Yw2R+C4UyiDcW1ORgLTqmY4QtSJmF7po8abbWx7RxmQzUwIlusLCACHJ3qkPDsIuOaK oWIZTx+F1OXZCk11MGMSetmwcfvsjVQffHyblpUnswO39PNNiF2bGy3DlPERPR6hEigI r89VKoMBxg7hIszvaPlJWNBddqPHRRyHCcXoDCDpTicm+h2bQsRuKhGXln1P+g+5RPJF qrng== 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=MrZg632TVqi9Zj31byUxLMAMsNFNDQ74pItQrOxSI3k=; fh=MZvnSnPaeb4Hg/nOMGQYbJ3uuaqRUDF8DLGLKMp4rtY=; b=RlU0C63JP60saXQ91aVoaUBOLKGgN9/ofN7y6zJklnTBW9CsJSpTPybBbyM0bICyxF iNbRi8+Y09S2ONNODFKG/xdxsc1qK5MMMRDgZ1Ih2cxXOWIFh7l1z8yuoxmcDNIJcp6m 4WQIZhDlB4SneSKPn2CD10Aak797sPM0nHTNavjBzHIt6pHNG3I+Hee9Sc4w6FPOJ67n 21upPYOQlHquI7c3QybXVhDGAijIBdkZ7cNsl5UZbPPvRWIAjIc/vt5p20TNjsT4l4gx XSzweRl4LCtbdqsF0+P6HJAsrazjgxXHRvLLaXOcDNi8Jfoe7PSDeBB8Uwb7yle7aXOb TeVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eM2SGsCP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113292-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113292-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 j7-20020a05620a000700b00789f7960f32si4420148qki.781.2024.03.24.17.02.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:02:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113292-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=eM2SGsCP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113292-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113292-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 8781C1C233A1 for ; Mon, 25 Mar 2024 00:02:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A71D018EFA1; Sun, 24 Mar 2024 22:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eM2SGsCP" 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 C82C318EF82; Sun, 24 Mar 2024 22:41:32 +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=1711320092; cv=none; b=WNHqn2QPMyDtQDLjgz/Cc93fYgwFq2aOkIrCyop+nDjOSRyT1ijeAdZ+jAQA6R31mfxwBgu14H5Wl8lOYZvKeGcOzGcjjCTy78kjqWYXjFq4bYlneKEmamIZfAoF5/okWBVovI2kBSgXi04Zu9XGpQPYhkvuKQbaZNr2tY2UVFw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320092; c=relaxed/simple; bh=Ie+uzGtluX698sd7ls4ng58ghZb0o8no6h5usjuWX5U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hc0ORehsjD047LdgMWJKv0wz5xdcLaidtGLgTeOLqRHl6MtO+PVLjGpnpgll5CP/h0VRuucLtGV8AbGDZNUXMwPIzDOtcveb3dSjiW/LbHVS1+RaMOtpu5bmPmbdRu6l8aUcJXOTK0Gb0/yfqGX0/fc9eSQ32WimOtPKBDxCJ5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eM2SGsCP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E727EC433C7; Sun, 24 Mar 2024 22:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320092; bh=Ie+uzGtluX698sd7ls4ng58ghZb0o8no6h5usjuWX5U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eM2SGsCPP79sQZqKcAHK2DDpgKOYQavcnystNnBt803njma7cQpJiv78xbmd8+3ag Ql8t1QWZk1UOMQzYcLptaq6ntnPNcK09gdQWMotwBKzUASHKlLgU2XReeZ4PC0E7CR tI4YuXH1sJkfGno8TB+5U2vfGEGu+fjuyhSuUTyQQHWBZmk1YU5GW5X1rNTEbjIaus 6y9rKfMEHyjQmHHLzH12e3YKjx0Wi/sga/v7zRvRtTKxgEwsjj69LUgqQHy5rwqxGS RvX4BTL7mPgk2bg3wgmTQU+PDvC7HAjjV4T7vqDkKREqN4DlznujZn0Ib4RfOeaWI5 VcONtSlug3/jA== 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 401/715] pinctrl: mediatek: Drop bogus slew rate register range for MT8192 Date: Sun, 24 Mar 2024 18:29:40 -0400 Message-ID: <20240324223455.1342824-402-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 e15ab05a6b3ed42f2f43f8bd1a1abdbde64afecd ] The MT8192 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: d32f38f2a8fc ("pinctrl: mediatek: Add pinctrl driver for mt8192") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20240131071910.3950450-2-wenst@chromium.org Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/mediatek/pinctrl-mt8192.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8192.c b/drivers/pinctrl/mediatek/pinctrl-mt8192.c index e3a76381f7f4e..3f8a9dbcb7041 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8192.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8192.c @@ -1379,7 +1379,6 @@ static const struct mtk_pin_reg_calc mt8192_reg_cals[PINCTRL_PIN_REG_MAX] = { [PINCTRL_PIN_REG_DIR] = MTK_RANGE(mt8192_pin_dir_range), [PINCTRL_PIN_REG_DI] = MTK_RANGE(mt8192_pin_di_range), [PINCTRL_PIN_REG_DO] = MTK_RANGE(mt8192_pin_do_range), - [PINCTRL_PIN_REG_SR] = MTK_RANGE(mt8192_pin_dir_range), [PINCTRL_PIN_REG_SMT] = MTK_RANGE(mt8192_pin_smt_range), [PINCTRL_PIN_REG_IES] = MTK_RANGE(mt8192_pin_ies_range), [PINCTRL_PIN_REG_PU] = MTK_RANGE(mt8192_pin_pu_range), -- 2.43.0