Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp513038rdb; Tue, 19 Sep 2023 02:09:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/kFOaQJUG+pjElKAEY0HX0NL2Ue6FCXab1AUxfukm/YIGPFwlUtyHSZrWvkdCqDJbcpbs X-Received: by 2002:a05:6a20:9381:b0:13e:9dba:ea52 with SMTP id x1-20020a056a20938100b0013e9dbaea52mr11838900pzh.13.1695114541776; Tue, 19 Sep 2023 02:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695114541; cv=none; d=google.com; s=arc-20160816; b=j1jmtAG+A5mxYdGk8V9vJF2GiLXi932YRVreAlBMwxodBxybNl6s1Ltsdf/QMIIClC CZCK4XoODqdwtKpsdIcqXZ3C3P30HGa0fDz1JghSwk0ls7+E7XawR0cRVg/HCgHBfj+Q MMnbessJrYrIeHVUqxijrG7Os5NTvoS0r1ai7/oQqH/H+j9PXgg9K4sfQOgZ91tQbF4L gJWZghODkqoE99Q8drpwSzijq2P5Z0aysvPbhyhZXcuCZRHe6oJvmejzGWdKWHh0e6lV VZ/WjCkIREVRpYWVXClpZmaoVRZzI8Q8g+6B2LuWh4fs5eFt4b00cv4eBJJe8pVN16aM Q89w== 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:from:date:dkim-signature; bh=0HoaoIryoMNBjclA4E9p8j1l8zhUoytllUXAdhNwV5M=; fh=Uk0OYb6JEqgsP0okws3dkJ5YlUQqCAJIysCbssfwETM=; b=au8DOzSu11+k0Ga5Xcw19bGv06DIqY6gBTN48Pj86MxpI9y9uLZHq9V2ONhgKrMQ8x +4Fr6iSLRRYgkBWK0/fHxfIqQLxGRf5r36hT5SGeb9OFtwJh4PTd1NGf6/K9Lk3EjLiP yTuZQCJFkEOvwb+n4l5lEj6ry2EDbvy1RVgMiU7FL5KqN25rIeh+wUdj0ebiqlRcrQ1v yQcihoMpsrgvVaOTdSbuJZsI/r4XuctXHxbEDMGLPpy5O6x691pACB2xfWBrs5efD+Cl sUTNxeCjhrugEoVFw7krga7XPMm//rpNX/saQabRqG9SinhupO3u/tq5/r+aC6qSfGIF aMGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="b/l9gCQ0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v14-20020a17090abb8e00b002766354b7b2si3231617pjr.153.2023.09.19.02.09.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 02:09:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="b/l9gCQ0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 4C797807D9B5; Tue, 19 Sep 2023 02:04:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230129AbjISJER (ORCPT + 99 others); Tue, 19 Sep 2023 05:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229771AbjISJEQ (ORCPT ); Tue, 19 Sep 2023 05:04:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE192E6; Tue, 19 Sep 2023 02:04:10 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE739C433C8; Tue, 19 Sep 2023 09:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695114250; bh=0HoaoIryoMNBjclA4E9p8j1l8zhUoytllUXAdhNwV5M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b/l9gCQ0T8EvqzJqFrQ5of1NAyiceRmdIutxOzP5nFXj3+C2NovgXilDrksFhbwvr O2trT4x5qScyykTeTddgKkJ2NlqZDVkjd4SgU/cCUlaqymPUgEUXTPUFeKvGo8lScP GZhlgg0D2BhDqV/cJGjDZ57+o1v4sJPpkJzlTD6KFHl2Kfor2bSkNVksRaj0EyRNbe DMS8CrGEZx1spG8Biu/A6bqshM5iuBDdWbOcp6xHWhWRKbCSO+vcn7DRXbGaa/XVxi I2qgLNA3dlYfDkC8y/XoLajqwQBijGz6LRnyVp9+yljnrCyDegNBSYRkf9ASlkdT9h imjCEN7Pb+nzA== Date: Tue, 19 Sep 2023 10:04:04 +0100 From: Conor Dooley To: "Peng Fan (OSS)" Cc: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stefan Agner , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: Re: [PATCH v3 4/6] gpio: vf610: add i.MX8ULP of_device_id entry Message-ID: <20230919-501837c1104366ba793b0c62@fedora> References: <20230918-vf610-gpio-v3-0-ada82a17adc5@nxp.com> <20230918-vf610-gpio-v3-4-ada82a17adc5@nxp.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5zdzlSUyqQ668/XK" Content-Disposition: inline In-Reply-To: <20230918-vf610-gpio-v3-4-ada82a17adc5@nxp.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 19 Sep 2023 02:04:16 -0700 (PDT) --5zdzlSUyqQ668/XK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 18, 2023 at 04:16:08PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan >=20 > i.MX8ULP GPIO supports similar feature as i.MX7ULP GPIO, but i.MX8ULP is > not compatible with i.MX7ULP per binding doc. i.MX8ULP only has one > register base, not two base. "per binding doc" is a poor justification IMO, as you literally just changed it earlier in this series. I think the commit message here should re-explain the problem so that the rationale here is clear in isolation. > Add a new of_device_id entry for i.MX8ULP. But to make the driver could > also support old bindings, check the compatible string first, before > check the device data. Sweet, seems like you have addressed the backwards compatibility stuff for the old binding :) Thanks, Conor. --5zdzlSUyqQ668/XK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQlkAQAKCRB4tDGHoIJi 0rb8AP993AO2r6CSvVZx8F5s5DBodTKq3cEDVHeH6mdCJSOgpwD/Xiq7LXIzgBfZ 6S8r4rMkPZAmZwZvNhTjZVidIH6ZYwg= =PSDM -----END PGP SIGNATURE----- --5zdzlSUyqQ668/XK--