From patchwork Tue Apr 26 12:57:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mattijs Korpershoek X-Patchwork-Id: 12827110 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 13145C433EF for ; Tue, 26 Apr 2022 13:05:53 +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=Wm+8W0LbTnOu6JJiCn5wafCCm4wk7og9vOIlV6pw1Gc=; b=Xd0v/zH3qwxVpv Fwg0RhNkp902iS+zBTzabvDJqdoOAXIiX/gadOy5VhunEcrehfrz5fk57g2Y8Eu39amXcKNqnh6BU aGfulV3qwsA5X3Tu3ZkAhJbfhASxbmuSuV8n8ML+fSxOo6eRsVsx3c7c836S6u/k1vEu1N3csXbGS 2xlpjJoLrZZmOB5xZrEcJst8yXCdw8Tgnxvo79EKlkyiNQt1fTFONVfTRhmq0Dq/vmFAsN13osvfL InW9Zbfdak7LtpJ4RmFw8dOByrhZAsLUuT3LAvgyO/4caTaeM8HC5ffdo1G0Dyr5eXL1WnpZBNA3/ 23WnME2Bg9/UlTHKtwXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njKrf-00ERxP-Ge; Tue, 26 Apr 2022 13:04:24 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njKkz-00EOhb-TB for linux-arm-kernel@lists.infradead.org; Tue, 26 Apr 2022 12:57:31 +0000 Received: by mail-wr1-x433.google.com with SMTP id t6so21919716wra.4 for ; Tue, 26 Apr 2022 05:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DfCMVq1S6gm4GOhj5i7iFzEdFjObyfzkJ5gxl6qupp8=; b=jvjMZ+opru9KXy8+E0R/AUv6yAKn2a6A8ERvBEy4gjlspmyMOP82VUGT9SgtvM0dRA yCMsYJ3hJTCtbciObQMMZdpRJTfoGaVUmOAZH+qp66HwShj4HodftvtBJrS35fwgo5Z0 ofo1Xz1LSE69ov+X8QgzHhN6hha8dSVku5omWRFuiksopusuc2xlcuietBGK7DqDVfLp DiYjDPxN7Nuh5suHupTei82DjWsr98EtbbAeeT2IAyTKYOm7iCjoyV+O5ec1dADkSU9E QIvlGnKlCJR+5etlc6oi9J5xT34mzVIOw8UrupkH56BOHYcZubZ9XEWWKLfB1xeUeklB NSeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=DfCMVq1S6gm4GOhj5i7iFzEdFjObyfzkJ5gxl6qupp8=; b=e6uPPHM7uNis+d4ZWhUF6LXCMXZ5pSbY1Vgb0KpVGEmH6H39Lyvg76JDGdfe0mixeb 82UHQTyZob/VgzBTBSoDs4PwL1bVhjdDArSZSDYKQrias7PSBlFtL90YrgGVhhyMJ0JI 3ckTm/LyKoHyCUdhZkMK7yrQn/BiNQM9zImzCOYVCjRwEg0BG5szOcRkk3lZD225hrOk newYBo6ale3x8QsWBZlgwY5KlQVDzcT7ieG1v89KBAv+h28uQdsB/s7rRw20Vmcg2j+g 4olyYHyBvwJ2mprUobgYbvD0KccsN3qlU0d0EWjErZD9XvWHxQzgqq1qlZDoUpix6D49 zZkQ== X-Gm-Message-State: AOAM531agJ5L9+H3NgQ6ATRTfSpTtXpOi1ZhRnM9b+awRZnx8zCNm63k hDgBFcvTdGUam/EeE0eK8fe33w== X-Google-Smtp-Source: ABdhPJwZgVn/PbNaQMdyC0fSdHiJ/8dQDWK+MoRT9HtNWAky3m1A7R0Z6zQxbTNn2Ffhv4OI6EmneQ== X-Received: by 2002:a05:6000:1a8b:b0:20a:aaf7:75e8 with SMTP id f11-20020a0560001a8b00b0020aaaf775e8mr17692637wry.66.1650977843929; Tue, 26 Apr 2022 05:57:23 -0700 (PDT) Received: from groot.home ([2a01:cb19:85e6:1900:3df2:df58:a205:f150]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c350900b00393f01c8f00sm3235261wmq.47.2022.04.26.05.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 05:57:23 -0700 (PDT) From: Mattijs Korpershoek To: Sean Wang , Linus Walleij Cc: Kevin Hilman , Fabien Parent , linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mattijs Korpershoek , Youngmin Han Subject: [PATCH] pinctrl: mediatek: mt8365: fix IES control pins Date: Tue, 26 Apr 2022 14:57:14 +0200 Message-Id: <20220426125714.298907-1-mkorpershoek@baylibre.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_055729_994012_AF32FE2E X-CRM114-Status: GOOD ( 12.13 ) 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 IES26 (BIT 16 of IES1_CFG_ADDR) controls the following pads: - PAD_I2S_DATA_IN (GPIO114) - PAD_I2S_LRCK (GPIO115) - PAD_I2S_BCK (GPIO116) The pinctrl table is wrong since it lists pins 114 to 112. Update the table with the correct values. Fixes: e94d8b6fb83a ("pinctrl: mediatek: add support for mt8365 SoC") Reported-by: Youngmin Han Signed-off-by: Mattijs Korpershoek --- drivers/pinctrl/mediatek/pinctrl-mt8365.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8365.c b/drivers/pinctrl/mediatek/pinctrl-mt8365.c index 727c65221aef..57f37a294063 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8365.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8365.c @@ -259,7 +259,7 @@ static const struct mtk_pin_ies_smt_set mt8365_ies_set[] = { MTK_PIN_IES_SMT_SPEC(104, 104, 0x420, 13), MTK_PIN_IES_SMT_SPEC(105, 109, 0x420, 14), MTK_PIN_IES_SMT_SPEC(110, 113, 0x420, 15), - MTK_PIN_IES_SMT_SPEC(114, 112, 0x420, 16), + MTK_PIN_IES_SMT_SPEC(114, 116, 0x420, 16), MTK_PIN_IES_SMT_SPEC(117, 119, 0x420, 17), MTK_PIN_IES_SMT_SPEC(120, 122, 0x420, 18), MTK_PIN_IES_SMT_SPEC(123, 125, 0x420, 19),