Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp985519rwi; Mon, 31 Oct 2022 09:48:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZuNsGPnSeJR+f4At7EyuqX7Ysflipue4fGNFX3Xl/7N9FO8NU9wz60isucBF08WlzvqTP X-Received: by 2002:a17:902:f643:b0:185:50e4:f55e with SMTP id m3-20020a170902f64300b0018550e4f55emr15298096plg.156.1667234913198; Mon, 31 Oct 2022 09:48:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667234913; cv=none; d=google.com; s=arc-20160816; b=OkEUB2w/edTZf7gE3phrYmIfIjoGxBl7ugLY5JK1SF6TBQ/rJZOJ36Ho9oPBiSPih2 CU5ZcVDN//88yXyMIV7TAUtO+GpypOTleiCWoEhwQ3YnwqWM+uH6bb5g1OJpBn6kzbka M6pqH3mfExAjr0UWQgIiRyJQfWo8XbtFwIxWmB3pq94HXOL06FaCefSz90oAh7OC/h2L 1ssekvfZvZenUAI24mYOGA0ZKlI4GteX/uQ7abnOGEEPp/jPecgwknDrixF+ItAT63W6 nnt3tXhcgAqlpaqfsIuOcAx2xVOL0i57MZAumig7XcNunVKN3V/1whxI0RJH8L5B4YNT a5Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=G5iO8KHmbbjpD0edAAD18XYUlbSGy4UU+ld7nxMCDFQ=; b=LXtKiNUkpdfJ7Go4oBInIkwWHWKk8hpTfyiSwP7ZxbHh/0pZDCyCCSWCWQR7JLAocM ftW/9p0TiFQTQHm8fGJikIMFx6bPjfI7zpFAbFcGLneoaMsFWBMpUd76zFeTvhzsoybP PgSmGKU12EyddQsEAjD4/BM1ky7EPafBYPtHKq706vmqkSfy7W90W7E/Q99roggVq6BU 7jna+JpALK80iu7x3TKPWIkuGM0z3+h9e1UryycoS97KaU7PvrWshwR+6g2DFZUq1Wpu KpXuYjELFGjBTHCBc7qagRukMxa7LwutGlqbN+q3HiA6z6+bIRfMAHwDYd9gaq73N3Pr HgyQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h6-20020a056a00170600b0056bdae22580si11079636pfc.338.2022.10.31.09.48.20; Mon, 31 Oct 2022 09:48:33 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbiJaQkL (ORCPT + 98 others); Mon, 31 Oct 2022 12:40:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231908AbiJaQkG (ORCPT ); Mon, 31 Oct 2022 12:40:06 -0400 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C0842BC3 for ; Mon, 31 Oct 2022 09:40:06 -0700 (PDT) Received: by mail-pg1-f180.google.com with SMTP id g129so11163412pgc.7 for ; Mon, 31 Oct 2022 09:40:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=G5iO8KHmbbjpD0edAAD18XYUlbSGy4UU+ld7nxMCDFQ=; b=f6sBbSTtkybqzueieI+VtnyYAa3mfvhUAoAPAXbX6KTa0VuF2Gj4VLvdcCI3yn+bjV vygemIjVW+edZoc6IXpqrBLZv/cEN5vC1goTpcv48tP7rQXTiFwSXUBPlgvmHehDKV1z wCJxVVYP5lYSA/iEdBm8RGzEWT2LLaxdy2Vv+D4kPE5dng7z0YX4fI5Grc0bhn0cyIoh wEJjH5Dh3Dp6UUp7J4iX9NWbtkP7aY9k67y9iaS3QWetm1eF5m1kRWk31G41eX9A55PM tffvF1cYYRgQpKGK6KLaPa6ZHQIs/vhTK7rVs6+Ps8cJrzLfto6b2vPi3kEJFNh1UWdK l8dA== X-Gm-Message-State: ACrzQf2WJKdZ0yZshJ8miYR64EwfnAQXOykEiT4GuVsPay0VRSlho9/A QGKTaZrP/yCCrdsCCxQX9B1OAQ== X-Received: by 2002:a63:c146:0:b0:46f:c9e8:777d with SMTP id p6-20020a63c146000000b0046fc9e8777dmr4645744pgi.459.1667234405901; Mon, 31 Oct 2022 09:40:05 -0700 (PDT) Received: from localhost ([75.172.140.17]) by smtp.gmail.com with ESMTPSA id i63-20020a625442000000b0056be2a3c87csm4835445pfb.154.2022.10.31.09.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 09:40:05 -0700 (PDT) From: Kevin Hilman To: bchihi@baylibre.com, sean.wang@kernel.org, linus.walleij@linaro.org, matthias.bgg@gmail.com Cc: linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [v2, 0/2] Fix broken SET/CLR mode of a certain number of pins for MediaTek MT8385 SoC In-Reply-To: <20221021084708.1109986-1-bchihi@baylibre.com> References: <20221021084708.1109986-1-bchihi@baylibre.com> Date: Mon, 31 Oct 2022 09:40:04 -0700 Message-ID: <7h5yg02bh7.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Hi Balsam, bchihi@baylibre.com writes: > From: Balsam CHIHI > > On MT8365, the SET/CLR of the mode is broken and some pins won't set or clear the modes correctly. > To fix this issue, we add a specific callback mt8365_set_clr_mode() for this specific SoC. > This callback uses the main R/W register to read/update/write the modes instead of using the SET/CLR register. > > This is the original patch series proposed by Fabien Parent . > "https://lore.kernel.org/linux-arm-kernel/20220530123425.689459-1-fparent@baylibre.com/" > > Changelog: > Changes in v2 : > - Rebase on top of 6.1.0-rc1-next-20221020 > - Delete MTK_PINCTRL_MODE_SET_CLR_BROKEN quirk > - Add mt8365_set_clr_mode() callback nit: subject of cover letter should also include "pinctrl: mediatek:" prefix. Also note that you're missing the word "PATCH" in all of the subjects. Tip: If you use `git format-patch`, you can just pass `-v2` on the cmdline and it will create the prefixes for you automatically. Kevin