Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4350159ioo; Tue, 31 May 2022 02:22:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKN6/814wHDIOJC9UShPPx2AZCZYIx8QbW+D1YY9LGWURBaaFB+s1/zm8BWIamqj3j6VbA X-Received: by 2002:a63:4387:0:b0:3c6:9490:4e4b with SMTP id q129-20020a634387000000b003c694904e4bmr51355063pga.438.1653988940515; Tue, 31 May 2022 02:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653988940; cv=none; d=google.com; s=arc-20160816; b=cCrQwt2YAb7ciHLBg1ZDY3EWNfexP4aYfC6KNIxWBPk5g43dzjd1Kl6wZJcZyO/2ym L0XrRmKiCrUU/Vvev2M7Ue/O2GAX78r22wgHws0uGXj+wjJUQpQQw7w62NchqtmMVESI o2p3kHt4DtLdPdFjem+OOQECA74gUj0xIE3k8ild78LG8sswoI0MZ0Ayn2kYdg8krceX TXbuUPrU8DqSwtX9q+zeUkOno1ZvdwEBd/fOHaNOyXI2Kmri8BkpIBEtTBhRR48na6sQ qDkWEj3osT6XDDetNQ+rXIxKyKXVJwvpOBgSqgKGDvIfYA0/xhezq8K19OpQC3eYFhcR 66JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lbYsntMLq1GN0TWediUrrDdKB95gK6V8mOFIJ/plIGA=; b=JSeicYXARwF1oIncYSPcCDxPBd6U7ixkUIRwsE76B2rH1piRnk4qVQ3UxssDY+2cSZ tskLH83+oye19PZoODuYm/guJ/3oPddXSWyaLWV6d73YiSkx1GgCDV6YY9gQnvdnppQB X9lD06DDMPIOU1dphrUoQz0UCaE6MqIN+oATpcVxZEmKLxXz1kATLpEriTGlCJLWma9V kHcXrhCNRMmvjIY1H5UF99swVFXzgIKEY2utkLeBqGR8h3z4Yc1i8SEYhjezK/rdVg6n NG9i8SBCPKQaKZT1gvmyhZcZXc9BW0ZKN2hFonpbyVs08t1dwP8tbCMlZFTdXsveCGL9 EZ/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=6PIvfuSR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f3-20020a056a00228300b004fa9dcef7f0si19124715pfe.75.2022.05.31.02.22.08; Tue, 31 May 2022 02:22:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=6PIvfuSR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236210AbiE3Mfa (ORCPT + 99 others); Mon, 30 May 2022 08:35:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236166AbiE3MfI (ORCPT ); Mon, 30 May 2022 08:35:08 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B1047CB11 for ; Mon, 30 May 2022 05:35:05 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id d26so8856849wrb.13 for ; Mon, 30 May 2022 05:35:05 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=lbYsntMLq1GN0TWediUrrDdKB95gK6V8mOFIJ/plIGA=; b=6PIvfuSRJgpUpEkUtolL+elU452K0LIs/Lk0e8ySI1W8R7XRUH431mK1hLv3cpfqv0 2ZivpNy+gpcusmBB8mk0Ew4hQQzierrs2JMj4MSTb5RaE1pnm5r4BB+rMCLfpOATrfQ1 fdgRBLMqOOfK4fOdnWAONoFqqYZa441FyfaRHJHwcNmWWpMHldEdkBWgLnLLoV6jgILp UhF1HWrNlnLykhYQKA9UwLBePuuFaE0k468BQeVRY9pdlVrIjvnbtqfZHqI9FifYwY0d RBeEm4ojUdqz9Xr9zBAlKsKLKwezW2a8pkmUhSR3NeD6xwpo7+xnIR9BI4/jC0QQ716W 7sXw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lbYsntMLq1GN0TWediUrrDdKB95gK6V8mOFIJ/plIGA=; b=VhHO4QHgHPrcvZD3jwSLUbdYiwNyvBQwhHurnprriQ59iiGKVdqsM4y55rWIizEPZ6 XidOniptxy8hI/YHzQK/M5acj8B3tC89K77ILNQxrKSuA+5J4CKjelNup6eOfkWQtY9J +6jF5AANsD0xdgOD9fbXEj1VfjrZaRcnu4pgzjgupu0qM6nWeAEsp/1jGJptsbt7ocM8 KLzXRrPJxwZqFjd06haWAMM8reuwVC8HFOkvk6WPiAHzHHRUJ3CDQgo+X0g5PPuKg+u1 MVJAK1V7WQbgMIJGilNwSrWZn871j4gi5uf8gB8758WAZJavZ7pNc3vPbe4ewc2SFo1s 3G+A== X-Gm-Message-State: AOAM531HPLiq632b8nS1dFX+D26WmL5poHmeejTdSCcHL/iwSfO2ERAK 9Lluoo28Bo1ooR6crF4/ThL4gA== X-Received: by 2002:a5d:648a:0:b0:210:2c59:a07a with SMTP id o10-20020a5d648a000000b002102c59a07amr7301097wri.195.1653914103914; Mon, 30 May 2022 05:35:03 -0700 (PDT) Received: from helium.lan ([88.160.162.107]) by smtp.gmail.com with ESMTPSA id o3-20020a5d47c3000000b0020d0cdbf7eesm9380895wrc.111.2022.05.30.05.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 05:35:03 -0700 (PDT) From: Fabien Parent To: Sean Wang , Linus Walleij , Matthias Brugger Cc: Fabien Parent , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] pinctrl: mediatek: mt8365: use MTK_PINCTRL_MODE_SET_CLR_BROKEN quirk Date: Mon, 30 May 2022 14:34:25 +0200 Message-Id: <20220530123425.689459-2-fparent@baylibre.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220530123425.689459-1-fparent@baylibre.com> References: <20220530123425.689459-1-fparent@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On MT8365, the GPIO64 modes cannot be set using the SET/CLR register. Use the MTK_PINCTRL_MODE_SET_CLR_BROKEN quirk to workaround it. Signed-off-by: Fabien Parent --- drivers/pinctrl/mediatek/pinctrl-mt8365.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8365.c b/drivers/pinctrl/mediatek/pinctrl-mt8365.c index 57f37a294063..a49fa685f5f5 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8365.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8365.c @@ -454,6 +454,7 @@ static const struct mtk_pinctrl_devdata mt8365_pinctrl_data = { .ap_num = 160, .db_cnt = 160, }, + .quirks = MTK_PINCTRL_MODE_SET_CLR_BROKEN, }; static const struct of_device_id mt8365_pctrl_match[] = { -- 2.36.1