Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6861182rwd; Tue, 6 Jun 2023 03:04:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ56znl4qxs0k+yGl/hlz0Bk13N4y0w8H4N00G8YYU3jEzRNVTJVJaQIxU2eaFq2YouiQtSG X-Received: by 2002:a6b:f219:0:b0:76f:1664:672 with SMTP id q25-20020a6bf219000000b0076f16640672mr2695786ioh.13.1686045848645; Tue, 06 Jun 2023 03:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686045848; cv=none; d=google.com; s=arc-20160816; b=TwZEWcxuHRgqP9TzoqRzoAiLk1sfEtT6q5fwmq2nvETbJPDYIIk8+qZ05ypziSIP55 0uKwrCueDH6Id8HisSApZa8ZjoBlTfhTvoNMSPrG91byXeWzcMlFebMnTA/OO6P6Sw6C FfKyiPMUpLwry1KNQeI61JQqDQpOjxOrJm7X/G+yMq3oElTKX843TXFeaNP2eR6bjzUb +pg26AqviIqvR8G62QjWwdTFcdrrFw0PFxzwyQCD+lEQfTcw6Ery+D9gy0wmO9g2RN50 gHokmBlBJkR5KPU/HO6qMcstY39kRXVNslSsuMfDQMWsZTFl9oYGZTqf9uHqI+Xa1ISo TV/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=G24P1jJA/KYjP9S+OFLiBGLPLjlRJISenbn/VJHDies=; b=V4FE5X7BXV5eNSkdWttQwDSLWA4N+bobryWrt3cSefzjL6Aqa/PVfuULSx7EvYyYWi Gnv2kTSyV2Rq6JTtrfvUXxoJutKJm7nQVCJCmUetXtCf7Npv7UUfUypIwQrmUWv9NIuO J7VS/N3esKQAjy/zBFAyWjHHn4S1fUv/T9Pk6EF7c9PNjh7qImId4Y+E5mO83TgA1ykV 01k/6KEaEd75m6UYuOcSGVyPeeNZYtLdxKiBFdH1rICirRdR6JHr/JxzYDRYabK/1CQw W2CG2Uvsf9vHiZlNKhtkcF/xS9nApJUNmoyEYaUYAN6bdhrYMHJbp/50EkzOErnKDxEg NoOQ== 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u185-20020a6379c2000000b0050309caf60esi6937632pgc.750.2023.06.06.03.03.56; Tue, 06 Jun 2023 03:04:08 -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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237548AbjFFJe3 (ORCPT + 99 others); Tue, 6 Jun 2023 05:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237103AbjFFJeN (ORCPT ); Tue, 6 Jun 2023 05:34:13 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7077210F5 for ; Tue, 6 Jun 2023 02:33:50 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id 3cf5f6e5-044d-11ee-abf4-005056bdd08f; Tue, 06 Jun 2023 12:33:48 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Tue, 6 Jun 2023 12:33:47 +0300 To: Mika Westerberg Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Linus Walleij Subject: Re: [PATCH v1 1/2] pinctrl: moorefield: Fix open-drain pin mode configuration Message-ID: References: <20230605154523.11799-1-andriy.shevchenko@linux.intel.com> <20230606051547.GX45886@black.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606051547.GX45886@black.fi.intel.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE 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 Tue, Jun 06, 2023 at 08:15:47AM +0300, Mika Westerberg kirjoitti: > On Mon, Jun 05, 2023 at 06:45:22PM +0300, Andy Shevchenko wrote: > > Currently the pin may not be configured as open-drain in some > > cases because the argument may be 0 for the boolean types of > > the pin configurations. Fix this by ignoring the argument. > > > > With that, allow to actually restore pin to the push-pull mode. > > > > Signed-off-by: Andy Shevchenko > > Acked-by: Mika Westerberg Thank you! > BTW, looking at the two drivers they seem to have a lot of > commonalities. Perhaps it makes sense to consolidate? Yes, that's the plan, perhaps for the next cycle. -- With Best Regards, Andy Shevchenko