Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2409062rwo; Thu, 3 Aug 2023 09:00:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlF6gDlsD3FWVhX+RP4i1skgxD2FDSFberHmA3gB42tFf8c2P+Rl1sq2Y0M+FKM3nKX2jtYj X-Received: by 2002:a17:906:8a5b:b0:99b:bdff:b0ac with SMTP id gx27-20020a1709068a5b00b0099bbdffb0acmr8160679ejc.16.1691078402551; Thu, 03 Aug 2023 09:00:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691078402; cv=none; d=google.com; s=arc-20160816; b=vA/O1VWf02kWTstHNxmOtlsACPr3bTwXnt+uBqOTyVmBnPeZcYRAcOCA5PG3qHwA5p yy9dmiefelbPPMGnvzB7h/Jqrkmyf00GAMqyRyZBF4owiXb11oGcAw4iLcuqIvGs4JOD dF5pN9Q1vCyAfEhm9onETQK3LXZU4GDkZ3wBxSOHcJM46j6Csyul4xwoDr+SWy5G2tdE rbqkVgi2kqrfm9h49vHmLsXwDzYgdCepfLiSFdUzmhtlIyU0BIpS9QkJnWJJWQaEK1OS vbZOJGovRKQj3kFz0Xfxd/B3AR6p+diYCE1M0UESzMVxoRuwhXF8+Y3DOQm+cbpuKlzU APGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=e0cd+bfuuJW5D9Vjs7Kwr/ftMzeFILJUbMoh0kdOipw=; fh=p8eSphBWxyYOZPIXZy02Fr8cGDiRclFfbPyXeO9aHBw=; b=m5DxniV9PrtMFwyXMKFe1s16mf8SKrRh39mEo1wQ7XVAddevZkjfgDXMF7UnrsKBTc Nstnqznque8dHD7svFIC+WXdXSKgbJcK+cGft19EZoylYzIzkHVfkJmiY3tmGqrn9XYn CZrG+VzEtoWK3qZQ0+XqUsnZ8jUqKUm6btp0ky7n3iZ/wT3cNGP8gLObGyWCqVBqkGpJ Fxutai25GuQjoSELV5DKrjJCoOoSwhbjlQWIZQaN15cG3eLDyyVey+mAbuA0HYeX9qSd ZaYgpR5/o32d/y6RMvWmD/XmHRlYqaat9XiHcC0ISSV8VK29GT7OIKzANj54eGtXUdp6 oneA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hugovil.com header.s=x header.b=EXQn0KHS; 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 mj25-20020a170906af9900b0098889bf7f86si8459ejb.315.2023.08.03.08.59.35; Thu, 03 Aug 2023 09:00:02 -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=fail header.i=@hugovil.com header.s=x header.b=EXQn0KHS; 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 S235156AbjHCOS0 (ORCPT + 99 others); Thu, 3 Aug 2023 10:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235191AbjHCOSY (ORCPT ); Thu, 3 Aug 2023 10:18:24 -0400 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32E601981; Thu, 3 Aug 2023 07:18:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Content-Type:Mime-Version: References:In-Reply-To:Message-Id:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=e0cd+bfuuJW5D9Vjs7Kwr/ftMzeFILJUbMoh0kdOipw=; b=EXQn0KHSOEFemcJr9tzvUCuA6X IUdoxJh0x4owZByHKyfE7VOq0bHIkOUQkgxJ1TNN82jm0UB2uXoWdsHBXmx4vmcIytm2Oa8HLbEuS EsVVmHiTkrugW3Bz1LgtWx1HpmRj68prsQk9wMjAIylpRMnLuX8hqpbjhdI0g2qj5Se0=; Received: from modemcable061.19-161-184.mc.videotron.ca ([184.161.19.61]:43022 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1qRZ9b-0000Wk-Jc; Thu, 03 Aug 2023 10:18:16 -0400 Date: Thu, 3 Aug 2023 10:18:14 -0400 From: Hugo Villeneuve To: Greg KH Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jirislaby@kernel.org, jringle@gridpoint.com, isaac.true@canonical.com, jesse.sung@canonical.com, l.perczak@camlintechnologies.com, tomasz.mon@camlingroup.com, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org, Andy Shevchenko , Lech Perczak Message-Id: <20230803101814.39a61229d81dcd3e96cbe8ee@hugovil.com> In-Reply-To: <2023073105-elevation-canister-2777@gregkh> References: <20230725142343.1724130-1-hugo@hugovil.com> <20230725142343.1724130-7-hugo@hugovil.com> <2023073105-elevation-canister-2777@gregkh> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 184.161.19.61 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH v9 06/10] serial: sc16is7xx: fix regression with GPIO configuration X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 Jul 2023 17:58:41 +0200 Greg KH wrote: > On Tue, Jul 25, 2023 at 10:23:38AM -0400, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > Commit 679875d1d880 ("sc16is7xx: Separate GPIOs from modem control lines") > > and commit 21144bab4f11 ("sc16is7xx: Handle modem status lines") > > changed the function of the GPIOs pins to act as modem control > > lines without any possibility of selecting GPIO function. > > > > As a consequence, applications that depends on GPIO lines configured > > by default as GPIO pins no longer work as expected. > > > > Also, the change to select modem control lines function was done only > > for channel A of dual UART variants (752/762). This was not documented > > in the log message. > > > > Allow to specify GPIO or modem control line function in the device > > tree, and for each of the ports (A or B). > > > > Do so by using the new device-tree property named > > "nxp,modem-control-line-ports" (property added in separate patch). > > > > When registering GPIO chip controller, mask-out GPIO pins declared as > > modem control lines according to this new DT property. > > > > Fixes: 679875d1d880 ("sc16is7xx: Separate GPIOs from modem control lines") > > Fixes: 21144bab4f11 ("sc16is7xx: Handle modem status lines") > > Cc: # 6.1.x: 95982fad dt-bindings: sc16is7xx: Add property to change GPIO function > > Cc: # 6.1.x: 1584d572 serial: sc16is7xx: refactor GPIO controller registration > > Cc: # 6.1.x: ac2caa5a serial: sc16is7xx: remove obsolete out_thread label > > Cc: # 6.1.x: d90961ad serial: sc16is7xx: mark IOCONTROL register as volatile > > Cc: # 6.1.x: 6dae3bad serial: sc16is7xx: fix broken port 0 uart init > > Where are these git commit ids from? I don't see them in Linus's tree, > how are they supposed to be picked up by the stable developers if they > are not valid ones? > > confused, > > greg k-h Hi Greg, once again, I simply misinterpreted stable-kernel-rules.rst. I wrongly assumed that, for example, this patch had, as a prerequisite, all the patches before it in this series, and that is why I listed them. So I will remove them all, since this patch doesn't have any other requisites other than the previous patches in this series. Maybe it would be good to add some notes about that in stable-kernel-rules.rst? Thank you, Hugo.